:root {
  --bg: #070707;
  --panel: #111;
  --ink: #fff;
  --muted: rgba(255,255,255,0.68);
  --line: rgba(255,255,255,0.18);
  --jerkmate: #d6111d;
  --cams: #cf8500;
  --gold: #e7a11a;
  --headline: "Arial Black", "Helvetica Neue Condensed", Impact, Arial, sans-serif;
  --body: Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 18% 18%, rgba(214,17,29,0.34), transparent 17rem),
    radial-gradient(circle at 82% 72%, rgba(207,133,0,0.28), transparent 18rem),
    linear-gradient(145deg, #050505, #111 54%, #080808);
}

button,
a {
  font: inherit;
}

.quiz-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.site-strip {
  border-bottom: 4px solid var(--jerkmate);
  background: #050505;
  padding: 10px 18px 8px;
}

.site-strip a {
  display: block;
  color: #fff;
  font-family: var(--headline);
  font-size: 31px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.site-strip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.screen {
  display: none;
  width: min(760px, calc(100% - 30px));
  margin: 0 auto;
  padding: 34px 0 42px;
}

.screen.active {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 78px);
  animation: rise 220ms ease;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.split-mark {
  position: relative;
  min-height: 170px;
  margin-bottom: 28px;
  border: 2px solid #fff;
  overflow: hidden;
  background:
    linear-gradient(113deg, var(--jerkmate) 0 48%, #050505 48% 53%, var(--cams) 53% 100%);
}

.split-mark::before {
  content: "instant action / deep catalog";
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-family: var(--headline);
  font-size: clamp(28px, 7vw, 48px);
  line-height: 0.92;
  text-transform: uppercase;
}

.split-mark span {
  position: absolute;
  height: 1px;
  right: 24px;
  left: 24px;
  background: rgba(255,255,255,0.28);
}

.split-mark span:first-child {
  top: 48px;
}

.split-mark span:last-child {
  top: 96px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-family: var(--headline);
  font-size: clamp(20px, 5vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-screen p {
  color: var(--muted);
  font-size: clamp(15px, 3vw, 18px);
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 14px;
}
.result-copy,
.live-count {
  color: var(--muted);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 850;
  line-height: 1.22;
}

.primary-btn,
.answer-btn,
.result-cta {
  width: 100%;
  min-height: 60px;
  border: 2px solid #fff;
  background: var(--jerkmate);
  color: #fff;
  cursor: pointer;
  font-family: var(--headline);
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.38);
}

.start-btn {
  margin-top: 10px;
}

.progress-wrap {
  margin-bottom: 22px;
}

.progress-text,
.result-label {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.progress-track,
.loading-bar {
  height: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
}

.progress-fill {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--jerkmate), var(--cams));
  transition: width 180ms ease;
}

.question-panel,
.result-screen.active {
  border: 1px solid var(--line);
  background: rgba(12,12,12,0.84);
  padding: 22px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.question-text,
.loading-screen h2 {
  margin-bottom: 22px;
  font-family: var(--headline);
  font-size: clamp(22px, 4.5vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.result-headline {
  margin-bottom: 14px;
  font-family: var(--headline);
  font-size: clamp(17px, 4.5vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.answers {
  display: grid;
  gap: 13px;
}

.answer-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-align: left;
  padding: 16px;
  box-shadow: none;
  transition: all 0.2s ease;
}

.answer-btn:hover,
.answer-btn:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(90deg, rgba(214,17,29,0.12), rgba(207,133,0,0.12));
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(231, 161, 26, 0.18);
}
.primary-btn:hover,
.primary-btn:focus-visible,
.result-cta:hover,
.result-cta:focus-visible {
  transform: translateY(-2px);
}

.loading-screen {
  text-align: center;
}

.loading-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--jerkmate), var(--cams));
  animation: load 1400ms ease forwards;
  transform-origin: left;
}

@keyframes load {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.result-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 0 14px;
}

.small-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

@media (min-width: 760px) {
  .site-strip {
    padding-right: calc((100vw - min(760px, calc(100vw - 30px))) / 2);
    padding-left: calc((100vw - min(760px, calc(100vw - 30px))) / 2);
  }

  .split-mark {
    min-height: 230px;
  }

  .question-panel,
  .result-screen.active {
    padding: 32px;
  }
}

.result-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 18px;
}

.result-image-container {
  max-width: 220px !important;
  margin: 0 auto 10px !important;
}

@media (min-width: 760px) {
  .result-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: start;
    margin-top: 22px;
  }
  .result-image-container {
    max-width: 100% !important;
    margin: 0 !important;
  }
}
