/* ============================================================
   BeturaCasino Custom CSS
   Neon Prestige Theme — Electric Cyan & Violet
============================================================ */

/* --- Reset & Base --- */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background-color: #0a0a1a;
  color: #e2e8f0;
  min-height: 100vh;
  word-break: break-word;
  overflow-x: hidden;
}

/* ============================================================
   NEON TEXT & GLOW EFFECTS
============================================================ */
.neon-text {
  text-shadow:
    0 0 8px rgba(0, 229, 255, 0.8),
    0 0 20px rgba(0, 229, 255, 0.5),
    0 0 40px rgba(0, 229, 255, 0.25);
}

.neon-text-violet {
  text-shadow:
    0 0 8px rgba(124, 58, 237, 0.8),
    0 0 20px rgba(124, 58, 237, 0.5),
    0 0 40px rgba(124, 58, 237, 0.25);
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-bg-img {
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-parallax {
  position: relative;
}

.neon-trails-overlay {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================================
   BONUS BADGE
============================================================ */
.bonus-badge-box {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(124, 58, 237, 0.15));
  border-radius: 1.25rem;
  padding: 2px;
  animation: bonusPulse 3s ease-in-out infinite;
}

@keyframes bonusPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3), 0 0 40px rgba(124, 58, 237, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6), 0 0 60px rgba(124, 58, 237, 0.4);
  }
}

/* ============================================================
   CTA BUTTONS
============================================================ */
.cta-btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.cta-btn-primary:hover::after {
  left: 150%;
}

/* ============================================================
   GAME STRIP / CARD
============================================================ */
.game-strip-track {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.game-strip-track::-webkit-scrollbar {
  height: 4px;
}

.game-strip-track::-webkit-scrollbar-track {
  background: rgba(124, 58, 237, 0.1);
  border-radius: 4px;
}

.game-strip-track::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.4);
  border-radius: 4px;
}

.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-4px);
}

/* ============================================================
   PROMO CARDS
============================================================ */
.promo-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
}

/* ============================================================
   STEP CARDS
============================================================ */
.step-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
}

.step-badge {
  animation: stepPulse 2.5s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ============================================================
   REVIEW BLOCKS
============================================================ */
.review-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-block:hover {
  transform: translateY(-3px);
}

/* ============================================================
   PROVIDER WORD CLOUD
============================================================ */
.provider-cloud {
  line-height: 1.8;
}

.provider-tag {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: default;
  font-style: normal;
}

.provider-tag:hover {
  opacity: 0.8;
  transform: scale(1.08);
}

/* ============================================================
   FAQ ACCORDION
============================================================ */
.faq-item {
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.25);
}

.faq-trigger {
  cursor: pointer;
  background: none;
  border: none;
}

.faq-trigger:hover {
  background-color: rgba(124, 58, 237, 0.08);
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 0.5rem;
}

.faq-answer {
  transition: opacity 0.3s ease;
}

/* ============================================================
   GEOMETRIC BACKGROUND PATTERN
============================================================ */
.geometric-bg-pattern {
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 25% 25%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 229, 255, 0.04) 0%, transparent 50%);
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav-link {
  position: relative;
  transition: all 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00e5ff;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* ============================================================
   MARQUEE ANIMATION
============================================================ */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

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

/* ============================================================
   PARALLAX EFFECT
============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg-img {
    transform: translateY(0);
  }
}

/* ============================================================
   PROSE / ARTICLE CONTENT
============================================================ */
.prose-casino {
  max-width: 75ch;
  color: #e2e8f0;
  line-height: 1.8;
  word-break: break-word;
}

.prose-casino h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #00e5ff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.prose-casino h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #a855f7;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 3px solid #00e5ff;
  padding-left: 0.75rem;
}

.prose-casino h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #00e5ff;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose-casino h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.prose-casino p {
  margin-bottom: 1rem;
  color: #94a3b8;
}

.prose-casino strong {
  color: #e2e8f0;
  font-weight: 600;
}

.prose-casino em {
  color: #a855f7;
  font-style: italic;
}

.prose-casino a {
  color: #00e5ff;
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.4);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.prose-casino a:hover {
  color: #a855f7;
  text-decoration-color: rgba(168, 85, 247, 0.6);
}

.prose-casino ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.prose-casino ul li {
  padding-left: 1.5rem;
  position: relative;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.prose-casino ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #00e5ff;
  font-weight: 700;
}

.prose-casino ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.prose-casino ol li {
  margin-bottom: 0.5rem;
}

.prose-casino blockquote {
  border-left: 3px solid #7c3aed;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #a855f7;
  font-style: italic;
}

.prose-casino code {
  background: rgba(124, 58, 237, 0.2);
  color: #00e5ff;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

.prose-casino pre {
  background: #12122a;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.prose-casino pre code {
  background: none;
  padding: 0;
}

.prose-casino hr {
  border: none;
  border-top: 1px solid rgba(124, 58, 237, 0.3);
  margin: 2rem 0;
}

.prose-casino img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

/* Prose Table Scroll Wrapper */
.prose-casino .prose-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 1.5em 0;
  border-radius: 0.5rem;
}

.prose-casino .prose-table-scroll table {
  margin-top: 0;
  margin-bottom: 0;
}

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.prose-casino thead tr {
  background-color: rgba(124, 58, 237, 0.2);
  border-bottom: 2px solid rgba(0, 229, 255, 0.3);
}

.prose-casino th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: #00e5ff;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prose-casino td {
  padding: 0.6rem 1rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.prose-casino tr:hover td {
  background-color: rgba(124, 58, 237, 0.08);
  color: #e2e8f0;
}

/* Article content wrapper in single layout */
.prose-article {
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   SCROLLBAR UTILITIES
============================================================ */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ============================================================
   RESPONSIVE TABLE
============================================================ */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

table {
  border-collapse: collapse;
  min-width: 100%;
}

/* ============================================================
   HEADER STICKY
============================================================ */
header.sticky {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

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

/* Staggered animation delay helpers */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* ============================================================
   GRADIENT BORDERS
============================================================ */
.gradient-border {
  position: relative;
  border-radius: 1rem;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #00e5ff, #7c3aed);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ============================================================
   MOBILE RESPONSIVE UTILITIES
============================================================ */
@media (max-width: 640px) {
  .prose-casino h1 { font-size: 1.5rem; }
  .prose-casino h2 { font-size: 1.25rem; }
  .prose-casino h3 { font-size: 1rem; }

  .bonus-badge-box {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  #mobile-menu a {
    border-radius: 0.5rem;
  }
}

/* ============================================================
   CONTRAST SAFETY
============================================================ */
/* Ensure no dark-on-dark or light-on-light combinations */
.bg-casino-cyan { color: #0a0a1a; }
.bg-casino-gold { color: #0a0a1a; }
.text-casino-bg { color: #0a0a1a; }
