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

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

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

body {
  background-color: #0a0a1a;
  color: #f1f5f9;
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

/* Color Variables */
:root {
  --cyan: #00f5ff;
  --violet: #8b5cf6;
  --pink: #f0abfc;
  --dark: #0a0a1a;
  --card: #12122a;
  --border: #1e1e40;
  --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.4);
  --glow-violet: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Navbar */
.navbar-bg {
  background: rgba(10, 10, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-link {
  color: #cbd5e1;
  transition: color 0.2s;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.2s;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-nav-link {
  color: #cbd5e1;
  transition: color 0.2s, background 0.2s;
}

.mobile-nav-link:hover {
  color: #00f5ff;
  background: rgba(0, 245, 255, 0.06);
}

/* Mobile Menu */
.mobile-menu {
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(12px);
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #00f5ff;
  border-radius: 2px;
  transition: all 0.3s;
}

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

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 10, 26, 0.88) 0%,
    rgba(10, 10, 26, 0.6) 50%,
    rgba(10, 10, 26, 0.85) 100%
  );
}

/* Bonus Badge */
.bonus-badge-inner {
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.12), rgba(139, 92, 246, 0.18));
  border: 2px solid rgba(0, 245, 255, 0.5);
  box-shadow: var(--glow-cyan), inset 0 0 40px rgba(0, 245, 255, 0.05);
  backdrop-filter: blur(10px);
  animation: bonusPulse 3s ease-in-out infinite;
}

@keyframes bonusPulse {
  0%, 100% { box-shadow: var(--glow-cyan), inset 0 0 40px rgba(0, 245, 255, 0.05); }
  50% { box-shadow: 0 0 40px rgba(0, 245, 255, 0.6), 0 0 80px rgba(139, 92, 246, 0.3), inset 0 0 40px rgba(0, 245, 255, 0.08); }
}

/* Light Trails (Parallax) */
.light-trail {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: trailFloat 8s ease-in-out infinite;
}

.trail-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: -10%;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.08) 0%, transparent 70%);
  animation-delay: 0s;
}

.trail-2 {
  width: 500px;
  height: 500px;
  bottom: 5%;
  right: -10%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  animation-delay: -3s;
}

.trail-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 171, 252, 0.06) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes trailFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-30px) scale(1.05); }
  66% { transform: translateY(20px) scale(0.95); }
}

/* CTA Buttons */
.cta-primary {
  background: linear-gradient(135deg, #00f5ff, #8b5cf6);
  color: #0a0a1a;
  font-weight: 700;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(0, 245, 255, 0.35);
}

.cta-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0, 245, 255, 0.55);
  color: #0a0a1a;
}

.cta-secondary {
  background: transparent;
  color: #00f5ff;
  border: 2px solid #00f5ff;
  font-weight: 700;
  transition: all 0.25s;
}

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

/* Review Cards */
.review-card {
  background: #12122a;
  border: 1px solid #1e1e40;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  border-color: rgba(0, 245, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.08);
}

/* Provider Word Cloud */
.provider-cloud {
  align-content: flex-start;
}

.provider-tag {
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  color: #94a3b8;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  transition: all 0.2s;
  cursor: default;
}

.provider-tag:hover {
  background: rgba(0, 245, 255, 0.15);
  color: #00f5ff;
  border-color: rgba(0, 245, 255, 0.5);
}

.provider-tag-lg {
  font-size: 0.85rem;
  padding: 5px 14px;
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
}

.provider-tag-lg:hover {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border-color: rgba(139, 92, 246, 0.6);
}

.provider-tag-sm {
  font-size: 0.65rem;
  opacity: 0.75;
}

/* Steps */
.step-card {
  background: #12122a;
  border: 1px solid #1e1e40;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.step-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f5ff, #0891b2);
  color: #0a0a1a;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
}

.step-badge-violet {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: var(--glow-violet);
  color: #fff;
}

