/* Slotoro — 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;
  --warning: #FFC800;
  --streak: #FF9600;
  --gems: #CE82FF;
  --footer-soft: #D7FFB8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max: 988px;
  --wide: 1090px;
  --section-pad: 96px;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-display: "Fredoka", "Nunito", system-ui, 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: 200;
  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));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: var(--canvas);
  border-bottom: 1px 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: 28px;
  font-weight: 700;
  color: var(--duo-green);
  text-decoration: none;
}

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

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

.header-cta {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.header-cta:hover {
  color: var(--link-blue);
}

/* 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: transform 0.1s ease, background 0.15s ease, box-shadow 0.1s ease;
}

.btn--primary {
  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 {
  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);
}

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

.btn--wide {
  min-width: min(100%, 330px);
}

.btn--super {
  color: var(--super-navy);
  background: #fff;
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.25);
}

.btn--super:hover {
  background: var(--wash-blue);
  color: var(--super-navy);
}

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

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

.hero__visual {
  display: flex;
  justify-content: center;
  animation: float 4s ease-in-out infinite;
}

.hero__copy {
  text-align: center;
}

.hero__brand {
  margin: 0 0 8px;
  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 {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.375;
  color: var(--ink-strong);
}

.hero__text {
  margin: 0 auto 28px;
  max-width: 473px;
  font-size: 17px;
  line-height: 24px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted-light);
}

/* Game rail */
.game-rail {
  border-block: 1px solid var(--border);
  padding: 20px 0;
  background: var(--surface);
}

.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: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

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

.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  scroll-snap-align: start;
}

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

/* Benefits strip */
.benefits {
  padding: 64px 0;
  background: var(--wash-blue);
}

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

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefit-card {
  padding: 28px 24px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.benefit-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-strong);
}

.benefit-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}

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

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

.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__content {
  order: 1;
}

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

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

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

.feature__list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 600;
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  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 {
  display: flex;
  justify-content: center;
}

/* Trust section */
.trust {
  padding: var(--section-pad) 0;
  background: var(--super-navy);
  color: #fff;
}

.trust__heading {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: #fff;
}

.trust__sub {
  margin: 0 auto 48px;
  max-width: 560px;
  text-align: center;
  font-size: 17px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.75);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-item {
  padding: 28px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
}

.trust-item__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.trust-item__text {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.65);
}

/* Stats row */
.stats {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

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

.stat__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* Final CTA */
.final-cta {
  position: relative;
  padding: 80px 0 120px;
  text-align: center;
  background: linear-gradient(180deg, var(--canvas) 0%, #eefbe0 100%);
  overflow: hidden;
}

.final-cta__hills {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--duo-green);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.final-cta__content {
  position: relative;
  z-index: 1;
}

.final-cta__brand {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--duo-green);
}

.final-cta__title {
  margin: 0 0 16px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--ink-strong);
}

.final-cta__text {
  margin: 0 auto 32px;
  max-width: 520px;
}

.final-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

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

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

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

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

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

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

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

.site-footer__links a {
  color: var(--footer-soft);
  font-size: 15px;
  font-weight: 600;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-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;
}

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

/* Illustrations */
.illus-slot {
  width: min(100%, 380px);
  height: auto;
}

.illus-cards {
  width: min(100%, 340px);
  height: auto;
}

.illus-rewards {
  width: min(100%, 360px);
  height: auto;
}

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

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

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

  .hero__visual {
    order: -1;
  }

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

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

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

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

  .game-rail__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }
}

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

  .hero__visual {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
