html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

body {
  background-color: #050f0a;
  color: #f1f5f9;
  font-family: system-ui, -apple-system, sans-serif;
}

/* ========================
   NEON TEXT
======================== */
.neon-text-cyan {
  color: #00f5ff;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.7), 0 0 20px rgba(0, 245, 255, 0.4);
}

.neon-text-violet {
  color: #bf00ff;
  text-shadow: 0 0 8px rgba(191, 0, 255, 0.7), 0 0 20px rgba(191, 0, 255, 0.4);
}

/* ========================
   BUTTONS
======================== */
.cta-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #00f5ff, #bf00ff);
  color: #050f0a;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.4);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.cta-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.7);
  filter: brightness(1.1);
}

.cta-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #00f5ff;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-align: center;
  text-decoration: none;
  border: 2px solid #00f5ff;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 1rem;
}

.cta-btn-secondary:hover {
  background: rgba(0, 245, 255, 0.1);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.35);
  transform: translateY(-2px);
}

/* ========================
   NAV LINKS
======================== */
.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #00f5ff;
}

.mobile-nav-link {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #1a3a22;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: #00f5ff;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #00f5ff;
}

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

.bonus-badge {
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 245, 255, 0); }
  50% { box-shadow: 0 0 40px 10px rgba(0, 245, 255, 0.15); }
}

/* Neon particles */
.neon-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.neon-particles::before,
.neon-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float-particle 8s ease-in-out infinite;
}

.neon-particles::before {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.08) 0%, transparent 70%);
  top: 20%;
  left: 10%;
  animation-duration: 10s;
}

.neon-particles::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(191, 0, 255, 0.06) 0%, transparent 70%);
  top: 40%;
  right: 15%;
  animation-duration: 14s;
  animation-delay: -4s;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-30px) scale(1.1); opacity: 1; }
}

/* ========================
   NEON GRID BG
======================== */
.neon-grid-bg {
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ========================
   STEP CARDS
======================== */
.step-card {
  background: #0d1f14;
  border: 1px solid #1a3a22;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: #00f5ff;
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.15);
}

.step-number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0, 245, 255, 0.08);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
  font-family: Georgia, serif;
  user-select: none;
}

.step-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #00f5ff22, #bf00ff22);
  border: 1px solid #00f5ff55;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #00f5ff;
  margin: 0 auto 1rem;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.step-text {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================
   REVIEW TABS
======================== */
.review-tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.review-tab:hover,
.review-tab.active {
  color: #00f5ff;
  border-bottom-color: #00f5ff;
}

/* Score bars */
.review-scorecard {
  background: #0d1f14;
  border: 1px solid #1a3a22;
  border-radius: 1rem;
  padding: 1.5rem;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.score-row > span:first-child {
  min-width: 100px;
  font-size: 0.8rem;
}

.score-bar {
  flex: 1;
  height: 6px;
  background: #1a3a22;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.score-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: var(--score-width, 0%);
  background: linear-gradient(90deg, #00f5ff, #bf00ff);
  border-radius: 3px;
  transition: width 1s ease;
}

.score-val {
  font-weight: 700;
  color: #00f5ff;
  min-width: 2.5rem;
  text-align: right;
}

/* ========================
   PROVIDER CLOUD
======================== */
.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.provider-tag {
  font-weight: 700;
  transition: color 0.2s, text-shadow 0.2s;
  cursor: default;
}

.provider-tag:nth-child(3n+1) { color: #00f5ff; }
.provider-tag:nth-child(3n+2) { color: #bf00ff; }
.provider-tag:nth-child(3n+3) { color: #f5c842; }

.provider-tag:hover {
  text-shadow: 0 0 15px currentColor;
}

/* ========================
   PROMO CARDS
======================== */
.promo-card {
  background: #0d1f14;
  border: 1px solid #1a3a22;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: #f5c842;
  box-shadow: 0 0 25px rgba(245, 200, 66, 0.15);
}

.promo-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #f5c84222, #ff8c0022);
  border: 1px solid #f5c84266;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #f5c842;
  margin: 0 auto 1rem;
}

.promo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}

.promo-text {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ========================
   GAME CARDS / MARQUEE
======================== */
.games-marquee-wrapper {
  position: relative;
}

.games-marquee {
  display: flex;
  gap: 1.5rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

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

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

.game-card {
  background: #0d1f14;
  border: 1px solid #1a3a22;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  border-color: #39ff14;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.game-card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.game-card:hover .game-card-img {
  transform: scale(1.05);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 10, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-body {
  padding: 0.75rem;
}

.game-card-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  text-align: center;
}

/* ========================
   FAQ
======================== */
.faq-item {
  background: #0d1f14;
  border: 1px solid #1a3a22;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: #bf00ff;
}

.faq-question {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #00f5ff;
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(90deg);
  color: #bf00ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================
   PROSE CASINO
======================== */
.prose-casino {
  color: #cbd5e1;
  max-width: 100%;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #ffffff;
  font-family: Georgia, serif;
  margin-top: 1em;
  margin-bottom: 0.75em;
}

.prose-casino h1 { font-size: 2rem; color: #00f5ff; }
.prose-casino h2 { font-size: 1.5rem; color: #f5c842; border-bottom: 1px solid #1a3a22; padding-bottom: 0.5rem; }
.prose-casino h3 { font-size: 1.25rem; color: #bf00ff; }

.prose-casino p {
  margin-bottom: 1em;
  line-height: 1.75;
}

.prose-casino a {
  color: #00f5ff;
  text-decoration: underline;
}

.prose-casino a:hover {
  color: #bf00ff;
}

.prose-casino ul,
.prose-casino ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.prose-casino li {
  margin-bottom: 0.4em;
  line-height: 1.6;
}

.prose-casino strong {
  color: #f5c842;
}

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

.prose-casino th {
  background: #112b18;
  color: #00f5ff;
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #1a3a22;
}

.prose-casino td {
  padding: 0.75rem 1rem;
  border: 1px solid #1a3a22;
  color: #cbd5e1;
}

.prose-casino tr:nth-child(even) td {
  background: #0a1a10;
}

.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 blockquote {
  border-left: 4px solid #00f5ff;
  padding-left: 1rem;
  color: #94a3b8;
  font-style: italic;
  margin: 1.5em 0;
}

.prose-casino code {
  background: #112b18;
  color: #39ff14;
  padding: 0.1em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose-casino hr {
  border-color: #1a3a22;
  margin: 2em 0;
}

/* ========================
   RESPONSIVE UTILITIES
======================== */
@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }

  .bonus-badge-inner {
    padding: 1.25rem 1.5rem;
  }
}

/* ========================
   SCROLLBAR
======================== */
::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #050f0a;
}

::-webkit-scrollbar-thumb {
  background: #1a3a22;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00f5ff44;
}

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