/* Betroom24 Custom CSS */
:root {
  --bg-deep: #0f1420;
  --bg-card: #1a2238;
  --bg-surface: #22304f;
  --accent-blue: #3d82f6;
  --accent-silver: #94a3b8;
  --accent-glow: #60a5fa;
  --text-primary: #eef2f8;
  --text-muted: #94a3b8;
  --text-dark: #1a2238;
  --border-subtle: #2e3f5c;
  --gradient-hero: linear-gradient(135deg, #0f1420 0%, #1a2e4a 50%, #0f1420 100%);
}

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

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

a { color: var(--accent-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-glow); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--accent-blue); border-radius: 3px; }

/* Keyframes */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(61,130,246,0.4); }
  50% { box-shadow: 0 0 28px rgba(61,130,246,0.9); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-marquee { animation: marquee 28s linear infinite; }
.animate-float { animation: float 3.5s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; }
.animate-fade-up { animation: fadeInUp 0.7s ease both; }

/* Shimmer text */
.shimmer-text {
  background: linear-gradient(90deg, #94a3b8 0%, #eef2f8 40%, #60a5fa 60%, #94a3b8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Hero */
.hero-section {
  min-height: 92vh;
  background: var(--gradient-hero);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.72);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

/* Bonus badge */
.bonus-badge {
  background: linear-gradient(135deg, #1a2e4a, #0f1e38);
  border: 2px solid var(--accent-blue);
  border-radius: 1.2rem;
  padding: 1.8rem 2.4rem;
  animation: pulse-glow 2.5s ease-in-out infinite;
  display: inline-block;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.5); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--accent-blue);
  padding: 0.8rem 1.8rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--accent-blue);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-secondary:hover { background: var(--accent-blue); color: #fff; }

.btn-small {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  padding: 0.5rem 1.1rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.82rem;
  display: inline-block;
  transition: transform 0.2s;
}
.btn-small:hover { transform: scale(1.04); color: #fff; }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.6rem;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-blue); }

/* Section */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* Steps */
.step-badge {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

/* Word cloud */
.word-cloud span {
  display: inline-block;
  background: var(--bg-surface);
  color: var(--accent-silver);
  border: 1px solid var(--border-subtle);
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  margin: 0.3rem;
  transition: background 0.2s, color 0.2s;
}
.word-cloud span:hover { background: var(--accent-blue); color: #fff; }

/* Nav */
.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-surface); }

.mobile-menu {
  background: #101827;
  border-top: 1px solid var(--border-subtle);
}

.hidden {
  display: none !important;
}

/* Glowing divider */
.glow-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), var(--accent-glow), var(--accent-blue), transparent);
  margin: 0;
}

/* SVG pattern bg */
.pattern-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233d82f6' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Prose styling */
.prose { color: var(--text-primary); max-width: 100%; }
.prose h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-blue);
}
.prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--accent-glow);
  margin: 2rem 0 0.75rem;
}
.prose p { margin-bottom: 1.25rem; color: #c8d6e8; line-height: 1.8; }
.prose ul, .prose ol { margin: 1rem 0 1.5rem 1.5rem; color: #c8d6e8; }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose ul li { list-style-type: disc; }
.prose ol li { list-style-type: decimal; }
.prose a { color: var(--accent-blue); }
.prose a:hover { color: var(--accent-glow); }
.prose strong { color: var(--text-primary); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--accent-blue);
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
}
.prose img {
  max-width: 100%;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-subtle);
}
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  margin: 1.5rem 0;
  width: 100%;
}
.prose th {
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
}
.prose td {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-subtle);
  color: #c8d6e8;
  background: var(--bg-card);
}
.prose tr:hover td { background: var(--bg-surface); }

/* Container */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 1.25rem; }

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

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-question {
  cursor: pointer;
  padding: 1.2rem 0;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent-blue); }
.faq-answer { padding: 0 0 1.2rem; color: var(--text-muted); line-height: 1.75; display: none; }
.faq-answer.open { display: block; }

/* Scrollable game strip */
.game-strip { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.game-strip::-webkit-scrollbar { height: 4px; }
.game-card {
  flex: 0 0 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.85rem;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.2s, border-color 0.2s;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--accent-blue); }
.game-card img { width: 100%; height: 130px; object-fit: cover; }
.game-card-body { padding: 0.85rem; }
.game-card-title { font-weight: 700; font-size: 0.85rem; color: var(--text-primary); margin-bottom: 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Promo cards */
.promo-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.promo-card:hover { transform: translateY(-5px); border-color: var(--accent-blue); }

/* Payment table host */
.payment-table-wrap { overflow-x: auto; border-radius: 0.75rem; border: 1px solid var(--border-subtle); }
.payment-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.payment-table th { background: var(--bg-surface); color: var(--text-primary); padding: 0.9rem 1.2rem; text-align: left; font-weight: 700; border-bottom: 2px solid var(--accent-blue); }
.payment-table td { padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--border-subtle); color: #c8d6e8; }
.payment-table tr:last-child td { border-bottom: none; }
.payment-table tr:nth-child(even) td { background: rgba(30,42,64,0.5); }

/* Footer */
footer { background: #090d16; border-top: 1px solid var(--border-subtle); }
.footer-link { color: var(--text-muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-link:hover { color: var(--accent-blue); }
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Review section */
.review-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem;
}
.review-block h3 { color: var(--accent-glow); font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.review-block p { color: #c8d6e8; line-height: 1.8; margin-bottom: 0.9rem; font-size: 0.96rem; }
.review-block ul { color: #c8d6e8; margin-left: 1.5rem; margin-bottom: 1rem; }
.review-block li { margin-bottom: 0.45rem; list-style: disc; line-height: 1.7; }

/* Disclaimer */
.disclaimer { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.75rem; opacity: 0.8; }

/* Sticky nav */
#site-header { position: sticky; top: 0; z-index: 999; background: rgba(9,13,22,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-subtle); }
