/**
 * =======================================================================
 * CINE+ PLAYER - FOLHA DE ESTILOS DO PLAYER LUXURY DARK CINE+ (VERMELHO #e50914)
 * =======================================================================
 * Localização: /public/player/cine-player.css
 * Módulo 100% autônomo e isolado.
 * =======================================================================
 */

/* 1. CONTAINER DO VÍDEO NATIVO */
.cineplus-video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  object-fit: contain;
  outline: none;
  z-index: 5;
  cursor: pointer;
}

.cineplus-video-player.hidden {
  display: none !important;
}

/* 2. OVERLAY GERAL DE CONTROLES CINE+ */
.cineplus-custom-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none; /* Permite clicar no vídeo por padrão */
  opacity: 1;
  transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cineplus-custom-ui.hidden {
  display: none !important;
}

/* Quando o mouse fica inativo durante a reprodução, oculta os controles suavemente */
.cineplus-custom-ui.controls-hidden {
  opacity: 0;
  cursor: none;
}

.cineplus-custom-ui.controls-hidden * {
  pointer-events: none !important;
}

/* 3. LOGO DA MARCA CINE+ NO CANTO SUPERIOR ESQUERDO */
.cineplus-player-logo {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 12;
  pointer-events: auto;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cineplus-player-logo:hover {
  transform: scale(1.03);
}

.cineplus-player-logo .logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  color: #ffffff;
  line-height: 1;
}

.cineplus-player-logo .plus-accent {
  color: #e50914;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.7);
}

.cineplus-player-logo .quality-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* 4. BOTÃO CENTRAL DE PLAY (QUANDO PAUSADO) */
.cineplus-center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.6), 0 4px 20px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease, background 0.2s;
  z-index: 11;
}

.cineplus-center-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff1f2d;
  box-shadow: 0 0 40px rgba(229, 9, 20, 0.85);
}

.cineplus-center-play.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

.cineplus-center-play svg {
  margin-left: 4px; /* Centraliza visualmente o triângulo de play */
}

/* 5. BARRA DE CONTROLES INFERIOR */
.cineplus-controls-bar {
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 28px 18px 12px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.65) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
  user-select: none;
}

/* 6. BARRA DE PROGRESSO VERMELHA CINE+ */
.cineplus-progress-container {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  transition: height 0.15s ease;
}

.cineplus-progress-container:hover {
  height: 9px;
}

/* Barra de buffer carregado */
.cineplus-buffer-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  transition: width 0.25s linear;
}

/* Barra de progresso atual (Vermelho Cine+) */
.cineplus-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #e50914;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.7);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Botão de arraste (Thumb) */
.cineplus-progress-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e50914;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8), 0 0 6px #e50914;
  transform: scale(0);
  transition: transform 0.15s ease;
  margin-right: -7px;
}

.cineplus-progress-container:hover .cineplus-progress-thumb {
  transform: scale(1);
}

/* Indicador de tempo ao passar o mouse na barra */
.cineplus-hover-time {
  position: absolute;
  bottom: 14px;
  transform: translateX(-50%);
  background: rgba(18, 18, 20, 0.95);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.cineplus-progress-container:hover .cineplus-hover-time {
  opacity: 1;
}

/* 7. LINHA DE BOTÕES DE CONTROLE */
.cineplus-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.controls-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Botões padrão de controle */
.cineplus-ctrl-btn {
  background: transparent;
  border: none;
  color: #f3f4f6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.15s ease, background 0.18s ease;
}

.cineplus-ctrl-btn:hover {
  color: #e50914;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.08);
}

.cineplus-ctrl-btn:active {
  transform: scale(0.95);
}

/* Grupo de Volume */
.cineplus-volume-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cineplus-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: width 0.2s ease;
}

.cineplus-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e50914;
  box-shadow: 0 0 6px rgba(229, 9, 20, 0.5);
  cursor: pointer;
}

.cineplus-vol-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e50914;
  cursor: pointer;
}

