/* ============================================================
   RIYIVZLA TV — Cinema Experience Styles 2026
   Paleta: #070a0f / #00FF88 / #FFFFFF / #FF3B30 / #00e5ff
   ============================================================ */

/* ── Base ────────────────────────────────────────────────── */
body {
  margin: 0;
  background: #070a0f;
  color: #FFFFFF;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* ── CINEMA THEATER GRID LAYOUT (DESKTOP & MOBILE) ────────── */
.tv-cinema-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 20px 40px;
}

.tv-theater-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

@media (max-width: 1100px) {
  .tv-theater-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .tv-theater-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.tv-player-column {
  min-width: 0;
  width: 100%;
}

.tv-chat-column {
  min-width: 0;
  width: 100%;
}

/* ── MARCA DE AGUA / LOGO EN REPRODUCTOR ─────────────────── */
.tv-player-watermark {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(0, 255, 136, 0.4);
  padding: 6px 14px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.tv-player-watermark img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.tv-player-watermark span {
  font-size: 0.8rem;
  font-weight: 900;
  color: #00FF88;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
  white-space: nowrap;
}

/* ── BOTÓN FLOTANTE ACTIVAR AUDIO ────────────────────────── */
.tv-unmute-overlay-btn {
  position: absolute;
  bottom: 24px;
  left: 20px;
  z-index: 15;
  background: linear-gradient(135deg, #00FF88 0%, #00f2fe 100%);
  color: #000;
  font-weight: 900;
  font-size: 0.88rem;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
  display: none;
  align-items: center;
  gap: 8px;
  animation: pulse-audio 1.6s infinite ease-in-out;
  transition: transform 0.25s;
}

.tv-unmute-overlay-btn:hover {
  transform: scale(1.08);
}

.tv-unmute-overlay-btn.is-visible {
  display: inline-flex;
}

@keyframes pulse-audio {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(0, 255, 136, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* ── Controles principales & Badges ────────────────────────── */
.tv-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  margin-bottom: 12px;
}

.tv-controls__tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tv-controls__tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tv-controls__tab:hover {
  background: rgba(0, 255, 136, 0.15);
  color: #fff;
  border-color: rgba(0, 255, 136, 0.4);
}

.tv-controls__tab--active {
  background: #00FF88;
  color: #000;
  border-color: #00FF88;
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.4);
}

.tv-controls__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tv-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.4);
  color: #FF3B30;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}

.tv-live-dot {
  width: 8px;
  height: 8px;
  background: #FF3B30;
  border-radius: 50%;
  animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.tv-controls__btn--tiktok {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.25) 0%, rgba(0, 242, 254, 0.25) 100%);
  border: 1px solid rgba(255, 0, 127, 0.5);
  color: #ff007f;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tv-controls__btn--tiktok:hover {
  background: linear-gradient(135deg, #ff007f 0%, #00f2fe 100%);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

/* ── REPRODUCTOR DE VIDEO CINEMA THEATER ────────────────────── */
.tv-player-wrap {
  background: #000;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1.5px solid rgba(0, 255, 136, 0.3);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 255, 136, 0.1);
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 380px;
  max-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-player-wrap video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: contain;
  background: #000;
}

/* ── PUBLICIDAD DINÁMICA DENTRO DEL REPRODUCTOR (PRE-ROLL / MID-ROLL / POST-ROLL) ─ */
.video-ad-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 14, 0.97);
  backdrop-filter: blur(10px);
  z-index: 50;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
}

.video-ad-overlay.is-active {
  display: flex;
}

.video-ad-media-container {
  width: 100%;
  max-width: 620px;
  height: 65%;
  max-height: 330px;
  border: 1.5px solid #00FF88;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-ad-iframe,
.video-ad-video,
.video-ad-image {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
  display: block;
}

.video-ad-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 620px;
  margin-top: 10px;
  gap: 10px;
  flex-wrap: wrap;
}

.video-ad-timer {
  font-size: 0.88rem;
  color: #00FF88;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.video-ad-title {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.video-ad-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-ad-target {
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(255, 0, 60, 0.15);
  border: 1px solid #ff003c;
  color: #ff4757;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
}

.btn-ad-target:hover {
  background: #ff003c;
  color: #fff;
}

.btn-ad-skip {
  padding: 8px 20px;
  border-radius: 50px;
  background: #00FF88;
  color: #000;
  font-weight: 900;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.btn-ad-skip:hover {
  transform: scale(1.05);
  background: #00e5ff;
}

/* ── BANNER / OVERLAY SUPERPUESTO DURANTE LA REPRODUCCIÓN ── */
.video-ad-overlay-floating {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid #00FF88;
  border-radius: 14px;
  padding: 8px 16px 8px 12px;
  z-index: 40;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 255, 136, 0.3);
  backdrop-filter: blur(12px);
  max-width: 90%;
  animation: float-ad-in 0.4s ease-out;
}

@keyframes float-ad-in {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.btn-close-floating-ad {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff4757;
  color: #fff;
  border: 1px solid #fff;
  cursor: pointer;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ── CHAT EN VIVO ADAPTADO PERFECTAMENTE AL BOX (DESKTOP/MOVIL) */
.tv-chat-sidebar-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(0, 255, 136, 0.25);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 380px;
  max-height: 540px;
  box-sizing: border-box;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
}

.tv-chat__header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tv-chat__rotating-title {
  color: #00FF88;
  font-size: 0.9rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s ease;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tv-chat__country-picker select {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  outline: none;
  cursor: pointer;
}

.tv-chat-sidebar-card .tv-chat__messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
  max-height: 340px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 136, 0.3) transparent;
}

.tv-chat-msg {
  padding: 8px 10px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  line-height: 1.4;
}

.tv-chat__reactions {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  justify-content: space-between;
}

.tv-chat__reaction {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px 0;
  border-radius: 8px;
  transition: all 0.2s;
  text-align: center;
}

.tv-chat__reaction:hover {
  background: rgba(0, 255, 136, 0.25);
  border-color: #00FF88;
  transform: scale(1.15);
}

.tv-chat__input-row {
  display: flex;
  gap: 8px;
}

.tv-chat__input-row input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}

