*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #07070f;
  --bg2: #0d0d1a;
  --bg3: #12121f;
  --bg4: #18182c;
  --card: #0f0f1e;
  --card-hover: #16162a;
  --primary: #7c6fff;
  --primary-dark: #5a52e0;
  --primary-light: #a29bff;
  --primary-glow: rgba(124,111,255,0.35);
  --accent: #e11d48;
  --teal: #22d3ee;
  --gold: #fbbf24;
  --green: #34d399;
  --red: #f87171;
  --neon-pink: #f472b6;
  --neon-blue: #38bdf8;
  --neon-purple: #c084fc;
  --text: #eeeeff;
  --text2: #9898c8;
  --text3: #505078;
  --border: rgba(255,255,255,0.05);
  --border2: rgba(255,255,255,0.09);
  --border3: rgba(124,111,255,0.25);
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --nav-h: 68px;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(124,111,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(192,132,252,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 60% 40%, rgba(34,211,238,0.03) 0%, transparent 55%);
}
a { text-decoration: none; color: inherit; }
img { display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { from { background-position: -700px 0; } to { background-position: 700px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.92) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes glow-pulse { 0%,100%{ opacity:0.6; } 50%{ opacity:1; } }
@keyframes slide-in-right { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes plb-slide { from { left: -60%; } to { left: 110%; } }
@keyframes livePulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.4; transform:scale(1.4); } }
@keyframes pulse-dot { 0%,100%{ transform:scale(1);opacity:1; } 50%{ transform:scale(1.5);opacity:0.7; } }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes neon-pulse { 0%,100%{ box-shadow:0 0 8px var(--primary-glow),0 0 24px var(--primary-glow); } 50%{ box-shadow:0 0 16px rgba(124,111,255,0.7),0 0 48px rgba(124,111,255,0.4); } }
@keyframes gradient-shift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes aurora { 0%{transform:rotate(0deg) scale(1);} 33%{transform:rotate(120deg) scale(1.1);} 66%{transform:rotate(240deg) scale(0.95);} 100%{transform:rotate(360deg) scale(1);} }
@keyframes sparkle { 0%,100%{opacity:0;transform:scale(0) rotate(0)} 50%{opacity:1;transform:scale(1) rotate(180deg)} }
@keyframes shine-sweep { from{left:-100%} to{left:200%} }
@keyframes card-glow { 0%,100%{box-shadow:0 0 0 0 transparent} 50%{box-shadow:0 0 30px rgba(124,111,255,0.25)} }
@keyframes text-shimmer { from{background-position:0% center} to{background-position:200% center} }
@keyframes badge-pop { 0%{transform:scale(0.8)} 70%{transform:scale(1.1)} 100%{transform:scale(1)} }
@keyframes orb-float { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(30px,-20px) scale(1.05)} 66%{transform:translate(-20px,15px) scale(0.95)} }

.fade-up { animation: fadeUp 0.45s ease both; }
.fade-in { animation: fadeIn 0.35s ease both; }

@keyframes pageEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#app.page-enter { animation: pageEnter 0.3s ease both; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: background 0.35s;
}
.navbar.scrolled {
  background: rgba(10,10,15,0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.nav-left { display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px var(--primary-glow);
  flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; fill: white; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -0.4px; }
.logo-name span { color: var(--primary-light); }
.logo-tag { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text3); margin-top: 1px; }
.nav-links { display: flex; gap: 2px; }
.nav-link {
  padding: 7px 14px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--text2);
  transition: all 0.18s; white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--text); background: rgba(108,99,255,0.15); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 850;
  background: rgba(12,12,20,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 12px 16px; border-radius: 10px; font-size: 15px; }

/* ===== SEARCH ===== */
.search-wrap { position: relative; }
.search-input {
  width: 220px; padding: 9px 40px 9px 16px;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 10px; color: var(--text); font-size: 13px; outline: none;
  transition: all 0.25s;
}
.search-input:focus {
  border-color: var(--primary); background: var(--bg4); width: 280px;
  box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}
.search-input::placeholder { color: var(--text3); }
.search-btn {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  color: var(--text3); display: flex; align-items: center; transition: color 0.18s;
}
.search-btn:hover { color: var(--primary-light); }
.search-suggestions {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--bg2); border: 1px solid var(--border2); border-radius: 14px;
  overflow: hidden; display: none; z-index: 999;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  animation: popIn 0.2s ease;
}
.search-suggestions.show { display: block; }
.suggest-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; cursor: pointer; transition: background 0.15s; font-size: 14px;
}
.suggest-item:hover { background: rgba(108,99,255,0.08); }
.suggest-item img {
  width: 38px; height: 56px; object-fit: cover;
  border-radius: 6px; background: var(--bg3); flex-shrink: 0;
}
.suggest-item-info { flex: 1; min-width: 0; }
.suggest-item-title { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-item-meta { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* ===== SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg4) 50%, var(--bg3) 75%);
  background-size: 700px 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
}
.skeleton-card { flex: 0 0 164px; width: 164px; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.skeleton-poster { width: 100%; aspect-ratio: 2/3; }
.skeleton-line { height: 11px; margin: 10px 10px 5px; }
.skeleton-line-sm { height: 9px; margin: 0 10px 12px; width: 60%; }
.skeleton-grid-card { border-radius: var(--radius); overflow: hidden; background: var(--card); }

/* ===== SPINNER ===== */
.spinner-wrap { display: flex; justify-content: center; align-items: center; min-height: 300px; }
.spinner {
  width: 38px; height: 38px;
  border: 3px solid rgba(108,99,255,0.2);
  border-top-color: var(--primary);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}

/* ===== HERO BANNER ===== */
.hero { position: relative; height: 600px; margin-top: var(--nav-h); overflow: hidden; background: var(--bg2); }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 20%;
  filter: brightness(0.28);
  transition: opacity 0.7s ease;
  transform: scale(1.04);
}
.hero-bg.switching { opacity: 0; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,10,15,0.98) 30%, rgba(10,10,15,0.55) 65%, transparent 100%),
    linear-gradient(to top, rgba(10,10,15,1) 0%, transparent 55%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 60px 64px; max-width: 660px;
}
.hero-content-inner { animation: fadeUp 0.5s ease both; }

