/* ============================================================
   UniversalSlots Casino – Custom CSS
   Prime Galaxy Theme: Deep Emerald + Gold on Dark Cosmic
   ============================================================ */

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

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #050d1a;
  color: #e8e8f0;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.max-w-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   STAR FIELD OVERLAY
   ============================================================ */
.star-field-overlay {
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 55%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 20%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 45%, rgba(212,175,55,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 75%, rgba(0,212,136,0.2) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(212,175,55,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 90%, rgba(255,255,255,0.15) 0%, transparent 100%);
  pointer-events: none;
}

/* ============================================================
   PARALLAX
   ============================================================ */
.hero-parallax > div:first-child {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .hero-parallax > div:first-child {
    background-attachment: scroll;
  }
}

/* ============================================================
   BONUS BADGE ANIMATION
   ============================================================ */
.bonus-badge {
  animation: badgePulse 3s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), 0 0 60px rgba(212, 175, 55, 0.1);
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), 0 0 60px rgba(212, 175, 55, 0.1);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
  }
}

/* ============================================================
   CTA PULSE
   ============================================================ */
.cta-pulse {
  animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
  }
}

/* ============================================================
   MARQUEE ANIMATION
   ============================================================ */
.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #0a1628, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #0a1628, transparent);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
  padding: 0 1rem;
}

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

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

/* ============================================================
   GAME CARDS
   ============================================================ */
.game-card {
  flex-shrink: 0;
  width: 13rem;
}

@media (min-width: 768px) {
  .game-card {
    width: 14rem;
  }
}

/* ============================================================
   PROMO CARDS
   ============================================================ */
.promo-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
}

/* ============================================================
   REVIEW BLOCKS
   ============================================================ */
.review-block {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-block:hover {
  box-shadow: 0 4px 24px rgba(0, 212, 136, 0.1);
}

/* ============================================================
   PROVIDER WORD CLOUD
   ============================================================ */
.provider-cloud {
  gap: 0.75rem;
}

.provider-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: default;
  line-height: 1.4;
}

.provider-tag:hover {
  transform: scale(1.08);
  color: #d4af37 !important;
}

/* ============================================================
   STEP CARDS
   ============================================================ */
.step-card {
  position: relative;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.faq-question {
  cursor: pointer;
}

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

/* ============================================================
   PROSE STYLING FOR SINGLE PAGES
   ============================================================ */
.prose-casino {
  color: #e8e8f0;
  max-width: 100%;
  word-break: break-word;
}

.prose-casino h1 {
  color: #d4af37;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose-casino h2 {
  color: #d4af37;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 0.5rem;
}

.prose-casino h3 {
  color: #00d488;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.prose-casino p {
  color: #e8e8f0;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.prose-casino a {
  color: #00d488;
  text-decoration: underline;
  transition: color 0.2s;
}

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

.prose-casino ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #e8e8f0;
}

.prose-casino ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #e8e8f0;
}

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

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

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

.prose-casino blockquote {
  border-left: 4px solid #d4af37;
  padding-left: 1rem;
  color: #8899bb;
  font-style: italic;
  margin: 1.5rem 0;
}

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

.prose-casino code {
  background-color: rgba(10, 22, 40, 0.8);
  color: #00d488;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.prose-casino pre {
  background-color: rgba(10, 22, 40, 0.9);
  border: 1px solid #1a3050;
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

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

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

.prose-casino th {
  background-color: #0f1f38;
  color: #d4af37;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  border: 1px solid #1a3050;
}

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

.prose-casino tr:hover td {
  background-color: rgba(15, 31, 56, 0.5);
}

/* Scrollable table wrappers (homepage payments + markdown tables) */
.table-scroll-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.casino-data-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
}

.casino-data-table th,
.casino-data-table td {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .casino-data-table {
    min-width: 100%;
  }
}

/* Mandatory scrollable table wrapper */
.prose-casino .prose-table-scroll {
  margin: 1.5em 0;
}

.prose-casino .prose-table-scroll table {
  margin-top: 0;
  margin-bottom: 0;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* ============================================================
   GOLD DIVIDER
   ============================================================ */
.gold-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin: 2rem 0;
}

/* ============================================================
   RESPONSIVE TYPOGRAPHY
   ============================================================ */
@media (max-width: 640px) {
  .prose-casino h1 {
    font-size: 1.6rem;
  }
  .prose-casino h2 {
    font-size: 1.25rem;
  }
  .prose-casino h3 {
    font-size: 1.1rem;
  }
}

/* ============================================================
   NAVIGATION ACTIVE STATE
   ============================================================ */
nav a.active,
nav a[aria-current="page"] {
  color: #d4af37;
}

/* ============================================================
   MOBILE MENU TRANSITION
   ============================================================ */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* ============================================================
   SECTION ENTRY ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-block,
.promo-card,
.step-card {
  animation: fadeInUp 0.6s ease both;
}

.review-block:nth-child(2),
.promo-card:nth-child(2) {
  animation-delay: 0.15s;
}

.review-block:nth-child(3),
.promo-card:nth-child(3) {
  animation-delay: 0.3s;
}

.step-card:nth-child(2) {
  animation-delay: 0.15s;
}

.step-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* ============================================================
   GLOW EFFECTS
   ============================================================ */
.glow-gold {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.glow-emerald {
  box-shadow: 0 0 20px rgba(0, 168, 107, 0.4);
}
