:root {
  color-scheme: dark;
  --bg: #050817;
  --surface: #0d1230;
  --surface-raised: #13183b;
  --text: #f8f9ff;
  --muted: #b8bdd6;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #53f4ff;
  --pink: #ff70db;
  --yellow: #fff27a;
  --green: #8dffb1;
  --violet: #c895ff;
  --orange: #ffb36b;
  --blue: #65a7ff;
  --max-width: 1180px;
  --radius: 24px;
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 4%, rgba(33, 215, 255, 0.10), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(255, 79, 195, 0.09), transparent 30rem),
    var(--bg);
  font-size: 1rem;
  line-height: 1.65;
}

a { color: var(--cyan); text-underline-offset: 0.2em; }
a:hover { color: #fff; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; color: #07132f; background: var(--yellow); border-radius: 10px; font-weight: 800; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 850; text-decoration: none; letter-spacing: -0.02em; }
.brand img { border-radius: 12px; box-shadow: 0 8px 24px rgba(83, 244, 255, 0.12); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 8px 13px; border-radius: 999px; color: var(--muted); font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.menu-button { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: 40px;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 690px;
  margin: 0 auto;
  padding: 70px 0 90px;
}
.eyebrow { margin: 0 0 10px; color: var(--cyan); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.035em; }
h1 { margin-bottom: 24px; font-size: clamp(3.2rem, 7vw, 6.4rem); font-weight: 900; }
h1 span { background: linear-gradient(90deg, var(--cyan), var(--violet) 48%, var(--pink)); background-clip: text; -webkit-background-clip: text; color: transparent; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { margin-bottom: 10px; font-size: 1.35rem; }
.hero-lede { max-width: 680px; margin: 0 0 30px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; border-radius: 14px; font-weight: 850; line-height: 1.2; text-decoration: none; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #05101e; background: linear-gradient(135deg, var(--cyan), #65a7ff); box-shadow: 0 10px 32px rgba(83, 244, 255, 0.17); }
.button-primary:hover { color: #05101e; box-shadow: 0 14px 38px rgba(83, 244, 255, 0.28); }
.button-secondary { color: var(--text); border-color: var(--line); background: rgba(255, 255, 255, 0.05); }
.button-secondary:hover { background: rgba(255, 255, 255, 0.10); }
.trust-list { display: flex; flex-wrap: wrap; gap: 9px 22px; margin: 28px 0 0; padding: 0; color: var(--muted); font-size: 0.9rem; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 8px; color: var(--green); font-weight: 900; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 500px; }
.hero-art img { position: relative; z-index: 2; width: min(100%, 460px); border-radius: 22%; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); transform: rotate(3deg); }
.logo-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(123, 97, 255, 0.32); filter: blur(65px); }
.orbit { position: absolute; z-index: 3; width: 19px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 26px currentColor; }
.orbit-one { top: 12%; right: 8%; color: var(--pink); background: var(--pink); }
.orbit-two { bottom: 13%; left: 5%; color: var(--cyan); background: var(--cyan); }

.section { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 100px 0; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading > p:last-child, .contact-callout p, .privacy-callout p, .page-hero > p:not(.eyebrow, .effective-date) { color: var(--muted); font-size: 1.08rem; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-card { position: relative; min-height: 270px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)); transition: transform 180ms ease, border-color 180ms ease; }
.game-card::after { content: ""; position: absolute; right: -55px; bottom: -85px; width: 180px; aspect-ratio: 1; border-radius: 50%; background: currentColor; filter: blur(65px); opacity: 0.18; }
.game-card:hover { transform: translateY(-5px); border-color: currentColor; }
.game-card p { margin: 0; color: var(--muted); }
.game-card.cyan { color: var(--cyan); }.game-card.violet { color: var(--violet); }.game-card.pink { color: var(--pink); }.game-card.orange { color: var(--orange); }.game-card.green { color: var(--green); }.game-card.blue { color: var(--blue); }
.game-card h3 { color: var(--text); }
.game-number { position: absolute; top: 22px; right: 24px; color: currentColor; font-size: 0.75rem; font-weight: 850; opacity: 0.75; }
.game-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 40px; border: 1px solid currentColor; border-radius: 17px; background: color-mix(in srgb, currentColor 15%, transparent); font-size: 1.75rem; font-weight: 900; }
.game-icon.letters { font-size: 0.9rem; letter-spacing: -0.04em; }

.privacy-callout, .contact-callout { display: grid; align-items: center; width: min(calc(100% - 40px), var(--max-width)); margin: 40px auto 120px; padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(141, 255, 177, 0.24); border-radius: 32px; background: linear-gradient(135deg, rgba(141, 255, 177, 0.10), rgba(83, 244, 255, 0.04)); }
.privacy-callout { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; }
.privacy-callout h2, .privacy-callout p, .contact-callout h2, .contact-callout p { margin-bottom: 8px; }
.privacy-mark { display: grid; place-items: center; width: 64px; height: 64px; color: #052718; border-radius: 20px; background: var(--green); font-size: 1.9rem; font-weight: 900; }
.text-link { color: var(--text); font-weight: 850; text-decoration: none; }
.text-link span { color: var(--cyan); }
.contact-callout { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; border-color: rgba(200, 149, 255, 0.25); background: linear-gradient(135deg, rgba(200, 149, 255, 0.11), rgba(255, 112, 219, 0.04)); }

.page-hero { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 100px 0 70px; border-bottom: 1px solid var(--line); }
.page-hero.compact { max-width: 900px; text-align: center; }
.page-hero.compact .eyebrow { text-align: center; }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(3rem, 7vw, 5.8rem); }
.page-hero > p:not(.eyebrow, .effective-date) { max-width: 760px; margin-bottom: 0; }
.page-hero.compact > p { margin-right: auto; margin-left: auto; }
.effective-date { margin-top: 30px; color: var(--green); font-size: 0.9rem; font-weight: 800; }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 760px); justify-content: space-between; gap: 70px; width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 75px 0 120px; }
.legal-summary { position: sticky; top: 24px; align-self: start; padding: 24px; border: 1px solid rgba(83, 244, 255, 0.18); border-radius: 20px; background: rgba(83, 244, 255, 0.05); }
.legal-summary h2 { font-size: 1.25rem; }
.legal-summary ul { margin: 0; padding: 0; list-style: none; }
.legal-summary li { padding: 12px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.92rem; }
.legal-summary li::before { content: "✓"; margin-right: 8px; color: var(--green); }
.legal-content section + section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.legal-content h2 { font-size: 1.65rem; }
.legal-content p { color: var(--muted); }

