/* =====================================================
   NightLuck Casino - Custom CSS
   Midnight / Emerald / Gold color theme
===================================================== */

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

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

/* =====================================================
   CSS Variables
===================================================== */
:root {
  --color-midnight: #0a0e1a;
  --color-midnight-800: #0a1030;
  --color-midnight-700: #0e1a50;
  --color-emerald: #00c07a;
  --color-emerald-light: #00e688;
  --color-gold: #d4af37;
  --color-gold-light: #e8bc19;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* =====================================================
   Parallax Hero
===================================================== */
.hero-bg {
  background-attachment: fixed;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }
}

/* =====================================================
   Particles
===================================================== */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float-particle linear infinite;
}

.particle-1 {
  width: 4px;
  height: 4px;
  background: rgba(212, 175, 55, 0.6);
  top: 20%;
  left: 10%;
  animation-duration: 8s;
  animation-delay: 0s;
}

.particle-2 {
  width: 6px;
  height: 6px;
  background: rgba(0, 192, 122, 0.5);
  top: 60%;
  left: 80%;
  animation-duration: 12s;
  animation-delay: 2s;
}

.particle-3 {
  width: 3px;
  height: 3px;
  background: rgba(212, 175, 55, 0.8);
  top: 40%;
  left: 30%;
  animation-duration: 10s;
  animation-delay: 4s;
}

.particle-4 {
  width: 5px;
  height: 5px;
  background: rgba(0, 192, 122, 0.7);
  top: 70%;
  left: 50%;
  animation-duration: 14s;
  animation-delay: 1s;
}

.particle-5 {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  top: 30%;
  left: 70%;
  animation-duration: 9s;
  animation-delay: 3s;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translateY(-30px) translateX(15px) scale(1.1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-60px) translateX(-10px) scale(0.9);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-30px) translateX(20px) scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 1;
  }
}

/* =====================================================
   Bonus Badge
===================================================== */
.bonus-badge {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 16, 48, 0.95), rgba(10, 14, 26, 0.95));
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.2), 0 0 80px rgba(212, 175, 55, 0.05), inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

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

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

/* =====================================================
   Payments Marquee
===================================================== */
.payments-marquee-wrapper {
  position: relative;
}

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

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

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

/* =====================================================
   Game Cards
===================================================== */
.game-card {
  cursor: pointer;
}

.game-card .aspect-\[3\/4\] {
  position: relative;
  overflow: hidden;
}

/* =====================================================
   Provider Word Cloud
===================================================== */
.provider-cloud {
  line-height: 1.8;
}

.provider-tag {
  display: inline-block;
  padding: 2px 0;
  cursor: default;
  transition: opacity 0.2s ease;
}

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

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

.review-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 192, 122, 0.08);
}

/* =====================================================
   Step Cards
===================================================== */
.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(0, 192, 122, 0.03), transparent);
  pointer-events: none;
}

/* =====================================================
   Scroll Dot Animation
===================================================== */
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

.animate-scroll-dot {
  animation: scroll-dot 1.5s ease-in-out infinite;
}

/* =====================================================
   Prose (Content Styling)
===================================================== */
.prose-casino {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 100%;
}

.prose-casino h1 {
  color: #d4af37;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.prose-casino h2 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 192, 122, 0.2);
}

.prose-casino h3 {
  color: #00c07a;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-casino h4 {
  color: #d4af37;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-casino p {
  color: #9ca3af;
  margin-bottom: 1.25rem;
}

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

.prose-casino a:hover {
  color: #00e688;
  text-decoration-color: rgba(0, 230, 136, 0.6);
}

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

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

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

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

.prose-casino ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: #00c07a;
  border-radius: 50%;
}

.prose-casino ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-casino ol li {
  color: #9ca3af;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.prose-casino blockquote {
  border-left: 3px solid #d4af37;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: #d4af37;
  font-style: italic;
  background: rgba(212, 175, 55, 0.05);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose-casino code {
  background: rgba(0, 192, 122, 0.1);
  color: #00c07a;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.prose-casino pre {
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid rgba(0, 192, 122, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

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

.prose-casino hr {
  border: none;
  border-top: 1px solid rgba(0, 192, 122, 0.2);
  margin: 2rem 0;
}

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

.prose-casino thead tr {
  background: rgba(10, 16, 48, 0.8);
}

.prose-casino thead th {
  color: #d4af37;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 192, 122, 0.3);
}

.prose-casino tbody tr {
  border-bottom: 1px solid rgba(14, 26, 80, 0.8);
  transition: background 0.2s;
}

.prose-casino tbody tr:hover {
  background: rgba(0, 192, 122, 0.05);
}

.prose-casino tbody td {
  padding: 0.75rem 1rem;
  color: #9ca3af;
  vertical-align: top;
}

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

/* =====================================================
   Glow Effects
===================================================== */
.glow-emerald {
  box-shadow: 0 0 20px rgba(0, 192, 122, 0.3);
}

.glow-gold {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.text-glow-gold {
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.text-glow-emerald {
  text-shadow: 0 0 20px rgba(0, 192, 122, 0.5);
}

/* =====================================================
   Shimmer Effect
===================================================== */
.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(0, 192, 122, 0.3);
  border-radius: 4px;
}

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

/* =====================================================
   Selection
===================================================== */
::selection {
  background: rgba(0, 192, 122, 0.3);
  color: #ffffff;
}

/* =====================================================
   Utility overrides
===================================================== */
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 640px) {
  .prose-casino h1 {
    font-size: 1.75rem;
  }
  .prose-casino h2 {
    font-size: 1.4rem;
  }
  .prose-casino h3 {
    font-size: 1.15rem;
  }
  .bonus-badge {
    padding: 1.25rem;
  }
}

/* =====================================================
   Promo Cards
===================================================== */
.promo-card {
  cursor: pointer;
}

/* =====================================================
   FAQ
===================================================== */
.faq-answer {
  transition: all 0.3s ease;
}

/* =====================================================
   Header sticky shadow
===================================================== */
#site-header {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}