.hero-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-tag {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 4px 10px; border-radius: 6px;
}
.badge-type { background: var(--primary); color: white; }
.badge-rating {
  background: rgba(245,158,11,0.12); color: var(--gold);
  border: 1px solid rgba(245,158,11,0.3);
}
.badge-new-tag { background: rgba(16,185,129,0.15); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }

.hero-title {
  font-size: 50px; font-weight: 900; line-height: 1.06;
  margin-bottom: 16px; letter-spacing: -1.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-meta {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 16px; font-size: 13px; color: var(--text2); flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 5px; }
.hero-meta-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text3); }
.hero-desc {
  font-size: 15px; color: rgba(240,240,248,0.75); line-height: 1.75;
  margin-bottom: 30px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-play {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--primary), #a855f7, var(--primary-dark));
  background-size: 200% 200%;
  color: white; border-radius: 12px; font-size: 15px; font-weight: 700;
  transition: all 0.28s;
  box-shadow: 0 6px 28px rgba(124,111,255,0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative; overflow: hidden;
  animation: gradient-shift 4s ease infinite;
}
.btn-play::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s;
}
.btn-play:hover::after { left: 200%; }
.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(124,111,255,0.65), 0 0 80px rgba(124,111,255,0.2);
}
.btn-play:active { transform: translateY(0); }

.btn-info {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.08); color: white;
  border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.16);
  transition: all 0.22s; backdrop-filter: blur(8px);
}
.btn-info:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.28); }

.hero-dots { position: absolute; bottom: 28px; right: 60px; display: flex; gap: 7px; z-index: 3; }
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.28s;
}
.hero-dot.active { background: var(--primary-light); width: 24px; border-radius: 4px; }
.hero-dot:hover { background: rgba(255,255,255,0.45); }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(15,15,24,0.55); border: 1px solid rgba(255,255,255,0.1);
  color: white; font-size: 22px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.22s; backdrop-filter: blur(12px);
  opacity: 0;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-50%) scale(1.1); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* ===== GENRE BAR ===== */
.home-genre-bar { padding: 32px 32px 0; }
.home-genre-label {
  font-size: 11px; font-weight: 700; color: var(--text3);
  text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 12px;
}
.home-genre-pills {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none; flex-wrap: nowrap;
}
.home-genre-pills::-webkit-scrollbar { display: none; }
.hg-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 18px; border-radius: 24px; font-size: 13px; font-weight: 600;
  color: var(--text2); background: var(--bg3); border: 1px solid var(--border2);
  white-space: nowrap; cursor: pointer; transition: all 0.2s; flex-shrink: 0;
  user-select: none;
}
.hg-pill:hover { color: var(--text); border-color: rgba(108,99,255,0.5); background: rgba(108,99,255,0.1); transform: translateY(-1px); }
.hg-pill.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 18px rgba(108,99,255,0.4); transform: translateY(-1px); }

/* ===== SECTIONS ===== */
#app { padding-top: var(--nav-h); }
.section { padding: 44px 32px 0; }

.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title {
  font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px;
  letter-spacing: -0.4px;
}
.section-title::before {
  content: '';
  display: block; width: 3px; height: 20px;
  background: linear-gradient(to bottom, var(--primary-light), #a855f7);
  border-radius: 3px;
}
.section-more {
  font-size: 13px; color: var(--primary-light); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  transition: all 0.18s; padding: 5px 12px; border-radius: 8px;
}
.section-more:hover { color: var(--text); background: rgba(108,99,255,0.12); }

/* ===== ROW WITH SCROLL ARROWS ===== */
.row-wrap { position: relative; }
.row-arrow {
  position: absolute; top: 50%; transform: translateY(-60%); z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(15,15,24,0.92); border: 1px solid var(--border2);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.22s; backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; font-size: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.row-wrap:hover .row-arrow { opacity: 1; pointer-events: auto; }
.row-arrow:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-60%) scale(1.08); }
.row-arrow-left { left: -16px; }
.row-arrow-right { right: -16px; }

.cards-row {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px;
  scroll-behavior: smooth; scrollbar-width: none;
}
.cards-row::-webkit-scrollbar { display: none; }

/* ===== MOVIE CARD ===== */
.card {
  flex: 0 0 164px; width: 164px; border-radius: var(--radius); overflow: hidden;
  background: var(--card); cursor: pointer;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s;
  position: relative; will-change: transform;
  animation: fadeIn 0.3s ease both;
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 24px 56px rgba(0,0,0,0.8), 0 0 0 1px rgba(124,111,255,0.5), 0 0 40px rgba(124,111,255,0.15);
  border-color: rgba(124,111,255,0.45);
}
.card:active { transform: translateY(-3px) scale(1.01); }
.card-img-wrap { position: relative; overflow: hidden; }
.card-poster {
  width: 100%; aspect-ratio: 2/3; object-fit: cover;
  background: var(--bg3); display: block; transition: filter 0.25s, transform 0.4s;
}
.card:hover .card-poster { filter: brightness(0.75); transform: scale(1.06); }
.card-poster-placeholder {
  width: 100%; aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--bg3), var(--bg4));
  display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.card-badge {
  position: absolute; top: 8px; left: 8px;
  font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: 0.6px; backdrop-filter: blur(8px);
}
.badge-new { background: rgba(16,185,129,0.9); color: white; }
.badge-hd { background: rgba(108,99,255,0.9); color: white; }
.badge-hot { background: rgba(239,68,68,0.9); color: white; }
.badge-tv { background: rgba(168,85,247,0.9); color: white; }

.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s;
}
.card:hover .card-overlay { opacity: 1; }
.card-play-btn {
  width: 52px; height: 52px;
  background: rgba(108,99,255,0.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(108,99,255,0.65);
  transform: scale(0.78); transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
  backdrop-filter: blur(8px);
}
.card:hover .card-play-btn { transform: scale(1); }
.card-play-btn svg { margin-left: 3px; }
.card-info { padding: 10px 10px 12px; }
.card-title {
  font-size: 13px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px;
}
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text3); }
.card-rating { color: var(--gold); font-weight: 700; display: flex; align-items: center; gap: 2px; }

