:root {
  --ink: #1a1035;
  --ink-soft: #2d1f52;
  --saffron: #ff9933;
  --gold: #f4c95d;
  --mint: #3ecf8e;
  --cream: #faf7f2;
  --mist: #ebe6f7;
  --text: #2a2240;
  --muted: #6b6280;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(26, 16, 53, 0.14);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.top-strip {
  background: linear-gradient(90deg, var(--ink) 0%, #3a2268 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  text-align: center;
}

.top-strip strong {
  color: var(--gold);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 16, 53, 0.08);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}

.brand img {
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--saffron);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-18--footer {
  min-width: 5.5rem;
  height: 5.5rem;
  font-size: 1.65rem;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--saffron) 0%, #ff6b1a 100%);
  color: var(--white);
  border: 4px solid var(--white);
  box-shadow:
    0 0 0 3px var(--saffron),
    0 12px 32px rgba(255, 107, 26, 0.45);
  letter-spacing: 0.04em;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  border: 2px solid rgba(26, 16, 53, 0.12);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.burger:hover {
  border-color: var(--saffron);
  background: #fff8ef;
}

.footer-age-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 2rem 1.25rem 1.5rem;
  background: linear-gradient(180deg, var(--white) 0%, #fff4e8 100%);
  border-top: 1px solid rgba(26, 16, 53, 0.08);
  text-align: center;
}

.footer-age-banner p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 153, 51, 0.22), transparent 38%),
    radial-gradient(circle at 10% 80%, rgba(62, 207, 142, 0.16), transparent 42%),
    linear-gradient(135deg, var(--ink) 0%, #2f1a5c 55%, #1f1440 100%);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 280px;
  background: linear-gradient(120deg, transparent, rgba(244, 201, 93, 0.08));
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.08;
}

.hero-lead {
  margin: 0 0 1.6rem;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), #ffb347);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(255, 153, 51, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  margin-left: -0.55rem;
  background: linear-gradient(135deg, #6a4cff, #3ecf8e);
}

.avatar-stack span:first-child {
  margin-left: 0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.stats-band {
  background: var(--ink-soft);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat-item {
  padding: 1.35rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold);
}

.stat-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--mist);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
}

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

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

.coins-visual {
  min-height: 260px;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 153, 51, 0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(62, 207, 142, 0.28), transparent 50%),
    linear-gradient(145deg, #2d1f52, #1a1035);
  box-shadow: var(--shadow);
  position: relative;
}

.coins-visual::before,
.coins-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(244, 201, 93, 0.55);
}

.coins-visual::before {
  width: 90px;
  height: 90px;
  top: 28%;
  left: 22%;
}

.coins-visual::after {
  width: 120px;
  height: 120px;
  bottom: 18%;
  right: 18%;
  border-color: rgba(62, 207, 142, 0.45);
}

.coins-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
}

.coins-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(26, 16, 53, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 28px rgba(26, 16, 53, 0.07);
  border: 1px solid rgba(26, 16, 53, 0.06);
}

.testimonial-card blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--text);
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

.testimonial-card .loc {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

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

.game-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink) 0%, #3a2268 100%);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
}

.game-thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
}

.game-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.game-card p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.game-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.92rem;
}

.cta-band {
  margin: 0 1.25rem 4rem;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 2rem;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(120deg, #ebe6f7 0%, #fff8ef 55%, #e8f8f0 100%);
  border: 1px solid rgba(26, 16, 53, 0.08);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.cta-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.cta-nav a:hover {
  color: var(--saffron);
}

.site-footer {
  background: var(--white);
  border-top: 1px solid rgba(26, 16, 53, 0.08);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 2rem;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.45rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--saffron);
}

.footer-address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-disclaimer {
  background: #f0edf8;
  border-top: 1px solid rgba(26, 16, 53, 0.08);
  padding: 2rem 1.25rem;
}

.footer-disclaimer .wrap {
  display: grid;
  gap: 1rem;
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-disclaimer a {
  color: var(--ink-soft);
  text-decoration: underline;
}

.footer-bottom {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 1rem 1.25rem;
  font-size: 0.84rem;
}

.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(26, 16, 53, 0.82);
  backdrop-filter: blur(6px);
}

.age-overlay[hidden] {
  display: none;
}

.age-card {
  width: min(100%, 440px);
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.age-card h2 {
  margin: 0.85rem 0 0.65rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.age-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.age-no {
  background: transparent;
  border: none;
  color: var(--muted);
  text-decoration: underline;
}

.game-page {
  padding: 2rem 0 3rem;
}

.game-page-header {
  margin-bottom: 1.25rem;
}

.game-page-header h1 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
}

.game-frame-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.game-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(26, 16, 53, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(26, 16, 53, 0.08);
}

.faq-answer {
  padding: 1rem 1.25rem 1.15rem;
  color: var(--muted);
}

.prose-page {
  max-width: 780px;
  margin: 0 auto;
}

.prose-page h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--ink);
}

.prose-page .page-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.prose-page h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}

.prose-page h2:first-of-type {
  margin-top: 0;
}

.prose-page p,
.prose-page li {
  color: var(--muted);
  font-size: 0.97rem;
}

.prose-page ul,
.prose-page ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.prose-page li + li {
  margin-top: 0.35rem;
}

.prose-page a {
  color: var(--ink-soft);
  text-decoration: underline;
}

.prose-page a:hover {
  color: var(--saffron);
}

.prose-updated {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .hero-grid,
  .coins-panel,
  .testimonial-grid,
  .games-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .game-card {
    grid-template-columns: 96px 1fr;
  }

  .game-thumb {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 640px) {
  .badge-18--header {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(250, 247, 242, 0.98);
    border-bottom: 1px solid rgba(26, 16, 53, 0.08);
    box-shadow: 0 12px 28px rgba(26, 16, 53, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(26, 16, 53, 0.06);
    font-size: 1rem;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .badge-18--footer {
    min-width: 6.5rem;
    height: 6.5rem;
    font-size: 2rem;
  }
}
