/* ============================================================
   VegasBet — Hero CSS  (v3 — redesigned slides)
   ============================================================ */

/* ── Hero Row ───────────────────────────────────────────────── */
.hero-row {
  display: flex; gap: 16px; margin-bottom: 10px;
  position: relative; z-index: 1;
}
.hero-row .hero-carousel {
  flex: 1; min-width: 0; margin-bottom: 0;
}

/* ── Hero Carousel ──────────────────────────────────────────── */
.hero-carousel {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; margin-bottom: 10px; height: 200px;
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%; height: 100%; position: relative;
  display: flex; align-items: flex-end;
}

/* ── Slide Backgrounds ──────────────────────────────────────── */
.slide-1 {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.25), transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(168,85,247,0.15), transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(142,10,249,0.1), transparent 40%),
    linear-gradient(135deg, #0d0d0d 0%, #1a0a2e 50%, #0d0d0d 100%);
}

.slide-2 {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(168,85,247,0.2), transparent 45%),
    radial-gradient(ellipse at 25% 70%, rgba(124,58,237,0.18), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(142,10,249,0.12), transparent 40%),
    linear-gradient(160deg, #0d0d0d 0%, #150a28 45%, #1a0533 70%, #0d0d0d 100%);
}

/* ── Animated slide backgrounds (override .slide-1/.slide-2) ── */
.hero-slide-bonus {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.3), transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(168,85,247,0.2), transparent 45%),
    linear-gradient(135deg, #0d0d0d 0%, #1a0a2e 25%, #0d0d0d 50%, #150a28 75%, #0d0d0d 100%);
  background-size: 100% 100%, 100% 100%, 300% 300%;
  animation: heroGradient 8s ease-in-out infinite;
}

.hero-slide-vip {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(168,85,247,0.25), transparent 45%),
    radial-gradient(ellipse at 25% 70%, rgba(124,58,237,0.2), transparent 50%),
    linear-gradient(160deg, #0d0d0d 0%, #150a28 25%, #0d0d0d 50%, #1a0533 75%, #0d0d0d 100%);
  background-size: 100% 100%, 100% 100%, 300% 300%;
  animation: heroGradient 10s ease-in-out infinite;
}

@keyframes heroGradient {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%; }
  33%  { background-position: 0% 0%, 0% 0%, 50% 50%; }
  66%  { background-position: 0% 0%, 0% 0%, 100% 100%; }
  100% { background-position: 0% 0%, 0% 0%, 0% 0%; }
}

@keyframes heroGradient4 {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
  33%  { background-position: 0% 0%, 0% 0%, 0% 0%, 50% 50%; }
  66%  { background-position: 0% 0%, 0% 0%, 0% 0%, 100% 100%; }
  100% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
}

/* ── Animated backgrounds for Carousels 2 & 3 ───────────── */
.hero-slide-live {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(239,68,68,0.2), transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(168,85,247,0.15), transparent 45%),
    radial-gradient(ellipse at 60% 80%, rgba(239,68,68,0.1), transparent 40%),
    linear-gradient(135deg, #0d0d0d 0%, #1a0a12 25%, #0d0d0d 50%, #150a28 75%, #0d0d0d 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 300% 300%;
  animation: heroGradient4 9s ease-in-out infinite;
}

.hero-slide-refer {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(239,68,68,0.15), transparent 45%),
    radial-gradient(ellipse at 25% 70%, rgba(124,58,237,0.2), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(168,85,247,0.1), transparent 40%),
    linear-gradient(160deg, #0d0d0d 0%, #150a28 25%, #0d0d0d 50%, #1a0a15 75%, #0d0d0d 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 300% 300%;
  animation: heroGradient4 11s ease-in-out infinite;
}

.hero-slide-ronaldo {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(168,85,247,0.25), transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(124,58,237,0.2), transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(142,10,249,0.12), transparent 40%),
    linear-gradient(135deg, #0d0d0d 0%, #1a0533 25%, #0d0d0d 50%, #150a28 75%, #0d0d0d 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 300% 300%;
  animation: heroGradient4 10s ease-in-out infinite;
}