.step-badge-pink {
  background: linear-gradient(135deg, #f0abfc, #a855f7);
  box-shadow: 0 0 20px rgba(240, 171, 252, 0.4);
  color: #0a0a1a;
}

/* Game Cards */
.game-card {
  background: #12122a;
  border: 1px solid #1e1e40;
  transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 245, 255, 0.15);
  border-color: rgba(0, 245, 255, 0.35);
}

.game-card-overlay {
  background: linear-gradient(to top, rgba(10, 10, 26, 0.9), transparent);
}

/* Promo Cards */
.promo-card {
  background: #12122a;
  border: 1px solid #1e1e40;
  transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.35);
}

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

/* FAQ */
.faq-item {
  background: #12122a;
  border: 1px solid #1e1e40;
}

.faq-question {
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(0, 245, 255, 0.04);
}

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

.faq-icon.rotate-45 {
  transform: rotate(45deg);
  color: #00f5ff;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  background: rgba(30, 30, 64, 0.8);
  border: 1px solid #1e1e40;
  cursor: pointer;
}

.lang-btn:hover {
  border-color: rgba(0, 245, 255, 0.4);
}

.lang-dropdown {
  background: #12122a;
  border: 1px solid #1e1e40;
  z-index: 100;
}

.lang-option {
  color: #cbd5e1;
  transition: background 0.2s, color 0.2s;
}

.lang-option:hover {
  background: rgba(0, 245, 255, 0.06);
  color: #00f5ff;
}

.lang-active {
  color: #00f5ff;
  background: rgba(0, 245, 255, 0.06);
}

/* Footer */
.footer-bg {
  background: #080816;
}

.footer-heading {
  color: #8b5cf6;
}

.footer-link {
  color: #94a3b8;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

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

.resp-card {
  background: rgba(30, 30, 64, 0.6);
  border: 1px solid #1e1e40;
}

.age-badge {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
  flex-shrink: 0;
}

/* Sidebar Aside */
.sidebar-aside {
  background: #12122a;
  border: 1px solid #1e1e40;
}

.sidebar-link {
  color: #94a3b8;
  transition: color 0.2s;
}

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

/* Prose Styling */
.prose-casino {
  color: #e2e8f0;
  max-width: none;
  line-height: 1.75;
}

.prose-casino h1 {
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.prose-casino h2 {
  color: #00f5ff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #1e1e40;
  padding-bottom: 0.5rem;
}

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

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

.prose-casino a {
  color: #00f5ff;
  text-decoration: underline;
  text-decoration-color: rgba(0, 245, 255, 0.3);
  transition: color 0.2s;
}

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

.prose-casino ul, .prose-casino ol {
  color: #cbd5e1;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

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

.prose-casino blockquote {
  border-left: 4px solid #8b5cf6;
  padding-left: 1rem;
  color: #94a3b8;
  font-style: italic;
  margin: 1.5rem 0;
}

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

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

.prose-casino th {
  background: rgba(0, 245, 255, 0.08);
  color: #00f5ff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #1e1e40;
}

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

.prose-casino tr:hover td {
  background: rgba(30, 30, 64, 0.5);
}

.prose-casino code {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
}

.prose-casino pre {
  background: #12122a;
  border: 1px solid #1e1e40;
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
}

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

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

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

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

/* Parallax Glow Animation */
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.glow-pulse {
  animation: glowPulse 4s ease-in-out infinite;
}

/* Shimmer effect for cards */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer {
  background: linear-gradient(90deg, transparent 25%, rgba(0, 245, 255, 0.06) 50%, transparent 75%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

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

::-webkit-scrollbar-track {
  background: #0a0a1a;
}

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

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

/* Utility */
.text-neon-cyan { color: #00f5ff; }
.text-neon-violet { color: #8b5cf6; }
.text-neon-pink { color: #f0abfc; }
.bg-neon-dark { background-color: #0a0a1a; }
.bg-neon-card { background-color: #12122a; }
.border-neon-border { border-color: #1e1e40; }

/* Responsive containers */
@media (max-width: 640px) {
  .hero-section {
    min-height: 100svh;
  }
  .bonus-badge-inner {
    padding: 1.25rem 1.5rem;
  }
}
