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

:root {
  --ruby: #C41E3A;
  --ruby-dark: #8B0000;
  --ruby-light: #E84057;
  --steel: #2563EB;
  --steel-dark: #1E3A5F;
  --steel-light: #60A5FA;
  --dark-bg: #09080F;
  --dark-card: #12111C;
  --dark-panel: #1A192A;
  --metallic: #232235;
  --text-light: #F1F0FF;
  --text-muted: #9B99B8;
  --gold: #F59E0B;
  --border-glow: rgba(196,30,58,0.35);
}

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

body {
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

.font-display { font-family: 'Rajdhani', sans-serif; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--ruby); border-radius: 4px; }

/* ---- Keyframes ---- */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(196,30,58,0.5); }
  50% { box-shadow: 0 0 28px 8px rgba(196,30,58,0.85); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes parallax-drift {
  0% { background-position: center 0%; }
  100% { background-position: center 30%; }
}

/* ---- Utility ---- */
.shimmer-text {
  background: linear-gradient(90deg, #fff 0%, #F59E0B 40%, #C41E3A 60%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}
.pulse-cta { animation: pulse-glow 2.2s ease-in-out infinite; }
.float-anim { animation: float 4s ease-in-out infinite; }
.fade-in-up { animation: fadeInUp 0.6s ease both; }

/* ---- Marquee ---- */
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

/* ---- Hero ---- */
.hero-bg {
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,8,15,0.88) 0%, rgba(139,0,0,0.55) 50%, rgba(30,58,95,0.75) 100%);
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-dark) 100%);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,30,58,0.55); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--steel-light);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 2px solid var(--steel);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.btn-secondary:hover { background: var(--steel-dark); transform: translateY(-2px); color: #fff; }

/* ---- Cards ---- */
.card-dark {
  background: var(--dark-card);
  border: 1px solid var(--metallic);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card-dark:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(196,30,58,0.25); }

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

/* ---- Badge ---- */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--ruby);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Step badge ---- */
.step-badge {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(196,30,58,0.5);
}

/* ---- Nav ---- */
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text-light); background: var(--metallic); }

/* ---- Mobile menu ---- */
#mobile-menu {
  background: var(--dark-panel);
  border-top: 2px solid var(--ruby);
}

/* ---- Metallic border ---- */
.metallic-border {
  border: 1px solid;
  border-image: linear-gradient(135deg, var(--ruby), var(--steel), var(--ruby)) 1;
}

/* ---- Section headings ---- */
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-light);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ---- Provider cloud ---- */
.provider-tag {
  display: inline-block;
  background: var(--metallic);
  color: var(--steel-light);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.3rem;
  border: 1px solid rgba(96,165,250,0.2);
  transition: background 0.2s, color 0.2s;
}
.provider-tag:hover { background: var(--steel-dark); color: #fff; }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--metallic);
  padding: 1.25rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  gap: 1rem;
}
.faq-answer { color: var(--text-muted); margin-top: 0.75rem; font-size: 0.95rem; display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.25s; color: var(--ruby); font-size: 1.25rem; flex-shrink: 0; }

/* ---- Bonus badge ---- */
.bonus-badge {
  background: linear-gradient(135deg, rgba(139,0,0,0.85) 0%, rgba(30,58,95,0.85) 100%);
  border: 2px solid var(--ruby);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  padding: 2rem;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

/* ---- Promotion cards ---- */
.promo-card {
  background: linear-gradient(135deg, var(--dark-card) 0%, var(--dark-panel) 100%);
  border: 1px solid var(--metallic);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ruby), var(--steel));
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(37,99,235,0.2); }

/* ---- Payment table ---- */
.payment-table th {
  background: var(--metallic);
  color: var(--steel-light);
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.payment-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--metallic);
  color: var(--text-light);
  font-size: 0.9rem;
}
.payment-table tr:last-child td { border-bottom: none; }
.payment-table tr:hover td { background: rgba(196,30,58,0.06); }

/* ---- Disclaimer ---- */
.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Prose for markdown ---- */
.prose { color: var(--text-light); max-width: 100%; }
.prose h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--text-light);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--ruby);
}
.prose h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--steel-light);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.prose p { margin-bottom: 1.1rem; color: var(--text-muted); line-height: 1.8; }
.prose a { color: var(--ruby-light); text-decoration: underline; }
.prose a:hover { color: var(--gold); }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.1rem; color: var(--text-muted); }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.1rem; color: var(--text-muted); }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote {
  border-left: 4px solid var(--ruby);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--dark-panel);
  border-radius: 0 0.5rem 0.5rem 0;
  color: var(--text-light);
  font-style: italic;
}
.prose img { max-width: 100%; border-radius: 0.75rem; margin: 1.5rem 0; 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.5rem;
}
.prose table th {
  background: var(--metallic);
  color: var(--steel-light);
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
}
.prose table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--metallic);
  color: var(--text-muted);
  font-size: 0.875rem;
}
.prose table tr:hover td { background: rgba(196,30,58,0.06); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .game-card img { height: 140px; }
  .bonus-badge { padding: 1.25rem; }
}
