/* ==========================================================================
   KANOGAMERR HUB - PALETA LUXURY GAMING (DARK CARBON & GOLD BRONZE)
   ========================================================================== */

:root {
  /* Fondo general: Negro carbón / Marrón muy oscuro */
  --bg-main: #0A0908;
  --bg-card: #120F0C;
  --bg-card-elevated: #1A1611;
  --bg-card-hover: #221D16;
  
  /* Bordes y contenedores: Dorado / Bronce sutil con brillo */
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-bright: rgba(212, 175, 55, 0.65);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.15);
  --gold-glow-hover: 0 0 28px rgba(212, 175, 55, 0.35);
  --bronze-dark: #2E2419;

  /* Color de acento principal - Kick (Verde vibrante) */
  --kick-green: #53FC18;
  --kick-green-glow: 0 0 16px rgba(83, 252, 24, 0.4);

  /* Color de acento secundario - Twitch (Morado / Púrpura eléctrico) */
  --twitch-purple: #9146FF;
  --twitch-purple-glow: 0 0 16px rgba(145, 70, 255, 0.4);

  /* Textos principales y secundarios */
  --text-primary: #FFFFFF;
  --text-secondary: #D1C7BD;
  --text-muted: #8E8275;

  /* Botones de acción internos (Amarillo / Dorado suave) */
  --gold-btn-bg: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%);
  --gold-btn-hover: linear-gradient(135deg, #FDE68A 0%, #FBBF24 50%, #F59E0B 100%);
  --gold-btn-text: #0A0908;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* ============================================================
   KANO GAMER · FONDO OFICIAL LATERAL: MUNDO RUST & SURVIVAL (SORTEOS)
   Flancos vivos, cinematográficos y envolventes con hornos y fuego
   ============================================================ */
@keyframes rustHeatPulse {
  0%, 100% {
    filter: saturate(1.28) brightness(1.0) contrast(1.10);
  }
  50% {
    filter: saturate(1.36) brightness(1.06) contrast(1.12);
  }
}

.bg-lateral-wallpaper {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #070504;
  background-image:
    radial-gradient(ellipse 650px 520px at 5% 25%, rgba(255, 87, 34, 0.26) 0%, rgba(255, 87, 34, 0.08) 45%, transparent 75%),
    radial-gradient(ellipse 650px 520px at 95% 25%, rgba(255, 110, 0, 0.26) 0%, rgba(255, 110, 0, 0.08) 45%, transparent 75%),
    radial-gradient(ellipse 750px 600px at 3% 70%, rgba(255, 61, 0, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 750px 600px at 97% 70%, rgba(255, 152, 0, 0.22) 0%, transparent 70%),
    linear-gradient(90deg, 
      rgba(5, 4, 3, 0.35) 0%, 
      transparent 18%, 
      transparent 82%, 
      rgba(5, 4, 3, 0.35) 100%),
    url('/assets/uploads/rust-lateral-wallpaper-pro.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(1.28) brightness(1.0) contrast(1.10);
  opacity: 1 !important;
  animation: rustHeatPulse 8s ease-in-out infinite;
  transition: filter .5s ease, opacity .5s ease;
}

.lateral-embers-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 1280px) {
  .bg-lateral-wallpaper,
  .lateral-embers-canvas {
    display: none !important;
  }
}

/* ============================================================
   KANO GAMER · COLUMNA CENTRAL (1280px): MÁXIMO CONTRASTE Y LECTURA
   Doble capa de viñeta oscura semi-transparente para descanso visual
   y resalte perfecto de sorteos, plinko, chat y leaderboard.
   ============================================================ */
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1320px, calc(100% - 16px));
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 950px 720px at 50% 32%, rgba(6, 8, 13, 0.74) 0%, rgba(5, 7, 10, 0.88) 75%, rgba(4, 5, 8, 0.95) 100%),
    linear-gradient(180deg, 
      rgba(6, 8, 13, 0.84) 0%, 
      rgba(6, 8, 13, 0.70) 22%, 
      rgba(6, 8, 13, 0.74) 65%, 
      rgba(5, 6, 9, 0.94) 100%),
    url('/assets/uploads/kano-gaming-setup-eagle.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-left: 1.5px solid rgba(229, 195, 127, 0.42);
  border-right: 1.5px solid rgba(229, 195, 127, 0.42);
  box-shadow:
    0 0 75px rgba(0, 0, 0, 0.98),
    0 0 45px rgba(229, 195, 127, 0.16),
    inset 1px 0 0 rgba(255, 238, 185, 0.12),
    inset -1px 0 0 rgba(255, 238, 185, 0.12);
}