.hero-slide-support {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(124,58,237,0.25), transparent 45%),
    radial-gradient(ellipse at 25% 60%, rgba(168,85,247,0.15), transparent 50%),
    linear-gradient(160deg, #0d0d0d 0%, #150a28 25%, #0d0d0d 50%, #1a0533 75%, #0d0d0d 100%);
  background-size: 100% 100%, 100% 100%, 300% 300%;
  animation: heroGradient 12s ease-in-out infinite;
}

.slide-3 {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(239,68,68,0.1), transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(124,58,237,0.15), transparent 50%),
    linear-gradient(135deg, #0d0d0d 0%, #0f0f1a 100%);
}
.slide-4 {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(16,185,129,0.1), transparent 55%),
    linear-gradient(135deg, #0d0d0d 0%, #0f0f1a 100%);
}
.slide-5 {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(168,85,247,0.15), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(124,58,237,0.1), transparent 50%),
    linear-gradient(135deg, #0d0d0d 0%, #0f0f1a 100%);
}
.slide-6 {
  background:
    radial-gradient(ellipse at 60% 50%, rgba(168,85,247,0.12), transparent 55%),
    linear-gradient(135deg, #0d0d0d 0%, #0f0f1a 100%);
}

/* ── Slide Grid Pattern (::before) ─────────────────────────── */
.carousel-slide::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}

/* Slides 1 & 2 and all animated slides use multi-layer glow — no grid needed */
.slide-1::before,
.slide-2::before,
.hero-slide-bonus::before,
.hero-slide-vip::before,
.hero-slide-live::before,
.hero-slide-refer::before,
.hero-slide-ronaldo::before,
.hero-slide-support::before { background-image: none; }

/* ── Slide Decorative (::after) ─────────────────────────────── */
.carousel-slide::after { content: none; }

/* Slide 4: subtle green gift glow right */
.slide-4::after {
  content: '';
  position: absolute; z-index: 1;
  top: 50%; right: 22px; transform: translateY(-50%);
  width: 72px; height: 72px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

/* Slide 5: rays via conic gradient right */
.slide-5::after {
  content: '';
  position: absolute; z-index: 1;
  top: 50%; right: 10px; transform: translateY(-50%);
  width: 110px; height: 110px;
  background: repeating-conic-gradient(
    rgba(168,85,247,0.05) 0deg 15deg,
    transparent 15deg 30deg
  );
  border-radius: 50%; pointer-events: none;
}

/* Slide 6: speech bubble outline right */
.slide-6::after {
  content: '';
  position: absolute; z-index: 1;
  top: 50%; right: 22px; transform: translateY(-50%);
  width: 56px; height: 46px;
  border: 1px solid rgba(168,85,247,0.06);
  border-radius: 12px; pointer-events: none;
}

/* ── Slide Content ──────────────────────────────────────────── */
.slide-content {
  position: relative; z-index: 2;
  padding: 0 28px 22px;
}

/* Carousel-1 slides: pin content to the top so badges always align */
.slide-1 .slide-content,
.slide-2 .slide-content {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  padding-bottom: 0;
}

/* ── Slide Badge ────────────────────────────────────────────── */
.slide-badge {
  display: inline-flex; align-items: center;
  background: rgba(124,58,237,0.3);
  border: 1px solid #a855f7;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a855f7;
  font-weight: 700;
  margin-bottom: 7px;
}

/* Live dot inside badge */
.live-badge-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ef4444;
  margin-right: 6px;
  animation: liveDotPulse 1.5s infinite;
  flex-shrink: 0;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* ── Slide Title ────────────────────────────────────────────── */
.slide-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #f0eeff;
  margin-bottom: 5px;
}

.slide-title-accent {
  display: block;
  color: #a855f7;
  font-style: normal;
}

.slide-title-accent--lg {
  font-size: 32px;
  line-height: 1.0;
}

