/* ====================================================
   NanaCasino – Custom CSS
   Neon Fortune Theme: Electric Cyan, Violet, Silver
   ==================================================== */

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

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #020712;
  color: #ffffff;
}

/* =====================
   Container
   ===================== */
.max-w-container {
  max-width: 1440px;
}

/* =====================
   Neon Text Effect
   ===================== */
.neon-text {
  text-shadow:
    0 0 10px rgba(0, 245, 255, 0.8),
    0 0 20px rgba(0, 245, 255, 0.6),
    0 0 40px rgba(0, 245, 255, 0.4),
    0 0 80px rgba(0, 245, 255, 0.2);
}

.logo-text .text-primary {
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.7);
}

/* =====================
   Hero Section
   ===================== */
.hero-section {
  min-height: 100vh;
  position: relative;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(2,7,18,0.75) 0%,
    rgba(2,7,18,0.55) 50%,
    rgba(2,7,18,0.95) 100%
  );
}

/* Neon grid background pattern */
.neon-grid {
  background-image:
    linear-gradient(rgba(0,245,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Light trails */
.light-trail {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(0,245,255,0.6), transparent);
  animation: trailFlow 4s ease-in-out infinite;
  pointer-events: none;
}

.trail-1 {
  left: 20%;
  height: 40%;
  top: 10%;
  animation-delay: 0s;
}

.trail-2 {
  left: 60%;
  height: 50%;
  top: 5%;
  background: linear-gradient(180deg, transparent, rgba(139,92,246,0.6), transparent);
  animation-delay: 1.5s;
}

.trail-3 {
  left: 80%;
  height: 35%;
  top: 20%;
  background: linear-gradient(180deg, transparent, rgba(192,192,192,0.4), transparent);
  animation-delay: 3s;
}

@keyframes trailFlow {
  0%, 100% { opacity: 0; transform: translateY(-20px); }
  50% { opacity: 1; transform: translateY(20px); }
}

/* Bonus badge glow */
.bonus-badge {
  position: relative;
}

.bonus-glow {
  position: absolute;
  inset: -2px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(0,245,255,0.3), rgba(139,92,246,0.3));
  filter: blur(12px);
  z-index: 0;
  animation: bonusPulse 3s ease-in-out infinite;
}

@keyframes bonusPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Scroll indicator */
.scroll-indicator {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(0,245,255,0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(0,245,255,0.8);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* =====================
   CTA Buttons
   ===================== */
.cta-btn {
  transition: all 0.2s ease;
}

.cta-btn:hover {
  box-shadow: 0 0 20px rgba(0,245,255,0.5);
  transform: translateY(-2px);
}

.cta-btn-hero {
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(0,245,255,0.35); }
  50% { box-shadow: 0 8px 40px rgba(0,245,255,0.6); }
}

/* =====================
   Section Titles
   ===================== */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00F5FF, #8B5CF6);
  border-radius: 2px;
}

/* =====================
   Review Cards
   ===================== */
.review-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* =====================
   Provider Word Cloud
   ===================== */
.provider-cloud {
  gap: 0.75rem 1rem;
}

.provider-tag {
  cursor: default;
  transition: opacity 0.2s;
  line-height: 1.4;
}

.provider-tag:hover {
  opacity: 0.75;
}

/* =====================
   Step Cards
   ===================== */
.step-card {
  background: rgba(13, 27, 46, 0.8);
  border: 1px solid rgba(0,245,255,0.15);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #00F5FF, #0099aa);
  color: #020712;
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0,245,255,0.4);
}

.step-icon-wrap {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 2px solid rgba(0,245,255,0.3);
  background: rgba(0,245,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon-wrap {
  transform: rotate(10deg) scale(1.05);
}

.step-bg-pattern {
  background-image: radial-gradient(circle, rgba(0,245,255,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}

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

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

.promo-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(0,245,255,0.08);
  border: 1px solid rgba(0,245,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================
   Games Marquee
   ===================== */
.games-marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

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

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

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

.game-card {
  cursor: pointer;
}

/* =====================
   FAQ Items
   ===================== */
.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  border-color: rgba(0,245,255,0.4);
  box-shadow: 0 0 20px rgba(0,245,255,0.08);
}

.faq-item[open] summary {
  background: rgba(0,245,255,0.05);
  color: #00F5FF;
}

.faq-item[open] summary span {
  color: #00F5FF;
}

/* =====================
   Age Badge
   ===================== */
.age-badge {
  animation: agePulse 4s ease-in-out infinite;
}

@keyframes agePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,245,255,0.3); }
  50% { box-shadow: 0 0 16px rgba(0,245,255,0.6); }
}

/* =====================
   Sticky Header
   ===================== */
#site-header {
  transition: box-shadow 0.3s ease;
}

/* =====================
   Burger Lines
   ===================== */
.burger-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* =====================
   Prose (Single Pages)
   ===================== */
.prose-casino {
  color: rgba(192,192,192,0.85);
  max-width: 100%;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
}

.prose-casino h1 { font-size: 2rem; margin-bottom: 1rem; }
.prose-casino h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose-casino h3 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

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

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

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

.prose-casino ul,
.prose-casino ol {
  margin: 1rem 0 1rem 1.5rem;
}

.prose-casino ul li {
  list-style: disc;
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.prose-casino ol li {
  list-style: decimal;
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

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

.prose-casino blockquote {
  border-left: 3px solid #00F5FF;
  padding-left: 1rem;
  color: rgba(192,192,192,0.7);
  font-style: italic;
  margin: 1.5rem 0;
}

.prose-casino hr {
  border-color: rgba(0,245,255,0.2);
  margin: 2rem 0;
}

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: rgba(192,192,192,0.85);
}

.prose-casino thead tr {
  background: rgba(0,245,255,0.1);
}

.prose-casino th {
  padding: 0.75rem 1rem;
  text-align: left;
  color: #00F5FF;
  font-weight: 700;
  border-bottom: 1px solid rgba(0,245,255,0.2);
}

.prose-casino td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,245,255,0.08);
}

.prose-casino tbody tr:hover {
  background: rgba(0,245,255,0.04);
}

/* 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;
}

/* =====================
   Nav link hover
   ===================== */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #00F5FF;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* =====================
   Responsive Table
   ===================== */
@media (max-width: 768px) {
  .overflow-x-auto table {
    min-width: 520px;
  }
}

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

::-webkit-scrollbar-track {
  background: #020712;
}

::-webkit-scrollbar-thumb {
  background: rgba(0,245,255,0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0,245,255,0.5);
}

/* =====================
   Utility
   ===================== */
.text-balance {
  text-wrap: balance;
}
