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

:root {
  --midnight: #0d1117;
  --midnight-card: #151d2b;
  --midnight-border: #1e2d42;
  --emerald: #059669;
  --emerald-light: #10b981;
  --gold: #d97706;
  --gold-light: #f59e0b;
  --ivory: #f5f0e8;
  --ivory-muted: #c9c0b0;
  --text-on-dark: #e8e2d8;
  --text-on-card: #d1c8ba;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--midnight);
  color: var(--text-on-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 0.75em;
}

p { margin-bottom: 1em; color: var(--text-on-dark); }

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

.prose { max-width: 100%; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ivory); margin-top: 2em; margin-bottom: 0.6em; border-left: 4px solid var(--emerald); padding-left: 0.75em; }
.prose h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--gold-light); margin-top: 1.5em; margin-bottom: 0.5em; }
.prose p { color: var(--text-on-dark); font-size: 1rem; line-height: 1.8; margin-bottom: 1.2em; }
.prose ul { list-style: none; padding-left: 0; margin-bottom: 1.2em; }
.prose ul li { padding-left: 1.5em; position: relative; margin-bottom: 0.5em; color: var(--text-on-dark); }
.prose ul li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
.prose ol { padding-left: 1.5em; margin-bottom: 1.2em; counter-reset: item; }
.prose ol li { margin-bottom: 0.5em; color: var(--text-on-dark); }
.prose blockquote { border-left: 4px solid var(--gold); padding: 0.75em 1.25em; background: var(--midnight-card); border-radius: 0 8px 8px 0; margin: 1.5em 0; color: var(--ivory-muted); font-style: italic; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.5em 0; }
/* Tables: scrollable wrapper for all pages */
.table-scroll-wrapper,
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5em 0;
}

.table-scroll-wrapper table,
.overflow-x-auto table {
  min-width: max-content;
  width: 100%;
  border-collapse: collapse;
}

.prose table,
.prose .table-scroll-wrapper table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.prose .table-scroll-wrapper { margin: 1.5em 0; }

.prose table th,
.table-scroll-wrapper th,
.prose-table th { background: var(--emerald); color: var(--ivory); padding: 0.75em 1em; text-align: left; font-family: 'Inter', sans-serif; font-weight: 600; }
.prose table td,
.table-scroll-wrapper td,
.prose-table td { padding: 0.65em 1em; border-bottom: 1px solid var(--midnight-border); color: var(--text-on-dark); }
.prose table tr:nth-child(even),
.table-scroll-wrapper tr:nth-child(even),
.prose-table tr:nth-child(even) { background: var(--midnight-card); }
.prose table tr:hover,
.table-scroll-wrapper tr:hover,
.prose-table tr:hover { background: rgba(5, 150, 105, 0.1); }

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

@keyframes floatPetal {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
  33% { transform: translateY(-18px) rotate(10deg); opacity: 1; }
  66% { transform: translateY(-8px) rotate(-5deg); opacity: 0.85; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(5,150,105,0.4), 0 0 40px rgba(217,119,6,0.2); }
  50% { box-shadow: 0 0 35px rgba(5,150,105,0.7), 0 0 60px rgba(217,119,6,0.4); }
}

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

@keyframes parallaxDrift {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-40px); }
}

.marquee-track { display: flex; animation: marqueeScroll 30s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }

.petal-float { animation: floatPetal 6s ease-in-out infinite; }
.petal-float:nth-child(2) { animation-delay: -2s; }
.petal-float:nth-child(3) { animation-delay: -4s; }

.glow-card { animation: glowPulse 3s ease-in-out infinite; }

.shimmer-btn {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 30%, #fff9 50%, var(--gold-light) 70%, var(--gold) 100%);
  background-size: 200% auto;
  animation: shimmer 2.5s linear infinite;
  color: var(--midnight);
  font-weight: 700;
}

.shimmer-btn:hover { opacity: 0.92; transform: translateY(-2px); transition: all 0.2s; }

.nav-link { color: var(--ivory-muted); transition: color 0.2s; font-weight: 500; }
.nav-link:hover { color: var(--gold-light); text-decoration: none; }

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

.hero-overlay {
  background: linear-gradient(135deg, rgba(13,17,23,0.88) 0%, rgba(5,150,105,0.18) 50%, rgba(13,17,23,0.92) 100%);
}

.card-casino {
  background: var(--midnight-card);
  border: 1px solid var(--midnight-border);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s;
}

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

.badge-bonus {
  background: linear-gradient(135deg, #1a2a1a, #0d2018);
  border: 2px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(217,119,6,0.3), 0 0 60px rgba(5,150,105,0.15);
}

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

.provider-tag {
  display: inline-block;
  background: var(--midnight-card);
  border: 1px solid var(--midnight-border);
  border-radius: 999px;
  padding: 0.35em 1em;
  color: var(--ivory-muted);
  font-size: 0.875rem;
  transition: all 0.2s;
  margin: 0.25rem;
}

.provider-tag:hover { border-color: var(--emerald); color: var(--emerald-light); }

.faq-item { border-bottom: 1px solid var(--midnight-border); }
.faq-item summary { cursor: pointer; padding: 1.25rem 0; color: var(--ivory); font-weight: 600; font-family: 'Playfair Display', serif; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 1.5rem; transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 0 1.25rem 0; color: var(--text-on-dark); line-height: 1.8; }

.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--ivory); text-align: center; margin-bottom: 0.5em; }
.section-subtitle { text-align: center; color: var(--ivory-muted); margin-bottom: 2.5em; font-size: 1.05rem; }

.table-pay th { background: var(--emerald); color: var(--ivory); padding: 0.75em 1em; text-align: left; }
.table-pay td { padding: 0.65em 1em; border-bottom: 1px solid var(--midnight-border); color: var(--text-on-dark); vertical-align: middle; }
.table-pay tr:nth-child(even) { background: rgba(255,255,255,0.03); }

.svgpattern { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.mobile-menu-open { display: block !important; }

@media (max-width: 1023px) {
  #mobile-menu { display: none; background: var(--midnight-card); border-top: 1px solid var(--midnight-border); }
}