/* ── Slide Subtext ──────────────────────────────────────────── */
.slide-sub {
  color: #8884aa;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 9px;
  max-width: 58%;
}
.slide-1 .slide-sub { color: #f0eeff; }

/* ── Slide Button ───────────────────────────────────────────── */
.slide-btn {
  display: inline-block;
  background: #7c3aed;
  color: #f0eeff;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.slide-btn:hover {
  background: #a855f7;
  box-shadow: 0 0 20px rgba(168,85,247,0.4);
  color: #f0eeff;
  text-decoration: none;
}

/* ── Hero Slide Image ───────────────────────────────────────── */
.hero-slide-image {
  position: absolute;
  right: 16px;
  top: 0;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.hero-slide-promo-box {
  display: block;
  height: 95%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(142,10,249,0.5))
          drop-shadow(0 0 60px rgba(124,58,237,0.3));
}

/* ── VIP Slide Image ────────────────────────────────────────── */
.hero-slide-vip-img {
  display: block;
  height: 88%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(168,85,247,0.5))
          drop-shadow(0 0 60px rgba(124,58,237,0.3));
}

/* Undo absolute positioning for hero-row; protect from image overlap */
.hero-row .slide-1 .slide-content,
.hero-row .slide-2 .slide-content {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  max-width: 58%;
}

/* ── Live Slide Pulsing Decoration ──────────────────────────── */
.slide-deco-live {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(239,68,68,0.2);
  z-index: 1; pointer-events: none;
  animation: liveCirclePulse 2.5s ease-out infinite;
}
.slide-deco-live::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(239,68,68,0.1);
  animation: liveCirclePulse 2.5s ease-out infinite 0.4s;
}

@keyframes liveCirclePulse {
  0%   { opacity: 0.8; transform: scale(0.9); }
  70%  { opacity: 0.15; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.3); }
}

/* ── Carousel Controls ──────────────────────────────────────── */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(13,13,20,0.4); border: 1px solid transparent;
  color: transparent; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; transition: all 0.25s ease;
  backdrop-filter: blur(8px); opacity: 0;
}
.hero-carousel:hover .carousel-btn { opacity: 1; color: var(--text-secondary); border-color: var(--border-subtle); }
.carousel-btn:hover { background: #7c3aed; color: #fff !important; border-color: #7c3aed; }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* ── Dots ───────────────────────────────────────────────────── */
.carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 5;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: #a855f7; width: 18px; border-radius: 3px; }

/* ── Hero Row: tighter type for narrow columns ──────────────── */
.hero-row .carousel-slide { align-items: stretch; }
.hero-row .slide-title { font-size: 20px; }
.hero-row .slide-title-accent--lg { font-size: 22px; line-height: 1.15; }
.hero-row .slide-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 16px 18px;
  box-sizing: border-box;
}
.hero-row .slide-btn { padding: 8px 18px; font-size: 12px; }
.hero-row .slide-sub {
  font-size: 12px;
  margin-bottom: 7px;
  height: 2.8em;  /* locks to exactly 2 lines at line-height 1.4 */
  overflow: hidden;
}
.hero-row .slide-badge {
  font-size: 10px;
  padding: 3px 10px;
  margin-bottom: 5px;
  align-self: flex-start; /* prevent badge from stretching full width */
}

/* ── League Icons Row ───────────────────────────────────────── */
.league-icons-section {
  position: relative; margin-bottom: 12px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 12px 14px;
}
.league-icons-track {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  padding-right: 32px;
}
.league-icons-track::-webkit-scrollbar { display: none; }

.league-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  cursor: pointer; flex-shrink: 0;
  padding: 6px 8px; border-radius: var(--radius-md);
  transition: background var(--transition);
}
.league-icon-item:hover { background: var(--purple-dim); }
.league-icon-item.active { background: var(--purple-dim); }

.lii-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; transition: border-color var(--transition);
}
.league-icon-item:hover .lii-circle,
.league-icon-item.active .lii-circle { border-color: var(--purple); }

.lii-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.65rem; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; max-width: 58px; line-height: 1.2;
}
.league-icon-item:hover .lii-name,
.league-icon-item.active .lii-name { color: var(--accent); }