@media (max-width: 768px) {
  body::after {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
    border-left: none !important;
    border-right: none !important;
  }
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 30%, rgba(145, 70, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(83, 252, 24, 0.03) 0%, transparent 40%);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

header {
  position: relative;
  z-index: 40;
}

main, footer {
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   TARJETAS Y CONTENEDORES LUXURY
   ========================================================================== */
.clean-card {
  background-color: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 1.125rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), var(--gold-glow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(12px);
}

.clean-card:hover {
  border-color: var(--gold-border-bright);
  box-shadow: 0 14px 35px -8px rgba(0, 0, 0, 0.9), var(--gold-glow-hover);
}

/* ==========================================================================
   REPRODUCTOR KICK LIVE PRÉMIUM (SIN SCROLLBARS Y ASPECT RATIO PERFECTO)
   ========================================================================== */
#player-iframe-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden !important;
  background: #000000;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.9), 0 8px 24px rgba(0, 0, 0, 0.7);
}

#player-iframe-container iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

#player-iframe-container iframe::-webkit-scrollbar,
#player-iframe-container::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Botones de Acción Dorados Prémium */
.btn-gold-action {
  background: var(--gold-btn-bg);
  color: var(--gold-btn-text);
  font-weight: 900;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.btn-gold-action:hover {
  background: var(--gold-btn-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.btn-gold-action:active {
  transform: translateY(1px) scale(0.98);
}

/* Botón Kick Verde */
.btn-kick-action {
  background: #53FC18;
  color: #0A0908;
  font-weight: 900;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(83, 252, 24, 0.3);
  transition: all 0.2s ease;
}

.btn-kick-action:hover {
  background: #68ff33;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(83, 252, 24, 0.45);
}

/* Botón Twitch Morado */
.btn-twitch-action {
  background: #9146FF;
  color: #FFFFFF;
  font-weight: 800;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(145, 70, 255, 0.3);
  transition: all 0.2s ease;
}

.btn-twitch-action:hover {
  background: #a362ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(145, 70, 255, 0.45);
}

/* ==========================================================================
   PLINKO CANVAS & RANURAS MULTIPLICADORAS (RESPONSIVE TOP-1 MUNDIAL)
   Gabinete Arcade 100% Compensado e Igualado en Ancho y Posicionamiento
   ========================================================================== */
#plinko-machine-cabinet {
  position: relative;
  width: 100%;
  max-width: min(460px, calc(100vh - 350px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#plinko-canvas-container {
  position: relative;
  width: 100%;
  max-width: min(460px, calc(100vh - 350px));
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 1.25rem 1.25rem 0.5rem 0.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 12%, #1e1710 0%, #0c0a08 85%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.85), 0 16px 36px -8px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
  transform: translateZ(0);
  contain: paint layout;
  will-change: transform;
  touch-action: pan-y;
}

#plinko-canvas-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  image-rendering: auto;
  transform: translateZ(0);
  will-change: contents;
}

#plinko-slots-container {
  width: 100%;
  max-width: min(460px, calc(100vh - 350px));
  margin: 5px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 3px;
  padding: 0 calc(100% * 12 / 540); /* Alineación matemática exacta con los divisores físicos del canvas (12px margen) */
  box-sizing: border-box;
}

.multiplier-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 1px;
  font-size: clamp(9px, 2.2vw, 13px);
  font-weight: 900;
  border-radius: 0.65rem;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.multiplier-slot.hit {
  transform: translateY(4px) scale(1.12);
  box-shadow: 0 0 30px currentColor, 0 8px 20px rgba(0, 0, 0, 0.8), inset 0 0 14px rgba(255, 255, 255, 0.6);
  z-index: 10;
}

/* Selector Horizontal de Píldoras con Touch Momentum */
#plinko-tier-selector-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
#plinko-tier-selector-pills::-webkit-scrollbar {
  display: none;
}
#plinko-tier-selector-pills button {
  flex-shrink: 0;
  white-space: nowrap;
  touch-action: manipulation;
}

/* Modales Mobile Bottom Sheet & Scroll Containment */
@media (max-width: 640px) {
  #kick-auth-modal > div,
  #user-profile-modal > div,
  #duel-modal > div,
  #daily-reward-modal > div,
  #key-claim-modal > div,
  #how-it-works-modal > div {
    max-height: 88dvh !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    border-radius: 24px 24px 16px 16px;
    padding: 16px !important;
    margin-top: auto;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   AGUJA & TÓMBOLA DE RULETA CS:GO / CASINO DELUXE
   ========================================================================== */
#raffle-slider-container {
  position: relative;
  width: 100%;
  height: 160px;
  background: #0E0B08;
  border-radius: 16px;
  border: 2px solid rgba(245, 158, 11, 0.4);
  overflow: hidden;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.9), 0 10px 30px rgba(0, 0, 0, 0.8);
}

