:root{
  --aqua: #4cc9f0;
  --aqua-soft: rgba(76, 201, 240, 0.35);
  --aqua-glow: rgba(76, 201, 240, 0.65);
  --red: #ff2b2b;
  --red-glow: rgba(255, 43, 43, 0.75);
}

/* PAGE */
body {
  margin: 0;
  background: #0c0e11;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* PLAYER CONTAINER */
.player-container {
  position: relative;
  width: 950px;
  max-width: 96%;
  aspect-ratio: 16/9;
  margin: 30px auto;
  border-radius: 16px;
  overflow: hidden;
  background: #000;

  box-shadow:
    0 0 0 1px var(--aqua-soft),
    0 0 35px var(--aqua-soft),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  transition: box-shadow 0.4s ease, transform 0.25s ease;
}

.player-container:hover {
  box-shadow:
    0 0 0 1px var(--aqua),
    0 0 45px var(--aqua-glow);
  transform: translateY(-1px);
}

/* VIDEO */
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CENTER PLAY BUTTON */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95px;
  height: 95px;
  transform: translate(-50%, -50%);
  background: rgba(255,0,0,0.85);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 0 20px rgba(255,0,0,0.7), 0 0 25px var(--aqua-soft);
  animation: pulse 1.8s infinite;
}
.play-btn::before {
  content: "";
  border-left: 30px solid #fff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 6px;
}
@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* LOADER */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border: 7px solid rgba(255,255,255,0.3);
  border-top: 7px solid var(--aqua);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  z-index: 25;
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =========================
   BOTTOM CONTROL BAR
   ========================= */
.bottom-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 52px;
  padding: 0 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  /* transparent glass */
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.15),
    rgba(0,0,0,0)
  );
  backdrop-filter: blur(6px);

  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;

  z-index: 40;
}

/* SHOW ON HOVER */
.player-container:hover .bottom-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* GROUPS */
.bottom-left,
.bottom-right {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

/* ICON BUTTONS */
.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;

  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;

  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.icon-btn:hover {
  opacity: 1;
  transform: scale(1.08);
}

.icon-btn svg {
  fill: rgba(255, 255, 255, 0.75);
  transition: fill 0.15s ease;
}

.icon-btn:hover svg {
  fill: rgba(255, 255, 255, 1);
}

/* =========================
   LIVE BADGE (ON AIR GLOW)
   ========================= */
.live-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

.on-air-glow {
  position: absolute;
  inset: -6px -10px;
  border-radius: 999px;

  background: radial-gradient(
    circle at 30% 50%,
    rgba(255, 43, 43, 0.55),
    rgba(255, 43, 43, 0.12) 55%,
    rgba(255, 43, 43, 0) 75%
  );

  filter: blur(6px);
  opacity: 0.95;
  z-index: -1;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
  animation: liveBlink 0.9s infinite;
}

.live-text {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
}

@keyframes liveBlink {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.25; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* DECORATIVE STREAKS */
.streaks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background:
    linear-gradient(115deg,
      transparent 0%,
      transparent 50%,
      rgba(255,255,255,0.10) 54%,
      rgba(255,255,255,0.10) 55%,
      transparent 60%,
      transparent 100%),
    linear-gradient(115deg,
      transparent 0%,
      transparent 58%,
      rgba(255,255,255,0.06) 62%,
      rgba(255,255,255,0.06) 63%,
      transparent 68%,
      transparent 100%);
  opacity: 0.65;
}

/* POPUP */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popup-box {
  background: #fff;
  width: 330px;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  color: #111;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
}
.popup-close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 26px;
  cursor: pointer;
}

/* WATCH BUTTON */
.watch-btn {
  padding: 14px 40px;
  background: #cc0000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.watch-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 22px var(--aqua-soft);
}

/* FOOTER */
.site-footer {
  width: 100%;
  padding: 15px 0;
  text-align: center;
  background: #111;
  color: #bbb;
  font-size: 15px;
  margin-top: 40px;
  border-top: 1px solid #222;
}

/* MOBILE — HIDE CONTROLS */
@media (max-width: 768px) {
  .bottom-controls {
    display: none !important;
  }
  .player-container {
    border-radius: 12px;
  }
}