.tv-chat__input-row input:focus {
  border-color: #00FF88;
}

.tv-chat__input-row button {
  background: #00FF88;
  color: #000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
  flex-shrink: 0;
}

.tv-chat__input-row button:hover {
  background: #00cc6e;
  transform: scale(1.08);
}

/* ── BANNER PUBLICITARIO PROFESIONAL (1200x300 / 600x200) ────── */
.tv-promo-banner-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
  border: 1.5px solid rgba(0, 255, 136, 0.35);
  border-radius: 18px;
  padding: 18px 24px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 255, 136, 0.15);
  position: relative;
  overflow: hidden;
}

.tv-promo-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #00FF88;
  box-shadow: 0 0 12px #00FF88;
}

@media (max-width: 768px) {
  .tv-promo-banner-card {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }
}

.tv-promo-banner-img {
  width: 100%;
  max-width: 380px;
  max-height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

/* ── CARTELERA EN CARÁTULAS VERTICALES DE CINE (2:3 POSTER) ──── */
.tv-gallery {
  padding: 20px 0;
  margin-bottom: 28px;
}

.tv-gallery__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.tv-gallery__header h3 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* GRID RESPONSIVO DE PELÍCULAS EN WEB Y MÓVIL */
.tv-movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}

@media (max-width: 768px) {
  .tv-movies-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }
}

.tv-movie-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid rgba(0, 255, 136, 0.25);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.tv-movie-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: #00FF88;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 136, 0.35);
}

.tv-movie-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #04080e;
  overflow: hidden;
}

.tv-movie-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.tv-movie-card:hover .tv-movie-poster-wrap img {
  transform: scale(1.06);
}

.tv-movie-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff007f 0%, #ff5252 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.6);
  z-index: 2;
}

