@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --color-bg: #0d0020;
  --color-bg2: #150035;
  --color-violet: #2d0066;
  --color-violet-mid: #4a0099;
  --color-platinum: #e8e4dc;
  --color-neon: #b47eff;
  --color-neon2: #7c3aed;
  --color-gold: #d4af37;
  --color-text: #f0ecff;
  --color-muted: #b8aed4;
  --radius: 0.75rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(180, 126, 255, 0.5); }
  50% { box-shadow: 0 0 28px 8px rgba(180, 126, 255, 0.9); }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.marquee-track { display: flex; animation: marqueeScroll 28s linear infinite; width: max-content; }
.marquee-wrap { overflow: hidden; width: 100%; }
.pulse-glow { animation: pulseGlow 2.5s ease-in-out infinite; }
.float-y { animation: floatY 4s ease-in-out infinite; }
.fade-in-up { animation: fadeInUp 0.7s ease both; }

.shimmer-text {
  background: linear-gradient(90deg, var(--color-platinum) 0%, var(--color-neon) 40%, var(--color-gold) 60%, var(--color-platinum) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.glass-card {
  background: linear-gradient(135deg, rgba(74,0,153,0.35) 0%, rgba(45,0,102,0.55) 100%);
  border: 1px solid rgba(180,126,255,0.25);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
}

.neon-border {
  border: 1px solid rgba(180,126,255,0.4);
  box-shadow: 0 0 10px rgba(180,126,255,0.3), inset 0 0 10px rgba(180,126,255,0.05);
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #7c3aed 0%, #b47eff 50%, #7c3aed 100%);
  background-size: 200% auto;
  color: #fff;
  font-weight: 700;
  padding: 0.85em 2.2em;
  border-radius: 3rem;
  text-decoration: none;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.5);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.7);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--color-neon);
  color: var(--color-neon);
  font-weight: 700;
  padding: 0.8em 2em;
  border-radius: 3rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  font-size: 1rem;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--color-neon);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-platinum);
}

.prose {
  color: var(--color-text);
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.8;
}

.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--color-platinum);
  margin-top: 1.5em;
  margin-bottom: 0.7em;
  border-left: 4px solid var(--color-neon);
  padding-left: 0.75em;
}

.prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-neon);
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

.prose p { margin-bottom: 1.2em; color: var(--color-text); }

.prose a { color: var(--color-neon); text-decoration: underline; }
.prose a:hover { color: var(--color-gold); }

.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.prose ul li { list-style: disc; margin-bottom: 0.4em; color: var(--color-text); }
.prose ol li { list-style: decimal; margin-bottom: 0.4em; color: var(--color-text); }

.prose blockquote {
  border-left: 4px solid var(--color-neon2);
  padding: 0.8em 1.2em;
  margin: 1.5em 0;
  background: rgba(124,58,237,0.12);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-platinum);
  font-style: italic;
}

.prose img { max-width: 100%; border-radius: var(--radius); margin: 1.5em 0; display: block; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95rem;
}

.prose table th {
  background: linear-gradient(135deg, #2d0066, #4a0099);
  color: var(--color-platinum);
  padding: 0.7em 1em;
  text-align: left;
  font-weight: 700;
  border: 1px solid rgba(180,126,255,0.25);
}

.prose table td {
  padding: 0.6em 1em;
  border: 1px solid rgba(180,126,255,0.15);
  color: var(--color-text);
  background: rgba(45,0,102,0.25);
}

.prose table tr:nth-child(even) td { background: rgba(74,0,153,0.2); }
.prose table tr:hover td { background: rgba(124,58,237,0.2); }

/* Horizontal scroll for tables - works in flex/grid layouts */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  min-width: 0;
}

/* Prevent table from shrinking below content width so horizontal scroll works */
.overflow-x-auto table {
  min-width: max-content;
}

.hero-bg {
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(13,0,32,0.88) 0%, rgba(45,0,102,0.75) 50%, rgba(13,0,32,0.92) 100%);
  position: absolute;
  inset: 0;
}

.nav-link {
  color: var(--color-muted);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
  padding: 0.25em 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--color-neon);
  border-bottom-color: var(--color-neon);
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(13,0,32,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(180,126,255,0.2);
}

.mobile-menu {
  background: #0d0020;
  border-top: 1px solid rgba(180,126,255,0.2);
  padding: 1rem 1.5rem;
}

.badge-bonus {
  background: linear-gradient(135deg, rgba(45,0,102,0.9) 0%, rgba(124,58,237,0.7) 100%);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: inline-block;
  box-shadow: 0 0 30px rgba(212,175,55,0.3), 0 0 60px rgba(124,58,237,0.3);
}

.step-badge {
  background: linear-gradient(135deg, #7c3aed, #b47eff);
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(124,58,237,0.6);
}

.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 0 0 auto;
  width: 220px;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.5);
}

.game-card img { width: 100%; height: 140px; object-fit: cover; display: block; }

.promo-card {
  background: linear-gradient(135deg, rgba(45,0,102,0.5) 0%, rgba(74,0,153,0.4) 100%);
  border: 1px solid rgba(180,126,255,0.25);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(124,58,237,0.35);
}

.faq-item {
  border-bottom: 1px solid rgba(180,126,255,0.18);
  padding: 1.2rem 0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--color-platinum);
  font-size: 1rem;
  gap: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
}

.faq-answer {
  color: var(--color-muted);
  margin-top: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.75;
  display: none;
}

.faq-answer.open { display: block; }

.disclaimer {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.6rem;
  opacity: 0.8;
}

.word-cloud span {
  display: inline-block;
  padding: 0.35em 0.85em;
  border-radius: 2rem;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(180,126,255,0.25);
  color: var(--color-neon);
  font-size: clamp(0.75rem, 1.5vw, 1.05rem);
  margin: 0.3em;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.word-cloud span:hover {
  background: rgba(124,58,237,0.45);
  transform: scale(1.08);
}

footer a { color: var(--color-muted); transition: color 0.2s; }
footer a:hover { color: var(--color-neon); }

.container-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .burger-btn { display: flex; }
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .burger-btn { display: none; }
  .mobile-menu { display: none !important; }
}