/* ===== GRID ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.cards-grid .card { flex: none; width: 100%; }

/* ===== RANKING TABS ===== */
.rank-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none;
}
.rank-tabs::-webkit-scrollbar { display: none; }
.rank-tab {
  padding: 7px 18px; border-radius: 22px; font-size: 13px; font-weight: 600;
  color: var(--text2); background: var(--bg3); border: 1px solid var(--border2);
  white-space: nowrap; transition: all 0.18s; flex-shrink: 0; cursor: pointer;
}
.rank-tab:hover { color: var(--text); border-color: var(--primary); background: rgba(108,99,255,0.08); }
.rank-tab.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 18px rgba(108,99,255,0.4); }

/* ===== PILL FILTERS ===== */
.pill-section { padding: 0 32px; margin-bottom: 0; }
.pill-label { font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
.pill-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; flex-wrap: nowrap; scrollbar-width: none; margin-bottom: 16px; }
.pill-row::-webkit-scrollbar { display: none; }
.pill {
  padding: 7px 18px; border-radius: 22px; font-size: 13px; font-weight: 600;
  color: var(--text2); background: var(--bg3); border: 1px solid var(--border2);
  white-space: nowrap; cursor: pointer; transition: all 0.18s; flex-shrink: 0; user-select: none;
}
.pill:hover { color: var(--text); border-color: rgba(108,99,255,0.4); background: rgba(108,99,255,0.08); }
.pill.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 3px 14px rgba(108,99,255,0.4); }

/* ===== FILTER BAR ===== */
.type-toggle {
  display: flex; gap: 4px; background: var(--bg3); border-radius: 10px; padding: 4px;
  border: 1px solid var(--border2);
}
.type-btn {
  padding: 7px 20px; border-radius: 7px; font-size: 13px; font-weight: 600;
  color: var(--text2); transition: all 0.18s; cursor: pointer;
}
.type-btn.active { background: var(--primary); color: white; box-shadow: 0 2px 12px rgba(108,99,255,0.4); }

/* ===== PAGE HEADER ===== */
.page-header { padding: 48px 32px 22px; }
.page-title { font-size: 32px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.7px; }
.page-subtitle { color: var(--text2); font-size: 15px; }

/* ===== DETAIL PAGE ===== */
.detail-hero { position: relative; height: 560px; overflow: hidden; }
.detail-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 20%; filter: brightness(0.22) blur(3px); transform: scale(1.06); }
.detail-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,10,15,0.99) 38%, rgba(10,10,15,0.65) 70%, rgba(10,10,15,0.2) 100%),
              linear-gradient(to top, var(--bg) 0%, transparent 55%);
}
.detail-content {
  position: relative; z-index: 2; display: flex; gap: 44px;
  padding: 0 56px; align-items: flex-end; height: 100%; padding-bottom: 52px;
  animation: fadeUp 0.48s ease;
}
.detail-poster {
  width: 210px; min-width: 210px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 28px 64px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.detail-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; background: var(--bg3); display: block; }
.detail-info { flex: 1; }
.detail-title { font-size: 40px; font-weight: 900; margin-bottom: 14px; letter-spacing: -0.9px; line-height: 1.1; }
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-badge { font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.db-type { background: var(--primary); color: white; }
.db-year { background: rgba(255,255,255,0.07); color: var(--text2); border: 1px solid var(--border2); }
.db-rating { background: rgba(245,158,11,0.12); color: var(--gold); border: 1px solid rgba(245,158,11,0.28); }
.db-country { background: rgba(255,255,255,0.07); color: var(--text2); border: 1px solid var(--border2); }
.detail-genres { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.detail-genre {
  font-size: 12px; color: var(--primary-light); background: rgba(108,99,255,0.1);
  padding: 4px 13px; border-radius: 14px; border: 1px solid rgba(108,99,255,0.18);
  cursor: pointer; transition: all 0.18s;
}
.detail-genre:hover { background: rgba(108,99,255,0.22); }
.detail-desc { font-size: 15px; line-height: 1.75; color: var(--text2); margin-bottom: 28px; max-width: 720px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-body { padding: 48px 56px; }
.detail-cast { margin-bottom: 52px; }
.cast-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.cast-row::-webkit-scrollbar { display: none; }
.cast-card { flex: 0 0 100px; text-align: center; cursor: pointer; transition: transform 0.2s; }
.cast-card:hover { transform: translateY(-5px); }
.cast-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: var(--bg3); margin: 0 auto 9px; border: 2px solid var(--border2); transition: border-color 0.2s; }
.cast-card:hover .cast-avatar { border-color: var(--primary); }
.cast-name { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.cast-role { font-size: 11px; color: var(--text3); }
.detail-seasons { margin-bottom: 52px; }
.seasons-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.season-tab {
  padding: 8px 20px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: var(--bg3); color: var(--text2); cursor: pointer; border: 1px solid var(--border2); transition: all 0.18s;
}
.season-tab:hover { color: var(--text); border-color: var(--primary); }
.season-tab.active { background: var(--primary); color: white; border-color: var(--primary); }
.episodes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.episode-card {
  background: var(--card); border-radius: 12px; overflow: hidden; cursor: pointer;
  display: flex; gap: 14px; align-items: center; padding: 10px;
  border: 1px solid var(--border); transition: all 0.22s;
}
.episode-card:hover {
  background: var(--card-hover); border-color: rgba(108,99,255,0.3);
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.ep-thumb { width: 120px; min-width: 120px; height: 70px; object-fit: cover; border-radius: 8px; background: var(--bg3); }
.ep-info { flex: 1; min-width: 0; }
.ep-num { font-size: 10px; color: var(--text3); margin-bottom: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.ep-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-desc { font-size: 12px; color: var(--text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-play-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; opacity: 0; transition: opacity 0.18s, transform 0.18s;
  transform: scale(0.8);
}
.episode-card:hover .ep-play-icon { opacity: 1; transform: scale(1); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 2000;
  background: var(--bg2); border: 1px solid var(--border2); border-radius: 12px;
  padding: 14px 20px; font-size: 14px; font-weight: 500;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none; max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.info { border-left: 3px solid var(--primary-light); }
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }

/* ===== LOAD MORE ===== */
.load-more-wrap { display: flex; justify-content: center; padding: 36px 0; }
.load-more-btn {
  padding: 13px 44px; background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 10px; color: var(--text2); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.22s;
}
.load-more-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(108,99,255,0.35); }

/* ===== PLAY READY DOT ===== */
.play-ready-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); margin-left: 4px;
  box-shadow: 0 0 8px var(--green); animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ===== PLAYER LOADING BAR ===== */
.player-loading-bar { width: 100%; height: 4px; background: var(--bg3); overflow: hidden; position: relative; }
.plb-inner {
  position: absolute; left: -60%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-light), #a855f7, var(--primary-light), transparent);
  animation: plb-slide 1.3s ease-in-out infinite;
}

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 90px 20px; }
.empty-icon { font-size: 60px; margin-bottom: 18px; }
.empty-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.empty-text { font-size: 14px; color: var(--text2); }

/* ===== FOOTER ===== */
footer {
  margin-top: 72px; padding: 44px 56px;
  background: var(--bg2); border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 28px; }
.footer-link { font-size: 13px; color: var(--text3); transition: color 0.18s; }
.footer-link:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text3); }
.footer-contact { display: flex; gap: 10px; align-items: center; }
.footer-contact-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: opacity 0.18s, transform 0.15s;
}
.footer-contact-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.footer-whatsapp { background: #25D366; color: #fff; }
.footer-email { background: rgba(108,99,255,0.18); color: var(--primary-light); border: 1px solid rgba(108,99,255,0.35); }

/* ===== PLAYER OVERLAY ===== */
.player-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.94); z-index: 1000;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(18px);
}
.player-overlay.show { display: flex; }
.player-container {
  position: relative; width: 94vw; max-width: 1100px;
  background: var(--bg2); border-radius: 20px; overflow: hidden;
  box-shadow: 0 48px 120px rgba(0,0,0,0.9), 0 0 0 1px var(--border2);
  animation: popIn 0.3s cubic-bezier(.34,1.56,.64,1);
}
.player-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.75);
  color: white; font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: all 0.22s; border: 1px solid var(--border2);
}
.player-close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.player-fullscreen-btn {
  position: absolute; top: 14px; right: 58px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.75);
  color: white; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; border: 1px solid var(--border2); cursor: pointer;
}
.player-fullscreen-btn:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.1); }
.player-header { padding: 18px 106px 0 22px; font-size: 17px; font-weight: 700; color: var(--text); }
.player-body { position: relative; background: black; }
.player-body video { width: 100%; max-height: 64vh; display: block; }
.player-info { padding: 14px 22px 20px; }