.league-scroll-btn {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 100%; background: linear-gradient(to right, transparent, var(--bg-card) 50%);
  display: flex; align-items: center; justify-content: flex-end; padding-right: 4px;
  color: var(--text-secondary); font-size: 1rem; cursor: pointer; border: none;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.league-scroll-btn:hover { color: var(--accent); }

/* ── Mobile-only carousel: hidden on desktop ────────────────── */
.hero-mobile-only {
  display: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 760px) {
  .hero-row { flex-direction: column; }
  .hero-row .hero-carousel { flex: none; }
}
@media (max-width: 640px) {
  .hero-carousel { height: 180px; }
  .slide-title { font-size: 20px; }
  .slide-title-accent--lg { font-size: 28px; }
  .slide-content { padding: 0 16px 16px; }
  .slide-sub { font-size: 12px; max-width: 65%; }
  .slide-btn { padding: 8px 16px; font-size: 12px; }
}

@media (max-width: 768px) {
  /* Hide the three desktop carousels */
  .hero-row { display: none; }

  /* Show single mobile carousel */
  .hero-mobile-only {
    display: block;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
    height: 200px;
  }
  .hero-mobile-only .carousel-track { width: 100%; }
  .hero-mobile-only .carousel-slide { width: 100%; flex-shrink: 0; }

  /* Mobile: subtext one line */
  .slide-sub { max-width: 70%; font-size: 12px; margin-bottom: 6px; }
  .slide-title { font-size: 18px; line-height: 1.2; margin-bottom: 2px; }
  .slide-badge { font-size: 10px; padding: 3px 10px; margin-bottom: 4px; }
  .slide-btn { padding: 8px 18px; font-size: 12px; }

  /* Slides 1 & 2 on mobile: narrow content so image has more room */
  .hero-mobile-only .slide-1 .slide-content,
  .hero-mobile-only .slide-2 .slide-content {
    max-width: 52%;
  }
  .hero-mobile-only .slide-1 .slide-sub,
  .hero-mobile-only .slide-2 .slide-sub {
    max-width: 100%;
  }

  /* Mobile: image as visible-yet-decorative layer behind text */
  .hero-slide-image {
    display: flex;
    top: 50%;
    bottom: auto;
    right: 5px;
    transform: translateY(-50%);
    height: auto;
    z-index: 0; /* slide-content sits at z-index: 2, above this */
  }
  .hero-slide-promo-box,
  .hero-slide-vip-img,
  .hero-slide-img {
    opacity: 0.85;
    filter: drop-shadow(0 0 20px rgba(168,85,247,0.4));
  }
  .hero-slide-promo-box,
  .hero-slide-vip-img {
    height: auto;
    max-height: 175px;
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 95%);
    mask-image: linear-gradient(to left, black 50%, transparent 95%);
  }
  .hero-slide-img {
    max-height: 160px;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 95%);
    mask-image: linear-gradient(to left, black 50%, transparent 95%);
  }
}

@media (max-width: 480px) {
  .hero-mobile-only { height: 180px; }
  .slide-title { font-size: 18px; }
  .slide-sub { font-size: 11px; max-width: 72%; }
  .slide-btn { padding: 7px 14px; font-size: 11px; }
  .slide-deco-live { width: 60px; height: 60px; right: 14px; }
}

/* ============================================================
   FLOATING PARTICLES — drift inside visible area
   ============================================================ */

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-particles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.3);
}

/* ── Particle 1 ─────────────────────────────────────────────── */
.hero-particles span:nth-child(1) {
  width: 6px; height: 6px;
  top: 20%; left: 15%;
  background: rgba(168, 85, 247, 0.5);
  animation: drift1 6s ease-in-out infinite;
}

/* ── Particle 2 ─────────────────────────────────────────────── */
.hero-particles span:nth-child(2) {
  width: 14px; height: 14px;
  top: 60%; left: 70%;
  background: rgba(124, 58, 237, 0.2);
  animation: drift2 8s ease-in-out infinite;
}

/* ── Particle 3 ─────────────────────────────────────────────── */
.hero-particles span:nth-child(3) {
  width: 4px; height: 4px;
  top: 40%; left: 45%;
  background: rgba(168, 85, 247, 0.6);
  animation: drift3 5s ease-in-out infinite;
}

