:root {
  --ink: #232f3e;
  --ink-soft: #565959;
  --paper: #f5f5f5;
  --paper-2: #ebebeb;
  --orange: #ff9900;
  --orange-deep: #e47911;
  --orange-soft: #ffb84d;
  --navy: #232f3e;
  --success: #067d62;
  --success-bg: rgba(6, 125, 98, 0.12);
  --coral: #cc0c39;
  --coral-bg: rgba(204, 12, 57, 0.1);
  --white: #ffffff;
  --line: rgba(35, 47, 62, 0.12);
  --shadow: 0 18px 48px rgba(35, 47, 62, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --max: 1120px;

  /* aliases used across components */
  --mint: var(--orange);
  --mint-deep: var(--orange-deep);
  --lime: var(--orange-soft);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--orange) 0%, var(--orange-soft) 100%);
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.28);
}

.logo__mark svg {
  width: 18px;
  height: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--orange-deep);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy) !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav__cta:hover {
  background: var(--orange-deep);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(255, 153, 0, 0.28);
}

.btn--primary:hover {
  background: var(--orange-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(255, 153, 0, 0.28);
}

.btn--accent:hover {
  background: var(--orange-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 153, 0, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 153, 0, 0.18), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(35, 47, 62, 0.06), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

.hero__eyebrow svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.hero h1 span {
  color: var(--orange);
  display: block;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero__meta svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.hero__visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.gift-stage {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  animation: floatY 5.5s ease-in-out infinite;
}

.gift-stage__glow {
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.4), transparent 70%);
  filter: blur(8px);
}

.gift-card {
  position: absolute;
  inset: 18% 12% auto;
  height: 58%;
  border-radius: 22px;
  background:
    linear-gradient(145deg, #2f3e4e 0%, #232f3e 55%, #ff9900 140%);
  color: var(--white);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
  overflow: hidden;
}

.gift-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.35), transparent 70%);
}

.gift-card__brand {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.gift-card__amount {
  position: relative;
  margin-top: 2.2rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gift-card__amount small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  opacity: 0.8;
  letter-spacing: 0;
}

.gift-card__chip {
  position: absolute;
  right: 1.4rem;
  bottom: 1.3rem;
  width: 42px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d9d9d9, #8f8f8f);
}

.prime-tag {
  position: absolute;
  right: 4%;
  bottom: 16%;
  min-width: 150px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(7deg);
  animation: floatY 4.2s ease-in-out infinite reverse;
}

.prime-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.prime-tag span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 153, 0, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}

.spark--1 { top: 12%; left: 18%; }
.spark--2 { top: 28%; right: 8%; animation-delay: 0.4s; }
.spark--3 { bottom: 22%; left: 8%; animation-delay: 0.8s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

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

.hero__copy,
.hero__visual {
  animation: riseIn 0.7s ease both;
}

.hero__visual {
  animation-delay: 0.12s;
}

/* Steps */
.steps {
  padding: 4rem 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.steps__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  position: relative;
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover {
  border-color: rgba(255, 153, 0, 0.45);
  transform: translateY(-3px);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Details */
.details {
  padding: 4.5rem 0;
}

.details__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.detail {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.detail--prize {
  grid-row: span 2;
  background:
    linear-gradient(160deg, #2f3e4e 0%, #232f3e 60%),
    var(--navy);
  color: var(--white);
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.detail--prize h3,
.detail--prize p {
  color: inherit;
}

.detail--prize p {
  opacity: 0.82;
}

.detail__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 153, 0, 0.18);
  color: var(--orange);
}

.detail h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.detail p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.detail__amount {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--orange);
}

.consent {
  margin-top: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.consent input {
  margin-top: 0.2rem;
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
}

.consent a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Quiz shell */
.quiz-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.quiz-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 153, 0, 0.16), transparent 35%),
    var(--paper);
}

.quiz-shell {
  width: min(100% - 2rem, 640px);
  animation: riseIn 0.45s ease both;
}

.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.quiz-progress__bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(35, 47, 62, 0.1);
  overflow: hidden;
}

.quiz-progress__fill {
  height: 100%;
  width: 20%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
  transition: width 0.35s ease;
}

.quiz-card {
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quiz-card h1 {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.options {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--white);
  text-align: left;
  font-weight: 650;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.option:hover {
  border-color: rgba(255, 153, 0, 0.65);
  transform: translateY(-1px);
}

.option.is-selected {
  border-color: var(--orange);
  background: rgba(255, 153, 0, 0.1);
}

.option.is-wrong {
  border-color: var(--coral);
  background: var(--coral-bg);
}

.option.is-correct {
  border-color: var(--success);
  background: var(--success-bg);
}

.option__radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(35, 47, 62, 0.25);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.option.is-selected .option__radio {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: inset 0 0 0 3px var(--white);
}

.quiz-hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.quiz-hint svg {
  width: 16px;
  height: 16px;
}

.quiz-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(35, 47, 62, 0.5);
}

/* Feedback states */
.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.state-badge--ok {
  background: var(--success-bg);
  color: var(--success);
}

.state-badge--bad {
  background: var(--coral-bg);
  color: var(--coral);
}

.result-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.result-icon--ok {
  background: var(--success-bg);
  color: var(--success);
}

.result-icon--bad {
  background: var(--coral-bg);
  color: var(--coral);
}

.result-icon svg {
  width: 34px;
  height: 34px;
}

.result-card {
  text-align: center;
}

.result-card h1 {
  margin: 0 0 0.55rem;
}

.result-card > p {
  margin: 0 auto 1.35rem;
  max-width: 34ch;
  color: var(--ink-soft);
}

.info-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: var(--paper);
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.compare-box {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--paper);
  text-align: left;
}

.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.compare-row--bad { color: var(--coral); }
.compare-row--ok { color: var(--success); }

.result-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.result-links a {
  color: #007185;
}

.result-links a:hover {
  text-decoration: underline;
}

/* Reward */
.reward-hero {
  flex: 1;
  padding: 3rem 0 4rem;
}

.reward-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.reward-copy h1 {
  margin: 0.75rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.reward-copy p {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 36ch;
}

.reward-card-wrap {
  display: grid;
  place-items: center;
}

.reward-card {
  width: min(100%, 420px);
  aspect-ratio: 1.68 / 1;
  border-radius: 22px;
  padding: 1.5rem 1.6rem;
  background:
    linear-gradient(145deg, #2f3e4e 0%, #232f3e 55%, #ff9900 140%);
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: floatY 5s ease-in-out infinite;
}

.reward-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.35), transparent 70%);
}

.reward-card__code {
  position: relative;
  margin-top: 2rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}

.screen {
  display: none;
}

.screen.is-active {
  display: block;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.6rem 0;
  flex-shrink: 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer .logo {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  max-width: 52ch;
  font-size: 0.8rem;
  line-height: 1.45;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Hidden utility for JS states */
.is-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .hero__grid,
  .reward-layout,
  .details__grid,
  .steps__row {
    grid-template-columns: 1fr;
  }

  .detail--prize {
    grid-row: auto;
    min-height: 0;
  }

  .nav a:not(.nav__cta) {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero__visual {
    min-height: 340px;
    order: -1;
  }

  .gift-stage {
    width: min(100%, 340px);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .quiz-card {
    padding: 1.35rem 1.1rem 1.2rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
