/* ============================================================
   Loxxee HUB — LIVE_STREAM.CSS
   Live stream box shown inside the hero when Kick is live.
   JS (#ls-section) toggles inline display + .ls-animate class.
   ============================================================ */

.hero-live {
  position: absolute;
  right: 32px;
  bottom: 40px;
  width: 360px;
  max-width: 42vw;
  z-index: 6;

  display: none;            /* JS sets to block when live */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}

.hero-live.ls-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ── Header ── */
.ls-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.ls-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ls-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(224, 56, 56, 0.15);
  border: 1px solid rgba(224, 56, 56, 0.4);
  border-radius: 4px;
  padding: 3px 9px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #FF5555;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ls-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF4444;
  animation: ls-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes ls-pulse {
  0%, 100% { opacity: 1;  transform: scale(1);    box-shadow: 0 0 0 0 rgba(255,68,68,.5); }
  50%      { opacity: .85; transform: scale(1.25); box-shadow: 0 0 0 6px rgba(255,68,68,0); }
}

.ls-channel-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--text);
  line-height: 1;
}

.ls-stream-title {
  font-size: 12px;
  color: var(--muted2);
  font-weight: 400;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.ls-watch-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #53FC18;
  color: #060b05;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  flex-shrink: 0;
}

.ls-watch-btn:hover {
  background: #6fff35;
  transform: translateY(-1px);
}

.ls-watch-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ── Player ── */
.ls-player-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border2);
  background: #000;
  box-shadow: 0 0 40px rgba(83, 252, 24, 0.06), 0 8px 32px rgba(0,0,0,.5);
}

.ls-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Responsive: drop out of hero, stack normally ── */
@media (max-width: 1100px) {
  .hero-live {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 480px;
    margin: 1.5rem auto 0;
    transform: translateY(0);
  }
}
