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

:root {
  --sapphire-dark: #070f24;
  --sapphire: #0d1b3e;
  --sapphire-mid: #1a2a4a;
  --sapphire-light: #2a3f6e;
  --gold: #c9a84c;
  --gold-light: #e0c472;
  --gold-dark: #a07830;
  --cream: #f0e6c8;
  --velvet: #12082a;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--sapphire-dark);
  color: var(--cream);
}

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

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

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

@keyframes goldPulse {
  0%,100% { box-shadow: 0 0 0.5rem #c9a84c66; }
  50% { box-shadow: 0 0 2rem #c9a84ccc; }
}

@keyframes parallaxBg {
  0% { background-position: center 0%; }
  100% { background-position: center 20%; }
}

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

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

.marquee-track:hover { animation-play-state: paused; }

.gold-pulse { animation: goldPulse 2.5s ease-in-out infinite; }

.fade-in-up { animation: fadeInUp 0.7s ease both; }

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

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,15,36,0.88) 0%, rgba(18,8,42,0.80) 50%, rgba(13,27,62,0.85) 100%);
}

.hero-section > * { position: relative; z-index: 1; }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--sapphire-dark);
  font-weight: 700;
  padding: 0.85em 2em;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
  animation: goldPulse 2.5s ease-in-out infinite;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0.5rem 2rem rgba(201,168,76,0.5); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold-light);
  font-weight: 600;
  padding: 0.8em 2em;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-secondary:hover { background: var(--gold); color: var(--sapphire-dark); }

.card-casino {
  background: linear-gradient(145deg, var(--sapphire-mid), var(--sapphire-light));
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 1rem;
  transition: transform 0.25s, border-color 0.25s;
}

.card-casino:hover { transform: translateY(-4px); border-color: var(--gold); }

/* Featured Games: marquee row uses overflow:hidden; skip lift so cards are not clipped */
.game-card.card-casino:hover { transform: none; }

.section-title {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: rgba(240,230,200,0.7);
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.divider-gold {
  width: 5rem;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0.75rem auto 1.5rem;
}

.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,15,36,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

.mobile-menu-bg {
  background: #070f24;
  border-top: 1px solid rgba(201,168,76,0.25);
}

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

.prose h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: clamp(1.3rem, 2.5vw, 1.875rem);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 0.4em;
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.prose h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose p { margin-bottom: 1.25em; color: rgba(240,230,200,0.9); }

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

.prose ul { list-style: none; padding-left: 0; margin-bottom: 1.25em; }
.prose ul li { padding-left: 1.5em; position: relative; margin-bottom: 0.4em; color: rgba(240,230,200,0.9); }
.prose ul li::before { content: '◆'; position: absolute; left: 0; color: var(--gold); font-size: 0.65em; top: 0.35em; }

.prose ol { counter-reset: ol-counter; list-style: none; padding-left: 0; margin-bottom: 1.25em; }
.prose ol li { counter-increment: ol-counter; padding-left: 2em; position: relative; margin-bottom: 0.4em; color: rgba(240,230,200,0.9); }
.prose ol li::before { content: counter(ol-counter); position: absolute; left: 0; background: var(--gold); color: var(--sapphire-dark); font-weight: 700; font-size: 0.75em; width: 1.5em; height: 1.5em; border-radius: 50%; display: flex; align-items: center; justify-content: center; top: 0.15em; }

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 0.75em 1.25em;
  background: rgba(201,168,76,0.08);
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5em 0;
  color: rgba(240,230,200,0.85);
  font-style: italic;
}

.prose img { max-width: 100%; height: auto; border-radius: 0.75rem; border: 1px solid rgba(201,168,76,0.3); 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;
  width: 100%;
  margin-bottom: 1.5em;
}

.prose thead { background: rgba(201,168,76,0.15); }
.prose th { padding: 0.75em 1em; color: var(--gold-light); font-family: 'Playfair Display', serif; text-align: left; border-bottom: 2px solid rgba(201,168,76,0.4); font-size: 0.9rem; }
.prose td { padding: 0.65em 1em; border-bottom: 1px solid rgba(201,168,76,0.15); color: rgba(240,230,200,0.9); font-size: 0.9rem; }
.prose tbody tr:hover { background: rgba(201,168,76,0.06); }

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

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

.provider-tag {
  display: inline-block;
  padding: 0.35em 0.85em;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 2rem;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(201,168,76,0.08);
  transition: background 0.2s, color 0.2s;
}

.provider-tag:hover { background: var(--gold); color: var(--sapphire-dark); }

.faq-item {
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: rgba(201,168,76,0.5); }

.faq-question {
  width: 100%;
  background: rgba(26,42,74,0.8);
  color: var(--cream);
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

.faq-answer {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(13,27,62,0.6);
  color: rgba(240,230,200,0.85);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid rgba(201,168,76,0.15);
}

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

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

.bonus-badge {
  background: linear-gradient(135deg, rgba(18,8,42,0.9), rgba(13,27,62,0.9));
  border: 2px solid var(--gold);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 2rem rgba(201,168,76,0.25);
}

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

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

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