.player-container:fullscreen,
.player-container:-webkit-full-screen,
.player-container:-moz-full-screen {
  width: 100vw; height: 100vh; max-width: 100vw;
  border-radius: 0; overflow: hidden;
  display: flex; flex-direction: column;
  background: #000;
}
.player-container:fullscreen .player-header,
.player-container:-webkit-full-screen .player-header,
.player-container:-moz-full-screen .player-header { display: none; }
.player-container:fullscreen .player-close,
.player-container:-webkit-full-screen .player-close,
.player-container:-moz-full-screen .player-close { display: none; }
.player-container:fullscreen .player-fullscreen-btn,
.player-container:-webkit-full-screen .player-fullscreen-btn,
.player-container:-moz-full-screen .player-fullscreen-btn { display: none; }
.player-container:fullscreen .player-info,
.player-container:-webkit-full-screen .player-info,
.player-container:-moz-full-screen .player-info { display: none; }
.player-container:fullscreen .player-body,
.player-container:-webkit-full-screen .player-body,
.player-container:-moz-full-screen .player-body {
  flex: 1; position: relative; width: 100%; overflow: hidden;
}
.player-container:fullscreen .player-body > div,
.player-container:-webkit-full-screen .player-body > div,
.player-container:-moz-full-screen .player-body > div {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  background: #000;
}
.player-container:fullscreen .player-body video,
.player-container:-webkit-full-screen .player-body video,
.player-container:-moz-full-screen .player-body video {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  max-height: 100% !important; object-fit: contain;
}
.player-container:fullscreen .player-body iframe,
.player-container:-webkit-full-screen .player-body iframe,
.player-container:-moz-full-screen .player-body iframe {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  aspect-ratio: unset !important; border: none !important;
}

.player-streams { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.stream-btn {
  padding: 7px 16px; border-radius: 7px; font-size: 13px; font-weight: 600;
  background: var(--bg3); color: var(--text2); border: 1px solid var(--border2);
  cursor: pointer; transition: all 0.18s;
}
.stream-btn:hover { color: var(--text); border-color: var(--primary); }
.stream-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 3px 14px rgba(108,99,255,0.4); }
.srv-badge { font-size: 9px; font-weight: 700; background: rgba(255,255,255,0.18); color: inherit; border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: middle; letter-spacing: 0.5px; }
.watch-srv-btn .srv-badge { background: rgba(255,255,255,0.18); }
.watch-srv-btn.active .srv-badge { background: rgba(255,255,255,0.25); }
.player-error { padding: 52px 32px; text-align: center; color: var(--text2); }
.player-error .icon { font-size: 52px; margin-bottom: 18px; }
.player-error h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 10px; }