.tv-movie-badge.hd {
  left: auto;
  right: 10px;
  background: rgba(0, 229, 255, 0.9);
  color: #02060d;
}

.tv-movie-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(10, 16, 30, 0.9);
}

.tv-movie-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.btn-watch-now {
  background: linear-gradient(135deg, #00FF88 0%, #00e5ff 100%);
  color: #000;
  font-weight: 900;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.35);
  text-decoration: none;
}

.btn-watch-now:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.65);
}

/* ── SLIDER INTERACTIVO DE SERVICIOS ─────────────────────────── */
.tv-services-slider-section {
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(0, 255, 136, 0.3);
  border-radius: 20px;
  padding: 24px 20px;
  margin: 30px 0 40px;
  backdrop-filter: blur(14px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.tv-services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.tv-services-header h3 {
  color: #00FF88;
  font-size: 1.25rem;
  margin: 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tv-services-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 136, 0.3) transparent;
}

.tv-service-card {
  min-width: 250px;
  max-width: 270px;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tv-service-card:hover {
  transform: translateY(-5px);
  border-color: #00FF88;
}

.tv-service-card h4 {
  color: #fff;
  margin: 8px 0 6px;
  font-size: 1rem;
}

.tv-service-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0 0 12px;
}

/* ── CORAZONES Y REACCIONES TIKTOK ──────────────────────────── */
.tv-floating-likes-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  overflow: hidden;
}

.tv-tiktok-heart {
  position: absolute;
  font-size: 2rem;
  user-select: none;
  animation: tv-float-up 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.8));
}

@keyframes tv-float-up {
  0% { opacity: 1; transform: translateY(0) scale(0.6); }
  50% { opacity: 0.9; transform: translateY(-120px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-260px) scale(1.4); }
}

/* ── BOTONES DE ACCIÓN EN CARDS (VER & COMPARTIR) ─────────── */
.tv-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tv-card-actions .btn-watch-now {
  flex: 1;
}

.btn-share-movie {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: #00FF88;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-share-movie:hover {
  background: rgba(0, 255, 136, 0.2);
  border-color: #00FF88;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

/* ── MODAL COMPARTIR PELÍCULA (OPEN GRAPH SHARING) ──────────── */
.tv-share-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tv-share-modal-overlay.is-active {
  display: flex;
  opacity: 1;
}

.tv-share-modal {
  background: linear-gradient(145deg, #0b1329 0%, #030712 100%);
  border: 1.5px solid rgba(0, 255, 136, 0.4);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 255, 136, 0.25);
  position: relative;
  animation: tv-modal-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes tv-modal-pop {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.tv-share-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.tv-share-modal__close:hover {
  background: #ff4757;
  transform: rotate(90deg);
}

.tv-share-preview {
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  margin: 16px 0 20px;
}

.tv-share-preview__poster {
  width: 70px;
  height: 105px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #00FF88;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
  flex-shrink: 0;
}

.tv-share-preview__info h4 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.2;
}

.tv-share-preview__info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
}

.tv-share-networks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.tv-share-networks--3col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 400px) {
  .tv-share-networks--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-network-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-network-share:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.btn-network-share.whatsapp {
  background: #25D366;
  color: #000;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-network-share.telegram {
  background: #0088cc;
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.btn-network-share.facebook {
  background: #1877f2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.btn-network-share.twitter {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-network-share.email {
  background: linear-gradient(135deg, #ff6b35, #f7c59f);
  color: #000;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-network-share.sms {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.tv-share-copy-box {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 10px;
  padding: 4px 4px 4px 12px;
  align-items: center;
}

.tv-share-copy-box input {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  flex: 1;
  outline: none;
  font-family: inherit;
}

.btn-copy-link {
  background: linear-gradient(135deg, #00FF88 0%, #00e5ff 100%);
  color: #000;
  font-weight: 800;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-copy-link:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* ── TOAST NOTIFICACIÓN COPIADO ─────────────────────────────── */
.tv-share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #00FF88;
  color: #000;
  font-weight: 900;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.6);
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.tv-share-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
