/* ============================================================
   AndromedaSino – custom.css
   Cosmic Neon Galaxy Theme
   ============================================================ */

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

body {
  overflow-x: hidden;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background-color: #070010;
  color: #e0d4ff;
  word-break: break-word;
}

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

/* --- CSS Custom Properties --- */
:root {
  --cyan:   #00f5ff;
  --violet: #8b00ff;
  --purple: #6d28d9;
  --deep:   #0a0015;
  --darker: #070010;
  --card:   #110025;
  --border: #2d0060;
  --text:   #e0d4ff;
  --muted:  #a78bca;
  --accent: #ff00cc;
}

/* --- Neon Text Utilities --- */
.neon-cyan-text {
  color: var(--cyan);
  text-shadow: 0 0 8px rgba(0,245,255,0.7), 0 0 20px rgba(0,245,255,0.4);
}

.neon-violet-text {
  color: var(--violet);
  text-shadow: 0 0 8px rgba(139,0,255,0.7), 0 0 20px rgba(139,0,255,0.4);
}

.text-brand-violet {
  color: var(--violet);
}

/* --- Starfield Background --- */
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

.stars-overlay {
  background-image:
    radial-gradient(1px 1px at 10%  15%, rgba(0,245,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 25%  60%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 40%  30%, rgba(139,0,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 55%  75%, rgba(0,245,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70%  20%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 85%  55%, rgba(255,0,204,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 90%  80%, rgba(0,245,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 5%   90%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 50%  45%, rgba(0,245,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 75%  10%, rgba(139,0,255,0.5) 0%, transparent 100%);
  animation: twinkle 4s ease-in-out infinite alternate;
}

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

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(7,0,16,0.75) 0%,
    rgba(10,0,21,0.85) 50%,
    rgba(7,0,16,0.95) 100%
  );
}

/* --- Bonus Badge --- */
.bonus-badge {
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--accent));
  padding: 2px;
  border-radius: 1rem;
  box-shadow:
    0 0 30px rgba(0,245,255,0.4),
    0 0 60px rgba(139,0,255,0.3);
}

/* --- CTA Buttons --- */
.cta-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 0 20px rgba(0,245,255,0.5), 0 0 40px rgba(139,0,255,0.3);
  text-align: center;
}

.cta-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 35px rgba(0,245,255,0.7), 0 0 60px rgba(139,0,255,0.5);
  opacity: 0.95;
}

.cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--cyan) !important;
  font-weight: 700;
  border-radius: 9999px;
  border: 2px solid var(--cyan);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 12px rgba(0,245,255,0.25);
  text-align: center;
}

.cta-secondary:hover {
  background: rgba(0,245,255,0.1);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px rgba(0,245,255,0.5);
}

/* --- Site Header --- */
.site-header {
  background: rgba(7,0,16,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

/* --- Nav Links --- */
.nav-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-link:hover {
  color: var(--cyan);
}

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

/* --- Mobile Menu --- */
.burger-btn-style {
  background: rgba(45,0,96,0.8);
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 110;
  position: relative;
}

.burger-btn-style:hover {
  background: rgba(45,0,96,1);
  border-color: var(--cyan);
}

.mobile-menu-panel {
  background: rgba(7,0,16,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(45,0,96,0.4);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--cyan);
}

/* --- Payments Table --- */
.payments-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px;
}

.payments-table thead tr {
  background: rgba(139,0,255,0.25);
  border-bottom: 2px solid var(--border);
}

.payments-table thead th {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.payments-table tbody tr {
  border-bottom: 1px solid rgba(45,0,96,0.5);
  transition: background 0.2s ease;
}

.payments-table tbody tr:hover {
  background: rgba(139,0,255,0.12);
}

.payments-table tbody td {
  color: var(--text);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

/* --- Review Cards --- */
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 0 30px rgba(0,245,255,0.15), 0 0 60px rgba(139,0,255,0.1);
  transform: translateY(-3px);
}

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

.provider-tag {
  display: inline-block;
  background: rgba(139,0,255,0.2);
  border: 1px solid rgba(139,0,255,0.4);
  color: var(--text);
  border-radius: 9999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.provider-tag:hover {
  background: rgba(0,245,255,0.2);
  border-color: var(--cyan);
  color: var(--cyan);
}

.provider-tag--lg {
  font-size: 1rem;
  padding: 0.4rem 1rem;
  font-weight: 700;
}

.provider-tag--sm {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  opacity: 0.85;
}

/* --- Step Cards --- */
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.step-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0,245,255,0.5);
  z-index: 2;
}

/* --- Game Cards (Feature Strip) --- */
.games-marquee-wrapper {
  overflow-x: auto;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--violet) transparent;
}

.games-marquee-wrapper::-webkit-scrollbar {
  height: 4px;
}

.games-marquee-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.games-marquee-wrapper::-webkit-scrollbar-thumb {
  background: var(--violet);
  border-radius: 4px;
}