/* ===== LIVE TV ===== */
.live-hero {
  position: relative; min-height: 290px;
  display: flex; align-items: flex-end; overflow: hidden;
  margin: -24px -24px 0; padding: 0 32px 44px;
}
.live-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(14,34,80,0.9) 0%, transparent 70%),
              linear-gradient(135deg, #0b1630 0%, #0e0a1c 50%, #1a0b2e 100%);
}
.live-hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(108,99,255,0.2) 0%, transparent 55%),
              radial-gradient(circle at 80% 20%, rgba(168,85,247,0.15) 0%, transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(239,68,68,0.12) 0%, transparent 45%);
}
.live-hero-content { position: relative; z-index: 1; }
.live-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4);
  color: #f87171; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; padding: 5px 14px; border-radius: 100px; margin-bottom: 18px;
}
.live-pulse {
  width: 8px; height: 8px; background: #ef4444; border-radius: 50%;
  display: inline-block; animation: livePulse 1.4s ease-in-out infinite;
}
.live-hero-title { font-size: clamp(28px, 5vw, 46px); font-weight: 800; color: #fff; margin: 0 0 10px; letter-spacing: -0.5px; }
.live-hero-sub { font-size: 15px; color: rgba(255,255,255,0.55); margin: 0; max-width: 520px; }

.live-tabs-bar {
  display: flex; gap: 8px; padding: 22px 0 0;
  margin: 0; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 0;
}
.live-tabs-bar::-webkit-scrollbar { display: none; }
.live-tab {
  flex-shrink: 0; background: transparent; border: none; color: var(--text3);
  font-size: 13px; font-weight: 600; padding: 12px 20px; cursor: pointer;
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
  white-space: nowrap; font-family: inherit;
}
.live-tab:hover { color: var(--text); }
.live-tab.active { color: #fff; border-bottom-color: var(--primary); }

.live-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px; padding-top: 28px;
}
.live-card {
  background: var(--card); border-radius: 14px; overflow: hidden;
  cursor: pointer; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  border: 1px solid var(--border);
}
.live-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
  border-color: rgba(108,99,255,0.4);
}
.live-card:hover .live-play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.live-card:hover .live-thumb-emoji { transform: scale(1.12); }
.live-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.live-thumb-emoji {
  font-size: 52px; line-height: 1; position: relative; z-index: 1;
  transition: transform 0.3s; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.live-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
}
.live-badge-pill {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(239,68,68,0.9); backdrop-filter: blur(6px);
  color: #fff; font-size: 9px; font-weight: 800;
  padding: 4px 9px; border-radius: 100px; letter-spacing: 1px;
  display: flex; align-items: center; gap: 5px;
}
.live-dot {
  width: 6px; height: 6px; background: #fff; border-radius: 50%;
  display: inline-block; animation: livePulse 1.4s ease-in-out infinite;
}
.live-play-btn {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%,-50%) scale(0.78);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.22s, transform 0.22s;
}
.live-info { padding: 12px 14px 14px; }
.live-name { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-desc { font-size: 11.5px; color: var(--text3); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }

/* ===== WATCH PAGE ===== */
.watch-page { min-height: 100vh; }
.watch-player-section { background: #000; width: 100%; }
.watch-player-wrap { max-width: 1300px; margin: 0 auto; }
.watch-player-embed {
  position: relative; width: 100%; background: #000; line-height: 0;
}
.watch-player-embed iframe,
.watch-player-embed video {
  width: 100%; aspect-ratio: 16/9; display: block; border: none; background: #000;
}
.watch-player-loading {
  aspect-ratio: 16/9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; background: #08080f;
}
.watch-loading-text { font-size: 13px; color: var(--text3); font-weight: 500; }
.watch-player-error {
  aspect-ratio: 16/9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  background: #08080f; color: var(--text2);
}
.wpe-icon { font-size: 52px; }
.watch-player-error p { font-size: 16px; font-weight: 600; }

/* Controls bar — advanced */
.watch-controls-bar {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 12px 32px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  max-width: 100%;
}
.watch-ctrl-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.watch-ctrl-label {
  font-size: 10px; font-weight: 700; color: var(--text3);
  text-transform: uppercase; letter-spacing: 1.2px; white-space: nowrap; margin-right: 2px;
}
.watch-ctrl-divider { width: 1px; height: 22px; background: var(--border2); flex-shrink: 0; }
.watch-ctrl-end {
  margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.watch-srv-btn {
  padding: 6px 16px; border-radius: 7px; font-size: 12.5px; font-weight: 600;
  background: var(--bg3); color: var(--text2); border: 1px solid var(--border2);
  cursor: pointer; transition: all 0.18s; text-decoration: none;
  display: inline-flex; align-items: center; white-space: nowrap;
}
.watch-srv-btn:hover { color: var(--text); border-color: var(--primary); background: rgba(108,99,255,0.1); }
.watch-srv-btn.active {
  background: var(--primary); color: white; border-color: var(--primary);
  box-shadow: 0 3px 14px rgba(108,99,255,0.4);
}

/* Info row */
.watch-info-row { max-width: 1300px; margin: 0 auto; padding: 32px 32px 0; }
.watch-info-skeleton { padding: 8px 0; }
.watch-info { display: flex; gap: 36px; align-items: flex-start; }
.watch-info-left { flex: 1; min-width: 0; }
.watch-title-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.watch-title { font-size: 32px; font-weight: 900; letter-spacing: -0.7px; line-height: 1.1; color: var(--text); }
.watch-meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.watch-rating {
  display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700;
  color: var(--gold); background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.22);
  padding: 4px 11px; border-radius: 7px;
}
.watch-meta-pill {
  font-size: 12px; font-weight: 600; color: var(--text2);
  background: var(--bg3); border: 1px solid var(--border2);
  padding: 4px 10px; border-radius: 7px;
}
.pill-movie { background: rgba(108,99,255,0.12); color: var(--primary-light); border-color: rgba(108,99,255,0.25); }
.pill-show { background: rgba(168,85,247,0.12); color: #c084fc; border-color: rgba(168,85,247,0.25); }
.watch-genres { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.watch-genre {
  font-size: 12px; color: var(--primary-light); background: rgba(108,99,255,0.08);
  padding: 4px 13px; border-radius: 14px; border: 1px solid rgba(108,99,255,0.15);
  cursor: pointer; transition: all 0.18s;
}
.watch-genre:hover { background: rgba(108,99,255,0.18); }
.watch-desc { font-size: 15px; line-height: 1.78; color: var(--text2); max-width: 740px; }
.watch-info-poster { flex-shrink: 0; width: 170px; }
.watch-info-poster img {
  width: 100%; border-radius: 12px; aspect-ratio: 2/3; object-fit: cover;
  background: var(--bg3); display: block; box-shadow: 0 20px 56px rgba(0,0,0,0.65);
}
.watch-poster-placeholder {
  width: 100%; aspect-ratio: 2/3; background: var(--bg3); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 42px;
}

.watch-section { max-width: 1300px; margin: 0 auto; padding: 40px 32px 0; }
.watch-section:last-of-type { padding-bottom: 0; }

/* Season switcher on watch page */
.watch-ep-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap;
}
.ep-srv-btn {
  padding: 6px 14px; border-radius: 7px; font-size: 12px; font-weight: 600;
  background: var(--bg3); color: var(--text2); border: 1px solid var(--border2);
  cursor: pointer; transition: all 0.18s;
}
.ep-srv-btn:hover { color: var(--text); border-color: var(--primary); }
.ep-srv-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== STAFF PAGE ===== */
.staff-hero { position: relative; min-height: 360px; display: flex; align-items: flex-end; overflow: hidden; }
.staff-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center top; filter: blur(20px) brightness(0.3); transform: scale(1.08); }
.staff-hero-grad { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(10,10,15,0.6) 60%, transparent 100%); }
.staff-content { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 36px; padding: 52px 52px 44px; width: 100%; }
.staff-avatar { flex: 0 0 160px; width: 160px; border-radius: 50%; overflow: hidden; border: 3px solid var(--primary); box-shadow: 0 0 40px var(--primary-glow); }
.staff-avatar img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.staff-avatar-placeholder { width: 160px; height: 160px; background: var(--bg3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 52px; }
.staff-name { font-size: 38px; font-weight: 800; line-height: 1.15; }

/* ===== PLAYER EXTRAS ===== */
.player-section-label { font-size: 11px; color: var(--text3); margin-bottom: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.active-btn { background: var(--primary) !important; color: #fff !important; border-color: var(--primary) !important; font-weight: 700; }

/* ===== SR-ONLY ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 32px 18px 0; }
  .pill-section { padding: 0 18px; }
  .home-genre-bar { padding: 22px 18px 0; }
  .hero-content { padding: 0 24px 44px; }
  .hero-title { font-size: 32px; }
  .hero-arrow { display: none; }
  .hero-dots { right: 24px; }
  .detail-content { flex-direction: column; padding: 0 22px 32px; gap: 22px; align-items: flex-start; }
  .detail-poster { width: 150px; min-width: 150px; }
  .detail-title { font-size: 28px; }
  .detail-body { padding: 28px 22px; }
  .page-header { padding: 36px 18px 18px; }
  footer { flex-direction: column; align-items: center; padding: 32px 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-contact { justify-content: center; }
}
@media (max-width: 580px) {
  .navbar { padding: 0 14px; }
  .search-input { width: 140px; }
  .search-input:focus { width: 170px; }
  .hero { height: 420px; }
  .card { flex: 0 0 136px; width: 136px; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 12px; }
  .live-hero { min-height: 200px; padding: 0 16px 30px; margin: -16px -16px 0; }
  .live-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .watch-info-row { padding: 20px 16px 0; }
  .watch-info { flex-direction: column-reverse; gap: 20px; }
  .watch-info-poster { width: 130px; }
  .watch-title { font-size: 22px; }
  .watch-controls-bar { padding: 10px 14px; gap: 8px; }
  .watch-ctrl-end { margin-left: 0; }
  .watch-section { padding: 28px 14px 0; }
}
@media (max-width: 768px) {
  .staff-content { flex-direction: column; padding: 28px 22px 26px; align-items: flex-start; gap: 18px; }
  .staff-avatar { width: 110px; flex: 0 0 110px; }
  .staff-name { font-size: 26px; }
}

/* ===== CUSTOM FULLSCREEN MODE ===== */

/* ===== NATIVE FULLSCREEN: watch embed element ===== */
#watchPlayerEmbed:fullscreen,
#watchPlayerEmbed:-webkit-full-screen,
#watchPlayerEmbed:-moz-full-screen {
  width: 100vw !important; height: 100vh !important;
  background: #000 !important; position: relative !important;
}
#watchPlayerEmbed:fullscreen > div,
#watchPlayerEmbed:-webkit-full-screen > div,
#watchPlayerEmbed:-moz-full-screen > div {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important; background: #000 !important;
}
#watchPlayerEmbed:fullscreen iframe,
#watchPlayerEmbed:-webkit-full-screen iframe,
#watchPlayerEmbed:-moz-full-screen iframe,
#watchPlayerEmbed:fullscreen video,
#watchPlayerEmbed:-webkit-full-screen video,
#watchPlayerEmbed:-moz-full-screen video {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  aspect-ratio: unset !important; border: none !important;
}

/* ===== CSS-BASED FULLSCREEN FALLBACK ===== */
body.watch-fs-active {
  overflow: hidden;
}
body.watch-fs-active #watchPlayerEmbed {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  background: #000 !important;
  border-radius: 0 !important;
}
/* Inner wrapper div fills the container */
body.watch-fs-active #watchPlayerEmbed > div {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #000 !important;
}
/* iframe and video fill everything — override inline aspect-ratio */
body.watch-fs-active #watchPlayerEmbed iframe,
body.watch-fs-active #watchPlayerEmbed video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
  border: none !important;
  max-height: 100vh !important;
}
/* Hide all page UI when fullscreen is active — targeted by both class and ID */
body.watch-fs-active #navbar,
body.watch-fs-active .mobile-menu,
body.watch-fs-active .watch-controls-bar,
body.watch-fs-active #watchControls,
body.watch-fs-active .watch-info-row,
body.watch-fs-active #watchInfoRow,
body.watch-fs-active .watch-section,
body.watch-fs-active footer,
body.watch-fs-active #toast { display: none !important; }

