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

:root {
  --gold: #c9a84c;
  --gold-light: #e8c96b;
  --sand: #f5e6c8;
  --sandstone: #d4a96a;
  --deep: #1a1206;
  --dark: #241a08;
  --card-bg: #2e2010;
  --sunset: #a0522d;
  --text-main: #f5e6c8;
  --text-muted: #c4a96a;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--deep);
  color: var(--text-main);
}

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.4); }
  50% { box-shadow: 0 0 40px rgba(201,168,76,0.8), 0 0 60px rgba(201,168,76,0.3); }
}

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

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

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

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

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

.glow-anim {
  animation: glow 2.5s ease-in-out infinite;
}

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

.shimmer-text {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold), var(--gold-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear 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(26,18,6,0.92) 0%, rgba(36,26,8,0.75) 50%, rgba(160,82,45,0.5) 100%);
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--sandstone));
  color: var(--deep);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

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

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 0.5rem;
  border: 2px solid var(--gold);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 1rem;
}

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

.card-gold {
  background: linear-gradient(145deg, var(--card-bg), #1e1508);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 1rem;
  transition: transform 0.2s, border-color 0.2s;
}

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

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold-light);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.nav-bg {
  background: rgba(26,18,6,0.97);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  backdrop-filter: blur(10px);
}

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

.badge-num {
  background: linear-gradient(135deg, var(--gold), var(--sandstone));
  color: var(--deep);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

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

.prose h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding-bottom: 0.5rem;
}

.prose h3 {
  color: var(--sandstone);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
  color: var(--sand);
}

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

.prose a:hover {
  color: var(--gold);
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: var(--sand);
}

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

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem auto;
  display: block;
  border: 1px solid rgba(201,168,76,0.2);
}

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  width: 100%;
}

.prose thead {
  background: rgba(201,168,76,0.15);
}

.prose th {
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--gold-light);
  font-weight: 700;
  border: 1px solid rgba(201,168,76,0.2);
}

.prose td {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(201,168,76,0.15);
  color: var(--sand);
  background: rgba(46,32,16,0.4);
}

.prose tr:nth-child(even) td {
  background: rgba(46,32,16,0.7);
}

.tag-cloud span {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light);
  border-radius: 2rem;
  padding: 0.3rem 0.9rem;
  margin: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}

.tag-cloud span:hover {
  background: rgba(201,168,76,0.25);
}

.payment-table td, .payment-table th {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(201,168,76,0.15);
}

.payment-table thead {
  background: rgba(201,168,76,0.12);
}

.payment-table th {
  color: var(--gold-light);
  font-weight: 700;
}

.payment-table td {
  color: var(--sand);
  background: rgba(46,32,16,0.5);
}

.payment-table tr:nth-child(even) td {
  background: rgba(46,32,16,0.8);
}

.bonus-badge {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(160,82,45,0.2));
  border: 2px solid var(--gold);
  border-radius: 1.25rem;
  padding: 1.5rem 2rem;
}

.step-connector {
  width: 2px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
}

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

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

/* Horizontal strip: popular games — themed scrollbar + smooth snap */
.game-cards-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 0.85rem;
  margin-inline: -0.25rem;
  padding-inline: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.85) rgba(30, 21, 8, 0.85);
}

.game-cards-scroll::-webkit-scrollbar {
  height: 10px;
}

.game-cards-scroll::-webkit-scrollbar-track {
  background: linear-gradient(
    90deg,
    rgba(26, 18, 6, 0.98) 0%,
    rgba(46, 32, 16, 0.95) 50%,
    rgba(26, 18, 6, 0.98) 100%
  );
  border-radius: 999px;
  margin-inline: 0.75rem;
  border: 1px solid rgba(201, 168, 76, 0.12);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}

.game-cards-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--gold), var(--sandstone), var(--gold-light));
  border-radius: 999px;
  border: 2px solid rgba(26, 18, 6, 0.85);
  box-shadow:
    0 0 12px rgba(201, 168, 76, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.game-cards-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--sandstone));
}

.game-cards-track {
  scroll-snap-type: x proximity;
  padding-block: 2px;
}

.game-cards-scroll .game-card {
  scroll-snap-align: start;
}

.game-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-radius: 0.75rem 0.75rem 0 0;
}

.faq-item {
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 0;
  color: var(--gold-light);
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary { color: var(--gold); }

.faq-answer {
  padding: 0 0 1rem;
  color: var(--sand);
  line-height: 1.7;
}