/* ── Particle 4 ─────────────────────────────────────────────── */
.hero-particles span:nth-child(4) {
  width: 20px; height: 20px;
  top: 75%; left: 25%;
  background: rgba(142, 10, 249, 0.1);
  animation: drift4 10s ease-in-out infinite;
}

/* ── Particle 5 ─────────────────────────────────────────────── */
.hero-particles span:nth-child(5) {
  width: 8px; height: 8px;
  top: 15%; left: 80%;
  background: rgba(168, 85, 247, 0.35);
  animation: drift5 7s ease-in-out infinite;
}

/* ── Particle 6 ─────────────────────────────────────────────── */
.hero-particles span:nth-child(6) {
  width: 10px; height: 10px;
  top: 50%; left: 55%;
  background: rgba(124, 58, 237, 0.25);
  animation: drift6 9s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  25%  { transform: translate(30px, -20px) scale(1.2); opacity: 0.8; }
  50%  { transform: translate(50px, 10px) scale(0.9); opacity: 0.4; }
  75%  { transform: translate(20px, -30px) scale(1.1); opacity: 0.7; }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  33%  { transform: translate(-40px, -15px) scale(1.3); opacity: 0.35; }
  66%  { transform: translate(-20px, 20px) scale(0.8); opacity: 0.15; }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  50%  { transform: translate(25px, -25px); opacity: 0.3; }
}

@keyframes drift4 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.1; }
  30%  { transform: translate(35px, -10px) scale(1.1); opacity: 0.2; }
  60%  { transform: translate(-15px, -25px) scale(0.9); opacity: 0.08; }
}

@keyframes drift5 {
  0%, 100% { transform: translate(0, 0); opacity: 0.35; }
  40%  { transform: translate(-20px, 15px); opacity: 0.6; }
  80%  { transform: translate(10px, -20px); opacity: 0.25; }
}

@keyframes drift6 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
  50%  { transform: translate(-30px, -20px) scale(1.15); opacity: 0.4; }
}

/* ── Mobile: hide particles 4–6 for performance ─────────────── */
@media (max-width: 768px) {
  .hero-particles span:nth-child(n+4) {
    display: none;
  }
}

/* ============================================================
   Z-INDEX LAYERING FOR SLIDES 1 & 2
   ============================================================ */

.hero-slide-bonus .slide-content,
.hero-slide-vip .slide-content {
  z-index: 5;
}

.hero-slide-bonus .hero-slide-image,
.hero-slide-vip .hero-slide-image {
  z-index: 3;
}

/* ── Generic Placeholder Images (carousels 2 & 3) ────────── */
.hero-slide-img {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  max-height: 85%;
  width: auto;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(168,85,247,0.4));
}

/* ── Particle colour overrides for live / refer slides ───── */
.hero-slide-live .hero-particles span:nth-child(1)  { background: rgba(239,68,68,0.4); }
.hero-slide-live .hero-particles span:nth-child(2)  { background: rgba(124,58,237,0.2); }
.hero-slide-live .hero-particles span:nth-child(3)  { background: rgba(239,68,68,0.35); }
.hero-slide-live .hero-particles span:nth-child(4)  { background: rgba(168,85,247,0.15); }
.hero-slide-live .hero-particles span:nth-child(5)  { background: rgba(239,68,68,0.3); }
.hero-slide-live .hero-particles span:nth-child(6)  { background: rgba(124,58,237,0.2); }

.hero-slide-refer .hero-particles span:nth-child(1) { background: rgba(239,68,68,0.4); }
.hero-slide-refer .hero-particles span:nth-child(2) { background: rgba(124,58,237,0.2); }
.hero-slide-refer .hero-particles span:nth-child(3) { background: rgba(239,68,68,0.35); }
.hero-slide-refer .hero-particles span:nth-child(4) { background: rgba(168,85,247,0.15); }
.hero-slide-refer .hero-particles span:nth-child(5) { background: rgba(239,68,68,0.3); }
.hero-slide-refer .hero-particles span:nth-child(6) { background: rgba(124,58,237,0.2); }
