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

:root {
  --sapphire: #0f1e5c;
  --sapphire-mid: #1a2e7a;
  --sapphire-dark: #0a1240;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-pale: #f8e98a;
  --velvet: #0d0d2b;
  --velvet-mid: #161630;
  --cream: #f5ecd7;
  --cream-dim: #c8b99a;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  background-color: var(--velvet);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  line-height: 1.25;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

p { line-height: 1.75; margin-bottom: 1em; color: var(--cream); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-pale); text-decoration: underline; }

.prose {
  max-width: 100%;
  color: var(--cream);
}
.prose h2 { font-size: 1.5rem; color: var(--gold-light); border-bottom: 1px solid var(--gold); padding-bottom: 0.3em; }
.prose h3 { font-size: 1.2rem; color: var(--gold); }
.prose p { font-size: 1rem; line-height: 1.8; color: var(--cream); }
.prose ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1em; }
.prose ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; color: var(--cream); }
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1em;
  margin-left: 0;
  color: var(--cream-dim);
  font-style: italic;
}
.prose img { max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1em 0; }

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5em;
}
.prose th {
  background: var(--sapphire-mid);
  color: var(--gold-light);
  padding: 0.6em 1em;
  text-align: left;
  border: 1px solid var(--gold);
}
.prose td {
  padding: 0.6em 1em;
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--cream);
  background: var(--velvet-mid);
}
.prose tr:nth-child(even) td { background: var(--sapphire-dark); }

.overflow-x-auto { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 12px var(--gold), 0 0 24px rgba(212,175,55,0.4); }
  50% { box-shadow: 0 0 24px var(--gold), 0 0 48px rgba(212,175,55,0.7); }
}

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

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

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

.pulse-gold { animation: pulse-gold 2.5s ease-in-out infinite; }
.float-slow { animation: float-slow 4s ease-in-out infinite; }

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

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

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

.sapphire-card {
  background: linear-gradient(135deg, var(--sapphire-dark) 0%, var(--sapphire-mid) 100%);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 1rem;
}

.gold-btn {
  display: inline-block;
  background: linear-gradient(135deg, #b8860b 0%, var(--gold-light) 50%, #b8860b 100%);
  color: #0a1240;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  padding: 0.8em 2em;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: filter 0.2s;
  letter-spacing: 0.03em;
}
.gold-btn:hover { filter: brightness(1.15); color: #0a1240; text-decoration: none; }

.outline-btn {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold-light);
  font-weight: 600;
  font-family: 'Cinzel', serif;
  padding: 0.75em 1.8em;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.outline-btn:hover { background: var(--gold); color: #0a1240; text-decoration: none; }

.nav-link {
  color: var(--cream);
  font-weight: 500;
  padding: 0.4em 0.8em;
  border-radius: 0.3rem;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--gold-light); background: rgba(212,175,55,0.1); text-decoration: none; }

.step-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--sapphire-dark);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(212,175,55,0.5);
}

.provider-tag {
  display: inline-block;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold-light);
  padding: 0.35em 0.9em;
  border-radius: 2rem;
  font-size: 0.88rem;
  margin: 0.25em;
  transition: background 0.2s;
}
.provider-tag:hover { background: rgba(212,175,55,0.25); }

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 0.3em;
}
.section-sub {
  text-align: center;
  color: var(--cream-dim);
  margin-bottom: 2.5em;
  font-size: 0.95rem;
}

.faq-item {
  border-bottom: 1px solid rgba(212,175,55,0.2);
  padding: 1.2em 0;
}
.faq-q {
  font-weight: 600;
  color: var(--gold-light);
  font-size: 1.02rem;
  margin-bottom: 0.5em;
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
}
.faq-a { color: var(--cream); line-height: 1.75; padding-left: 1.6em; }

.game-card {
  background: var(--sapphire-dark);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.3);
}
.game-card img { width: 100%; height: 10rem; object-fit: cover; }

.promo-card {
  background: linear-gradient(135deg, var(--sapphire-dark) 0%, var(--sapphire-mid) 100%);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 1rem;
  padding: 2em 1.5em;
  text-align: center;
  transition: transform 0.2s;
}
.promo-card:hover { transform: translateY(-4px); }

.mobile-menu {
  background: var(--sapphire-dark);
  border-top: 1px solid rgba(212,175,55,0.3);
}

@media (max-width: 640px) {
  .hero-bg { background-attachment: scroll; }
}