#raffle-slider-track {
  position: absolute;
  left: 0;
  top: 12px;
  height: 136px;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  min-width: max-content !important;
  gap: 10px;
  padding: 0;
  margin: 0;
  will-change: transform;
}

.raffle-needle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
  transform: translateX(-50%);
  box-shadow: 0 0 18px #FBBF24, 0 0 35px rgba(251, 191, 36, 0.8), 0 0 50px rgba(83, 252, 24, 0.4);
  z-index: 30;
  pointer-events: none;
}

.raffle-needle::before, .raffle-needle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  filter: drop-shadow(0 0 8px #FBBF24);
}

.raffle-needle::before {
  top: 0;
  border-top: 13px solid #FDE68A;
}

.raffle-needle::after {
  bottom: 0;
  border-bottom: 13px solid #FDE68A;
}

/* ==========================================================================
   COFRES DE RECOMPENSA DIARIA (LUXURY 3D CHESTS)
   ========================================================================== */
.chest-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  background: linear-gradient(180deg, #221B14 0%, #120F0C 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  position: relative;
  overflow: hidden;
}

.chest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.chest-card:hover {
  transform: translateY(-8px) scale(1.04);
  border-color: #FBBF24;
  box-shadow: 0 18px 35px -6px rgba(0, 0, 0, 0.85), 0 0 30px rgba(251, 191, 36, 0.4);
}

.chest-card-idle {
  animation: chestFloat 3.6s ease-in-out infinite alternate;
}

@keyframes chestFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-5px); }
}

/* ==========================================================================
   ESCAPARATE DE SORTEOS STEAM (VIP LUXURY SUITE)
   ========================================================================== */
#giveaways-showcase-container {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  position: relative !important;
}

#giveaways-showcase-container::before {
  display: none !important;
}

/* ============================================================
   BANNERS DE SORTEOS STEAM (COSTADO IZQUIERDO FUERA - ESTILO PARTNERS)
   ============================================================ */
.top-partner-banners,
.giveaways-side-flank {
  position: static !important;
  top: 76px !important;
  left: max(20px, calc((100vw - 1160px) / 2 - 350px)) !important;
  z-index: 45 !important;
  pointer-events: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 232px !important;
  min-width: 215px !important;
  max-width: 245px !important;
  max-height: calc(100vh - 90px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(229, 195, 127, 0.35) transparent !important;
  padding-right: 4px !important;
  transition: left 0.25s ease, top 0.25s ease;
}

.top-partner-banners::-webkit-scrollbar,
.giveaways-side-flank::-webkit-scrollbar {
  width: 4px;
}
.top-partner-banners::-webkit-scrollbar-track,
.giveaways-side-flank::-webkit-scrollbar-track {
  background: transparent;
}
.top-partner-banners::-webkit-scrollbar-thumb,
.giveaways-side-flank::-webkit-scrollbar-thumb {
  background: rgba(229, 195, 127, 0.35);
  border-radius: 4px;
}
.top-partner-banners::-webkit-scrollbar-thumb:hover,
.giveaways-side-flank::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 195, 127, 0.7);
}

/* Cabecera Principal del Flanco: Sorteos y Premios */
.flank-main-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 0 2px 6px 2px !important;
  margin-bottom: 8px !important;
  border-bottom: 1px solid rgba(229, 195, 127, 0.25) !important;
  user-select: none !important;
}

.flank-main-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  color: #FDE68A;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.flank-sorteo-section {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin-bottom: 8px !important;
}
.flank-sorteo-section:last-child {
  margin-bottom: 0 !important;
}

.flank-badge-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  line-height: 1.2;
  white-space: nowrap;
}

.giveaways-cards-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
}

