/* 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;
  --error: #FF4B4B;
  --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;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", "Varela Round", system-ui, sans-serif;
  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));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  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: "Fredoka", "Nunito", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--duo-green);
  text-decoration: none;
}

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

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  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);
  transition: background 0.15s, transform 0.1s, box-shadow 0.1s;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  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, border-color 0.15s;
}

.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 {
  transform: translateY(4px);
  box-shadow: none;
}

.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 {
  width: 100%;
  max-width: 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);
}

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

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

.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: 320px;
}

.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 {
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link-blue);
  background: var(--wash-blue);
  border-radius: var(--radius-pill);
}

.hero__title {
  margin: 0 0 8px;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--duo-green);
}

.hero__subtitle {
  margin: 0 0 20px;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-strong);
}

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

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

.hero__trust-line {
  margin-top: 20px;
  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);
  padding: 20px 0;
}

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

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

.game-rail__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

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

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

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

/* Benefits */
.benefits {
  padding: 96px 0;
}

.section-title {
  margin: 0 0 12px;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--duo-green);
  text-align: center;
}

.section-lead {
  margin: 0 auto 48px;
  max-width: 560px;
  text-align: center;
  font-size: 17px;
  line-height: 1.41;
}

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

.benefit-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  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 16px;
  font-size: 28px;
  background: var(--wash-blue);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 0 var(--border-strong);
}

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

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

/* Feature sections */
.feature {
  padding: 96px 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: -1;
}

.feature__heading {
  margin: 0 0 16px;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--duo-green);
}

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

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

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

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--duo-green);
  border-radius: 50%;
  box-shadow: 0 3px 0 var(--duo-green-shadow);
  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-card {
  padding: 24px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 0 var(--border-strong);
}

.feature-card__bar {
  height: 12px;
  margin-bottom: 20px;
  background: var(--surface-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.feature-card__bar-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--duo-green), var(--duo-green-light));
  border-radius: var(--radius-pill);
  animation: progress-pulse 2s ease-in-out infinite;
}

@keyframes progress-pulse {
  0%, 100% { width: 72%; }
  50% { width: 78%; }
}

.feature-card__nodes {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.node {
  flex: 1;
  text-align: center;
}

.node__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  font-size: 20px;
  background: var(--wash-blue);
  border: 3px solid var(--link-blue);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--border-strong);
}

.node__circle--done {
  background: var(--duo-green);
  border-color: var(--duo-green-dark);
  color: #fff;
}

.node__circle--active {
  background: var(--warning);
  border-color: #E6B400;
  animation: bounce 1s ease infinite;
}

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

.node__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.streak-card__flame {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
  animation: flicker 1.5s ease-in-out infinite;
}

@keyframes flicker {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.streak-card__count {
  font-family: "Fredoka", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--streak);
  line-height: 1;
}

.streak-card__label {
  margin: 8px 0 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.streak-card__days {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.streak-day {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 2px solid var(--border);
  color: var(--muted-light);
}

.streak-day--active {
  background: var(--streak);
  border-color: #E68600;
  color: #fff;
}

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

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

.trust-item {
  padding: 24px 20px;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-item__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.trust-item__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-strong);
}

.trust-item__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

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

.super-promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gems);
  background: rgba(206, 130, 255, 0.15);
  border: 2px solid rgba(206, 130, 255, 0.4);
  border-radius: var(--radius-pill);
}

.super-promo__title {
  margin: 0 0 16px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.super-promo__text {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}

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

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

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

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

.final-cta__title {
  margin: 0 0 12px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--duo-green);
}

.final-cta__text {
  margin: 0 auto 28px;
  max-width: 480px;
  font-size: 17px;
}

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

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

.footer__brand {
  font-family: "Fredoka", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

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

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

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

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

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

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

.footer__bottom {
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--footer-soft);
}

.footer__disclaimer {
  max-width: 640px;
  line-height: 1.5;
}

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

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

  .hero__content {
    text-align: center;
  }

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

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

@media (max-width: 600px) {
  .game-rail__label {
    display: none;
  }

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

  .header-cta span {
    display: none;
  }

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

  .header-cta::after {
    content: "PLAY";
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