/* Exit fullscreen button — hidden by default, visible in fullscreen */
.watch-fs-exit {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100001;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
  transition: background 0.2s;
}
.watch-fs-exit:hover { background: rgba(108,99,255,0.85); border-color: var(--primary); }
body.watch-fs-active .watch-fs-exit { display: flex; }

.watch-fs-btn { display: flex; align-items: center; gap: 6px; }

/* ===== ENHANCED HERO ===== */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(2px 2px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(2px 2px at 60% 10%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 30%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 90% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 50%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(2px 2px at 5% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 80%, rgba(255,255,255,0.3) 0%, transparent 100%);
}
.hero-title {
  font-size: 52px; font-weight: 900; line-height: 1.06;
  margin-bottom: 16px; letter-spacing: -1.8px;
  background: linear-gradient(135deg, #ffffff 0%, #e8e5ff 50%, #c4beff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 20px rgba(124,111,255,0.3));
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 20%;
  filter: brightness(0.22) saturate(1.3);
  transition: opacity 0.7s ease;
  transform: scale(1.06);
}

/* ===== ENHANCED NAVBAR ===== */
.navbar {
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(32px) saturate(2);
  -webkit-backdrop-filter: blur(32px) saturate(2);
  border-bottom: 1px solid rgba(124,111,255,0.1);
}
.navbar.scrolled {
  background: rgba(7,7,15,0.97);
  border-bottom-color: rgba(124,111,255,0.15);
  box-shadow: 0 4px 40px rgba(0,0,0,0.6), 0 1px 0 rgba(124,111,255,0.08);
}
.logo-mark {
  background: linear-gradient(135deg, var(--primary), #c084fc, var(--neon-blue));
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  box-shadow: 0 0 24px rgba(124,111,255,0.5), 0 0 48px rgba(124,111,255,0.2);
}
.nav-link.active {
  color: var(--text);
  background: rgba(124,111,255,0.18);
  box-shadow: 0 0 16px rgba(124,111,255,0.15) inset;
}

/* ===== ENHANCED SECTION HEADER ===== */
.section-title {
  font-size: 21px; font-weight: 800;
  display: flex; align-items: center; gap: 12px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title::before {
  content: '';
  display: block; width: 4px; height: 22px;
  background: linear-gradient(to bottom, var(--primary-light), #c084fc, var(--neon-blue));
  border-radius: 4px; flex-shrink: 0;
  box-shadow: 0 0 12px rgba(124,111,255,0.7);
  -webkit-text-fill-color: initial;
}

/* ===== ENHANCED CARD PLAY BUTTON ===== */
.card-play-btn {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 28px rgba(124,111,255,0.7), 0 0 60px rgba(124,111,255,0.3);
  transform: scale(0.75); transition: transform 0.28s cubic-bezier(.34,1.56,.64,1);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.3);
}
.card:hover .card-play-btn {
  transform: scale(1);
  animation: neon-pulse 2s ease-in-out infinite;
}

/* ===== ENHANCED SPINNER ===== */
.spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(124,111,255,0.15);
  border-top-color: var(--primary);
  border-right-color: var(--neon-purple);
  border-radius: 50%; animation: spin 0.8s linear infinite;
  box-shadow: 0 0 20px rgba(124,111,255,0.25);
}

/* ===== NEW ARRIVALS PAGE ===== */
.new-arrivals-hero {
  position: relative; min-height: 300px;
  display: flex; align-items: flex-end; overflow: hidden;
  margin-top: var(--nav-h); padding: 0 48px 52px;
}
.new-arrivals-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(124,111,255,0.25) 0%, transparent 70%),
    linear-gradient(180deg, rgba(124,111,255,0.08) 0%, var(--bg) 100%),
    linear-gradient(135deg, #0a0818 0%, #120a24 50%, #0a1020 100%);
}
.new-arrivals-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(2px 2px at 15% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 15%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(2px 2px at 70% 25%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 55% 60%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 70%, rgba(124,111,255,0.6) 0%, transparent 100%),
    radial-gradient(2px 2px at 25% 75%, rgba(192,132,252,0.4) 0%, transparent 100%);
}
.new-arrivals-hero-content { position: relative; z-index: 1; }
.new-arrivals-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,111,255,0.15); border: 1px solid rgba(124,111,255,0.4);
  color: var(--primary-light); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(124,111,255,0.2);
}
.na-spark { animation: sparkle 2s ease-in-out infinite; display: inline-block; }
.new-arrivals-title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900; letter-spacing: -1.5px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--neon-purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 12px;
}
.new-arrivals-sub { font-size: 15px; color: rgba(255,255,255,0.5); }