/* Exibição de Tempo (02:46 / 47:13) */
.cineplus-time-display {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e5e7eb;
  margin-left: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cineplus-time-display .sep {
  color: rgba(255, 255, 255, 0.4);
}

/* 8. BOTÕES ESTILO BADGE (QUALIDADE & VELOCIDADE) */
.cineplus-menu-wrap {
  position: relative;
}

.cineplus-badge-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cineplus-badge-btn:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: #e50914;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

/* Menu Dropdown de Qualidade / Velocidade */
.cineplus-menu-dropdown {
  position: absolute;
  bottom: 42px;
  right: 0;
  background: rgba(18, 18, 22, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px;
  min-width: 120px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 25;
  max-height: 220px;
  overflow-y: auto;
}

.cineplus-menu-dropdown.hidden {
  display: none !important;
}

.cineplus-menu-dropdown button {
  background: transparent;
  border: none;
  color: #d1d5db;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cineplus-menu-dropdown button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.cineplus-menu-dropdown button.active {
  background: #e50914;
  color: #ffffff;
  font-weight: 700;
}

/* 9. OVERLAY ELEGANTE DE CARREGAMENTO & BUFFERING */
.player-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 20;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.player-loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-spinner-ring {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(229, 9, 20, 0.2);
  border-top-color: #e50914;
  border-radius: 50%;
  animation: cineplus-spin 0.85s linear infinite;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.4);
}

.player-spinner-text {
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #f3f4f6;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

@keyframes cineplus-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 10. BOTÃO DE DOWNLOAD NO TOPO & SELETOR DE FONTES */
.player-source-wrapper {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  position: relative;
}

.player-source-select {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  appearance: auto;
}

.player-source-select:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #e50914;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

.player-source-select option {
  background: #18181b;
  color: #ffffff;
  padding: 8px;
}

.btn-player-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-player-download:hover {
  background: #e50914;
  color: #ffffff;
  border-color: #e50914;
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.5);
  transform: translateY(-1px);
}

/* 11. ADAPTAÇÃO MOBILE */
@media (max-width: 768px) {
  .cineplus-player-logo {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
  }
  .cineplus-player-logo .logo-text {
    font-size: 0.9rem;
  }
  .cineplus-watermark-quality {
    font-size: 0.65rem;
    padding: 1px 4px;
  }
  .cineplus-controls-bar {
    padding: 18px 10px 8px 10px;
    gap: 6px;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
  }
  .cineplus-controls-row {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 4px;
  }
  .controls-left {
    gap: 4px;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }
  .controls-right {
    gap: 5px;
    flex-shrink: 0 !important;
    margin-left: auto;
  }
  .cineplus-vol-slider {
    display: none; /* Em celular o volume é físico */
  }
  .cineplus-time-display {
    font-size: 0.74rem;
    margin-left: 2px;
    gap: 2px;
    letter-spacing: -0.2px;
    white-space: nowrap;
  }
  .cineplus-ctrl-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
  }
  .cineplus-ctrl-btn svg {
    width: 16px;
    height: 16px;
  }
  .cineplus-badge-btn {
    padding: 4px 7px;
    font-size: 0.72rem;
    gap: 3px;
    border-radius: 5px;
  }
  .cineplus-center-play {
    width: 52px;
    height: 52px;
  }

  /* Destaque e proteção contra corte para Fullscreen e Mini Player (PiP) */
  #cineplus-btn-fullscreen,
  #cineplus-btn-pip {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  #cineplus-btn-fullscreen {
    background: rgba(229, 9, 20, 0.22);
    border: 1px solid rgba(229, 9, 20, 0.55);
    color: #ffffff;
    border-radius: 6px;
  }
  #cineplus-btn-fullscreen:active {
    background: #e50914;
    transform: scale(0.92);
  }

  #cineplus-btn-pip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
  }
  #cineplus-btn-pip:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.92);
  }
}

/* SMARTPHONES & IPHONES (Telas menores <= 540px) */
@media (max-width: 540px) {
  .cineplus-controls-bar {
    padding: 12px 6px 6px 6px;
    gap: 4px;
  }
  .cineplus-controls-row {
    gap: 3px;
  }
  /* Em smartphones portrait, o volume é controlado exclusivamente pelos botões físicos laterais do aparelho */
  .cineplus-volume-group {
    display: none !important;
  }
  .controls-left {
    gap: 2px;
  }
  .controls-right {
    gap: 4px;
  }
  .cineplus-ctrl-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  .cineplus-ctrl-btn svg {
    width: 15px;
    height: 15px;
  }
  .cineplus-badge-btn {
    padding: 2px 5px;
    font-size: 0.68rem;
    gap: 2px;
  }
  /* Oculta ícone SVG da estrela no botão de qualidade para economizar espaço e manter o texto ("Auto", "720p") visível */
  #cineplus-btn-quality svg {
    display: none;
  }
  .cineplus-time-display {
    font-size: 0.70rem;
    margin-left: 2px;
    letter-spacing: -0.4px;
  }
  #cineplus-btn-fullscreen {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
  #cineplus-btn-pip {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
}

