/* ===========================================
   Gambleton Casino - Custom CSS
   Neon Fortune Theme
   =========================================== */

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

body {
  overflow-x: hidden;
  word-break: break-word;
}

/* ---- Neon Grid Pattern ---- */
.neon-grid {
  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: 60px 60px;
}

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

/* ---- Marquee ---- */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

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

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

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

/* ---- Glow Pulse Animation ---- */
@keyframes glowPulse {
  0% { box-shadow: 0 0 5px #00f5ff, 0 0 10px #00f5ff; }
  100% { box-shadow: 0 0 20px #00f5ff, 0 0 40px #bf00ff; }
}

.animate-glow-pulse {
  animation: glowPulse 2s ease-in-out infinite alternate;
}

/* ---- Float Animation ---- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

/* ---- CTA Button Glow ---- */
.cta-primary {
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
  transition: box-shadow 0.3s, transform 0.2s;
}

.cta-primary:hover {
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.6), 0 0 60px rgba(191, 0, 255, 0.3);
}

/* ---- Game Cards ---- */
.game-card:hover {
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

/* ---- Provider Word Cloud ---- */
.provider-tag {
  display: inline-block;
  transition: color 0.2s, transform 0.2s;
  cursor: default;
}

.provider-tag:hover {
  transform: scale(1.1);
}

/* ---- Step Cards ---- */
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 245, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* ---- Promo Cards ---- */
.promo-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 245, 255, 0.08);
}

/* ---- FAQ Transition ---- */
.faq-answer {
  transition: max-height 0.3s ease;
}

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

.faq-icon.rotate-180 {
  transform: rotate(180deg);
}

/* ---- Prose Casino Styling ---- */
.prose-casino {
  color: #e2e8f0;
  line-height: 1.75;
  word-break: break-word;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1em;
  margin-bottom: 0.75em;
}

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.5rem; color: #00f5ff; }
.prose-casino h3 { font-size: 1.25rem; color: #d966ff; }

.prose-casino p {
  margin-bottom: 1em;
  color: #cbd5e1;
}

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

.prose-casino li {
  margin-bottom: 0.5em;
  color: #cbd5e1;
}

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

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

.prose-casino strong {
  color: #ffffff;
  font-weight: 700;
}

.prose-casino blockquote {
  border-left: 3px solid #00f5ff;
  padding-left: 1em;
  color: #8892b0;
  font-style: italic;
  margin: 1.5em 0;
}

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9em;
}

.prose-casino th {
  background-color: #111327;
  color: #8892b0;
  text-align: left;
  padding: 0.75em 1em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #1e2240;
}

.prose-casino td {
  padding: 0.75em 1em;
  border-bottom: 1px solid #1e2240;
  color: #cbd5e1;
}

.prose-casino tr:hover td {
  background-color: rgba(0, 245, 255, 0.03);
}

/* ---- Prose Table Scroll ---- */
.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;
}

/* ---- Content wrapper ---- */
.prose-content {
  max-width: 100%;
}

.prose-content > * + * {
  margin-top: 1em;
}

/* ---- Bonus Badge Glow ---- */
.bonus-badge-box {
  animation: glowPulse 3s ease-in-out infinite alternate;
}

/* ---- Scrollbar Styling ---- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #05060f;
}

::-webkit-scrollbar-thumb {
  background: #1e2240;
  border-radius: 3px;
}

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

/* ---- Mobile Responsive ---- */
@media (max-width: 640px) {
  .hero-section {
    background-attachment: scroll;
  }

  .step-card {
    margin-top: 1.5rem;
  }
}

/* ---- Neon Divider ---- */
.neon-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #00f5ff, #bf00ff, transparent);
  margin: 2rem 0;
}

/* ---- Lang Switcher ---- */
#lang-menu {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* ---- Table overflow fix ---- */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  min-width: 500px;
}

@media (min-width: 768px) {
  table {
    min-width: unset;
  }
}
