/* ===== DIRECTECLIPSE MAIN CSS ===== */
/* DirectEclipse by DirectDLF */

:root {
  --bg: #050505;
  --bg2: #0a0a0a;
  --bg3: #111111;
  --bg4: #1a1a1a;
  --bg5: #222222;
  --border: rgba(255,255,255,0.06);
  --border2: rgba(255,255,255,0.13);
  --accent-red: #e53e3e;
  --text: #f4f4f4;
  --text2: #999999;
  --text3: #555555;
  --text4: #333333;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 16px 48px rgba(0,0,0,0.85);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.5);
  --nav-h: 62px;
  --font: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Bebas Neue', Impact, Arial Black, sans-serif;
  --trans: 0.18s cubic-bezier(0.4,0,0.2,1);
  --trans-slow: 0.4s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
input { font-family: var(--font); }
ul { list-style: none; }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg5); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ===== MATERIAL SYMBOLS ===== */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  user-select: none;
  line-height: 1;
}

/* ===== INTRO SPLASH ===== */
#introSplash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.7s ease;
}
#introSplash.fade-out {
  opacity: 0;
  pointer-events: none;
}
#introSplash img {
  max-width: min(320px, 60vw);
  max-height: 60vh;
  object-fit: contain;
}
.intro-fallback-text {
  font-family: var(--font-display);
  font-size: 52px;
  letter-spacing: 6px;
  color: #fff;
}
.intro-fallback-text span { color: var(--accent-red); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: linear-gradient(to bottom, rgba(5,5,5,0.97) 0%, transparent 100%);
  transition: background var(--trans-slow), border-color var(--trans-slow);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(5,5,5,0.96);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-left { display: flex; align-items: center; gap: 44px; }
.nav-right { display: flex; align-items: center; gap: 10px; }

.logo { display: flex; align-items: center; gap: 8px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2.5px;
  color: var(--text);
}
.logo-text span { color: var(--accent-red); }
.logo-sub {
  font-size: 9px;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all var(--trans);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,0.07); }

.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 7px 14px;
  transition: all var(--trans);
}
.search-wrap:focus-within { border-color: var(--border2); background: var(--bg4); }
.search-wrap .material-symbols-outlined { font-size: 17px; color: var(--text3); }
.search-wrap input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 13px; width: 160px;
}
.search-wrap input::placeholder { color: var(--text3); }

.nav-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text2);
  transition: all var(--trans);
}
.nav-btn:hover { background: var(--bg4); color: var(--text); }
.nav-btn .material-symbols-outlined { font-size: 19px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video-bg iframe {
  position: absolute;
  top: 50%; left: 50%;
  /* Cover entire hero at 16:9 */
  width: 177.78vh;
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}
/* Block bottom control bar from showing */
.hero-video-blocker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  z-index: 1;
  background: transparent;
  pointer-events: all;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(5,5,5,0.94) 0%,
    rgba(5,5,5,0.72) 38%,
    rgba(5,5,5,0.18) 68%,
    rgba(5,5,5,0.04) 100%
  );
}
.hero-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  z-index: 2;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 17%;
  left: 60px;
  z-index: 3;
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 14px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--accent-red);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 92px);
  line-height: 0.93;
  letter-spacing: 3px;
  color: var(--text);
  margin-bottom: 20px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid;
}
.tag-horror { color: #fc8181; border-color: rgba(252,129,129,0.3); background: rgba(252,129,129,0.07); }
.tag-action { color: #f6ad55; border-color: rgba(246,173,85,0.3); background: rgba(246,173,85,0.07); }
.tag-rating { color: #e2e2e2; border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); }
.tag-year   { color: var(--text3); border-color: transparent; background: transparent; padding-left: 2px; }
.tag-dur    { color: var(--text3); border-color: transparent; background: transparent; padding-left: 2px; }

.badge-4k {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ddd;
}
.badge-4k .material-symbols-outlined {
  font-size: 17px;
  color: #fff;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.hero-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text2);
  margin-bottom: 28px;
  max-width: 450px;
}

.hero-actions { display: flex; align-items: center; gap: 12px; }

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #000;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  letter-spacing: 0.2px;
  transition: all var(--trans);
  cursor: pointer;
  border: none;
}
.btn-watch:hover { background: #e8e8e8; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,0.12); }
.btn-watch .material-symbols-outlined { font-size: 20px; }

.btn-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.14);
  letter-spacing: 0.2px;
  transition: all var(--trans);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-info:hover { background: rgba(255,255,255,0.17); transform: translateY(-1px); }
.btn-info .material-symbols-outlined { font-size: 18px; }

.hero-p2p-note {
  position: absolute;
  bottom: 7%;
  left: 60px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--text3);
  background: rgba(10,10,10,0.65);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 13px;
  cursor: pointer;
  transition: all var(--trans);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-p2p-note:hover { color: var(--text2); border-color: var(--border2); }
.hero-p2p-note .material-symbols-outlined { font-size: 13px; }

/* ===== SECTIONS ===== */
.section { padding: 0 40px 52px; }
.section-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--text);
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ===== POSTER GRID ===== */
.poster-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.poster-grid::-webkit-scrollbar { display: none; }

/* ===== POSTER CARD ===== */
.poster-card {
  flex: 0 0 auto;
  width: 176px;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: visible;
  position: relative;
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.32s ease,
              z-index 0s 0.32s;
  will-change: transform;
  z-index: 1;
}
.poster-card:hover {
  transform: scale(1.09) translateY(-7px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.1);
  z-index: 10;
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.32s ease,
              z-index 0s 0s;
}

.poster-inner {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.poster-img-wrap {
  width: 100%;
  aspect-ratio: 2/3;
  position: relative;
  background: var(--bg3);
  overflow: hidden;
}
.poster-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.poster-card:hover .poster-img-wrap img { transform: scale(1.04); }

/* Placeholder when no real poster */
.poster-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #1a1a1a 0%, #0c0c0c 100%);
  gap: 12px;
  padding: 16px;
}
.poster-ph-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg5);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border2);
}
.poster-ph-icon .material-symbols-outlined { font-size: 26px; color: var(--text3); }
.poster-ph-title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--text2);
  text-align: center;
  line-height: 1.3;
}
.poster-ph-genres { font-size: 10px; color: var(--text3); letter-spacing: 0.5px; }