/* ===== NEW TAB BAR ===== */
.new-tabs-bar {
  display: flex; gap: 4px; padding: 20px 48px 0;
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.new-tab {
  padding: 12px 24px; border-radius: 10px 10px 0 0; font-size: 14px; font-weight: 600;
  color: var(--text2); background: transparent; border: none; border-bottom: 2px solid transparent;
  cursor: pointer; transition: all 0.22s; font-family: inherit; position: relative;
}
.new-tab:hover { color: var(--text); background: rgba(124,111,255,0.06); }
.new-tab.active {
  color: var(--primary-light);
  background: rgba(124,111,255,0.1);
  border-bottom-color: var(--primary-light);
  box-shadow: 0 -1px 0 rgba(124,111,255,0.2) inset;
}
.new-tab.active::before {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--neon-purple));
  border-radius: 2px 2px 0 0;
}

/* ===== PLAY ALL BUTTON ===== */
.play-all-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 10px; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  background-size: 200% 200%;
  color: white; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(124,111,255,0.45), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: all 0.25s;
  position: relative; overflow: hidden;
  animation: gradient-shift 3s ease infinite;
}
.play-all-btn::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.play-all-btn:hover::after { left: 200%; }
.play-all-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(124,111,255,0.6), 0 0 60px rgba(124,111,255,0.2);
}

/* ===== PLAYLIST CONTROLS ===== */
.playlist-controls { margin-bottom: 14px; }
.playlist-nav {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.playlist-nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: var(--bg3); color: var(--text2); border: 1px solid var(--border2);
  cursor: pointer; transition: all 0.18s;
}
.playlist-nav-btn:hover { color: var(--text); border-color: var(--primary); }
.playlist-nav-btn.playlist-next {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: white; border-color: transparent;
  box-shadow: 0 3px 12px rgba(124,111,255,0.4);
}
.playlist-nav-btn.playlist-next:hover {
  box-shadow: 0 6px 20px rgba(124,111,255,0.6);
  transform: translateY(-1px);
}
.playlist-counter {
  font-size: 12px; font-weight: 700; color: var(--text2);
  background: var(--bg3); border: 1px solid var(--border2);
  padding: 6px 14px; border-radius: 8px;
}
.playlist-queue {
  display: flex; gap: 6px; flex-wrap: wrap; max-height: 120px;
  overflow-y: auto; padding: 4px 2px; scrollbar-width: thin;
}
.playlist-queue::-webkit-scrollbar { width: 3px; }
.playlist-queue::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== ENHANCED LIVE CARDS ===== */
.live-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(124,111,255,0.4), 0 0 40px rgba(124,111,255,0.12);
  border-color: rgba(124,111,255,0.45);
}
.live-badge-pill {
  background: linear-gradient(135deg, rgba(239,68,68,0.95), rgba(220,38,38,0.85));
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(239,68,68,0.4);
}

/* ===== ENHANCED EPISODE CARD ===== */
.episode-card:hover {
  background: linear-gradient(135deg, var(--card-hover), rgba(124,111,255,0.06));
  border-color: rgba(124,111,255,0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(124,111,255,0.12);
}
.ep-play-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  box-shadow: 0 3px 14px rgba(124,111,255,0.55);
}

