/* 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-width: 988px;
  --wide-width: 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: 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;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

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

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

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

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

.header-cta {
  display: none;
}

/* 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 {
  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-dark);
}

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

.btn--wide {
  width: 100%;
  max-width: 330px;
}

.btn--lg {
  min-height: 56px;
  font-size: 16px;
}

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

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

.hero__visual {
  order: -1;
  display: flex;
  justify-content: center;
}

.hero__copy {
  text-align: center;
}

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

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

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

.hero__desc {
  margin: 0 auto 32px;
  max-width: 473px;
  font-size: 17px;
  line-height: 1.5;
}

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

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

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

.game-rail__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

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

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

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

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

.section-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--link-blue);
  text-align: center;
}

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

.benefits__grid {
  display: grid;
  grid-template-columns: 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 ease, transform 0.2s ease;
}

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

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

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

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

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

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

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

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

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

.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;
  color: var(--ink);
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  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 20 20' fill='white'%3E%3Cpath d='M8.5 14.5L4 10l1.4-1.4 3.1 3.1 6.1-6.1L16 7z'/%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(--surface-alt);
}

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

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

.trust-stat__value {
  display: block;
  margin-bottom: 4px;
  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.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust__disclaimer {
  margin: 32px 0 0;
  font-size: 13px;
  text-align: center;
  color: var(--muted-light);
}

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

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

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

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

.super-promo .btn--secondary:hover {
  background: var(--footer-soft);
  border-color: var(--footer-soft);
  color: var(--super-navy);
}

/* 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__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--duo-green);
}

.final-cta__subtitle {
  margin: 0 auto 32px;
  max-width: 480px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-strong);
}

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

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

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

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

.site-footer__tagline {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--footer-soft);
}

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

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

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

.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__bottom p {
  margin: 0 0 8px;
}

/* Illustrations */
.slot-machine {
  width: min(100%, 380px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
}

.slot-machine__float {
  animation: float 4s ease-in-out infinite;
}

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

.rewards-card {
  width: min(100%, 340px);
  padding: 24px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 0 var(--border-strong);
}

.rewards-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.rewards-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.rewards-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-strong);
}

.rewards-card__xp {
  font-size: 13px;
  color: var(--streak);
  font-weight: 700;
}

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

.rewards-card__fill {
  height: 100%;
  width: 72%;
  background: var(--duo-green);
  border-radius: var(--radius-pill);
}

.rewards-card__badges {
  display: flex;
  gap: 8px;
}

.rewards-badge {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  background: var(--wash-blue);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.rewards-badge--gems {
  background: #F3E8FF;
  color: var(--gems);
}

.streak-card {
  width: min(100%, 300px);
  padding: 28px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 8px 0 var(--border-strong);
}

.streak-card__flame {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
}

.streak-card__count {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--streak);
  line-height: 1;
}

.streak-card__label {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-preview {
  width: min(100%, 260px);
  padding: 12px;
  background: var(--ink-strong);
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(4, 44, 96, 0.2);
}

.mobile-preview__screen {
  background: var(--wash-blue);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mobile-preview__logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--duo-green);
  margin-bottom: 16px;
}

.mobile-preview__slots {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.mobile-preview__reel {
  width: 52px;
  height: 64px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.mobile-preview__btn {
  width: 100%;
  padding: 12px;
  background: var(--duo-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  border-radius: var(--radius-md);
  text-decoration: none;
}

/* Responsive */
@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: 424px 1fr;
    gap: 48px;
  }

  .hero__visual {
    order: 0;
  }

  .hero__copy {
    text-align: left;
  }

  .hero__desc {
    margin-left: 0;
  }

  .hero__actions {
    align-items: flex-start;
  }

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

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

  .feature--reverse .feature__grid {
    direction: rtl;
  }

  .feature--reverse .feature__grid > * {
    direction: ltr;
  }

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

  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 520px;
    display: flex;
    align-items: center;
  }
}

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