/* Adaptación responsive para pantallas donde el flanco exterior no cabe (< 1440px) */
@media (max-width: 1439px) {
  .top-partner-banners,
  .giveaways-side-flank {
    position: static !important;
    width: 100% !important;
    max-width: 1160px !important;
    min-width: 0 !important;
    margin: 12px auto 0 auto !important;
    padding: 0 16px !important;
    top: auto !important;
    left: auto !important;
  }
  .giveaways-cards-container {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .flank-sorteo-section {
    margin-bottom: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1439px) {
  .giveaways-cards-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

/* ============================================================
   BANNERS Y TARJETAS ESTILO TOP-SPONSOR LUXURY (SORTEOS COMPACTOS)
   ============================================================ */
.top-sponsor-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px 5px 4px;
  margin-bottom: 2px;
  user-select: none;
}
.top-sponsor-header-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FBBF24;
  box-shadow: 0 0 8px #FBBF24;
  flex-shrink: 0;
  animation: pulseDotGold 2s infinite ease-in-out;
}
@keyframes pulseDotGold {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: .75; box-shadow: 0 0 12px #FBBF24; }
}
.top-sponsor-header-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  color: #FDE68A;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.top-sponsor-card {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(145deg, rgba(20, 16, 13, 0.94) 0%, rgba(10, 8, 6, 0.96) 100%);
  border: 1.2px solid rgba(229, 195, 127, 0.38);
  border-radius: 8px;
  padding: 6px 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 235, 185, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-decoration: none;
  color: #fff;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  cursor: pointer;
}
.top-sponsor-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(1.5px) brightness(0.65);
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.top-sponsor-card:hover .top-sponsor-bg {
  opacity: 0.65;
  filter: blur(0.5px) brightness(0.75);
  transform: scale(1.05);
}
.top-sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #FBBF24, transparent);
  opacity: 0.75;
  z-index: 2;
}
.top-sponsor-card:hover {
  border-color: #FBBF24;
  background: linear-gradient(145deg, rgba(32, 24, 18, 0.98) 0%, rgba(18, 14, 10, 0.98) 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.75), 0 0 20px rgba(229, 195, 127, 0.4);
  transform: translateY(-2px);
}
.top-sponsor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.top-sponsor-badge {
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FDE68A;
  background: rgba(229, 195, 127, 0.14);
  border: 1px solid rgba(229, 195, 127, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
}
.top-sponsor-arrow {
  color: #FDE68A;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: flex;
  align-items: center;
}
.top-sponsor-card:hover .top-sponsor-arrow {
  opacity: 1;
  transform: translateX(2px);
}
.top-sponsor-body {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.top-sponsor-img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(229, 195, 127, 0.35);
  background: #000;
  flex-shrink: 0;
}
.top-sponsor-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.top-sponsor-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.top-sponsor-sub {
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.giveaway-card-vip {
  transition: all 0.25s ease;
  border-radius: 6px;
}

.steam-rating-badge {
  background: rgba(23, 26, 33, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(102, 192, 244, 0.4);
  color: #66c0f4;
}

.steam-edition-badge {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #FDE68A;
}

/* Golden VIP Ticket Card (Modal) */
.golden-ticket-card {
  background: linear-gradient(145deg, #1c1712 0%, #0f0d0a 100%);
  border: 2px solid #F59E0B;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.golden-ticket-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: ticketSheen 4s infinite linear;
  pointer-events: none;
}

@keyframes ticketSheen {
  0% { transform: translateY(-100%) rotate(25deg); }
  100% { transform: translateY(100%) rotate(25deg); }
}

.steam-key-reveal-box {
  background: #080605;
  border: 1.5px dashed rgba(245, 158, 11, 0.6);
  border-radius: 12px;
  padding: 12px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.9);
}

.steam-key-font {
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.15em;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* ==========================================================================
   MINIJUEGO DINÁMICO & ALEATORIO DE TICKETS (LUCKY BOOSTER & LIVE ODDS)
   ========================================================================== */
.lucky-booster-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(14, 11, 9, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.lucky-booster-card:hover {
  border-color: #FBBF24;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.ticket-pack-item {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
}

.ticket-pack-item:hover {
  transform: translateY(-3px) scale(1.02);
}

.ticket-pack-selected {
  border-color: #FBBF24 !important;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.25) 0%, rgba(20, 16, 12, 0.9) 100%) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

/* Drawer / Menú flotante de Admin */
#admin-floating-drawer {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  background-color: rgba(18, 15, 12, 0.96);
  border: 1px solid var(--gold-border);
}

#admin-floating-drawer.drawer-closed {
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   SCROLLBARS DISCRETAS EN DORADO / BRONCE
   ========================================================================== */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.25);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.55);
}

/* ==========================================================================
   EFECTOS VISUALES TOP 1 MUNDIAL PARA LOS 3 MINIJUEGOS
   ========================================================================== */

/* 1. PLINKO ARCADE PRO: COMBOS & POWER PEGS */
.screen-shake {
  animation: screenShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes screenShake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

.combo-pulse {
  animation: comboPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes comboPop {
  0% { transform: scale(0.7); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   TARJETAS & ELEMENTOS DE PARTICIPANTES & EFECTOS HOLOGRÁFICOS
   ========================================================================== */
.participant-avatar-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 4px 10px rgba(0, 0, 0, 0.7);
  position: relative;
}

.participant-medal-tag {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 13px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

@keyframes rouletteWinnerGlow {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.25); }
}

.holo-foil {
  position: relative;
  overflow: hidden;
}

.holo-foil::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 215, 0, 0.25) 45%,
    rgba(83, 252, 24, 0.25) 55%,
    rgba(145, 70, 255, 0.25) 65%,
    rgba(255, 255, 255, 0.1) 75%,
    transparent 100%
  );
  transform: rotate(-25deg);
  pointer-events: none;
  animation: holoSheen 3.5s ease-in-out infinite;
}

@keyframes holoSheen {
  0% { transform: translateY(-80%) rotate(-25deg); }
  50%, 100% { transform: translateY(80%) rotate(-25deg); }
}

.rarity-legendary {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.25) 0%, rgba(20, 16, 12, 0.96) 100%);
  border-color: #FBBF24 !important;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.35);
}