/* ===== ENHANCED PLAYER CONTAINER ===== */
.player-container {
  box-shadow: 0 48px 120px rgba(0,0,0,0.95), 0 0 0 1px rgba(124,111,255,0.15), 0 0 80px rgba(124,111,255,0.08);
}
.player-overlay {
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(24px) saturate(1.5);
}

/* ===== ENHANCED SEASON TABS ===== */
.season-tab.active {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: white; border-color: transparent;
  box-shadow: 0 4px 18px rgba(124,111,255,0.45);
}
.season-tab:hover { border-color: rgba(124,111,255,0.5); }

/* ===== ENHANCED RANK/GENRE TABS ===== */
.rank-tab.active, .pill.active, .hg-pill.active {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: white; border-color: transparent;
  box-shadow: 0 4px 18px rgba(124,111,255,0.45);
}

/* ===== ENHANCED LOAD MORE ===== */
.load-more-btn:hover {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: white; border-color: transparent;
  box-shadow: 0 8px 28px rgba(124,111,255,0.45);
}

/* ===== ENHANCED CAST AVATAR ===== */
.cast-card:hover .cast-avatar {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(124,111,255,0.4);
}

/* ===== ENHANCED HERO ARROW ===== */
.hero-arrow:hover {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  border-color: transparent;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 24px rgba(124,111,255,0.5);
}

/* ===== PAGE HEADER ENHANCED ===== */
.page-header {
  padding: 48px 32px 22px;
  position: relative;
}
.page-title {
  font-size: 34px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.8px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 60%, var(--neon-purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ENHANCED FOOTER ===== */
footer {
  background: linear-gradient(180deg, var(--bg2) 0%, rgba(7,7,15,0.98) 100%);
  border-top: 1px solid rgba(124,111,255,0.12);
  box-shadow: 0 -1px 0 rgba(124,111,255,0.06);
}

/* ===== WATCH PAGE ENHANCEMENTS ===== */
.watch-title {
  font-size: 34px; font-weight: 900; letter-spacing: -0.8px; line-height: 1.1; color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.watch-genre:hover {
  background: rgba(124,111,255,0.22);
  box-shadow: 0 0 12px rgba(124,111,255,0.2);
}

/* ===== ENHANCED TOAST ===== */
.toast {
  background: rgba(13,13,26,0.98);
  border: 1px solid var(--border2);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.65), 0 0 0 1px rgba(124,111,255,0.08);
}
.toast.info { border-left: 3px solid var(--primary-light); background: rgba(13,13,26,0.98); }
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }

/* ===== SEARCH ENHANCED ===== */
.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,111,255,0.2), 0 0 20px rgba(124,111,255,0.1);
}
.search-suggestions {
  background: rgba(12,12,20,0.98);
  backdrop-filter: blur(24px);
  border-color: rgba(124,111,255,0.2);
  box-shadow: 0 24px 70px rgba(0,0,0,0.75), 0 0 0 1px rgba(124,111,255,0.1);
}
.suggest-item:hover { background: rgba(124,111,255,0.1); }

/* ===== HERO DOTS ENHANCED ===== */
.hero-dot.active {
  background: linear-gradient(90deg, var(--primary-light), var(--neon-purple));
  box-shadow: 0 0 10px rgba(124,111,255,0.6);
}

/* ===== WATCH SERVER BUTTONS ENHANCED ===== */
.watch-srv-btn.active, .stream-btn.active {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  border-color: transparent;
  box-shadow: 0 3px 16px rgba(124,111,255,0.5);
}

/* Server quality badges */
.srv-badge {
  font-size: 9px; font-weight: 800; letter-spacing: 0.5px;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.18); color: white;
  vertical-align: middle; margin-left: 4px;
}
/* YouTube badge — red accent */
.srv-badge.yt-badge {
  background: rgba(255,0,0,0.2);
  color: #ff4444;
  border: 1px solid rgba(255,0,0,0.35);
}
.stream-btn:has(.yt-badge),
.watch-srv-btn:has(.yt-badge) {
  border-color: rgba(255,0,0,0.3);
}
.stream-btn:has(.yt-badge):hover,
.watch-srv-btn:has(.yt-badge):hover {
  border-color: #ff0000;
  box-shadow: 0 3px 14px rgba(255,0,0,0.35);
}
.stream-btn.active:has(.yt-badge),
.watch-srv-btn.active:has(.yt-badge) {
  background: linear-gradient(135deg, #c00, #ff4444);
  border-color: transparent;
  box-shadow: 0 3px 16px rgba(255,0,0,0.45);
}

/* ===== LIVE TV HERO ENHANCED ===== */
.live-hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(124,111,255,0.15) 0%, transparent 70%);
}

/* ===== SECTION MORE LINK ENHANCED ===== */
.section-more:hover {
  color: var(--primary-light);
  background: rgba(124,111,255,0.15);
  box-shadow: 0 0 16px rgba(124,111,255,0.15);
}

/* ===== CARD BADGE ENHANCED ===== */
.badge-new { background: linear-gradient(135deg, #059669, #34d399); box-shadow: 0 2px 8px rgba(52,211,153,0.4); }
.badge-hd { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); box-shadow: 0 2px 8px rgba(124,111,255,0.4); }
.badge-tv { background: linear-gradient(135deg, #7c3aed, #c084fc); box-shadow: 0 2px 8px rgba(192,132,252,0.4); }

/* ===== MOBILE MENU ENHANCED ===== */
.mobile-menu {
  background: rgba(7,7,15,0.99);
  backdrop-filter: blur(32px) saturate(1.8);
  border-bottom: 1px solid rgba(124,111,255,0.12);
}

/* ===== STAFF PAGE ENHANCED ===== */
.staff-avatar {
  border: 3px solid transparent;
  background: linear-gradient(var(--bg3), var(--bg3)) padding-box,
              linear-gradient(135deg, var(--primary), #c084fc) border-box;
  box-shadow: 0 0 40px rgba(124,111,255,0.35), 0 0 80px rgba(124,111,255,0.15);
}
.staff-name {
  background: linear-gradient(135deg, #ffffff, var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