/* Hover overlay */
.poster-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 12px;
  gap: 5px;
}
.poster-card:hover .poster-hover { opacity: 1; }

.poster-play-btn {
  width: 38px; height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  transform: translateY(10px);
  transition: transform 0.22s ease 0.04s;
  flex-shrink: 0;
}
.poster-card:hover .poster-play-btn { transform: translateY(0); }
.poster-play-btn .material-symbols-outlined { font-size: 22px; color: #000; }

.poster-hover-title {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  line-height: 1.3;
}
.poster-hover-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  display: flex;
  gap: 5px;
  align-items: center;
}

/* Corner badges */
.poster-badge-4k {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
  background: rgba(0,0,0,0.78);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 2px 5px;
  display: flex; align-items: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.poster-badge-4k .material-symbols-outlined {
  font-size: 16px; color: #fff;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.poster-badge-p2p {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  background: rgba(0,0,0,0.78);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 2px 7px;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.poster-badge-p2p .material-symbols-outlined { font-size: 11px; }

/* ===== LEGAL STRIP ===== */
.legal-strip {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 40px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text3);
  line-height: 1.7;
}
.legal-strip .material-symbols-outlined { font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.legal-strip a { color: var(--text2); text-decoration: underline; }
.legal-strip a:hover { color: var(--text); }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 40px 32px;
  background: var(--bg2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}
.footer-brand-name span { color: var(--accent-red); }
.footer-brand p { font-size: 13px; color: var(--text3); line-height: 1.75; max-width: 280px; }
.footer-col h4 {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text3); margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: var(--text2);
  transition: color var(--trans);
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text4);
  line-height: 1.7;
}
.footer-bottom a { color: var(--text3); }
.footer-bottom a:hover { color: var(--text2); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow);
  animation: modalIn 0.24s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg4);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); cursor: pointer;
  transition: all var(--trans); z-index: 2;
}
.modal-close:hover { color: var(--text); background: var(--bg5); }
.modal-close .material-symbols-outlined { font-size: 17px; }
.modal-inner { padding: 32px; }
.modal-title {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  line-height: 1;
}
.modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.modal-desc { font-size: 14px; color: var(--text2); line-height: 1.85; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.modal-credits {
  background: var(--bg4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 12.5px; color: var(--text3); line-height: 1.9;
}
.modal-credits strong { color: var(--text2); }
.modal-credits a { color: var(--text2); text-decoration: underline; }
.cast-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cast-chip {
  background: var(--bg5); border: 1px solid var(--border);
  border-radius: 20px; padding: 3px 12px;
  font-size: 11px; color: var(--text2);
}

/* P2P notice box (reusable) */
.p2p-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 12.5px; color: var(--text3); line-height: 1.75;
}
.p2p-box .material-symbols-outlined { font-size: 17px; color: var(--text3); flex-shrink: 0; margin-top: 1px; }
.p2p-box a { color: var(--text2); text-decoration: underline; }
.p2p-box strong { color: var(--text2); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(72px);
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 13px; font-weight: 500; color: var(--text);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  opacity: 0;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== WATCH PAGE ===== */
.watch-wrap {
  padding-top: var(--nav-h);
  background: #000;
  min-height: 100vh;
}

/* Logo splash for watch page */
#watchLogoSplash {
  position: fixed; inset: 0;
  background: #000;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.75s ease;
}
#watchLogoSplash.fade-out { opacity: 0; pointer-events: none; }
#watchLogoSplash img {
  max-width: min(280px, 55vw);
  max-height: 55vh;
  object-fit: contain;
}