/* SMARTPHONES ULTRA-COMPACTOS (iPhone SE, telas <= 375px) */
@media (max-width: 375px) {
  .cineplus-controls-bar {
    padding: 10px 4px 5px 4px;
  }
  .controls-left {
    gap: 1px;
  }
  .controls-right {
    gap: 2px;
  }
  .cineplus-ctrl-btn {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }
  .cineplus-ctrl-btn svg {
    width: 14px;
    height: 14px;
  }
  .cineplus-badge-btn {
    padding: 2px 4px;
    font-size: 0.65rem;
  }
  .cineplus-time-display {
    font-size: 0.66rem;
    letter-spacing: -0.5px;
  }
  #cineplus-btn-fullscreen {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  #cineplus-btn-pip {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }
}

/* 12. CLASSES UTILITÁRIAS E REGRAS ESTRITAS PARA CUSTOM UI */
#cineplus-custom-ui .hidden,
.cineplus-menu-dropdown.hidden,
.cineplus-ctrl-btn svg.hidden,
.cineplus-custom-ui.hidden {
  display: none !important;
}

/* 13. SUPORTE FULLSCREEN COMPLETO PARA O WRAPPER */
.iframe-wrapper:fullscreen,
.iframe-wrapper:-webkit-full-screen,
.iframe-wrapper:-moz-full-screen,
.iframe-wrapper:-ms-fullscreen {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  aspect-ratio: auto !important;
  background: #000000 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.iframe-wrapper:fullscreen .cineplus-video-player,
.iframe-wrapper:-webkit-full-screen .cineplus-video-player {
  width: 100% !important;
  height: 100% !important;
}

/* 14. MODO CANAL DE TV AO VIVO (LIVE STREAMING) */
.cineplus-custom-ui.cineplus-is-live #cineplus-btn-rewind,
.cineplus-custom-ui.cineplus-is-live #cineplus-btn-forward,
.cineplus-custom-ui.cineplus-is-live #cineplus-speed-wrap,
.cineplus-custom-ui.cineplus-is-live #cineplus-time-sep,
.cineplus-custom-ui.cineplus-is-live #cineplus-time-total,
.cineplus-custom-ui.cineplus-is-live .cineplus-progress-thumb,
.cineplus-custom-ui.cineplus-is-live .cineplus-hover-time {
  display: none !important;
}

.cineplus-custom-ui.cineplus-is-live .cineplus-progress-container {
  cursor: default !important;
  pointer-events: none !important;
  height: 4px;
}

.cineplus-custom-ui.cineplus-is-live .cineplus-progress-bar {
  width: 100% !important;
  background: #e50914 !important;
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.8) !important;
}

/* Badge Pulsante Ao Vivo */
.cineplus-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(229, 9, 20, 0.22);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(229, 9, 20, 0.5);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
  user-select: none;
}

.live-dot-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #e50914;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff1f2d, 0 0 14px rgba(229, 9, 20, 0.8);
  animation: live-pulse-glow 1.2s ease-in-out infinite;
}

@keyframes live-pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.7);
    opacity: 0.4;
  }
}

/* 15. ALERTA DE CANAL OFFLINE / SEM SINAL */
.cineplus-channel-offline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 18;
  pointer-events: auto;
}

.cineplus-channel-offline.hidden {
  display: none !important;
}

.cineplus-offline-card {
  max-width: 440px;
  background: rgba(22, 22, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
}

.offline-icon-pulse {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: inline-block;
  animation: live-pulse-glow 1.8s ease-in-out infinite;
}

.offline-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.offline-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 20px;
}

.offline-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-offline-action {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.btn-offline-retry {
  background: #e50914;
  color: #ffffff;
  border: 1px solid #e50914;
}

.btn-offline-retry:hover {
  background: #ff1f2d;
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.5);
  transform: translateY(-1px);
}

.btn-offline-channels {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-offline-channels:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* =======================================================================
 * 11. ESTILIZAÇÃO CINEMATOGRÁFICA DE LEGENDAS (WEBVTT ::cue)
 * ======================================================================= */
video::cue {
  background-color: rgba(10, 10, 12, 0.85);
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  padding: 4px 12px;
  border-radius: 6px;
  line-height: 1.45;
}

