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

:root {
  --emerald: #10b981;
  --emerald-dark: #047857;
  --emerald-light: #34d399;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #b8860b;
  --bg-deep: #060d14;
  --bg-dark: #0d1a26;
  --bg-card: #112031;
  --bg-card2: #0f1c2e;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --velvet: rgba(16,185,129,0.08);
}

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

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

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

/* Keyframe animations */
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212,175,55,0.3), 0 0 40px rgba(16,185,129,0.2); }
  50% { box-shadow: 0 0 40px rgba(212,175,55,0.6), 0 0 80px rgba(16,185,129,0.4); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes reel-spin {
  0% { transform: rotateX(0deg); }
  100% { transform: rotateX(360deg); }
}
@keyframes emerald-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(16,185,129,0.4); }
  50% { box-shadow: 0 0 35px rgba(16,185,129,0.8), 0 0 60px rgba(16,185,129,0.3); }
}

.animate-marquee { animation: marquee 28s linear infinite; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-glow-pulse { animation: glow-pulse 3s ease-in-out infinite; }
.animate-sparkle { animation: sparkle 2s ease-in-out infinite; }
.animate-emerald-glow { animation: emerald-glow 2.5s ease-in-out infinite; }

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

.gradient-emerald-gold {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--bg-dark) 50%, var(--gold-dark) 100%);
}

.card-velvet {
  background: var(--bg-card);
  border: 1px solid rgba(212,175,55,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(212,175,55,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-velvet:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(16,185,129,0.2), 0 4px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(212,175,55,0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  color: #0d1a26;
  font-weight: 700;
  padding: 0.85em 2em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  font-size: 1rem;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(212,175,55,0.6);
  color: #060d14;
}

.btn-secondary {
  background: transparent;
  color: var(--emerald-light);
  font-weight: 600;
  padding: 0.8em 1.8em;
  border-radius: 50px;
  border: 2px solid var(--emerald);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: var(--emerald);
  color: #060d14;
  box-shadow: 0 4px 20px rgba(16,185,129,0.4);
}

.sparkle-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: sparkle 2s ease-in-out infinite;
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), rgba(16,185,129,0.4), transparent);
  margin: 0;
}

/* Prose styles for Markdown content */
.prose {
  color: var(--text-primary);
  max-width: 100%;
  line-height: 1.8;
}
.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--gold-light);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(212,175,55,0.25);
  padding-bottom: 0.4rem;
}
.prose h3 {
  font-size: 1.25rem;
  color: var(--emerald-light);
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.prose p {
  margin-bottom: 1.2rem;
  color: #cbd5e1;
  font-size: 1rem;
}
.prose a {
  color: var(--gold);
  text-decoration: underline;
  transition: color 0.2s;
}
.prose a:hover { color: var(--gold-light); }
.prose ul, .prose ol {
  margin: 1rem 0 1.2rem 1.5rem;
  color: #cbd5e1;
}
.prose li { margin-bottom: 0.4rem; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 0.8rem 1.2rem;
  margin: 1.5rem 0;
  background: rgba(212,175,55,0.07);
  border-radius: 0 8px 8px 0;
  color: var(--gold-light);
  font-style: italic;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem auto;
  display: block;
  border: 1px solid rgba(212,175,55,0.2);
}
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  width: 100%;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.prose table th {
  background: rgba(16,185,129,0.15);
  color: var(--emerald-light);
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--emerald-dark);
}
.prose table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: #cbd5e1;
}
.prose table tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}

/* Parallax container */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Overflow scroll utility */
.overflow-x-auto { overflow-x: auto; }

/* Hero banner — readability on photo background */
.hero-banner-inner {
  background: linear-gradient(180deg, rgba(6, 13, 20, 0.82) 0%, rgba(6, 13, 20, 0.72) 100%);
  border-radius: 1.75rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-banner-title {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 24px rgba(0, 0, 0, 0.5));
}
.hero-banner-subtitle {
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 24px rgba(0, 0, 0, 0.85),
    0 0 2px rgba(0, 0, 0, 0.8);
}
.hero-offer-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28) 0%, rgba(16, 185, 129, 0.2) 100%) !important;
  border: 2px solid rgba(212, 175, 55, 0.65) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hero-offer-headline,
.hero-offer-detail {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Nav */
.nav-bg {
  background: rgba(6,13,20,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

/* Mobile burger icon */
.burger-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 2.75rem;
  min-height: 2.75rem;
}
.burger-line {
  display: block;
  width: 1.5rem;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #fbbf24, #fcd34d);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s ease, opacity 0.2s ease, background 0.2s ease;
}
.burger-toggle.is-open .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger-toggle.is-open .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger-toggle.is-open .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
#mobile-menu {
  background: #0d1a26;
  border-top: 1px solid rgba(212,175,55,0.2);
}

/* FAQ */
.faq-item details summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details[open] summary { color: var(--gold-light); }
.faq-item details .faq-body {
  padding: 0 1.2rem 1.1rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* Step badge */
.step-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(16,185,129,0.4);
}

/* Game card */
.game-card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

/* Word cloud */
.word-cloud span {
  display: inline-block;
  padding: 0.35em 0.9em;
  margin: 0.3em;
  border-radius: 30px;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 600;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--emerald-light);
  transition: all 0.2s;
}
.word-cloud span:hover {
  background: rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.5);
  color: var(--gold-light);
}

/* Disclaimer */
.disclaimer {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.6rem;
}

/* 18+ badge */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #ef4444;
  color: #ef4444;
  font-size: 0.7rem;
  font-weight: 700;
}