.rarity-epic {
  background: linear-gradient(145deg, rgba(145, 70, 255, 0.22) 0%, rgba(20, 16, 12, 0.96) 100%);
  border-color: #A855F7 !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.rarity-kick {
  background: linear-gradient(145deg, rgba(83, 252, 24, 0.22) 0%, rgba(20, 16, 12, 0.96) 100%);
  border-color: #53FC18 !important;
  box-shadow: 0 0 20px rgba(83, 252, 24, 0.4);
}

.rarity-mythic {
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.25) 0%, rgba(20, 16, 12, 0.96) 100%);
  border-color: #FB7185 !important;
  box-shadow: 0 0 20px rgba(251, 113, 133, 0.4);
}

.rarity-cosmic {
  background: linear-gradient(145deg, rgba(0, 229, 255, 0.25) 0%, rgba(20, 16, 12, 0.96) 100%);
  border-color: #00E5FF !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* 3. BÓVEDA DE COFRES 3D: DISEÑO VIP ULTRA-PREMIUM & EQUILIBRADO */
.chest-box-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, box-shadow;
  position: relative;
  overflow: hidden;
}

.chest-box-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: 0.5s;
  pointer-events: none;
}

.chest-box-3d:hover::before {
  left: 100%;
}

.chest-box-3d:hover {
  transform: translateY(-8px) scale(1.04);
}

.chest-vault-solar, .chest-bronze {
  background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.22) 0%, rgba(18, 14, 10, 0.95) 85%);
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.chest-vault-solar:hover, .chest-bronze:hover {
  border-color: #FBBF24;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35), 0 0 25px rgba(245, 158, 11, 0.3), inset 0 0 15px rgba(245, 158, 11, 0.2);
}

