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

:root {
  --gold: #f0b429;
  --gold-dark: #c8920a;
  --obsidian: #0a0a0a;
  --card-bg: #131313;
  --card-border: #2a2218;
  --text-light: #f0e6cc;
  --text-muted: #9a8c74;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--obsidian);
  color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

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

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

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(240,180,41,0.4); }
  50% { box-shadow: 0 0 28px 6px rgba(240,180,41,0.9); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes coin-spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

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

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

.gold-shimmer {
  background: linear-gradient(90deg, var(--gold) 0%, #fff5cc 40%, var(--gold) 60%, 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;
}

.glow-btn {
  animation: glow-pulse 2.2s ease-in-out infinite;
}

.float-anim {
  animation: float 3.5s ease-in-out infinite;
}

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

.hero-overlay {
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(30,20,0,0.75) 100%);
}

.card-gold {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 2px solid var(--gold);
  border-radius: 0.75rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(240,180,41,0.22);
}

.step-badge {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0a0a0a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-bg {
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid #2a2218;
  backdrop-filter: blur(8px);
}

.mobile-menu-bg {
  background: #0f0f0f;
  border-top: 1px solid #2a2218;
}

.prose {
  color: var(--text-light);
  max-width: 100%;
  line-height: 1.8;
}

.prose h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid #2a2218;
  padding-bottom: 0.4rem;
}

.prose h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #e8c96a;
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1.2rem;
  color: #d6c9a8;
}

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

.prose a:hover {
  color: #fff5cc;
}

.prose ul {
  list-style: disc;
  padding-left: 1.6em;
  margin-bottom: 1.2rem;
  color: #d6c9a8;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.6em;
  margin-bottom: 1.2rem;
  color: #d6c9a8;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.2em;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.5rem 0;
}

.prose img {
  max-width: 100%;
  border-radius: 0.5rem;
  margin: 1.5rem auto;
  display: block;
  border: 1px solid #2a2218;
}

.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;
  font-size: 0.95rem;
}

.prose thead th {
  background: #1a1500;
  color: var(--gold);
  padding: 0.7em 1em;
  text-align: left;
  border-bottom: 2px solid var(--gold-dark);
}

.prose tbody tr {
  border-bottom: 1px solid #2a2218;
}

.prose tbody tr:nth-child(even) {
  background: #111008;
}

.prose tbody td {
  padding: 0.6em 1em;
  color: #d6c9a8;
}

.overflow-x-auto table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}

.overflow-x-auto thead th {
  background: #1a1500;
  color: var(--gold);
  padding: 0.7em 1em;
  text-align: left;
  border-bottom: 2px solid var(--gold-dark);
  white-space: nowrap;
}

.overflow-x-auto tbody tr {
  border-bottom: 1px solid #2a2218;
}

.overflow-x-auto tbody tr:nth-child(even) {
  background: #0f0e08;
}

.overflow-x-auto tbody td {
  padding: 0.6em 1em;
  color: #d6c9a8;
  white-space: nowrap;
}

.game-card {
  min-width: 220px;
  max-width: 220px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #2a2218;
  background: #131313;
  flex-shrink: 0;
}

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

.word-cloud span {
  display: inline-block;
  padding: 0.3em 0.8em;
  margin: 0.3em;
  border-radius: 2rem;
  background: #1a1500;
  border: 1px solid #3a2e0a;
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: clamp(0.8rem, 1.2vw, 1.1rem);
  transition: background 0.2s, color 0.2s;
}

.word-cloud span:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.bonus-badge {
  background: linear-gradient(135deg, #1a1200 0%, #2a1e00 100%);
  border: 2px solid var(--gold);
  border-radius: 1rem;
  animation: glow-pulse 2.5s ease-in-out infinite;
}

.faq-item {
  border-bottom: 1px solid #2a2218;
}

.faq-question {
  cursor: pointer;
  padding: 1.1rem 0;
  color: #f0e6cc;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  padding-bottom: 1rem;
  color: #9a8c74;
  line-height: 1.75;
}

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

@media (max-width: 1024px) {
  .hero-bg {
    background-attachment: scroll;
  }
}
