/* Bethulu Casino - Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --emerald: #10b981;
  --emerald-light: #34d399;
  --violet: #7c3aed;
  --violet-light: #a78bfa;
  --dark-bg: #030712;
  --dark-card: #111827;
  --dark-border: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
}

* { box-sizing: border-box; }

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

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 8px var(--emerald), 0 0 20px var(--emerald); }
  50% { box-shadow: 0 0 20px var(--violet), 0 0 40px var(--violet); }
}

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

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

@keyframes glowBorder {
  0%, 100% { border-color: var(--emerald); }
  50% { border-color: var(--violet-light); }
}

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

.neon-pulse { animation: neonPulse 2.5s ease-in-out infinite; }
.float-anim { animation: floatUp 3s ease-in-out infinite; }
.glow-border { animation: glowBorder 3s ease-in-out infinite; border-width: 2px; border-style: solid; }
.fade-in-up { animation: fadeInUp 0.7s ease both; }

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

.hero-bg {
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Darker overlay so headline and CTA read clearly on busy imagery */
  background: linear-gradient(135deg, rgba(3,7,18,0.92) 0%, rgba(17,24,39,0.78) 45%, rgba(3,7,18,0.95) 100%);
  z-index: 0;
}
/* Extra vignette over the text zone */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 70% at 50% 42%, rgba(3,7,18,0.72) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}
.hero-bg > * { position: relative; z-index: 2; }

.hero-content-panel {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.75rem;
  background: rgba(3, 7, 18, 0.58);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

/* Gradient fill + transparent text: text-shadow is ignored; drop-shadow follows glyph shape */
.brand-gradient-text {
  display: inline-block;
  font-weight: 900;
  background-image: linear-gradient(90deg, #6ee7b7 0%, #a78bfa 52%, #e9d5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #34d399;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85)) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

.site-header .brand-gradient-text {
  font-size: 1.6rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(0, 0, 0, 0.35));
}

footer .brand-gradient-text {
  font-size: 1.8rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.hero-bg .brand-gradient-text {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.95)) drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
}

/* Inner page article titles — same clip + drop-shadow pattern */
.page-title-gradient {
  display: inline-block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background-image: linear-gradient(90deg, #6ee7b7 0%, #a78bfa 52%, #e9d5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #34d399;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8)) drop-shadow(0 3px 16px rgba(0, 0, 0, 0.4));
}

.hero-subtitle {
  color: #e5e7eb;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75);
}

.hero-legal {
  color: #cbd5e1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.badge-bonus.hero-badge-visible {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(124, 58, 237, 0.28));
  border-color: rgba(52, 211, 153, 0.85);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.badge-bonus.hero-badge-visible p:first-of-type {
  color: #d1d5db;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--violet) 100%);
  color: #fff;
  font-weight: 700;
  padding: 0.85em 2em;
  border-radius: 9999px;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
  box-shadow: 0 0 18px rgba(16,185,129,0.5);
}
.btn-primary:hover { filter: brightness(1.15); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--emerald-light);
  font-weight: 600;
  padding: 0.8em 1.8em;
  border-radius: 9999px;
  border: 2px solid var(--emerald);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover { background: var(--emerald); color: #030712; transform: translateY(-2px); }

.card-casino {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card-casino:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.35);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--emerald-light), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5em;
}

.badge-bonus {
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(124,58,237,0.2));
  border: 2px solid var(--emerald);
  border-radius: 1.2rem;
  padding: 1.5em 2.5em;
  display: inline-block;
  text-align: center;
}

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

/* Featured Games marquee: uniform card size and aligned actions */
.game-card.card-casino {
  flex: 0 0 auto;
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  min-height: 348px;
  margin-right: 1.25rem;
  display: flex;
  flex-direction: column;
}
.game-card.card-casino > div {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  min-height: 0;
}
.game-card.card-casino h3 {
  flex: 1 1 auto;
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

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

.faq-intro {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Space between intro (“…before playing…”) and first FAQ item */
.faq-list {
  margin-top: 3rem;
}

.faq-item {
  border: 1px solid var(--dark-border);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--dark-card);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1em 1.25em;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.faq-question:hover { color: var(--emerald-light); }

.faq-icon {
  margin-left: 10px;
}

.faq-answer {
  padding: 0 1.25em 1em;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Prose styles */
.prose { color: var(--text-secondary); max-width: 100%; }
.prose h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--emerald-light);
  margin-bottom: 0.6em;
  border-left: 4px solid var(--violet);
  padding-left: 0.75em;
}
.prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--violet-light);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.prose p { margin-bottom: 1.2em; color: var(--text-secondary); line-height: 1.8; }
.prose a { color: var(--emerald-light); text-decoration: underline; }
.prose a:hover { color: var(--violet-light); }
.prose ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.4em; color: var(--text-secondary); }
.prose blockquote {
  border-left: 4px solid var(--violet);
  padding-left: 1em;
  margin: 1.5em 0;
  color: var(--text-muted);
  font-style: italic;
  background: rgba(124,58,237,0.08);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 0.75em 1em;
}
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5em 0;
  border: 1px solid var(--dark-border);
}
.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.5em;
}
.prose th {
  background: linear-gradient(90deg, rgba(16,185,129,0.2), rgba(124,58,237,0.2));
  color: var(--text-primary);
  padding: 0.75em 1em;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--dark-border);
}
.prose td {
  padding: 0.65em 1em;
  border: 1px solid var(--dark-border);
  color: var(--text-secondary);
  background: var(--dark-card);
}
.prose tr:nth-child(even) td { background: rgba(31,41,55,0.6); }

/* Sticky nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(3,7,18,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
}

/* Mobile menu */
#mobile-menu {
  background: #0a0f1e;
  border-top: 1px solid var(--dark-border);
}

/* Word cloud */
.word-cloud span {
  display: inline-block;
  padding: 0.35em 0.85em;
  margin: 0.3em;
  border-radius: 9999px;
  font-weight: 600;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.word-cloud span:hover {
  background: linear-gradient(135deg, var(--emerald), var(--violet));
  color: #fff;
  border-color: transparent;
}

/* Payment table */
.pay-table th { white-space: nowrap; }
.pay-table td { white-space: nowrap; }

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

/* 18+ badge */
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid var(--emerald);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--emerald-light);
}

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