/* Intro player for watch page */
#introPlayer {
  position: fixed; inset: 0;
  background: #000;
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
#introPlayer.fade-out { opacity: 0; pointer-events: none; }
#introPlayer iframe { width: 100%; height: 100%; border: none; }

.skip-btn {
  position: absolute;
  bottom: 40px; right: 40px;
  background: rgba(18,18,18,0.88);
  border: 1px solid var(--border2);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px; font-weight: 600;
  padding: 10px 20px;
  cursor: pointer;
  transition: all var(--trans);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 6px;
  opacity: 0;
}
.skip-btn.visible { opacity: 1; }
.skip-btn:hover { background: rgba(35,35,35,0.95); }
.skip-btn .material-symbols-outlined { font-size: 15px; }

/* Watch player */
.watch-player-wrap {
  width: 100%;
  background: #000;
}
.watch-player-inner {
  position: relative;
  padding-top: 41.82%; /* matches PeerTube embed ratio */
  background: #000;
}
.watch-player-inner iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.watch-player-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #0a0a0a; gap: 14px; padding: 40px;
}
.watch-player-placeholder .material-symbols-outlined { font-size: 56px; color: var(--text3); }
.watch-player-placeholder p { font-size: 14px; color: var(--text3); text-align: center; }

/* Watch info bar */
.watch-info-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.watch-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--text2);
  transition: color var(--trans);
}
.watch-back-link:hover { color: var(--text); }
.watch-back-link .material-symbols-outlined { font-size: 17px; }
.watch-bar-title {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: 1.5px;
}

/* Watch layout */
.watch-layout {
  display: grid;
  grid-template-columns: 1fr 296px;
}
.watch-main { padding: 32px 40px; }
.watch-film-title {
  font-family: var(--font-display);
  font-size: 46px; letter-spacing: 3px;
  margin-bottom: 14px; line-height: 1;
}
.watch-meta-row {
  display: flex; gap: 9px; flex-wrap: wrap;
  align-items: center; margin-bottom: 20px;
}
.watch-desc {
  font-size: 14px; color: var(--text2); line-height: 1.85;
  max-width: 620px; margin-bottom: 24px;
}
.watch-actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }

.watch-credits {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 12.5px; color: var(--text3); line-height: 1.9;
  max-width: 680px;
}
.watch-credits strong { color: var(--text2); }
.watch-credits a { color: var(--text2); text-decoration: underline; }

.watch-sidebar {
  border-left: 1px solid var(--border);
  padding: 24px 20px;
  background: var(--bg2);
}
.sidebar-head {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text3); margin-bottom: 18px;
}
.sidebar-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity var(--trans);
}
.sidebar-item:hover { opacity: 0.75; }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-thumb {
  width: 48px; height: 72px;
  background: var(--bg4); border-radius: 5px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}
.sidebar-thumb .material-symbols-outlined { font-size: 20px; color: var(--text3); }
.sidebar-info { flex: 1; min-width: 0; }
.sidebar-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.sidebar-meta { font-size: 11px; color: var(--text3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .watch-layout { grid-template-columns: 1fr; }
  .watch-sidebar { border-left: none; border-top: 1px solid var(--border); }
  .watch-main { padding: 22px 20px; }
  .watch-info-bar { padding: 12px 20px; }
  .watch-player-inner { padding-top: 56.25%; } /* fallback to 16:9 on mobile */
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .logo-sub { display: none; }
  .search-wrap input { width: 120px; }
  .hero-content { left: 20px; bottom: 18%; max-width: calc(100vw - 40px); }
  .hero-p2p-note { left: 20px; font-size: 10px; }
  .hero-title { font-size: 52px; }
  .section { padding: 0 16px 36px; }
  .footer { padding: 36px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .legal-strip { padding: 10px 20px; }
  .skip-btn { bottom: 20px; right: 20px; }
}