.contact-main { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }
.contact-main .page-hero { width: 100%; }
.contact-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; max-width: 900px; margin: 70px auto; padding: clamp(26px, 5vw, 48px); border: 1px solid rgba(83, 244, 255, 0.22); border-radius: 28px; background: linear-gradient(145deg, rgba(83, 244, 255, 0.09), rgba(200, 149, 255, 0.05)); }
.contact-card p { color: var(--muted); }
.contact-icon { display: grid; place-items: center; width: 68px; height: 68px; color: #07132f; border-radius: 20px; background: linear-gradient(135deg, var(--cyan), var(--violet)); font-size: 1.8rem; }
.contact-actions { margin: 28px 0; }
.notice { padding: 14px 16px; border-left: 3px solid var(--yellow); background: rgba(255, 242, 122, 0.05); font-size: 0.9rem; }
.notice strong { color: var(--yellow); }
.support-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; max-width: 1000px; margin: 100px auto; }
.check-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 16px; padding: 19px; color: var(--muted); border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.035); }
.check-list li > span { color: var(--green); font-weight: 900; }
.check-list strong { color: var(--text); }
.faq { max-width: 900px; margin: 0 auto; padding: 20px 0 120px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 4px; cursor: pointer; font-size: 1.08rem; font-weight: 800; }
.faq details p { margin: -5px 0 24px; padding-right: 30px; color: var(--muted); }

.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(calc(100% - 40px), 760px); min-height: 100vh; margin: 0 auto; padding: 60px 0; text-align: center; }
.error-page img { margin-bottom: 32px; border-radius: 24px; box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45); }
.error-page h1 { margin-bottom: 16px; font-size: clamp(2.7rem, 8vw, 5rem); }
.error-page > p:not(.eyebrow) { margin: 0 0 30px; color: var(--muted); font-size: 1.1rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px 36px; width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 42px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.88rem; }
.site-footer > p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { color: var(--muted); font-weight: 700; text-decoration: none; }
.site-footer .footer-brand { grid-row: span 2; color: var(--text); }
.footer-brand img { border-radius: 9px; }
.copyright { text-align: right; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-art { min-height: auto; padding: 20px 12vw 60px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-callout { grid-template-columns: auto 1fr; }
  .privacy-callout .text-link { grid-column: 2; }
  .legal-layout { grid-template-columns: 1fr; gap: 48px; }
  .legal-summary { position: static; }
  .support-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer .footer-brand { grid-row: auto; }
  .copyright { grid-column: 2; }
}

@media (max-width: 620px) {
  .site-header { min-height: 76px; }
  .brand img { width: 42px; height: 42px; }
  .js .menu-button { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; color: #fff; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
  .menu-button > span:not(.sr-only) { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
  .js .site-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #111630; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
  .js .site-nav.is-open { display: flex; }
  .site-nav a { text-align: center; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }
  .hero { min-height: auto; padding: 64px 0; }
  .hero-art { padding-right: 6vw; padding-left: 6vw; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .trust-list { display: grid; text-align: left; }
  .section { padding: 76px 0; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 245px; }
  .privacy-callout, .contact-callout { grid-template-columns: 1fr; margin-bottom: 80px; }
  .privacy-callout .text-link { grid-column: 1; }
  .page-hero { padding: 70px 0 50px; }
  .legal-layout { padding: 50px 0 80px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-actions { align-items: stretch; }
  .support-grid { margin: 75px auto; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .footer-brand, .site-footer nav { justify-content: center; }
  .copyright { grid-column: 1; text-align: center; }
}

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