/* V.Vegas — Duolingo-inspired design tokens */
:root {
  --duo-green: #58CC02;
  --duo-green-light: #61E002;
  --duo-green-dark: #46A302;
  --duo-green-shadow: #58A700;
  --ink: #3C3C3C;
  --ink-strong: #4B4B4B;
  --muted: #777777;
  --muted-light: #AFAFAF;
  --canvas: #FFFFFF;
  --wash-blue: #DDF4FF;
  --surface: #FFFFFF;
  --surface-alt: #F7F7F7;
  --border: #E5E5E5;
  --border-strong: #DADADA;
  --link-blue: #1CB0F6;
  --link-blue-dark: #1B99D6;
  --navy: #042C60;
  --super-navy: #100F3E;
  --super-ink: #000437;
  --footer-soft: #D7FFB8;
  --warning: #FFC800;
  --error: #FF4B4B;
  --streak: #FF9600;
  --gems: #CE82FF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max-width: 988px;
  --wide-width: 1090px;
  --section-pad: 96px;
  --font-display: "Fredoka", "Nunito", sans-serif;
  --font-body: "Nunito", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.41;
  color: var(--muted);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link-blue);
  text-decoration: none;
}

a:hover {
  color: var(--link-blue-dark);
}

:focus-visible {
  outline: 3px solid var(--link-blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--duo-green);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: 16px;
}

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

.container--wide {
  width: min(100% - 32px, var(--wide-width));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: var(--canvas);
  border-bottom: 2px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--duo-green);
  text-decoration: none;
}

.logo:hover {
  color: var(--duo-green-dark);
}

.logo__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--duo-green);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 0 var(--duo-green-shadow);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.1s;
}

.header-cta:hover {
  background: var(--duo-green-light);
  color: #fff;
}

.header-cta:active,
.header-cta.is-pressed {
  transform: translateY(4px);
  box-shadow: none;
  background: var(--duo-green-dark);
}

/* Hero */
.hero {
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.hero-illustration {
  width: 100%;
  max-width: 424px;
  animation: float 4s ease-in-out infinite;
}

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

.hero__content {
  max-width: 480px;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--streak);
  background: #FFF4E5;
  border-radius: var(--radius-pill);
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--duo-green);
}

.hero__title .dot {
  color: var(--warning);
}

.hero__subtitle {
  margin: 0 0 28px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-strong);
}

.hero__desc {
  margin: 0 0 32px;
  max-width: 473px;
  font-size: 17px;
  line-height: 1.41;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.1s, color 0.15s;
}

.btn--primary {
  width: 100%;
  max-width: 330px;
  color: #fff;
  background: var(--duo-green);
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.btn--primary:hover {
  background: var(--duo-green-light);
  color: #fff;
}

.btn--primary:active,
.btn--primary.is-pressed {
  transform: translateY(4px);
  box-shadow: none;
  background: var(--duo-green-dark);
}

.btn--secondary {
  width: 100%;
  max-width: 330px;
  margin-top: 12px;
  color: var(--link-blue);
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border-strong);
}

.btn--secondary:hover {
  background: var(--wash-blue);
  border-color: var(--link-blue);
  color: var(--link-blue-dark);
}

.btn--secondary:active,
.btn--secondary.is-pressed {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--super {
  color: var(--super-ink);
  background: #fff;
  box-shadow: 0 4px 0 #DADADA;
}

.btn--super:hover {
  background: #f5f5f5;
  color: var(--super-ink);
}

.btn--super:active,
.btn--super.is-pressed {
  transform: translateY(4px);
  box-shadow: none;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__trust-line {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--muted-light);
}

/* Game rail */
.game-rail {
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  background: var(--surface-alt);
  padding: 20px 0;
}

.game-rail__inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-rail__label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.game-rail__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 4px 0;
}

.game-rail__track::-webkit-scrollbar {
  display: none;
}

.game-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.game-chip__icon {
  font-size: 20px;
  line-height: 1;
}

.rail-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.rail-btn:hover {
  border-color: var(--link-blue);
  color: var(--link-blue);
}

/* Benefits */
.benefits {
  padding: var(--section-pad) 0;
}

.section-heading {
  margin: 0 0 48px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--duo-green);
  text-align: center;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 32px 24px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
}

.benefit-card:hover {
  border-color: var(--duo-green);
  transform: translateY(-4px);
}

.benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  font-size: 32px;
  background: var(--wash-blue);
  border-radius: var(--radius-md);
}

.benefit-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-strong);
}

.benefit-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* Feature sections */
.feature {
  padding: var(--section-pad) 0;
}

.feature--alt {
  background: var(--wash-blue);
}

.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature__grid--reverse .feature__visual {
  order: 2;
}

.feature__grid--reverse .feature__text {
  order: 1;
}

.feature__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--duo-green);
}

.feature__text p {
  margin: 0 0 16px;
  max-width: 473px;
  font-size: 17px;
  line-height: 1.41;
}

.feature__list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--ink);
}

.feature__list li::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  background: var(--duo-green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.feature__visual svg {
  width: 100%;
  max-width: 530px;
  margin-inline: auto;
}

/* Trust / stats */
.trust {
  padding: var(--section-pad) 0;
  background: var(--surface-alt);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-stat {
  padding: 28px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-stat__number {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--duo-green);
}

.trust-stat__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust__note {
  margin: 40px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 15px;
  color: var(--muted-light);
}

/* Super promo block */
.super-promo {
  padding: 185px 0;
  background: var(--super-navy);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.super-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(206, 130, 255, 0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(28, 176, 246, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.super-promo__inner {
  position: relative;
  z-index: 1;
}

.super-promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warning);
  background: rgba(255, 200, 0, 0.15);
  border-radius: var(--radius-pill);
}

.super-promo__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.super-promo__desc {
  margin: 0 auto 36px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.super-promo .btn--super {
  min-width: 280px;
}

/* Final CTA */
.final-cta {
  padding: var(--section-pad) 0 0;
  background: linear-gradient(180deg, var(--canvas) 0%, #E8F9D0 100%);
  text-align: center;
}

.final-cta__inner {
  padding-bottom: 64px;
}

.final-cta__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--duo-green);
}

.final-cta__desc {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 17px;
  color: var(--muted);
}

.final-cta .btn--primary {
  margin-inline: auto;
}

/* Footer */
.site-footer {
  background: var(--duo-green);
  color: #fff;
  padding: 48px 0 32px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--duo-green);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.footer__tagline {
  margin: 0;
  font-size: 15px;
  color: var(--footer-soft);
  max-width: 320px;
}

.footer__heading {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 15px;
  color: var(--footer-soft);
  text-decoration: none;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: var(--footer-soft);
  text-align: center;
}

.footer__disclaimer {
  margin: 12px auto 0;
  max-width: 720px;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid,
  .feature__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero__content {
    max-width: none;
    margin-inline: auto;
  }

  .hero__desc {
    margin-inline: auto;
  }

  .hero__cta-group {
    align-items: center;
  }

  .feature__grid--reverse .feature__visual,
  .feature__grid--reverse .feature__text {
    order: unset;
  }

  .feature__list li {
    justify-content: center;
    text-align: left;
  }

  .feature__text p {
    margin-inline: auto;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__tagline {
    margin-inline: auto;
  }

  .super-promo {
    padding: 96px 0;
  }
}

@media (max-width: 520px) {
  :root {
    --section-pad: 64px;
  }

  .game-rail__label {
    display: none;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .header-cta {
    font-size: 12px;
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-illustration {
    animation: none;
  }

  .btn,
  .benefit-card {
    transition: none;
  }
}
