html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: #F9E612; color: #0C092A; }

/* Hero / CTA background: Gameboat purple + soft dot pattern */
.bg-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(249, 230, 18, .18), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(248, 119, 173, .30), transparent 40%),
    radial-gradient(circle at 70% 90%, rgba(83, 153, 255, .35), transparent 45%),
    linear-gradient(160deg, #5F67EC 0%, #4F55E0 45%, #3E2CC4 100%);
}
.bg-dots {
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.bg-dots-brand {
  background-image: radial-gradient(rgba(95, 103, 236, .14) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}

/* Logo-style headline: yellow fill with purple outline, like the Gameboat logo */
.text-logo {
  color: #F9E612;
  -webkit-text-stroke: 2px #3E2CC4;
  paint-order: stroke fill;
  text-shadow: 0 6px 0 #3E2CC4;
}

/* Infinite game carousel */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { animation: marquee 40s linear infinite; width: max-content; }
.marquee:hover { animation-play-state: paused; }

@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
.floaty { animation: floaty 5s ease-in-out infinite; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* FAQ accordion */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); background: #5F67EC; color: #fff; }

/* Legal pages typography */
.prose-gb h2 { font-size: 1.25rem; font-weight: 700; color: #0C092A; margin: 2rem 0 .75rem; }
.prose-gb p, .prose-gb li { color: #6B6880; line-height: 1.8; }
.prose-gb ul { list-style: disc; padding-left: 1.25rem; margin: .5rem 0 1rem; }
.prose-gb li { margin: .25rem 0; }
.prose-gb a { color: #5F67EC; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .marquee, .floaty { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