.chest-vault-imperial, .chest-vip {
  background: radial-gradient(circle at 50% 20%, rgba(234, 179, 8, 0.28) 0%, rgba(20, 16, 8, 0.95) 85%);
  border: 1.5px solid rgba(234, 179, 8, 0.65);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(234, 179, 8, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.chest-vault-imperial:hover, .chest-vip:hover {
  border-color: #FDE047;
  box-shadow: 0 10px 30px rgba(234, 179, 8, 0.4), 0 0 25px rgba(234, 179, 8, 0.35), inset 0 0 15px rgba(234, 179, 8, 0.25);
}

.chest-vault-astral, .chest-cosmic {
  background: radial-gradient(circle at 50% 20%, rgba(14, 165, 233, 0.22) 0%, rgba(10, 18, 26, 0.95) 85%);
  border: 1.5px solid rgba(14, 165, 233, 0.55);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(14, 165, 233, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.chest-vault-astral:hover, .chest-cosmic:hover {
  border-color: #38BDF8;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35), 0 0 25px rgba(14, 165, 233, 0.3), inset 0 0 15px rgba(14, 165, 233, 0.2);
}

.chest-unlocking {
  animation: chestRattle 0.6s ease-in-out infinite alternate;
}

@keyframes chestRattle {
  0% { transform: rotate(-5deg) scale(1.04); }
  100% { transform: rotate(5deg) scale(1.08); }
}

.golden-rays-burst {
  position: relative;
}

.golden-rays-burst::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.5) 0%, rgba(83, 252, 24, 0.2) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: raysPulse 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes raysPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Racha de 7 Días (Streak Track Step) */
.streak-step-active {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(83, 252, 24, 0.2) 100%);
  border-color: #FBBF24;
  color: #FFFFFF;
}

.streak-step-done {
  background: rgba(83, 252, 24, 0.15);
  border-color: #53FC18;
  color: #53FC18;
}

/* Badges y Tags */
.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: #FDE68A;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.badge-kick {
  background: rgba(83, 252, 24, 0.15);
  color: #53FC18;
  border: 1px solid rgba(83, 252, 24, 0.4);
}

.badge-twitch {
  background: rgba(145, 70, 255, 0.15);
  color: #C084FC;
  border: 1px solid rgba(145, 70, 255, 0.4);
}

/* ==========================================================================
   PALANCA DE LANZAMIENTO ARCADE DE PLINKO (3D PULL LEVER)
   ========================================================================== */
.plinko-lever-base {
  position: relative;
  width: 54px;
  height: 66px;
  background: linear-gradient(180deg, #241E18 0%, #0F0D0A 100%);
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.15), 0 6px 16px rgba(0, 0, 0, 0.8), 0 0 12px rgba(212, 175, 55, 0.15);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 8px;
  cursor: pointer;
  perspective: 400px;
  transition: all 0.25s ease;
  user-select: none;
}

.plinko-lever-base:hover {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25), 0 8px 20px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.plinko-lever-base.unlocked {
  border-color: #53FC18;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 0 25px rgba(83, 252, 24, 0.5), 0 6px 18px rgba(0, 0, 0, 0.8);
  animation: leverPulseGlow 1.6s infinite ease-in-out;
}

@keyframes leverPulseGlow {
  0%, 100% { 
    box-shadow: 0 0 16px rgba(83, 252, 24, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.2); 
    border-color: #53FC18;
  }
  50% { 
    box-shadow: 0 0 32px rgba(83, 252, 24, 0.75), inset 0 2px 6px rgba(83, 252, 24, 0.4); 
    border-color: #75FF46;
  }
}

.plinko-lever-slot {
  position: absolute;
  top: 8px;
  bottom: 12px;
  width: 10px;
  background: #000000;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.95);
}

.plinko-lever-arm {
  position: absolute;
  bottom: 14px;
  width: 8px;
  height: 48px;
  background: linear-gradient(90deg, #F1F5F9 0%, #CBD5E1 40%, #64748B 100%);
  border-radius: 4px;
  transform-origin: bottom center;
  transform: rotate(0deg);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.plinko-lever-knob {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FB7185 0%, #E11D48 60%, #881337 100%);
  border: 2px solid #FFE4E6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(225, 29, 72, 0.6);
  transition: transform 0.15s ease, background 0.3s ease, border-color 0.3s ease;
}

.plinko-lever-base.unlocked .plinko-lever-knob {
  background: radial-gradient(circle at 35% 35%, #A3E635 0%, #53FC18 60%, #15803D 100%);
  border-color: #ECFCCB;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(83, 252, 24, 0.9);
}

.plinko-lever-base:hover .plinko-lever-arm {
  transform: rotate(16deg);
}

.plinko-lever-base.pulled .plinko-lever-arm {
  transform: rotate(45deg) translateY(6px) !important;
  transition: transform 0.08s ease !important;
}

/* ============================================================
   REPRODUCTOR DE DIRECTO & CHAT EN MODO CINE (Cinema Theater & PiP)
   ============================================================ */
.hud-cinema-overlay{
  position:fixed;
  inset:0;
  z-index:2000000 !important;
  background:rgba(4, 3, 2, 0.88);
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hud-cinema-overlay.is-active{
  opacity:1;
  pointer-events:auto;
}
.hud-cinema-theater{
  width:100%;
  max-width:1400px;
  height:88vh;
  min-height:560px;
  background:#090705;
  border-radius:22px;
  border:1px solid rgba(255,173,47,.45);
  box-shadow:0 30px 90px rgba(0,0,0,.95), 0 0 35px rgba(255,173,47,.18);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transform:scale(.96) translateY(12px);
  transition:transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hud-cinema-overlay.is-active .hud-cinema-theater{
  transform:scale(1) translateY(0);
}
.hud-cinema-header{
  padding:12px 18px;
  background:linear-gradient(90deg, rgba(22,17,13,.98), rgba(32,24,19,.98));
  border-bottom:1px solid rgba(245, 158, 11, 0.25);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.hud-cinema-title-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}
.hud-cinema-live-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  transition:all .3s ease;
  flex-shrink:0;
}
.hud-cinema-live-dot.is-online{
  background:#53fc18;
  box-shadow:0 0 12px #53fc18, 0 0 4px #fff;
  animation:hudPulse 1.8s infinite;
}
.hud-cinema-live-dot.is-offline{
  background:#ff4b4b;
  box-shadow:0 0 10px rgba(255, 75, 75, 0.7);
  animation:none;
}
@keyframes hudPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(83, 252, 24, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(83, 252, 24, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(83, 252, 24, 0.8); }
}
.hud-cinema-status-badge{
  font-size:10px;
  font-weight:900;
  padding:2px 7px;
  border-radius:6px;
  letter-spacing:.05em;
  text-transform:uppercase;
  transition:all .3s ease;
}
.hud-cinema-status-badge.is-online{
  background:rgba(75, 255, 138, 0.18);
  color:#53fc18;
  border:1px solid rgba(75, 255, 138, 0.4);
}
.hud-cinema-status-badge.is-offline{
  background:rgba(255, 75, 75, 0.15);
  color:#ff8585;
  border:1px solid rgba(255, 75, 75, 0.35);
}
.hud-cinema-title{
  font-size:14px;
  font-weight:800;
  color:#fff;
  letter-spacing:.02em;
}
.hud-cinema-platform-group{
  display:flex;
  align-items:center;
  gap:6px;
  background:rgba(8, 6, 4, 0.88);
  padding:4px 6px;
  border-radius:12px;
  border:1.2px solid rgba(229, 195, 127, 0.35);
  box-shadow:0 4px 16px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.hud-cinema-platform-btn{
  padding:7px 16px;
  border-radius:9px;
  font-size:12.5px;
  font-weight:800;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:7px;
  transition:all .22s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing:.02em;
  user-select:none;
}
.hud-cinema-platform-btn.twitch{
  background:rgba(145, 70, 255, 0.16);
  border:1.2px solid rgba(145, 70, 255, 0.45);
  color:#d4b3ff;
  box-shadow:0 2px 8px rgba(145,70,255,.15);
}
.hud-cinema-platform-btn.twitch:hover{
  background:rgba(145, 70, 255, 0.32);
  border-color:#9146ff;
  color:#fff;
  box-shadow:0 0 16px rgba(145, 70, 255, 0.4);
  transform:translateY(-1px);
}
.hud-cinema-platform-btn.twitch.active{
  background:linear-gradient(135deg, #af6aff 0%, #9146ff 50%, #6812cf 100%) !important;
  border-color:#e0c7ff !important;
  color:#ffffff !important;
  box-shadow:0 0 24px rgba(145, 70, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
  text-shadow:0 1px 3px rgba(0,0,0,0.6);
  transform:scale(1.04);
}
.hud-cinema-platform-btn.kick{
  background:rgba(83, 252, 24, 0.14);
  border:1.2px solid rgba(83, 252, 24, 0.4);
  color:#63fc28;
  box-shadow:0 2px 8px rgba(83, 252, 24, .15);
}
.hud-cinema-platform-btn.kick:hover{
  background:rgba(83, 252, 24, 0.28);
  border-color:#53fc18;
  color:#ffffff;
  box-shadow:0 0 16px rgba(83, 252, 24, 0.4);
  transform:translateY(-1px);
}
.hud-cinema-platform-btn.kick.active{
  background:linear-gradient(135deg, #78ff47 0%, #53fc18 50%, #2bb800 100%) !important;
  border-color:#c8ffb8 !important;
  color:#041a00 !important;
  box-shadow:0 0 24px rgba(83, 252, 24, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  font-weight:900;
  text-shadow:none;
  transform:scale(1.04);
}
.hud-cinema-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.hud-cinema-action-btn{
  height:32px;
  padding:0 12px;
  border-radius:9px;
  border:1px solid rgba(255, 255, 255, 0.12);
  background:rgba(255,255,255,.05);
  color:#cbd5e1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  transition:.15s ease;
}
.hud-cinema-action-btn:hover{
  color:#fff;
  border-color:#ffd043;
  background:rgba(255,173,47,.15);
}
.hud-cinema-action-btn.close{
  background:rgba(255,75,75,.1);
  border-color:rgba(255,75,75,.3);
  color:#ff9e9e;
}
.hud-cinema-action-btn.close:hover{
  background:#ef4444;
  border-color:#ef4444;
  color:#fff;
}
.hud-cinema-body{
  width:100%;
  flex:1;
  background:#000;
  display:flex;
  position:relative;
  overflow:hidden;
}
.hud-cinema-body iframe{
  height:100%;
  border:0;
  display:block;
  background:#050505;
}
.hud-cinema-body iframe:first-child{
  width:72%;
}
.hud-cinema-body iframe:last-child{
  width:28%;
  border-left:1px solid rgba(245, 158, 11, 0.25);
}
@media (max-width:900px){
  .hud-cinema-theater{height:94vh;}
  .hud-cinema-body{
    flex-direction:column;
  }
  .hud-cinema-body iframe:first-child{
    width:100%;
    height:60%;
  }
  .hud-cinema-body iframe:last-child{
    width:100%;
    height:40%;
    border-left:none;
    border-top:1px solid rgba(245, 158, 11, 0.25);
  }
}

/* ============================================================
   MODO VENTANA FLOTANTE EMERGENTE (Mini-Player Picture-in-Picture)
   ============================================================ */
.hud-cinema-overlay.is-pip{
  position:fixed;
  width:480px;
  height:300px;
  min-width:280px;
  min-height:180px;
  max-width:calc(100vw - 20px);
  max-height:calc(100vh - 20px);
  padding:0;
  background:transparent !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
  pointer-events:none !important;
  z-index:2000000 !important;
  resize:both;
  overflow:hidden;
}
.hud-cinema-overlay.is-pip .hud-cinema-theater{
  pointer-events:auto;
  width:100%;
  height:100%;
  max-width:100%;
  min-height:0;
  border-radius:18px;
  border:1.5px solid rgba(255,173,47,.75);
  box-shadow:0 24px 70px rgba(0,0,0,.96), 0 0 35px rgba(255,173,47,.3);
  transform:scale(1) translateY(0);
  display:flex;
  flex-direction:column;
  position:relative;
}
.hud-cinema-overlay.is-pip .hud-cinema-header{
  padding:6px 12px;
  background:rgba(18, 14, 11, 0.98);
  gap:6px;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
}
.hud-cinema-overlay.is-pip.is-dragging .hud-cinema-header{
  cursor:grabbing;
}
.hud-cinema-overlay.is-pip.is-dragging iframe{
  pointer-events:none !important;
}
.hud-cinema-overlay.is-pip .hud-cinema-header button,
.hud-cinema-overlay.is-pip .hud-cinema-header a{
  cursor:pointer;
}
.hud-cinema-overlay.is-pip .hud-cinema-title{
  font-size:12px;
  max-width:130px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hud-cinema-overlay.is-pip .hud-cinema-status-badge{
  display:none;
}
.hud-cinema-overlay.is-pip .hud-cinema-platform-group{
  padding:2px;
  gap:2px;
}
.hud-cinema-overlay.is-pip .hud-cinema-platform-btn{
  padding:4px 8px;
  font-size:10.5px;
}
.hud-cinema-overlay.is-pip .hud-cinema-platform-btn span{
  display:none;
}
.hud-cinema-overlay.is-pip .hud-cinema-action-btn{
  height:26px;
  padding:0 8px;
  font-size:11px;
}
.hud-cinema-overlay.is-pip .hud-cinema-action-btn.ext-link{
  display:none;
}
.hud-cinema-overlay.is-pip .hud-cinema-body iframe:first-child{
  width:100%;
}
.hud-cinema-overlay.is-pip .hud-cinema-body iframe:last-child{
  display:none;
}
.hud-cinema-overlay.is-pip .pip-icon-minimize{
  display:none;
}
.hud-cinema-overlay:not(.is-pip) .pip-icon-maximize{
  display:none;
}

/* Estado Minimizado en Píldora Flotante */
.hud-cinema-overlay.is-pip.is-minimized{
  width:auto !important;
  height:auto !important;
  min-width:240px !important;
  min-height:0 !important;
  resize:none !important;
}
.hud-cinema-overlay.is-pip.is-minimized .hud-cinema-body{
  display:none !important;
}
.hud-cinema-overlay.is-pip.is-minimized .hud-cinema-theater{
  height:auto !important;
  min-height:0 !important;
  border-radius:14px;
}
.hud-cinema-overlay.is-pip.is-minimized .hud-cinema-header{
  padding:8px 14px;
}

@media (max-width:640px){
  .hud-cinema-overlay.is-pip{
    width:320px;
    height:210px;
  }
}

/* ============================================================
   KANO GAMER · MARQUESINA DE PREMIOS & TICKER EN VIVO
   ============================================================ */
@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: inline-flex;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}

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

/* Transiciones suaves en tarjetas unificadas */
#section-leaderboard {
  transition: all 0.2s ease;
}





/* ============================================================
   KANO GAMER · VISTA COMPLETA EN 1 SOLA PANTALLA (SIN SCROLL)
   ============================================================ */
@media (min-width: 1024px) and (min-height: 640px) {
  html, body {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: hidden !important;
  }
  main {
    max-height: calc(100vh - 58px) !important;
    overflow-y: hidden !important;
  }
}

/* ============================================================
   MARQUESINA FLUIDA DE ALTO RENDIMIENTO (60FPS + PAUSA AL HOVER)
   ============================================================ */
@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.marquee-container {
  cursor: default;
}

.marquee-container:hover .animate-marquee,
.animate-marquee:hover {
  animation-play-state: paused !important;
}

.animate-marquee {
  display: inline-flex;
  white-space: nowrap;
  animation: marqueeScroll 45s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