.games-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.game-card {
  width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.game-card:hover {
  box-shadow: 0 0 25px rgba(0,245,255,0.25), 0 0 50px rgba(139,0,255,0.15);
  transform: translateY(-4px);
}

.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* --- Promo Cards --- */
.promo-card {
  background: var(--card);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.promo-card:hover {
  box-shadow: 0 0 30px rgba(0,245,255,0.15);
  transform: translateY(-3px);
}

/* --- FAQ --- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--cyan);
}

.faq-question {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--cyan);
}

.faq-answer {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* --- Footer --- */
.site-footer {
  background: rgba(4,0,10,0.98);
  border-top: 1px solid var(--border);
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--cyan);
}

/* --- Shadow Neon Utility --- */
.shadow-neon-cyan {
  box-shadow: 0 0 25px rgba(0,245,255,0.5), 0 0 50px rgba(139,0,255,0.3);
}

/* ============================================================
   PROSE STYLING
   ============================================================ */
.prose-casino {
  color: var(--text);
  max-width: 80ch;
  line-height: 1.75;
  word-break: break-word;
}

.prose-casino h1,
.prose-casino h2,
.prose-casino h3,
.prose-casino h4 {
  color: var(--cyan);
  font-weight: 800;
  line-height: 1.3;
  margin-top: 1em;
  margin-bottom: 0.5em;
  text-shadow: 0 0 8px rgba(0,245,255,0.4);
}

.prose-casino h1 { font-size: 2rem; }
.prose-casino h2 { font-size: 1.6rem; }
.prose-casino h3 { font-size: 1.3rem; }
.prose-casino h4 { font-size: 1.1rem; }

.prose-casino p {
  margin-bottom: 1em;
  color: var(--text);
}

.prose-casino a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

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

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

.prose-casino li {
  margin-bottom: 0.4em;
  color: var(--text);
}

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

.prose-casino em {
  color: var(--muted);
}

.prose-casino blockquote {
  border-left: 3px solid var(--violet);
  padding-left: 1rem;
  margin-left: 0;
  color: var(--muted);
  font-style: italic;
}

.prose-casino code {
  background: rgba(139,0,255,0.15);
  color: var(--cyan);
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.prose-casino pre {
  background: rgba(17,0,37,0.9);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
}

.prose-casino hr {
  border-color: var(--border);
  margin: 2em 0;
}

/* Prose table scroll wrapper - 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;
}

.prose-casino table {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

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

.prose-casino th {
  color: var(--cyan);
  font-weight: 700;
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.prose-casino td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(45,0,96,0.4);
  color: var(--text);
}

.prose-casino tr:hover {
  background: rgba(139,0,255,0.08);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Parallax shimmer on hero */
@keyframes nebula-drift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
   100% { background-position: 0% 50%; }
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(0,245,255,0.05),
    rgba(139,0,255,0.08),
    rgba(255,0,204,0.05),
    rgba(0,245,255,0.05)
  );
  background-size: 400% 400%;
  animation: nebula-drift 12s ease infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-section .relative.z-10 {
  position: relative;
  z-index: 2;
}

/* Glowing border animation for bonus badge */
@keyframes border-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,245,255,0.4), 0 0 40px rgba(139,0,255,0.3); }
  50%       { box-shadow: 0 0 40px rgba(0,245,255,0.7), 0 0 80px rgba(139,0,255,0.5); }
}

.bonus-badge {
  animation: border-glow 3s ease-in-out infinite;
}

/* Fade-in-up animation */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section h1,
.hero-section p,
.bonus-badge,
.hero-section .flex {
  animation: fade-in-up 0.7s ease both;
}

.hero-section h1           { animation-delay: 0.1s; }
.hero-section > .relative > p { animation-delay: 0.25s; }
.bonus-badge               { animation-delay: 0.4s; }
.hero-section .flex        { animation-delay: 0.55s; }

/* Pulse on CTA */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,245,255,0.5), 0 0 40px rgba(139,0,255,0.3); }
  50%       { box-shadow: 0 0 35px rgba(0,245,255,0.8), 0 0 70px rgba(139,0,255,0.6); }
}

.cta-primary {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.cta-primary:hover {
  animation: none;
}

/* Marquee / scroll indicator for games strip */
@keyframes scroll-hint {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-20px); }
}

/* Smooth hover lift for all cards */
.step-card,
.review-card,
.promo-card,
.game-card,
.faq-item {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

/* Holographic shimmer on provider tags */
@keyframes tag-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.provider-tag--lg {
  background: linear-gradient(
    90deg,
    rgba(139,0,255,0.2) 0%,
    rgba(0,245,255,0.15) 50%,
    rgba(139,0,255,0.2) 100%
  );
  background-size: 200% auto;
  animation: tag-shimmer 4s linear infinite;
}

/* Scrollbar styling for dark theme */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--darker);
}

::-webkit-scrollbar-thumb {
  background: var(--violet);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* --- Responsive Utilities --- */
@media (max-width: 767px) {
  .hero-section {
    min-height: 100svh;
  }

  .payments-table {
    font-size: 0.8rem;
  }

  .payments-table thead th,
  .payments-table tbody td {
    padding: 0.5rem 0.6rem;
  }

  .game-card {
    width: 180px;
  }

  .game-card img {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .bonus-badge {
    width: 100%;
  }
}

/* Logo text style */
.logo-text {
  text-decoration: none;
  letter-spacing: -0.02em;
}