/* ================================================================
   CineVault — Combined CSS (cv-main + style merged)
   Single file, no @import, full cache-busting support
================================================================ */

/* ═══════════════════════════════════════════════════════════════
   CineVault — Professional Streaming UI  
   Custom design, mobile-first, cinematic dark theme
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg:     #060610;
  --surface:#0d0d1e;
  --card:   #111126;
  --border: rgba(255,255,255,.07);
  --red:    #e5091a;
  --red-h:  #ff1f2d;
  --purple: #7b2fbe;
  --gold:   #f5a623;
  --green:  #10b981;
  --text:   #f0f0ff;
  --muted:  rgba(240,240,255,.45);
  --r:      10px;
  --r2:     16px;
  --nav-h:  60px;
  --nav-safe: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  --ease:   cubic-bezier(.4,0,.2,1);
  --sans:   'Outfit', system-ui, sans-serif;
  --title:  'Bebas Neue', cursive;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:16px; scroll-behavior:smooth; }
body { background:var(--bg); color:var(--text); font-family:var(--sans); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
.cv-body { min-height:100vh; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; object-fit:cover; }
button { font-family:var(--sans); cursor:pointer; border:none; background:none; color:inherit; }
::-webkit-scrollbar { width:4px; height:4px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:rgba(229,9,26,.5); border-radius:2px; }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════ */
.cv-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  min-height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  display: flex; align-items: center;
  padding-left: 4%; padding-right: 4%;
  background: linear-gradient(180deg, rgba(6,6,16,.98) 0%, rgba(6,6,16,0) 100%);
  gap: 0;
  transition: background .3s var(--ease), backdrop-filter .3s;
}
.cv-nav.stuck {
  background: rgba(6,6,16,.97);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

/* Brand */
.cv-brand { display:flex; align-items:center; gap:9px; flex-shrink:0; margin-right:28px; }
.cv-brand-mark {
  width:34px; height:34px; border-radius:8px;
  background:var(--red); display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; color:#fff; flex-shrink:0;
  box-shadow: 0 2px 12px rgba(229,9,26,.5);
}
.cv-brand-mark.sm { width:26px; height:26px; border-radius:6px; font-size:.8rem; }
.cv-brand-name {
  font-family:var(--title); font-size:1.65rem; letter-spacing:2.5px;
  background: linear-gradient(90deg,#fff 20%,rgba(255,255,255,.6));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

/* Nav menu */
.cv-nav-menu { display:flex; list-style:none; gap:2px; }
.cv-nav-link {
  display:block; padding:0 11px; line-height:var(--nav-h);
  font-size:.84rem; font-weight:500; color:rgba(255,255,255,.6);
  transition:color .18s; white-space:nowrap;
}
.cv-nav-link:hover, .cv-nav-link.is-active { color:#fff; }

/* Nav end */
.cv-nav-end { display:flex; align-items:center; gap:6px; margin-left:auto; }
.cv-icon-btn {
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.06); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; color:rgba(255,255,255,.65); transition:all .18s; flex-shrink:0;
}
.cv-icon-btn:hover { background:rgba(255,255,255,.12); color:#fff; }
.cv-notif-btn { position:relative; }
.cv-notif-pip {
  position:absolute; top:8px; right:8px;
  width:7px; height:7px; background:var(--red);
  border-radius:50%; border:2px solid var(--bg);
}
.cv-nav-ghost {
  padding:7px 14px; border-radius:7px; font-size:.82rem; font-weight:600;
  color:rgba(255,255,255,.65); border:1px solid var(--border);
  transition:all .18s; white-space:nowrap;
}
.cv-nav-ghost:hover { color:#fff; border-color:rgba(255,255,255,.2); }
.cv-nav-cta {
  padding:7px 16px; border-radius:7px; font-size:.82rem; font-weight:700;
  background:var(--red); color:#fff; transition:background .18s; white-space:nowrap;
  box-shadow:0 0 16px rgba(229,9,26,.35);
}
.cv-nav-cta:hover { background:var(--red-h); }

/* Popups */
.cv-popwrap { position:relative; }
.cv-pop {
  position:absolute; top:calc(100% + 10px); right:0; min-width:260px;
  background:rgba(10,10,24,.98); border:1px solid var(--border); border-radius:var(--r2);
  opacity:0; pointer-events:none; transform:translateY(-8px) scale(.97);
  transition:all .2s var(--ease); backdrop-filter:blur(28px); z-index:500; overflow:hidden;
}
.cv-popwrap:hover .cv-pop, .cv-popwrap:focus-within .cv-pop { opacity:1; pointer-events:all; transform:none; }
.cv-pop-head { padding:10px 14px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.9px; color:var(--muted); border-bottom:1px solid var(--border); display:flex; align-items:center; gap:8px; }
.cv-count { background:var(--red); color:#fff; font-size:.62rem; padding:1px 5px; border-radius:8px; font-weight:800; }
.cv-pop-empty { padding:14px; text-align:center; color:var(--muted); font-size:.82rem; }
.cv-pop-more { display:block; padding:9px 14px; text-align:center; font-size:.76rem; font-weight:700; color:var(--red); border-top:1px solid var(--border); transition:background .15s; }
.cv-pop-more:hover { background:rgba(229,9,26,.06); }
.cv-pop-profile { padding:14px; border-bottom:1px solid var(--border); }
.cv-pop-name { font-weight:700; font-size:.9rem; }
.cv-pop-plan { font-size:.72rem; color:var(--gold); margin-top:4px; display:flex; align-items:center; gap:4px; }
.cv-pop-item { display:flex; align-items:center; gap:10px; padding:10px 14px; font-size:.84rem; transition:background .15s; }
.cv-pop-item:hover { background:rgba(255,255,255,.04); }
.cv-pop-item i { font-size:.95rem; color:var(--muted); }
.cv-pop-danger:hover { background:rgba(229,9,26,.07); color:var(--red); }
.cv-pop-danger:hover i { color:var(--red); }
.cv-avatar-btn {
  width:36px; height:36px; border-radius:50%; overflow:hidden;
  border:2px solid rgba(229,9,26,.4); display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--red),var(--purple));
  font-weight:800; font-size:.88rem; color:#fff; transition:border-color .18s;
}
.cv-avatar-btn:hover { border-color:var(--red); }
.cv-avatar-btn img { width:100%; height:100%; object-fit:cover; }

/* Burger */
.cv-burger { display:none; flex-direction:column; gap:5px; padding:6px; flex-shrink:0; }
.cv-burger span { display:block; width:22px; height:2px; background:#fff; border-radius:2px; transition:all .28s var(--ease); }
.cv-burger.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.cv-burger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.cv-burger.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* ═══════════════════════════════════════════════════════════════
   SEARCH
═══════════════════════════════════════════════════════════════ */
.cv-search-wrap {
  position:fixed; top:0; left:0; right:0; z-index:450;
  padding:14px 16px 0; background:rgba(4,4,14,.99);
  transform:translateY(-100%); transition:transform .3s var(--ease);
  backdrop-filter:blur(24px);
}
.cv-search-wrap.open { transform:none; }
.cv-search-backdrop {
  position:fixed; inset:0; z-index:440;
  background:rgba(0,0,0,.7); opacity:0; pointer-events:none;
  transition:opacity .3s;
}
.cv-search-backdrop.show { opacity:1; pointer-events:all; }
.cv-search-box { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.cv-search-field {
  flex:1; display:flex; align-items:center; gap:0;
  background:rgba(255,255,255,.07); border:1.5px solid rgba(229,9,26,.3);
  border-radius:50px; overflow:hidden; transition:border-color .18s;
}
.cv-search-field:focus-within { border-color:var(--red); }
.cv-search-field > i { flex-shrink:0; padding:0 14px; font-size:1.1rem; color:var(--muted); pointer-events:none; }
.cv-search-field input { flex:1; padding:13px 0; background:none; border:none; color:#fff; font-family:var(--sans); font-size:1rem; outline:none; min-width:0; }
.cv-search-field input::placeholder { color:rgba(255,255,255,.25); }
.cv-search-x { padding:0 14px; color:rgba(255,255,255,.35); font-size:1.05rem; transition:color .15s; display:flex; align-items:center; }
.cv-search-x:hover { color:#fff; }
.cv-search-close { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.07); border:1px solid var(--border); color:rgba(255,255,255,.6); display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; transition:all .15s; }
.cv-search-close:hover { background:var(--red); color:#fff; border-color:var(--red); }
.cv-search-tabs { display:flex; gap:8px; padding-bottom:12px; }
.cv-stab { padding:5px 14px; border-radius:20px; font-size:.8rem; font-weight:600; background:rgba(255,255,255,.06); border:1px solid var(--border); color:var(--muted); transition:all .15s; }
.cv-stab.on { background:var(--red); border-color:var(--red); color:#fff; }
.cv-sresults { padding-bottom:0; max-height:50vh; overflow-y:auto; }
.cv-sr { display:flex; align-items:center; gap:12px; padding:9px 10px; border-radius:var(--r); transition:background .15s; cursor:pointer; }
.cv-sr:hover { background:rgba(229,9,26,.07); }
.cv-sr-thumb { width:38px; height:54px; border-radius:6px; flex-shrink:0; object-fit:cover; background:var(--card); }
.cv-sr-info { flex:1; min-width:0; }
.cv-sr-name { font-size:.88rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cv-sr-meta { font-size:.7rem; color:var(--muted); margin-top:2px; display:flex; gap:8px; align-items:center; }
.cv-sr-tag { font-size:.62rem; font-weight:700; background:rgba(255,255,255,.09); padding:1px 6px; border-radius:4px; text-transform:uppercase; }
.cv-sr-play { width:30px; height:30px; border-radius:50%; background:var(--red); color:#fff; display:flex; align-items:center; justify-content:center; font-size:.85rem; flex-shrink:0; transition:background .15s; }
.cv-sr-play:hover { background:var(--red-h); }
.cv-sr-empty { text-align:center; padding:32px; color:var(--muted); font-size:.88rem; }
.cv-sr-empty i { font-size:2.5rem; display:block; margin-bottom:8px; opacity:.3; }
.cv-sr-all { display:block; text-align:center; padding:12px; font-size:.8rem; font-weight:700; color:var(--red); border-top:1px solid var(--border); margin-top:4px; }
.cv-strending { padding:8px 4px 16px; }
.cv-strend-label { font-size:.72rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:1px; margin-bottom:10px; display:flex; align-items:center; gap:6px; }
.cv-strend-label i { color:#FF6B2B; }
.cv-strend-list { display:flex; flex-wrap:wrap; gap:7px; }
.cv-strend-tag { padding:5px 12px; border-radius:20px; font-size:.78rem; background:rgba(255,255,255,.05); border:1px solid var(--border); color:rgba(255,255,255,.55); transition:all .15s; }
.cv-strend-tag:hover { background:rgba(229,9,26,.1); border-color:rgba(229,9,26,.25); color:#fff; }
mark { background:rgba(229,9,26,.22); color:#fff; border-radius:2px; padding:0 1px; }

/* ═══════════════════════════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════════════════════════ */
.cv-hero {
  position:relative; height:88vh; min-height:440px; max-height:780px;
  overflow:hidden; background:#000;
}
.cv-hero-slide { position:absolute; inset:0; opacity:0; transition:opacity .8s var(--ease); }
.cv-hero-slide.on { opacity:1; }
.cv-hero-img {
  position: absolute; inset: -8%;
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
  background-color: #060610;
  transform: scale(1.08);
  transition: transform 8s var(--ease);
  will-change: transform;
  min-height: 100%;
  min-width: 100%;
}
.cv-hero-slide.on .cv-hero-img { transform:scale(1); }
.cv-hero-overlay {
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(6,6,16,.96) 0%, rgba(6,6,16,.62) 50%, rgba(6,6,16,.12) 100%),
    linear-gradient(0deg,   rgba(6,6,16,1) 0%, rgba(6,6,16,.38) 28%, transparent 52%);
}
.cv-hero-content {
  position:absolute; bottom:14%; left:5%; right:50%;
}
.cv-hero-info {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:16px;
}
.cv-hero-plat {
  font-size:.68rem; font-weight:800; letter-spacing:1.2px; text-transform:uppercase;
  padding:3px 10px; border-radius:4px; border:1px solid; opacity:.9;
}
.cv-hero-star { display:flex; align-items:center; gap:4px; font-size:.82rem; font-weight:700; color:var(--gold); }
.cv-hero-star i { font-size:.9rem; }
.cv-hero-yr { font-size:.78rem; color:rgba(255,255,255,.5); }
.cv-hero-badge { font-size:.64rem; font-weight:800; color:rgba(255,255,255,.4); text-transform:uppercase; letter-spacing:1px; background:rgba(255,255,255,.08); padding:2px 8px; border-radius:4px; }
.cv-hero-title {
  font-family:var(--title);
  font-size:clamp(2.6rem, 6.5vw, 5.8rem);
  line-height:.93; letter-spacing:.5px;
  color:#fff; text-shadow:0 4px 28px rgba(0,0,0,.7);
  margin-bottom:16px;
}
.cv-hero-desc {
  font-size:clamp(.82rem,1.3vw,.94rem); color:rgba(255,255,255,.58);
  line-height:1.72; margin-bottom:24px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.cv-hero-btns { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.cv-hero-play-btn {
  display:inline-flex; align-items:center; gap:9px;
  padding:13px 28px; border-radius:7px;
  background:var(--red); color:#fff; font-weight:700; font-size:.96rem;
  box-shadow:0 4px 24px rgba(229,9,26,.45); transition:all .2s;
}
.cv-hero-play-btn:hover { background:var(--red-h); transform:translateY(-1px); box-shadow:0 8px 32px rgba(229,9,26,.55); }
.cv-hero-play-btn i { font-size:1.2rem; }
.cv-hero-more-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 22px; border-radius:7px; font-weight:600; font-size:.9rem;
  background:rgba(255,255,255,.13); color:#fff; border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(8px); transition:all .2s;
}
.cv-hero-more-btn:hover { background:rgba(255,255,255,.22); }
.cv-hero-arrow {
  position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; border-radius:50%;
  background:rgba(0,0,0,.55); border:1px solid rgba(255,255,255,.14);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-size:1.6rem; transition:all .2s; z-index:5; backdrop-filter:blur(6px);
}
.cv-hero-arrow:hover { background:var(--red); border-color:var(--red); }
.cv-hero-arrow.left  { left:20px; }
.cv-hero-arrow.right { right:20px; }
.cv-hero-dots { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); display:flex; gap:6px; z-index:5; }
.cv-hero-dot { width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.28); border:none; padding:0; cursor:pointer; transition:all .28s; }
.cv-hero-dot.on { background:#fff; width:20px; border-radius:3px; }

/* ═══════════════════════════════════════════════════════════════
   PLATFORM BAR
═══════════════════════════════════════════════════════════════ */
.cv-platbar {
  position:sticky; top:calc(var(--nav-h) - 1px); z-index:100;
  background:rgba(6,6,16,.93); border-bottom:1px solid var(--border);
  backdrop-filter:blur(16px) saturate(1.3);
}
.cv-platbar-inner {
  display:flex; gap:8px; overflow-x:auto; padding:10px 4%;
  scrollbar-width:none; -ms-overflow-style:none; scroll-behavior:smooth;
}
.cv-platbar-inner::-webkit-scrollbar { display:none; }
.cv-plat-pill {
  display:inline-flex; align-items:center; gap:7px; flex-shrink:0;
  padding:5px 14px 5px 9px; border-radius:24px;
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08);
  font-size:.78rem; font-weight:600; color:rgba(255,255,255,.55);
  transition:all .2s; white-space:nowrap; cursor:pointer;
}
.cv-plat-pill:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.18); color:#fff; }
.cv-plat-all i { font-size:.88rem; }
.cv-plat-abbr {
  width:22px; height:22px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:.62rem; font-weight:900;
}
.cv-plat-img { width:22px; height:22px; border-radius:50%; background:#fff; object-fit:contain; padding:2px; flex-shrink:0; }

/* ═══════════════════════════════════════════════════════════════
   CONTENT SECTIONS
═══════════════════════════════════════════════════════════════ */
.cv-content { padding:6px 0 96px; }
.cv-row-section { margin-bottom:6px; padding-bottom:2px; }
.cv-row-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 4% 12px; gap:8px;
}
.cv-row-title {
  display:flex; align-items:center; gap:10px;
  font-size:clamp(.92rem,2.5vw,1.12rem); font-weight:800;
}
.cv-row-title span {
  width:4px; height:18px; border-radius:2px;
  background:var(--red); display:inline-block; flex-shrink:0;
}
.cv-fire { font-size:1rem; }
.cv-live-dot { font-size:.62rem; font-weight:800; color:#EF4444; letter-spacing:.5px; animation:blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.cv-row-link { font-size:.76rem; font-weight:700; color:rgba(255,255,255,.38); display:flex; align-items:center; gap:4px; transition:color .15s; white-space:nowrap; }
.cv-row-link:hover { color:var(--red); }

/* Horizontal rows */
.cv-row {
  display:flex; gap:10px; padding:2px 4% 14px;
  overflow-x:auto; scrollbar-width:none; -ms-overflow-style:none;
  -webkit-overflow-scrolling:touch;
}
.cv-row::-webkit-scrollbar { display:none; }

/* ── POSTER CARD — Professional Netflix Style ─────────────── */
.cv-card {
  flex-shrink: 0;
  width: 140px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.cv-card:hover { transform: translateY(-4px); }
@media(min-width:480px)  { .cv-card { width: 150px; } }
@media(min-width:768px)  { .cv-card { width: 164px; } }
@media(min-width:1200px) { .cv-card { width: 178px; } }
.cv-grid .cv-card { width: 100%; transition: transform .25s ease; }

/* ── Poster ─────────────────────────────────────────────── */
.cv-card-poster {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #14142a;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.45);
  transition: box-shadow .25s ease, border-radius .25s ease;
}
.cv-card:hover .cv-card-poster {
  box-shadow: 0 14px 40px rgba(0,0,0,.75);
  border-radius: 8px;
}

/* Image zoom on hover */
.cv-card-poster img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.cv-card:hover .cv-card-poster img { transform: scale(1.06); }

/* Dark overlay — hover only */
.cv-card-poster::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,.0) 0%,
    rgba(0,0,0,.0) 40%,
    rgba(0,0,0,.6) 100%
  );
  opacity: 0;
  transition: opacity .25s ease;
}
@media(hover:hover) {
  .cv-card:hover .cv-card-poster::after { opacity: 1; }
}

/* ── Quality badge ───────────────────────────────────────── */
.cv-card-qual {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  font-size: .55rem; font-weight: 900;
  padding: 2px 7px; border-radius: 5px;
  background: rgba(245,166,35,.95); color: #111;
  pointer-events: none;
  letter-spacing: .3px;
}

/* ── Type badge ──────────────────────────────────────────── */
.cv-card-tag {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  font-size: .55rem; font-weight: 900;
  padding: 2px 7px; border-radius: 5px;
  background: rgba(59,130,246,.9); color: #fff;
  pointer-events: none; letter-spacing: .4px;
  text-transform: uppercase;
}

/* ── Bookmark button (top-right on hover, above qual) ─────── */
.cv-wl-btn {
  position: absolute; top: 8px; right: 8px; z-index: 4;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.65);
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(.8) translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, background .15s;
  backdrop-filter: blur(6px);
}
.cv-card-qual ~ .cv-wl-btn,
.cv-wl-btn {
  /* when qual exists, push wl-btn lower */
  top: 44px;
}
@media(hover:hover) {
  .cv-card:hover .cv-wl-btn {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.cv-wl-btn:hover  { background: rgba(229,9,20,.8) !important; border-color: transparent; color:#fff; }
.cv-wl-btn.on     { opacity:1 !important; transform:scale(1) translateY(0) !important; background:rgba(229,9,20,.85) !important; border-color:transparent; color:#fff; }

/* ── Play button — center of poster on hover ─────────────── */
.cv-card-play-ico {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.7);
  z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(229,9,20,.92);
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
@media(hover:hover) {
  .cv-card:hover .cv-card-play-ico {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ── Info link — bottom of poster on hover ───────────────── */
.cv-info-btn {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%) translateY(6px);
  z-index: 4;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
  font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; gap: 4px;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease, background .15s;
  backdrop-filter: blur(6px);
}
@media(hover:hover) {
  .cv-card:hover .cv-info-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.cv-info-btn:hover { background: rgba(255,255,255,.3); color: #fff; }

/* Mobile: show bookmark always, hide info (tap to watch) */
@media(hover:none) {
  .cv-wl-btn {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
    top: 8px !important;
    right: 8px !important;
    width: 26px; height: 26px; font-size: .75rem;
    background: rgba(0,0,0,.55);
    border-color: rgba(255,255,255,.2);
  }
  .cv-card-qual { right: 40px; }
  .cv-card-play-ico { display: none; }
  .cv-info-btn { display: none; }
}

/* Kill all old hover divs */
.cv-card-dim, .cv-card-hov, .cv-card-play,
.cv-card-rat, .cv-card-acts,
.cv-card-hov-title, .cv-card-info,
.cv-card-name-overlay, .cv-card-year-overlay,
.cv-card-rating { display:none !important; }

/* ── Below poster: title + meta ──────────────────────────── */
.cv-card-meta {
  padding: 8px 2px 0;
}
.cv-card-title {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.cv-card-sub {
  font-size: .64rem;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  line-height: 1.4;
}

@media(max-width:380px) {
  .cv-card { width: 118px; }
  .cv-card-title { font-size: .72rem; }
}


/* ── CONTINUE WATCHING ─────────────────────────────────────────── */
.cv-cw-row { gap:10px; }
.cv-cw { flex-shrink:0; width:170px; cursor:pointer; transition:transform .2s; }
.cv-cw:hover { transform:translateY(-3px); }
.cv-cw-img { position:relative; aspect-ratio:16/9; border-radius:var(--r); overflow:hidden; background:var(--card); }
.cv-cw-img img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.cv-cw:hover .cv-cw-img img { transform:scale(1.04); }
.cv-cw-play { position:absolute; inset:0; background:rgba(0,0,0,.38); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .2s; }
.cv-cw:hover .cv-cw-play { opacity:1; }
.cv-cw-play i { font-size:2.2rem; color:#fff; filter:drop-shadow(0 2px 8px rgba(0,0,0,.7)); }
.cv-cw-prog { position:absolute; bottom:0; left:0; right:0; height:3px; background:rgba(255,255,255,.1); }
.cv-cw-prog div { height:100%; background:var(--red); }
.cv-cw-name { font-size:.75rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin:6px 3px 2px; }
.cv-cw-pct  { font-size:.64rem; color:rgba(255,255,255,.3); padding:0 3px; }

/* ── LIVE TV ──────────────────────────────────────────────────── */
.cv-live-row { gap:10px; padding-bottom:14px; }
.cv-live-ch { flex-shrink:0; width:88px; text-align:center; cursor:pointer; transition:transform .2s; }
.cv-live-ch:hover { transform:translateY(-3px); }
.cv-live-logo {
  position:relative; width:58px; height:58px; border-radius:14px; margin:0 auto 7px;
  background:rgba(255,255,255,.05); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  transition:border-color .2s;
}
.cv-live-ch:hover .cv-live-logo { border-color:rgba(229,9,26,.4); }
.cv-live-logo img { width:100%; height:100%; object-fit:contain; padding:5px; }
.cv-live-logo span { font-weight:800; font-size:.78rem; color:rgba(255,255,255,.35); }
.cv-live-badge { position:absolute; top:-3px; right:-3px; font-size:.48rem; font-weight:800; padding:1px 4px; background:#EF4444; color:#fff; border-radius:3px; }
.cv-live-name { font-size:.72rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cv-live-cat  { font-size:.62rem; color:rgba(255,255,255,.28); margin-top:2px; }

/* ── PROMO BANNER ─────────────────────────────────────────────── */
.cv-promo { position:relative; overflow:hidden; margin:16px 4%; border-radius:20px; padding:52px 28px; text-align:center; }
.cv-promo-glow {
  position:absolute; inset:0; border-radius:20px;
  background:linear-gradient(135deg, rgba(229,9,26,.18) 0%, rgba(123,47,190,.18) 50%, rgba(229,9,26,.1) 100%);
  border:1px solid rgba(229,9,26,.14);
}
.cv-promo-glow::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 30% 50%,rgba(229,9,26,.08),transparent 60%), radial-gradient(ellipse at 70% 50%,rgba(123,47,190,.08),transparent 60%); }
.cv-promo-body { position:relative; }
.cv-promo-title { font-family:var(--title); font-size:clamp(2rem,5vw,3.2rem); letter-spacing:2px; margin-bottom:10px; }
.cv-promo-sub { font-size:.9rem; color:rgba(255,255,255,.5); margin-bottom:24px; max-width:400px; margin-left:auto; margin-right:auto; line-height:1.6; }
.cv-promo-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.cv-promo-main { padding:12px 28px; border-radius:7px; background:var(--red); color:#fff; font-weight:700; font-size:.9rem; box-shadow:0 4px 20px rgba(229,9,26,.4); transition:all .18s; }
.cv-promo-main:hover { background:var(--red-h); transform:translateY(-1px); }
.cv-promo-ghost { padding:11px 24px; border-radius:7px; background:rgba(255,255,255,.08); color:#fff; font-weight:600; font-size:.88rem; border:1px solid rgba(255,255,255,.14); transition:all .18s; }
.cv-promo-ghost:hover { background:rgba(255,255,255,.14); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.cv-footer { background:rgba(3,3,12,.98); border-top:1px solid var(--border); padding:48px 0 0; }
.cv-foot-wrap { max-width:1320px; margin:0 auto; padding:0 4%; display:grid; grid-template-columns:1fr; gap:36px; }
@media(min-width:640px) { .cv-foot-wrap { grid-template-columns:1.3fr 1.7fr; } }
.cv-foot-logo { display:flex; align-items:center; gap:9px; font-family:var(--title); font-size:1.5rem; letter-spacing:2px; color:#fff; margin-bottom:14px; }
.cv-foot-brand p { font-size:.82rem; color:rgba(255,255,255,.32); line-height:1.75; margin-bottom:18px; max-width:280px; }
.cv-foot-socials { display:flex; gap:8px; }
.cv-foot-socials a { width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.06); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:.88rem; color:rgba(255,255,255,.38); transition:all .18s; }
.cv-foot-socials a:hover { background:var(--red); border-color:var(--red); color:#fff; }
.cv-foot-nav { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media(max-width:480px) { .cv-foot-nav { grid-template-columns:1fr 1fr; } }
.cv-fn-title { font-size:.68rem; font-weight:700; color:rgba(255,255,255,.28); text-transform:uppercase; letter-spacing:1.1px; margin-bottom:12px; }
.cv-fn-col a { display:block; font-size:.82rem; color:rgba(255,255,255,.38); margin-bottom:9px; transition:color .15s; }
.cv-fn-col a:hover { color:#fff; }
.cv-foot-bottom { max-width:1320px; margin:32px auto 0; padding:16px 4%; border-top:1px solid var(--border); font-size:.75rem; color:rgba(255,255,255,.18); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV BAR
═══════════════════════════════════════════════════════════════ */
.cv-mobnav {
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:300;
  background:rgba(4,4,14,.97); border-top:1px solid var(--border);
  padding:6px 0 max(6px, env(safe-area-inset-bottom));
  backdrop-filter:blur(14px) saturate(1.3);
}
.cv-mn-item {
  flex:1; display:flex; flex-direction:column; align-items:center; gap:2px;
  padding:3px 6px; color:rgba(255,255,255,.38); font-size:.58rem; font-weight:600;
  transition:color .15s; cursor:pointer;
}
.cv-mn-item i { font-size:1.28rem; }
.cv-mn-item.active, .cv-mn-item:hover { color:var(--red); }

/* ═══════════════════════════════════════════════════════════════
   TOASTS
═══════════════════════════════════════════════════════════════ */
.cv-toasts { position:fixed; bottom:76px; right:12px; z-index:9999; display:flex; flex-direction:column; gap:7px; max-width:calc(100vw - 24px); }
@media(min-width:600px) { .cv-toasts { bottom:22px; right:20px; max-width:330px; } }
.cv-toast { display:flex; align-items:center; gap:9px; padding:11px 13px; background:rgba(10,10,24,.98); border:1px solid var(--border); border-radius:8px; font-size:.82rem; opacity:0; transform:translateX(14px); transition:.26s var(--ease); box-shadow:0 6px 24px rgba(0,0,0,.55); }
.cv-toast.show { opacity:1; transform:none; }
.cv-t-s { border-left:3px solid var(--green); }
.cv-t-e { border-left:3px solid var(--red); }
.cv-t-i { border-left:3px solid #3b82f6; }
.cv-toast i { font-size:.9rem; flex-shrink:0; }
.cv-toast span { flex:1; line-height:1.4; }
.cv-toast button { background:none; border:none; color:var(--muted); cursor:pointer; font-size:.9rem; flex-shrink:0; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media(max-width:768px) {
  .cv-nav { padding-left:16px; padding-right:16px; }
  /* Ensure pages clear fixed navbar on all mobile devices */
  .cv-page,
  .cv-page-top {
    padding-top: calc(var(--nav-h, 60px) + 14px + env(safe-area-inset-top, 0px)) !important;
  }
  .live-layout {
    padding-top: calc(var(--nav-h, 60px) + 14px + env(safe-area-inset-top, 0px)) !important;
  }
  .user-layout {
    padding-top: calc(var(--nav-h, 60px) + 14px + env(safe-area-inset-top, 0px)) !important;
  }
  .cv-nav-menu { display:none; flex-direction:column; position:fixed; top:var(--nav-h); left:0; right:0; background:rgba(4,4,14,.99); backdrop-filter:blur(20px); padding:8px 0 20px; border-bottom:1px solid var(--border); gap:0; z-index:399; }
  .cv-nav-menu.open { display:flex; }
  .cv-nav-menu .cv-nav-link { padding:12px 22px; line-height:1.4; font-size:.92rem; }
  .cv-burger { display:flex; }
  .cv-nav-ghost { display:none; }
  .cv-mobnav { display:flex; }
  .cv-hero { height:70vh; min-height:360px; max-height:600px; }
  .cv-hero-content { bottom:8%; left:0; right:0; padding:0 18px; }
  .cv-hero-overlay { background: linear-gradient(0deg,rgba(6,6,16,1) 0%,rgba(6,6,16,.5) 38%,rgba(6,6,16,.15) 65%,rgba(6,6,16,.05) 100%); }
  .cv-hero-title { font-size:clamp(2rem,9vw,3.4rem); }
  .cv-hero-desc { display:none; }
  .cv-hero-arrow { display:none; }
  .cv-hero-more-btn { display:none; }
  .cv-hero-play-btn { padding:11px 22px; font-size:.9rem; }
  .cv-promo { margin:12px 12px; border-radius:14px; padding:36px 18px; }
  .cv-row-head { padding:14px 16px 10px; }
  .cv-row { padding:2px 16px 12px; gap:8px; }
  .cv-content { padding-bottom:86px; }
}
@media(max-width:400px) {
  .cv-card { width:118px; }
  .cv-cw   { width:150px; }
  .cv-hero { height:62vh; min-height:320px; }
  .cv-hero-title { font-size:clamp(1.9rem,10vw,3rem); }
  .cv-plat-pill { padding:4px 10px 4px 7px; font-size:.72rem; }
}


/* ================================================================
   Inner Pages Extensions
================================================================ */

/* ================================================================
   CineVault — Inner Pages CSS (extends cv-main.css design system)
   All pages: movies, series, search, detail, watch, live-tv,
   login, register, pricing, profile, etc.
================================================================ */
/* Import base design system */

/* ── LAYOUT HELPERS ──────────────────────────────────────── */
.cv-page {
  /* Hardcoded fallback first, then CSS var override */
  padding-top: 80px;
  padding-top: calc(var(--nav-h, 60px) + 16px);
  padding-top: calc(var(--nav-h, 60px) + 16px + env(safe-area-inset-top, 0px));
  min-height: 100vh;
  padding-bottom: 90px;
}
.cv-page-top { padding-top: calc(var(--nav-h, 60px) + 24px); }
.cv-wrap { max-width: 1400px; margin: 0 auto; padding: 0 16px; }
@media(min-width:600px){ .cv-wrap { padding: 0 24px; } }
@media(min-width:1200px){ .cv-wrap { padding: 0 40px; } }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.cv-breadcrumb { display:flex; align-items:center; gap:6px; font-size:.78rem; color:rgba(255,255,255,.35); margin-bottom:20px; flex-wrap:wrap; }
.cv-breadcrumb a:hover { color:#fff; }
.cv-breadcrumb i { font-size:.8rem; }

/* ── PAGE TITLE / FILTER ROW ─────────────────────────────── */
.cv-page-hd { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:20px; flex-wrap:wrap; }
.cv-page-title { font-family:var(--title,'Bebas Neue',cursive); font-size:clamp(1.6rem,5vw,2.8rem); letter-spacing:1.5px; color:#fff; }
.cv-page-title span { color:var(--red,#e5091a); }
.cv-count-badge { font-size:.78rem; color:rgba(255,255,255,.35); font-family:var(--sans,'Outfit',sans-serif); font-weight:500; margin-top:2px; }

/* ── FILTER BAR ──────────────────────────────────────────── */
.cv-filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px; padding:12px 14px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); border-radius:12px; align-items:center; }
.cv-filter-search { position:relative; flex:1; min-width:160px; }
.cv-filter-search i { position:absolute; left:10px; top:50%; transform:translateY(-50%); color:rgba(255,255,255,.35); pointer-events:none; }
.cv-filter-search input { width:100%; padding:8px 10px 8px 32px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius:8px; color:#fff; font-family:inherit; font-size:.84rem; outline:none; transition:border-color .18s; }
.cv-filter-search input:focus { border-color:var(--red,#e5091a); }
.cv-filter-select { padding:8px 28px 8px 12px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius:8px; color:#fff; font-family:inherit; font-size:.82rem; outline:none; cursor:pointer; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5z' fill='%23888'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 9px center; transition:border-color .18s; }
.cv-filter-select:focus { border-color:var(--red,#e5091a); }
.cv-filter-btn { padding:8px 16px; border-radius:8px; font-size:.82rem; font-weight:600; cursor:pointer; transition:all .18s; border:1px solid transparent; white-space:nowrap; }
.cv-filter-btn-apply { background:var(--red,#e5091a); color:#fff; }
.cv-filter-btn-apply:hover { background:#ff1f2d; }
.cv-filter-btn-reset { background:rgba(255,255,255,.06); color:rgba(255,255,255,.5); border-color:rgba(255,255,255,.08); }
.cv-filter-btn-reset:hover { color:#fff; background:rgba(255,255,255,.1); }

/* ── CONTENT GRID ────────────────────────────────────────── */
.cv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media(min-width:380px)  { .cv-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width:600px)  { .cv-grid { grid-template-columns: repeat(4,1fr); gap:14px; } }
@media(min-width:900px)  { .cv-grid { grid-template-columns: repeat(5,1fr); } }
@media(min-width:1200px) { .cv-grid { grid-template-columns: repeat(6,1fr); } }
@media(min-width:1400px) { .cv-grid { grid-template-columns: repeat(7,1fr); } }
.cv-grid .cv-card { width: 100%; } }
@media(min-width:640px)  { .cv-grid { grid-template-columns:repeat(4,1fr); gap:14px; } }
@media(min-width:900px)  { .cv-grid { grid-template-columns:repeat(5,1fr); } }
@media(min-width:1200px) { .cv-grid { grid-template-columns:repeat(6,1fr); } }
@media(min-width:1400px) { .cv-grid { grid-template-columns:repeat(7,1fr); } }

/* ── GRID CARDS ─────────────────────────────────────────── */
/* Uses cv-main.css .cv-card styles */

/* ── PAGINATION ──────────────────────────────────────────── */
.cv-pagination { display:flex; justify-content:center; gap:6px; padding:32px 0; flex-wrap:wrap; }
.cv-pag-btn { min-width:38px; height:38px; padding:0 10px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius:8px; font-size:.84rem; font-weight:600; color:rgba(255,255,255,.5); cursor:pointer; transition:all .18s; text-decoration:none; }
.cv-pag-btn:hover { border-color:var(--red,#e5091a); color:var(--red,#e5091a); }
.cv-pag-btn.active { background:var(--red,#e5091a); border-color:var(--red,#e5091a); color:#fff; }

/* ── EMPTY STATE ─────────────────────────────────────────── */
.cv-empty { text-align:center; padding:80px 20px; color:rgba(255,255,255,.3); }
.cv-empty i { font-size:3.5rem; display:block; margin-bottom:14px; opacity:.35; }
.cv-empty h3 { font-size:1rem; font-weight:700; margin-bottom:8px; color:rgba(255,255,255,.5); }
.cv-empty p { font-size:.85rem; }

/* ════════════════════════════════════════════════════════════
   WATCH PAGE
════════════════════════════════════════════════════════════ */
.watch-page { padding-top:var(--nav-h,60px); background:var(--bg,#060610); min-height:100vh; }

/* Player container */
.watch-player-wrap { background:#000; }
.watch-player-box { position:relative; width:100%; aspect-ratio:16/9; max-height:calc(100vh - var(--nav-h,60px) - 60px); background:#000; overflow:hidden; }
@media(max-width:640px){ .watch-player-box { aspect-ratio:16/9; max-height:56vw; } }

/* Watch layout: player + sidebar */
.watch-layout { display:grid; grid-template-columns:1fr; gap:0; max-width:1600px; margin:0 auto; }
@media(min-width:1024px){ .watch-layout { grid-template-columns:1fr 340px; align-items:start; } }
@media(min-width:1280px){ .watch-layout { grid-template-columns:1fr 380px; } }

/* Player info below */
.watch-info { padding:14px 16px 0; }
@media(min-width:600px){ .watch-info { padding:18px 24px 0; } }
.watch-title { font-size:clamp(1rem,3vw,1.4rem); font-weight:800; margin-bottom:8px; line-height:1.2; }
.watch-meta { display:flex; gap:12px; flex-wrap:wrap; align-items:center; font-size:.8rem; color:rgba(255,255,255,.45); margin-bottom:12px; }
.watch-meta span { display:flex; align-items:center; gap:4px; }
.watch-meta i { font-size:.88rem; }
.watch-rating { color:var(--gold,#f5a623) !important; font-weight:700 !important; }
.watch-platform-tag { padding:2px 8px; border-radius:4px; font-size:.72rem; font-weight:700; }
.watch-actions { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.watch-action-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:8px; font-size:.8rem; font-weight:600; cursor:pointer; transition:all .18s; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.06); color:rgba(255,255,255,.7); }
.watch-action-btn:hover { background:rgba(255,255,255,.12); color:#fff; }
.watch-action-btn.active { background:rgba(229,9,26,.15); border-color:var(--red,#e5091a); color:var(--red,#e5091a); }

/* Source & subtitle selectors */
.watch-sources { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.watch-sources-label { font-size:.72rem; font-weight:700; color:rgba(255,255,255,.3); text-transform:uppercase; letter-spacing:.8px; }
.source-btn { padding:5px 12px; border-radius:6px; font-size:.75rem; font-weight:600; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.55); cursor:pointer; transition:all .18s; }
.source-btn:hover { background:rgba(255,255,255,.12); color:#fff; }
.source-btn.active { background:var(--red,#e5091a); border-color:var(--red,#e5091a); color:#fff; }

/* Description */
.watch-desc { padding:14px 16px; background:rgba(255,255,255,.025); border-top:1px solid rgba(255,255,255,.07); margin-top:8px; }
.watch-desc-title { font-size:.82rem; font-weight:700; color:rgba(255,255,255,.4); text-transform:uppercase; letter-spacing:.8px; margin-bottom:8px; }
.watch-desc p { font-size:.86rem; color:rgba(255,255,255,.5); line-height:1.75; }
@media(min-width:600px){ .watch-desc { padding:16px 24px; } }

/* Episodes sidebar */
.watch-sidebar { background:rgba(255,255,255,.02); border-left:1px solid rgba(255,255,255,.07); max-height:calc(100vh - var(--nav-h,60px)); position:sticky; top:var(--nav-h,60px); overflow-y:auto; }
@media(max-width:1023px){ .watch-sidebar { border-left:none; border-top:1px solid rgba(255,255,255,.07); max-height:none; position:static; } }
.watch-sidebar::-webkit-scrollbar { width:3px; }
.watch-sidebar::-webkit-scrollbar-thumb { background:rgba(229,9,26,.3); }
.episodes-panel-head { padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.07); display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; background:rgba(6,6,16,.97); z-index:2; backdrop-filter:blur(10px); }
.episodes-panel-title { font-size:.88rem; font-weight:800; display:flex; align-items:center; gap:6px; }
.episodes-panel-title i { color:var(--red,#e5091a); }
.season-tabs { display:flex; gap:6px; padding:10px 14px; overflow-x:auto; scrollbar-width:none; flex-wrap:nowrap; }
.season-tabs::-webkit-scrollbar { display:none; }
.season-tab { padding:5px 12px; border-radius:6px; font-size:.76rem; font-weight:600; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.5); cursor:pointer; transition:all .18s; flex-shrink:0; }
.season-tab.active { background:var(--red,#e5091a); border-color:var(--red,#e5091a); color:#fff; }
.episodes-list { padding:8px; }
.episode-item { display:flex; gap:10px; padding:8px; border-radius:8px; cursor:pointer; transition:background .18s; }
.episode-item:hover { background:rgba(255,255,255,.05); }
.episode-item.active { background:rgba(229,9,26,.1); border:1px solid rgba(229,9,26,.2); }
.ep-thumb { width:90px; min-width:90px; aspect-ratio:16/9; border-radius:6px; overflow:hidden; background:rgba(255,255,255,.06); flex-shrink:0; }
@media(max-width:400px){ .ep-thumb { width:72px; min-width:72px; } }
.ep-thumb img { width:100%; height:100%; object-fit:cover; }
.ep-info { flex:1; min-width:0; }
.ep-num { font-size:.65rem; font-weight:700; color:rgba(255,255,255,.3); text-transform:uppercase; letter-spacing:.5px; }
.ep-title { font-size:.8rem; font-weight:600; line-height:1.3; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin:2px 0; }
.ep-dur { font-size:.68rem; color:rgba(255,255,255,.3); }

/* ════════════════════════════════════════════════════════════
   SEARCH PAGE
════════════════════════════════════════════════════════════ */
.search-hero { background:linear-gradient(180deg,rgba(6,6,16,0) 0%,var(--bg,#060610) 100%),radial-gradient(ellipse at 50% 0%,rgba(229,9,26,.12) 0%,transparent 60%); padding:40px 0 24px; }
.search-hero-field { position:relative; max-width:720px; display:flex; align-items:center; background:rgba(255,255,255,.07); border:2px solid rgba(229,9,26,.3); border-radius:50px; overflow:hidden; transition:border-color .2s; }
.search-hero-field:focus-within { border-color:var(--red,#e5091a); }
.search-hero-field > i { flex-shrink:0; padding:0 16px; font-size:1.2rem; color:rgba(255,255,255,.35); pointer-events:none; }
.search-hero-field input { flex:1; padding:14px 0; background:none; border:none; color:#fff; font-family:inherit; font-size:1rem; outline:none; min-width:0; }
.search-hero-field input::placeholder { color:rgba(255,255,255,.2); }
.search-hero-btn { padding:0 20px; height:100%; background:var(--red,#e5091a); color:#fff; font-weight:700; font-size:.88rem; border:none; cursor:pointer; display:flex; align-items:center; gap:6px; flex-shrink:0; transition:background .18s; }
.search-hero-btn:hover { background:#ff1f2d; }
.search-type-tabs { display:flex; gap:8px; margin:16px 0 24px; flex-wrap:wrap; }
.search-type-tab { padding:6px 16px; border-radius:20px; font-size:.82rem; font-weight:600; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.09); color:rgba(255,255,255,.5); cursor:pointer; transition:all .18s; text-decoration:none; }
.search-type-tab:hover { color:#fff; }
.search-type-tab.active { background:var(--red,#e5091a); border-color:var(--red,#e5091a); color:#fff; }
.search-query-title { font-size:clamp(.9rem,2vw,1.1rem); color:rgba(255,255,255,.5); margin-bottom:20px; }
.search-query-title strong { color:#fff; font-weight:800; }

/* ════════════════════════════════════════════════════════════
   DETAIL PAGE
════════════════════════════════════════════════════════════ */
.detail-hero { position:relative; min-height:420px; overflow:hidden; }
@media(min-width:768px){ .detail-hero { min-height:520px; } }
.detail-backdrop { position:absolute; inset:0; background-size:cover; background-position:center 20%; }
.detail-backdrop-fade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(6,6,16,.98) 0%,rgba(6,6,16,.7) 50%,rgba(6,6,16,.2) 100%),linear-gradient(0deg,rgba(6,6,16,1) 0%,transparent 50%); }
.detail-content { position:relative; display:flex; align-items:flex-end; gap:24px; padding:80px 0 32px; flex-wrap:wrap; }
.detail-poster { width:140px; min-width:140px; aspect-ratio:2/3; border-radius:12px; overflow:hidden; box-shadow:0 8px 32px rgba(0,0,0,.6); flex-shrink:0; }
@media(min-width:480px){ .detail-poster { width:160px; min-width:160px; } }
@media(min-width:768px){ .detail-poster { width:200px; min-width:200px; } }
.detail-info { flex:1; min-width:220px; }
.detail-badges { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; align-items:center; }
.detail-badge { font-size:.68rem; font-weight:800; padding:3px 10px; border-radius:5px; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.08); text-transform:uppercase; letter-spacing:.5px; }
.detail-plat-badge { padding:3px 10px; border-radius:5px; font-size:.68rem; font-weight:800; border:1px solid; text-transform:uppercase; letter-spacing:.5px; }
.detail-title { font-family:var(--title,'Bebas Neue',cursive); font-size:clamp(2rem,6vw,4rem); letter-spacing:1px; line-height:.95; color:#fff; margin-bottom:10px; }
.detail-rating { display:flex; align-items:center; gap:14px; margin-bottom:14px; flex-wrap:wrap; }
.detail-stars { display:flex; align-items:center; gap:4px; font-size:1rem; color:var(--gold,#f5a623); font-weight:800; }
.detail-stars i { font-size:1.1rem; }
.detail-rating-count { font-size:.78rem; color:rgba(255,255,255,.35); }
.detail-meta { display:flex; gap:16px; flex-wrap:wrap; font-size:.82rem; color:rgba(255,255,255,.45); margin-bottom:16px; }
.detail-meta span { display:flex; align-items:center; gap:5px; }
.detail-desc { font-size:.88rem; color:rgba(255,255,255,.55); line-height:1.75; margin-bottom:18px; max-width:620px; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; }
.detail-btns { display:flex; gap:10px; flex-wrap:wrap; }
.detail-play-btn { display:inline-flex; align-items:center; gap:8px; padding:12px 24px; border-radius:8px; background:var(--red,#e5091a); color:#fff; font-weight:700; font-size:.9rem; transition:all .18s; box-shadow:0 4px 20px rgba(229,9,26,.4); }
.detail-play-btn:hover { background:#ff1f2d; transform:translateY(-1px); }
.detail-wl-btn { display:inline-flex; align-items:center; gap:8px; padding:11px 20px; border-radius:8px; background:rgba(255,255,255,.1); color:#fff; font-weight:600; font-size:.88rem; border:1px solid rgba(255,255,255,.18); transition:all .18s; cursor:pointer; }
.detail-wl-btn:hover { background:rgba(255,255,255,.18); }
.detail-wl-btn.active { background:rgba(229,9,26,.15); border-color:var(--red,#e5091a); color:var(--red,#e5091a); }

/* Cast */
.detail-section { margin-bottom:28px; }
.detail-section-title { font-size:.82rem; font-weight:700; color:rgba(255,255,255,.3); text-transform:uppercase; letter-spacing:1px; margin-bottom:14px; }
.cast-row { display:flex; gap:12px; overflow-x:auto; padding-bottom:8px; scrollbar-width:none; }
.cast-row::-webkit-scrollbar { display:none; }
.cast-card { flex-shrink:0; width:80px; text-align:center; }
.cast-img { width:64px; height:64px; border-radius:50%; margin:0 auto 7px; background:rgba(255,255,255,.07); overflow:hidden; border:2px solid rgba(255,255,255,.1); }
.cast-img img { width:100%; height:100%; object-fit:cover; }
.cast-name { font-size:.68rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cast-role { font-size:.62rem; color:rgba(255,255,255,.3); }

/* Reviews */
.review-card { padding:14px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); border-radius:10px; margin-bottom:10px; }
.review-head { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.review-avatar { width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,var(--red,#e5091a),var(--purple,#7b2fbe)); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.78rem; color:#fff; flex-shrink:0; }
.review-user { font-weight:700; font-size:.84rem; }
.review-date { font-size:.7rem; color:rgba(255,255,255,.3); }
.review-stars { color:var(--gold,#f5a623); font-size:.78rem; margin-left:auto; }
.review-text { font-size:.84rem; color:rgba(255,255,255,.5); line-height:1.7; }

/* ════════════════════════════════════════════════════════════
   LIVE TV PAGE
════════════════════════════════════════════════════════════ */
.live-layout { display:grid; grid-template-columns:1fr; gap:16px; padding-top:calc(var(--nav-h,60px)+16px + env(safe-area-inset-top,0px)); max-width:1400px; margin:0 auto; padding-left:16px; padding-right:16px; }
@media(min-width:900px){ .live-layout { grid-template-columns:300px 1fr; align-items:start; } }
@media(min-width:1100px){ .live-layout { grid-template-columns:340px 1fr; } }
.live-channels-panel { background:rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.07); border-radius:14px; overflow:hidden; }
.live-channels-head { padding:14px; border-bottom:1px solid rgba(255,255,255,.07); }
.live-channels-title { font-weight:800; font-size:.92rem; margin-bottom:10px; display:flex; align-items:center; gap:6px; }
.live-channels-title i { color:var(--red,#e5091a); }
.live-channel-search { position:relative; }
.live-channel-search i { position:absolute; left:9px; top:50%; transform:translateY(-50%); color:rgba(255,255,255,.3); pointer-events:none; font-size:.88rem; }
.live-channel-search input { width:100%; padding:7px 9px 7px 30px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); border-radius:7px; color:#fff; font-family:inherit; font-size:.82rem; outline:none; }
.live-channels-list { max-height:calc(100vh - 200px); overflow-y:auto; scrollbar-width:thin; scrollbar-color:rgba(229,9,26,.2) transparent; }
@media(max-width:899px){ .live-channels-list { max-height:260px; } }
.live-channel-item { display:flex; align-items:center; gap:12px; padding:10px 14px; cursor:pointer; transition:background .15s; border-bottom:1px solid rgba(255,255,255,.04); }
.live-channel-item:last-child { border-bottom:none; }
.live-channel-item:hover { background:rgba(255,255,255,.04); }
.live-channel-item.active { background:rgba(229,9,26,.08); border-left:3px solid var(--red,#e5091a); }
.live-ch-logo { width:40px; height:40px; border-radius:10px; flex-shrink:0; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.live-ch-logo img { width:100%; height:100%; object-fit:contain; padding:3px; }
.live-ch-logo span { font-weight:800; font-size:.7rem; color:rgba(255,255,255,.35); }
.live-ch-info { flex:1; min-width:0; }
.live-ch-name { font-size:.84rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.live-ch-cat  { font-size:.7rem; color:rgba(255,255,255,.3); }
.live-ch-type { font-size:.62rem; font-weight:700; padding:1px 6px; border-radius:4px; }
.live-player-panel { }
.live-player-wrap { background:#000; border-radius:12px; overflow:hidden; aspect-ratio:16/9; position:relative; }
.live-player-wrap iframe,.live-player-wrap video { width:100%; height:100%; }
.live-player-info { padding:14px 0; }
.live-player-name { font-size:clamp(1rem,3vw,1.4rem); font-weight:800; margin-bottom:6px; display:flex; align-items:center; gap:10px; }
.live-dot { width:8px; height:8px; border-radius:50%; background:#EF4444; flex-shrink:0; box-shadow:0 0 8px #EF4444; animation:livepulse 1.5s infinite; }
@keyframes livepulse{ 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.live-meta { display:flex; gap:12px; font-size:.8rem; color:rgba(255,255,255,.4); margin-bottom:10px; }

/* ════════════════════════════════════════════════════════════
   AUTH PAGES (login, register, forgot-password)
════════════════════════════════════════════════════════════ */
.auth-page { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:80px 16px 40px; background:radial-gradient(ellipse at 50% 0%,rgba(229,9,26,.1),transparent 60%); }
.auth-card { width:100%; max-width:420px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); border-radius:20px; padding:32px 24px; }
@media(min-width:480px){ .auth-card { padding:40px 36px; } }
.auth-logo { text-align:center; margin-bottom:28px; }
.auth-logo-icon { width:48px; height:48px; border-radius:12px; background:var(--red,#e5091a); display:inline-flex; align-items:center; justify-content:center; font-size:1.5rem; color:#fff; margin-bottom:10px; box-shadow:0 4px 20px rgba(229,9,26,.4); }
.auth-logo-name { font-family:var(--title,'Bebas Neue',cursive); font-size:1.8rem; letter-spacing:2px; }
.auth-title { font-size:1.3rem; font-weight:800; margin-bottom:6px; }
.auth-sub { font-size:.84rem; color:rgba(255,255,255,.4); margin-bottom:24px; }
.auth-form-group { margin-bottom:14px; }
.auth-label { display:block; font-size:.75rem; font-weight:700; color:rgba(255,255,255,.4); text-transform:uppercase; letter-spacing:.8px; margin-bottom:6px; }
.auth-input { width:100%; padding:11px 14px; background:rgba(255,255,255,.06); border:1.5px solid rgba(255,255,255,.09); border-radius:9px; color:#fff; font-family:inherit; font-size:.9rem; outline:none; transition:border-color .18s; }
.auth-input:focus { border-color:var(--red,#e5091a); }
.auth-input.has-icon { padding-left:38px; }
.auth-input-wrap { position:relative; }
.auth-input-wrap i { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:rgba(255,255,255,.3); pointer-events:none; }
.auth-input-wrap .auth-eye { pointer-events:all; cursor:pointer; right:12px; left:auto; }
.auth-submit { width:100%; padding:12px; border-radius:9px; background:var(--red,#e5091a); color:#fff; font-weight:800; font-size:.92rem; cursor:pointer; transition:all .18s; border:none; margin-top:6px; box-shadow:0 4px 16px rgba(229,9,26,.35); }
.auth-submit:hover { background:#ff1f2d; transform:translateY(-1px); }
.auth-submit:disabled { opacity:.6; cursor:not-allowed; transform:none; }
.auth-divider { display:flex; align-items:center; gap:12px; margin:18px 0; }
.auth-divider::before,.auth-divider::after { content:''; flex:1; height:1px; background:rgba(255,255,255,.08); }
.auth-divider span { font-size:.76rem; color:rgba(255,255,255,.3); }
.auth-link { color:var(--red,#e5091a); font-weight:600; }
.auth-link:hover { text-decoration:underline; }
.auth-check { display:flex; align-items:center; gap:8px; font-size:.84rem; color:rgba(255,255,255,.55); cursor:pointer; }
.auth-check input { accent-color:var(--red,#e5091a); }
.auth-alert { padding:10px 14px; border-radius:8px; font-size:.84rem; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.auth-alert-error { background:rgba(229,9,26,.08); border:1px solid rgba(229,9,26,.2); color:#ff6b6b; }
.auth-alert-success { background:rgba(16,185,129,.08); border:1px solid rgba(16,185,129,.2); color:#34d399; }

/* ════════════════════════════════════════════════════════════
   PRICING PAGE
════════════════════════════════════════════════════════════ */
.pricing-grid { display:grid; grid-template-columns:1fr; gap:16px; max-width:960px; margin:0 auto; }
@media(min-width:500px){ .pricing-grid { grid-template-columns:repeat(2,1fr); } }
@media(min-width:800px){ .pricing-grid { grid-template-columns:repeat(3,1fr); } }
.pricing-card { background:rgba(255,255,255,.03); border:1.5px solid rgba(255,255,255,.08); border-radius:16px; padding:24px 20px; position:relative; transition:transform .2s,border-color .2s; }
.pricing-card:hover { transform:translateY(-3px); border-color:rgba(255,255,255,.14); }
.pricing-card.popular { border-color:var(--red,#e5091a); background:rgba(229,9,26,.04); }
.pricing-popular-tag { position:absolute; top:-1px; left:50%; transform:translateX(-50%); background:var(--red,#e5091a); color:#fff; font-size:.65rem; font-weight:800; padding:3px 14px; border-radius:0 0 8px 8px; white-space:nowrap; }
.pricing-name { font-size:1rem; font-weight:800; margin-bottom:4px; }
.pricing-price { font-family:var(--title,'Bebas Neue',cursive); font-size:2.8rem; line-height:1; margin:14px 0 4px; }
.pricing-price span { font-family:var(--sans,'Outfit',sans-serif); font-size:1rem; font-weight:400; color:rgba(255,255,255,.4); }
.pricing-period { font-size:.78rem; color:rgba(255,255,255,.35); margin-bottom:18px; }
.pricing-features { list-style:none; margin-bottom:20px; display:flex; flex-direction:column; gap:8px; }
.pricing-features li { font-size:.83rem; color:rgba(255,255,255,.6); display:flex; align-items:center; gap:8px; }
.pricing-features i { font-size:.9rem; flex-shrink:0; }
.pricing-btn { display:block; width:100%; padding:11px; border-radius:8px; text-align:center; font-weight:700; font-size:.88rem; transition:all .18s; }
.pricing-btn-red { background:var(--red,#e5091a); color:#fff; }
.pricing-btn-red:hover { background:#ff1f2d; }
.pricing-btn-ghost { background:rgba(255,255,255,.07); color:#fff; border:1px solid rgba(255,255,255,.12); }
.pricing-btn-ghost:hover { background:rgba(255,255,255,.12); }

/* ════════════════════════════════════════════════════════════
   USER PAGES
════════════════════════════════════════════════════════════ */
.user-layout { display:grid; grid-template-columns:1fr; gap:20px; padding-top:calc(var(--nav-h,60px)+16px + env(safe-area-inset-top,0px)); padding-bottom:90px; max-width:1200px; margin:0 auto; padding-left:16px; padding-right:16px; }
@media(min-width:900px){ .user-layout { grid-template-columns:220px 1fr; padding-left:24px; padding-right:24px; } }
.user-sidebar { }
.user-sidebar-card { background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); border-radius:14px; overflow:hidden; }
.user-nav-item { display:flex; align-items:center; gap:10px; padding:11px 16px; font-size:.84rem; font-weight:500; color:rgba(255,255,255,.5); transition:all .15s; border-bottom:1px solid rgba(255,255,255,.04); }
.user-nav-item:hover { background:rgba(255,255,255,.04); color:#fff; }
.user-nav-item.active { background:rgba(229,9,26,.08); color:var(--red,#e5091a); font-weight:700; border-left:3px solid var(--red,#e5091a); }
.user-nav-item i { font-size:1rem; width:18px; text-align:center; }
.user-content-card { background:rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.07); border-radius:14px; padding:20px 16px; }
@media(min-width:600px){ .user-content-card { padding:24px 22px; } }
.user-card-title { font-size:1rem; font-weight:800; margin-bottom:18px; display:flex; align-items:center; gap:8px; }
.user-card-title i { color:var(--red,#e5091a); }

/* ════════════════════════════════════════════════════════════
   MISC COMPONENTS
════════════════════════════════════════════════════════════ */
.cv-alert { padding:12px 16px; border-radius:9px; font-size:.86rem; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.cv-alert-success { background:rgba(16,185,129,.07); border:1px solid rgba(16,185,129,.18); color:#34d399; }
.cv-alert-error   { background:rgba(229,9,26,.07); border:1px solid rgba(229,9,26,.18); color:#ff6b6b; }
.cv-alert-warning { background:rgba(245,166,35,.07); border:1px solid rgba(245,166,35,.18); color:#f5a623; }
.cv-alert-info    { background:rgba(59,130,246,.07); border:1px solid rgba(59,130,246,.18); color:#60a5fa; }

/* Plyr custom */
.plyr--video .plyr__control--overlaid { background:rgba(229,9,26,.85) !important; }
.plyr--full-ui input[type=range] { color:var(--red,#e5091a) !important; }
.plyr__control:hover { background:rgba(229,9,26,.85) !important; }
.plyr { border-radius:0; }

/* Form controls (generic) */
.form-control { background:rgba(255,255,255,.06); border:1.5px solid rgba(255,255,255,.09); border-radius:8px; color:#fff; font-family:inherit; font-size:.88rem; padding:9px 12px; outline:none; width:100%; transition:border-color .18s; }
.form-control:focus { border-color:var(--red,#e5091a); }
select.form-control { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5z' fill='%23888'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; padding-right:28px; cursor:pointer; }
textarea.form-control { resize:vertical; min-height:90px; }

/* Buttons */
.btn-cv-red { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:10px 20px; border-radius:8px; background:var(--red,#e5091a); color:#fff; font-weight:700; font-size:.86rem; cursor:pointer; transition:all .18s; border:none; }
.btn-cv-red:hover { background:#ff1f2d; transform:translateY(-1px); }
.btn-cv-ghost { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:9px 18px; border-radius:8px; background:rgba(255,255,255,.07); color:#fff; font-weight:600; font-size:.86rem; cursor:pointer; transition:all .18s; border:1px solid rgba(255,255,255,.12); }
.btn-cv-ghost:hover { background:rgba(255,255,255,.13); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE TWEAKS
════════════════════════════════════════════════════════════ */
@media(max-width:768px){
  .cv-page {
    padding-top: calc(var(--nav-h,60px) + 14px + env(safe-area-inset-top,0px));
    padding-bottom: 90px;
  }
}
@media(max-width:640px){
  .cv-page {
    padding-top: 76px;
    padding-top: calc(var(--nav-h,60px) + 14px);
    padding-top: calc(var(--nav-h,60px) + 14px + env(safe-area-inset-top,0px));
    padding-bottom: 90px;
  }
  .detail-content { padding:70px 0 20px; }
  .detail-poster { width:110px; min-width:110px; }
  .detail-title { font-size:clamp(1.8rem,8vw,2.8rem); }
  .live-layout { padding-top:calc(var(--nav-h,60px)+12px + env(safe-area-inset-top,0px)); }
  .search-hero { padding:24px 0 16px; }
}


/* ─────────────────────────────────────────────────────────
   AUTH PAGES — login.php / register.php
───────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px 40px;
  background: #060610;
  background-image: radial-gradient(ellipse at 50% -10%, rgba(229,9,26,.18) 0%, transparent 55%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 32px 22px;
}
@media(min-width:480px) { .auth-card { padding: 40px 36px; } }

/* Logo link */
.auth-logo {
  display: block;
  text-align: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  letter-spacing: 3px;
  color: #E50914;
  text-decoration: none;
  margin-bottom: 6px;
}
.auth-subtitle {
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: .86rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Alert messages */
.alert-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: .84rem;
  margin-bottom: 16px;
  line-height: 1.4;
}
.alert-msg.alert-error,
.alert-error {
  background: rgba(229,9,26,.09);
  border: 1px solid rgba(229,9,26,.25);
  color: #ff7070;
}
.alert-msg.alert-success,
.alert-success {
  background: rgba(16,185,129,.09);
  border: 1px solid rgba(16,185,129,.25);
  color: #4ade80;
}

/* Form elements */
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .9px;
  margin-bottom: 7px;
}
.form-input-wrap {
  position: relative;
}
.form-input-wrap > i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.3);
  pointer-events: none;
  font-size: 1rem;
}
.form-input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.09);
  border-radius: 10px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .18s, background .18s;
}
.form-input-wrap input:focus {
  border-color: #E50914;
  background: rgba(255,255,255,.08);
}
.form-input-wrap input::placeholder {
  color: rgba(255,255,255,.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .86rem;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
  line-height: 1;
  padding: 11px 22px;   /* default size (matches watchlist) */
  white-space: nowrap;
  box-sizing: border-box;
}
.btn i { font-size: 1rem; }

/* Sizes */
.btn-xs  { padding: 5px 12px; font-size: .72rem; border-radius: 7px; }
.btn-xs i{ font-size: .8rem; }
.btn-sm  { padding: 8px 16px; font-size: .8rem; }
.btn-sm i{ font-size: .9rem; }
.btn-md  { padding: 11px 22px; font-size: .86rem; }   /* default */
.btn-lg  { padding: 13px 26px; font-size: .94rem; }
.btn-lg i{ font-size: 1.1rem; }
.btn-block { width: 100%; }

/* Primary — red */
.btn-primary {
  background: #E50914;
  color: #fff;
  box-shadow: 0 4px 18px rgba(229,9,26,.3);
}
.btn-primary:hover {
  background: #ff1f2d;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(229,9,26,.4);
}
/* Ghost — transparent border */
.btn-ghost, .btn-secondary {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.22);
}
/* Danger */
.btn-danger {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.2);
  color: #EF4444;
}
.btn-danger:hover {
  background: rgba(239,68,68,.18);
  color: #ff5555;
}
/* Success */
.btn-success {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  color: #10B981;
}
/* bKash */
.btn-bkash {
  background: linear-gradient(135deg,#E2136E,#C5115B);
  color: #fff;
  box-shadow: 0 4px 18px rgba(226,19,110,.3);
}
.btn-bkash:hover {
  opacity: .92;
  transform: translateY(-1px);
}

/* OR divider */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: .78rem;
  color: rgba(255,255,255,.25);
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.08);
}

/* Page content alias — ensures proper nav spacing */
.page-content {
  padding-top: 84px;
  padding-top: calc(var(--nav-h, 60px) + 20px);
  padding-top: calc(var(--nav-h, 60px) + 20px + env(safe-area-inset-top, 0px));
  min-height: 100vh;
}
