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

:root {
  --sapphire: #0d1b4b;
  --sapphire-dark: #070e2a;
  --sapphire-mid: #1a2980;
  --gold: #c9a84c;
  --gold-light: #e0c56a;
  --gold-dark: #a07830;
  --velvet: #0a0e2a;
  --text-light: #f0e8d0;
  --text-muted: #b8a87a;
}

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

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

.font-display { font-family: 'Playfair Display', serif; }

.gold-text { color: var(--gold); }
.gold-border { border-color: var(--gold); }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--sapphire-dark);
  font-weight: 700;
  padding: 0.85em 2em;
  border-radius: 0.5em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--gold-light);
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.03em;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(201,168,76,0.5);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  padding: 0.85em 2em;
  border-radius: 0.5em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--gold);
  cursor: pointer;
  font-size: 1rem;
}
.btn-secondary:hover {
  background: rgba(201,168,76,0.15);
  transform: translateY(-2px);
}

.card-sapphire {
  background: linear-gradient(145deg, #0d1b4b, #111f58);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 1em;
}

.hero-bg {
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7,14,42,0.82) 0%, rgba(10,14,42,0.92) 100%);
  z-index: 0;
}
.hero-bg > * { position: relative; z-index: 1; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

.featured-games-section {
  padding: 4em 0;
  background: linear-gradient(to bottom, #070e2a, #0a0e2a);
}

/* Horizontal clip only; padding gives room for lifted cards + shadow */
.marquee-clip {
  overflow-x: hidden;
  padding-block: 1rem;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.shimmer { animation: shimmer 2.5s ease-in-out infinite; }

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-anim { animation: floatUp 4s ease-in-out infinite; }

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(201,168,76,0.3); }
  50% { box-shadow: 0 0 30px rgba(201,168,76,0.7); }
}
.glow-pulse { animation: glowPulse 2.5s ease-in-out infinite; }

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #070e2a 0%, #0d1b4b 100%);
  border-bottom: 2px solid rgba(201,168,76,0.4);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.mobile-menu {
  display: none;
  background: #070e2a;
  border-top: 1px solid rgba(201,168,76,0.3);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.9em 1.5em;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--gold); background: rgba(201,168,76,0.05); }

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.4em 0.8em;
  border-radius: 0.3em;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--gold); background: rgba(201,168,76,0.08); }

.badge-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--sapphire-dark);
  border-radius: 2em;
  font-weight: 700;
  font-size: 0.78em;
  padding: 0.2em 0.8em;
  letter-spacing: 0.04em;
}

.step-badge {
  width: 3em;
  height: 3em;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--sapphire-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2em;
  flex-shrink: 0;
}

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

.faq-item {
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 0.75em;
  overflow: hidden;
  margin-bottom: 0.75em;
}
.faq-question {
  width: 100%;
  background: rgba(13,27,75,0.8);
  color: var(--text-light);
  border: none;
  text-align: left;
  padding: 1.1em 1.4em;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(26,41,128,0.8); }
.faq-answer {
  display: none;
  background: rgba(10,14,42,0.9);
  color: var(--text-muted);
  padding: 1em 1.4em;
  line-height: 1.7;
  font-size: 0.97rem;
}
.faq-answer.open { display: block; }
.faq-icon {
  flex-shrink: 0;
  margin-left: 0.75em;
}

.promo-card {
  background: linear-gradient(145deg, #0d1b4b, #111f58);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 1em;
  padding: 2em;
  transition: transform 0.3s, box-shadow 0.3s;
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.2);
}

.game-card {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  background: linear-gradient(145deg, #0d1b4b, #111f58);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 1em;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 168, 76, 0.35);
  z-index: 1;
}
.game-card img { width: 100%; height: 140px; object-fit: cover; display: block; }

.section-title {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.4em;
}
.section-sub {
  color: var(--text-muted);
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 2.5em;
}

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

.disclaimer {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.75em;
  line-height: 1.5;
}

.payment-icon { font-size: 1.6em; color: var(--gold); }

footer {
  background: linear-gradient(to bottom, #070e2a, #050a1a);
  border-top: 2px solid rgba(201,168,76,0.3);
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}
footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--gold); }

.prose h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin: 1em 0 0.6em;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding-bottom: 0.3em;
}
.prose h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  margin: 1.6em 0 0.5em;
}
.prose p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.2em;
  font-size: 1rem;
}
.prose a { color: var(--gold); text-decoration: underline; }
.prose a:hover { color: var(--gold-light); }
.prose ul {
  list-style: disc;
  padding-left: 1.6em;
  margin-bottom: 1.2em;
  color: var(--text-light);
}
.prose ol {
  list-style: decimal;
  padding-left: 1.6em;
  margin-bottom: 1.2em;
  color: var(--text-light);
}
.prose li { margin-bottom: 0.4em; line-height: 1.7; }
.prose blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(201,168,76,0.07);
  padding: 0.8em 1.4em;
  margin: 1.5em 0;
  color: var(--text-muted);
  border-radius: 0 0.5em 0.5em 0;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75em;
  border: 1px solid rgba(201,168,76,0.25);
  margin: 1.5em auto;
  display: block;
}
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  width: 100%;
}
.prose thead th {
  background: linear-gradient(90deg, var(--sapphire-mid), var(--sapphire));
  color: var(--gold);
  padding: 0.75em 1.2em;
  text-align: left;
  font-weight: 700;
  border: 1px solid rgba(201,168,76,0.25);
}
.prose tbody td {
  background: rgba(13,27,75,0.5);
  color: var(--text-light);
  padding: 0.65em 1.2em;
  border: 1px solid rgba(201,168,76,0.15);
}
.prose tbody tr:nth-child(even) td { background: rgba(26,41,128,0.2); }

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

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