

.hslot-wrap {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hslot-wrap.is-revealed {
  opacity: 1;
}

.hslot {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a0a14 0%, #2a0e1a 100%);
  border: 1.5px solid rgba(var(--brand-primary-rgb, 230, 16, 28), 0.45);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(var(--brand-primary-rgb, 230, 16, 28), 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);

  transform: scale(0.6) translateY(40px);
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 1.0s cubic-bezier(.16, 1, .3, 1),
    opacity 0.9s cubic-bezier(.16, 1, .3, 1);
}
.hslot-wrap.is-revealed .hslot {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.hslot-wrap.is-revealed .hslot-center { transition-delay: 0.05s; }
.hslot-wrap.is-revealed .hslot-2      { transition-delay: 0.18s; }
.hslot-wrap.is-revealed .hslot-3      { transition-delay: 0.18s; }
.hslot-wrap.is-revealed .hslot-1      { transition-delay: 0.32s; }
.hslot-wrap.is-revealed .hslot-4      { transition-delay: 0.32s; }
.hslot-wrap.is-revealed .hslot-5      { transition-delay: 0.46s; }

.hslot-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hslot-media img,
.hslot-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  animation: hslot-pan 14s ease-in-out infinite alternate;
}
@keyframes hslot-pan {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

.hslot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 55%,
    rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 2;
}

.hslot-label {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  z-index: 3;
  font-family: 'Inter', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hslot-header {
  position: absolute;
  top: 6px; left: 8px; right: 8px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', monospace;
  font-size: 0.45rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-weight: 600;
}
.hslot-header .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 6px var(--brand-primary);
  animation: hslot-rec 1.6s ease-in-out infinite;
}
@keyframes hslot-rec {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

.hslot-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  z-index: 4;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: hslot-play-pulse 2.4s ease-in-out infinite;
}
.hslot-play::before {
  content: '';
  width: 0; height: 0;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}
@keyframes hslot-play-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(var(--brand-primary-rgb), 0.5); }
  50%      { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 16px rgba(var(--brand-primary-rgb), 0); }
}

.hslot-1      { left: 12.8%; top: 33%; width: 11.7%; height: 41%; }
.hslot-2      { left: 26.5%; top: 33%; width: 10.2%; height: 43%; }
.hslot-center { left: 38.7%; top: 31%; width: 23.4%; height: 49%;

                border: 2px solid rgba(var(--brand-primary-rgb, 230, 16, 28), 0.65);
                box-shadow:
                  0 32px 75px rgba(0, 0, 0, 0.75),
                  0 0 55px rgba(var(--brand-primary-rgb, 230, 16, 28), 0.5),
                  inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.hslot-3      { left: 64.1%; top: 37%; width: 10.9%; height: 41%; }
.hslot-4      { left: 76.2%; top: 39%; width:  9.8%; height: 37%; }
.hslot-5      { left: 86.7%; top: 37%; width:  9.4%; height: 39%; }

@media (max-width: 900px) {
  .hslot-1, .hslot-5 { display: none; }
  .hslot-2      { left:  5%;   top: 36%; width: 18%; height: 36%; }
  .hslot-center { left: 28%;   top: 32%; width: 26%; height: 44%; }
  .hslot-3      { left: 57%;   top: 36%; width: 18%; height: 36%; }
  .hslot-4      { left: 78%;   top: 38%; width: 17%; height: 34%; }
}

@media (max-width: 600px) {
  .hslot-1, .hslot-4, .hslot-5 { display: none; }
  .hslot-2      { left:  4%; top: 40%; width: 26%; height: 32%; }
  .hslot-center { left: 34%; top: 36%; width: 32%; height: 38%; }
  .hslot-3      { left: 70%; top: 40%; width: 26%; height: 32%; }
}

@media (prefers-reduced-motion: reduce) {
  .hslot, .hslot-media img, .hslot-media video,
  .hslot-play, .hslot-header .dot {
    animation: none !important;
    transition: opacity 0.4s ease !important;
  }
}

body.light .hslot {
  background: linear-gradient(145deg, #ffffff 0%, #f0f2f7 100%);
  border-color: rgba(var(--brand-primary-rgb, 230, 16, 28), 0.4);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.15),
    0 0 30px rgba(var(--brand-primary-rgb, 230, 16, 28), 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
body.light .hslot-center {
  border-color: rgba(var(--brand-primary-rgb, 230, 16, 28), 0.55) !important;
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.22),
    0 0 40px rgba(var(--brand-primary-rgb, 230, 16, 28), 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}
body.light .hslot::after {
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 60%,
    rgba(0, 0, 0, 0.55) 100%) !important;
}
body.light .hslot-header {
  color: rgba(15, 23, 42, 0.55) !important;
}
body.light .hslot-label {
  color: #ffffff !important;
}
body.light .hslot-play {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(var(--brand-primary-rgb, 230, 16, 28), 0.5) !important;
}
body.light .hslot-play::before {
  border-left-color: var(--brand-primary, #e6101c) !important;
}
