/* ============================================================
   Sikkimflix - Main Stylesheet
   ============================================================ */

   :root {
    --bg: #0a0a0a;
    --bg-soft: #141414;
    --bg-card: #1c1c1c;
    --red: #e50914;
    --red-dark: #b0060f;
    --gold: #f0c419;
    --text: #ffffff;
    --text-dim: #b3b3b3;
    --text-faint: #7a7a7a;
    --header-h: 68px;
}

* { box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------------- Header ---------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    min-height: var(--header-h);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.6) 60%, transparent);
    transition: background 0.3s ease;
}
.site-header.scrolled { background: var(--bg-soft); box-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.header-inner {
    width: 100%;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    gap: 20px;
}
.header-left { display: flex; align-items: center; gap: 30px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 42px; width: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.brand-text { font-size: 1.4em; font-weight: 800; letter-spacing: 1px; color: var(--text); white-space: nowrap; }
.brand-text .accent { color: var(--red); }

.main-nav { display: flex; gap: 22px; flex-shrink: 0; }
.nav-link { color: var(--text-dim); font-size: 0.95em; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--text); border-color: var(--red); }

.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-box { position: relative; display: flex; align-items: center; background: rgba(0,0,0,0.6); border: 1px solid #444; border-radius: 20px; padding: 6px 14px; }
.search-box .icon-search { font-size: 0.9em; margin-right: 8px; opacity: 0.7; flex-shrink: 0; }
.search-box input { background: transparent; border: none; outline: none; color: var(--text); width: 220px; max-width: 40vw; font-size: 0.9em; min-width: 0; }
.search-box input::placeholder { color: var(--text-faint); }

.search-results {
    display: none;
    position: absolute;
    top: 46px; right: 0;
    width: 340px;
    max-width: calc(100vw - 24px);
    max-height: 420px;
    overflow-y: auto;
    background: #181818;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    padding: 8px;
    z-index: 1200;
}
.search-results.active { display: block; }
.search-result-item { display: flex; gap: 10px; padding: 8px; border-radius: 4px; cursor: pointer; }
.search-result-item:hover { background: #2a2a2a; }
.search-result-item img { width: 46px; height: 66px; object-fit: cover; border-radius: 3px; background: #333; flex-shrink: 0; }
.search-result-item .sr-info h5 { margin: 0 0 4px; font-size: 0.9em; }
.search-result-item .sr-info span { font-size: 0.75em; color: var(--text-faint); text-transform: uppercase; }

.mobile-menu-btn { display: block; background: none; border: none; color: var(--text); font-size: 1.5em; cursor: pointer; flex-shrink: 0; padding: 4px 6px; }

/* ---------------- Sidebar (off-canvas, all screen sizes) ---------------- */
.site-sidebar-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1400;
    opacity: 0; transition: opacity 0.25s ease;
}
.site-sidebar-overlay.open { display: block; opacity: 1; }

.site-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: 270px; max-width: 82vw;
    background: var(--bg-soft); z-index: 1500; display: flex; flex-direction: column;
    transform: translateX(-100%); transition: transform 0.25s ease;
    box-shadow: 6px 0 20px rgba(0,0,0,0.5); overflow-y: auto;
}
.site-sidebar.open { transform: translateX(0); }

.site-sidebar-header { display: flex; align-items: center; gap: 10px; padding: 18px 18px; border-bottom: 1px solid #262626; }
.site-sidebar-logo { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.site-sidebar-brand { font-size: 1.1em; font-weight: 800; letter-spacing: 1px; color: var(--text); }
.site-sidebar-brand .accent { color: var(--red); }

.site-sidebar-user { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #262626; }
.site-sidebar-user .user-avatar { width: 42px; height: 42px; }
.site-sidebar-user-info { display: flex; flex-direction: column; gap: 4px; }
.site-sidebar-hi { font-weight: 700; font-size: 0.95em; color: var(--text); }
.site-sidebar-edit-link { font-size: 0.78em; color: var(--gold); text-decoration: underline; }
.site-sidebar-login-btn { margin: 16px 18px; }

.site-sidebar-sub-status {
    display: flex; align-items: center; gap: 10px; margin: 0 18px 16px; padding: 10px 12px;
    border-radius: 8px; font-size: 0.82em;
}
.site-sidebar-sub-status div { display: flex; flex-direction: column; gap: 2px; }
.site-sidebar-sub-status strong { font-size: 0.95em; }
.site-sidebar-sub-status small { color: inherit; opacity: 0.8; font-size: 0.85em; }
.site-sidebar-sub-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.site-sidebar-sub-paid  { background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.4); color: #6ee7a0; }
.site-sidebar-sub-paid .site-sidebar-sub-dot { background: #2ecc71; }
.site-sidebar-sub-trial   { background: rgba(240,196,25,0.1); border: 1px solid rgba(240,196,25,0.4); color: #f0d98a; }
.site-sidebar-sub-trial .site-sidebar-sub-dot { background: var(--gold); }
.site-sidebar-sub-expired { background: rgba(229,9,20,0.12); border: 1px solid rgba(229,9,20,0.4); color: #ff8b8b; }
.site-sidebar-sub-expired .site-sidebar-sub-dot { background: var(--red); }
.site-sidebar-sub-clickable { width: calc(100% - 36px); text-align: left; cursor: pointer; font-family: inherit; }
.site-sidebar-sub-clickable:hover { background: rgba(229,9,20,0.2); }
.site-sidebar-admin-link { color: var(--gold) !important; }

.site-sidebar-links { display: flex; flex-direction: column; padding: 8px 10px; flex: 1; }
.site-sidebar-link {
    display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 6px;
    color: var(--text-dim); font-size: 0.92em; font-weight: 600; background: none; border: none;
    width: 100%; text-align: left; cursor: pointer; font-family: inherit;
}
.site-sidebar-link:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.site-sidebar-link.active { background: var(--red); color: #fff; }
.site-sidebar-icon { font-size: 1.1em; width: 20px; text-align: center; flex-shrink: 0; }

.site-sidebar-bottom { padding: 14px 18px 20px; border-top: 1px solid #262626; }
.site-sidebar-logout-btn {
    display: block; text-align: center; background: rgba(229,9,20,0.15); border: 1px solid var(--red);
    color: #ff8b8b; padding: 10px; border-radius: 6px; font-weight: 700; font-size: 0.88em;
}
.site-sidebar-logout-btn:hover { background: var(--red); color: #fff; }

/* ---------------- Fixed bottom nav (mobile-app style) ---------------- */
.bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: flex; background: var(--bg-soft); border-top: 1px solid #262626;
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-link {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 9px 4px 8px; color: var(--text-faint); font-size: 0.68em; font-weight: 600;
    background: none; border: none; cursor: pointer; font-family: inherit;
}
.bottom-nav-icon { font-size: 1.25em; line-height: 1; }
.bottom-nav-link.active { color: var(--red); }

/* ---------------- Telegram button ---------------- */
.telegram-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--red); color: #fff !important; font-weight: 700; font-size: 0.85em;
    padding: 8px 16px; border-radius: 18px; white-space: nowrap; flex-shrink: 0;
    transition: background 0.2s, opacity 0.2s;
}
.telegram-btn:hover { background: var(--red-dark); }
.footer-telegram-btn { margin-top: 12px; }

/* ---------------- Install App button (PWA) ---------------- */
.install-app-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent; color: var(--text) !important; font-weight: 700; font-size: 0.85em;
    padding: 7px 14px; border-radius: 18px; white-space: nowrap; flex-shrink: 0;
    border: 1px solid #444; cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.install-app-btn:hover { background: #2a2a2a; border-color: var(--red); }

/* ---------------- Instagram button ---------------- */
.instagram-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff !important; font-weight: 700; font-size: 0.85em;
    padding: 8px 16px; border-radius: 18px; white-space: nowrap; flex-shrink: 0;
    transition: opacity 0.2s;
}
.instagram-btn:hover { opacity: 0.85; }
.footer-instagram-btn { margin-top: 10px; }
.footer-social-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- Hero Slider ---------------- */
.hero-slider { position: relative; height: 78vh; min-height: 420px; width: 100%; overflow: hidden; background: var(--bg-soft); }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 0.8s ease;
    background-size: cover; background-position: center top;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.55) 55%, var(--bg) 100%),
                linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.2) 55%);
}
.hero-content {
    position: absolute;
    bottom: 12%; left: 0;
    max-width: 620px;
    padding: 0 40px;
    z-index: 2;
}
section#heroSlider {
    margin-bottom: 3em;
}
.hero-badge { color: var(--gold); font-weight: 700; font-size: 0.85em; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.hero-title { font-size: 3em; font-weight: 800; margin: 0 0 14px; text-shadow: 2px 2px 8px rgba(0,0,0,0.7); line-height: 1.1; }
.hero-meta { display: flex; gap: 14px; align-items: center; color: var(--text-dim); font-size: 0.9em; margin-bottom: 14px; }
.hero-meta .rating { color: var(--gold); font-weight: 700; }
.hero-overview { color: var(--text-dim); font-size: 1.05em; line-height: 1.5; margin-bottom: 22px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-buttons { display: flex; gap: 14px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 4px; font-weight: 700; font-size: 1em; cursor: pointer; border: none; transition: opacity 0.2s, background 0.2s; }
.btn-play { background: var(--text); color: #000; }
.btn-play:hover { opacity: 0.85; }
.btn-info { background: rgba(109,109,110,0.55); color: var(--text); }
.btn-info:hover { background: rgba(109,109,110,0.8); }

.hero-dots { position: absolute; bottom: 24px; right: 40px; display: flex; gap: 8px; z-index: 2; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.2s; }
.hero-dot.active { background: var(--red); }

/* ---------------- Content Rows ---------------- */
.content-wrap { padding: 10px 0 60px; margin-top: -8vh; position: relative; z-index: 3; }
.row-section { margin-bottom: 36px; }
.row-header { display: flex; align-items: baseline; justify-content: space-between; padding: 0 40px; margin-bottom: 12px; }
.row-title { font-size: 1.4em; font-weight: 700; margin: 0; }
.row-viewall { font-size: 0.85em; color: var(--text-dim); }
.row-viewall:hover { color: var(--text); }

.row-track-wrap { position: relative; }
.row-track { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 40px 20px; scrollbar-width: none; }
.row-track::-webkit-scrollbar { display: none; }

.row-arrow { position: absolute; top: 0; bottom: 20px; width: 44px; background: rgba(10,10,10,0.55); border: none; color: #fff; font-size: 1.6em; cursor: pointer; z-index: 4; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.row-track-wrap:hover .row-arrow { opacity: 1; }
.row-arrow.left { left: 0; }
.row-arrow.right { right: 0; }

.poster-card {
    flex: 0 0 auto;
    width: 190px;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    display: block;
}
.poster-card:hover { transform: scale(1.08); box-shadow: 0 12px 24px rgba(0,0,0,0.6); z-index: 5; }
.poster-card img { width: 100%; height: 285px; object-fit: cover; background: #222; }
.poster-badge { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: 0.7em; font-weight: 700; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; z-index: 2; }
.poster-badge-ep { left: auto; right: 8px; background: rgba(0,0,0,0.75); text-transform: none; }
.poster-info { padding: 10px; }
.poster-info h4 { margin: 0 0 4px; font-size: 0.88em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-info .poster-meta { display: flex; justify-content: space-between; font-size: 0.75em; color: var(--text-faint); }
.poster-info .poster-meta .rating { color: var(--gold); }

/* Continue Watching progress bar */
.poster-thumb { position: relative; }
.progress-bar-wrap { position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: rgba(255,255,255,0.25); }
.progress-bar-fill { height: 100%; background: var(--red); }

/* Continue Watching - remove-from-list button */
.continue-card { position: relative; }
.continue-remove-btn {
    position: absolute; top: 6px; right: 6px; z-index: 3;
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: rgba(0,0,0,0.65); color: #fff; font-size: 15px; line-height: 1;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    opacity: 0; transition: opacity 0.15s ease, background 0.15s ease;
}
.continue-card:hover .continue-remove-btn { opacity: 1; }
.continue-remove-btn:hover { background: var(--red); }
.continue-card.is-removing { opacity: 0.35; pointer-events: none; transition: opacity 0.2s ease; }
@media (max-width: 700px) {
    /* No hover on touch - keep it visible but subtle */
    .continue-remove-btn { opacity: 0.85; width: 25px; height: 25px; font-size: 13px; }
}

.row-loading, .grid-loading { text-align: center; color: var(--text-faint); padding: 30px; grid-column: 1/-1; }
.row-empty { color: var(--text-faint); padding: 0 40px; }

/* ---------------- Browse / Filter Page ---------------- */
.browse-page { padding: calc(var(--header-h) + 30px) 40px 60px; max-width: 1500px; margin: 0 auto; }
.page-title { font-size: 1.9em; font-weight: 700; margin-bottom: 20px; }

.filter-bar {
    display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
    background: var(--bg-card); padding: 18px 20px; border-radius: 8px; margin-bottom: 28px;
    border: 1px solid #262626;
}
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-group label { font-size: 0.75em; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.5px; }
.filter-group select, .filter-group input {
    background: #0f0f0f; color: var(--text); border: 1px solid #333; border-radius: 4px;
    padding: 9px 12px; font-size: 0.9em; min-width: 150px; outline: none;
}
.filter-group select:focus, .filter-group input:focus { border-color: var(--red); }
.filter-apply-wrap { display: flex; align-items: flex-end; }
.btn-apply { background: var(--red); color: #fff; padding: 10px 24px; border-radius: 4px; border: none; font-weight: 700; cursor: pointer; }
.btn-apply:hover { background: var(--red-dark); }
.btn-reset { background: transparent; color: var(--text-dim); border: 1px solid #333; padding: 10px 18px; border-radius: 4px; cursor: pointer; font-size: 0.9em; }
.btn-reset:hover { color: var(--text); border-color: #555; }

.type-toggle { display: flex; background: #0f0f0f; border-radius: 20px; padding: 4px; border: 1px solid #333; }
.type-toggle button { background: none; border: none; color: var(--text-dim); padding: 8px 18px; border-radius: 16px; cursor: pointer; font-size: 0.85em; font-weight: 600; }
.type-toggle button.active { background: var(--red); color: #fff; }

.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; min-height: 200px; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.pagination button { background: var(--bg-card); border: 1px solid #333; color: var(--text); padding: 9px 18px; border-radius: 4px; cursor: pointer; }
.pagination button:hover:not(:disabled) { border-color: var(--red); }
.pagination button:disabled { opacity: 0.4; cursor: default; }
.pagination .page-indicator { display: flex; align-items: center; color: var(--text-dim); font-size: 0.9em; }

/* ---------------- Watch Page ---------------- */
.watch-page { padding-top: var(--header-h); }
.player-hero { position: relative; background: #000; }
.player-frame-wrap { width: 100%; max-width: 1300px; margin: 0 auto; padding: 20px 20px 0; }
.player-frame-wrap iframe { width: 100%; height: 68vh; min-height: 380px; border: none; border-radius: 8px; background: #000; }

/* ---- Watch page: login gate (shown instead of the player when logged out) ---- */
.watch-login-gate {
    width: 100%; height: 68vh; min-height: 380px; border-radius: 8px;
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    display: flex; align-items: center; justify-content: center; text-align: center;
    border: 1px solid #262626;
}
.watch-login-gate-inner { max-width: 380px; padding: 20px; }
.watch-login-gate-inner .gate-logo { width: 54px; height: 54px; object-fit: contain; margin: 0 auto 14px; display: block; opacity: 0.9; }
.watch-login-gate-inner h2 { font-size: 1.3em; margin: 0 0 8px; }
.watch-login-gate-inner p { color: var(--text-dim); font-size: 0.9em; margin: 0 0 20px; }
.watch-login-gate-inner .btn-play { padding: 12px 26px; border-radius: 4px; font-weight: 700; cursor: pointer; border: none; display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; }
.watch-login-gate-inner .btn-play:hover { background: var(--red-dark); opacity: 1; }

/* ---- Subscribe gate (paywall shown in place of the player) ---- */
.subscribe-gate {
    width: 100%; min-height: 68vh; border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(229,9,20,0.14) 0%, transparent 55%),
        linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
    border: 1px solid #262626;
    display: flex; align-items: center; justify-content: center; padding: 34px 20px;
}
.subscribe-card { width: 100%; max-width: 430px; text-align: center; }

.subscribe-head { margin-bottom: 22px; }
.subscribe-lock {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%; font-size: 1.4em;
    background: rgba(229,9,20,0.14); border: 1px solid rgba(229,9,20,0.45); margin-bottom: 14px;
}
.subscribe-head h2 { font-size: 1.45em; margin: 0 0 8px; letter-spacing: -0.2px; }
.subscribe-head p { color: var(--text-dim); font-size: 0.88em; margin: 0; line-height: 1.55; }

.subscribe-price-box {
    background: rgba(255,255,255,0.03); border: 1px solid #2b2b2b; border-radius: 10px;
    padding: 18px; margin-bottom: 20px;
}
.subscribe-price { font-size: 2.6em; font-weight: 800; line-height: 1; letter-spacing: -1px; }
.subscribe-currency { font-size: 0.5em; font-weight: 700; vertical-align: super; margin-right: 2px; }
.subscribe-per { font-size: 0.3em; font-weight: 600; color: var(--text-dim); letter-spacing: 0; }
.subscribe-price-tag {
    display: inline-block; margin-top: 8px; font-size: 0.72em; font-weight: 600;
    color: #6ee7a0; background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.4);
    padding: 3px 12px; border-radius: 20px;
}

.subscribe-perks { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.subscribe-perks li {
    display: flex; align-items: center; gap: 10px; padding: 7px 0;
    font-size: 0.87em; color: var(--text-dim);
}
.subscribe-perks li span {
    flex-shrink: 0; width: 19px; height: 19px; border-radius: 50%;
    background: rgba(46,204,113,0.15); color: #6ee7a0;
    display: flex; align-items: center; justify-content: center; font-size: 0.7em; font-weight: 700;
}

.subscribe-pay { display: flex; justify-content: center; min-height: 48px; margin-bottom: 8px; }
.subscribe-pay form { margin: 0; }
.subscribe-note { font-size: 0.75em; color: var(--text-faint); margin: 14px 0 0; line-height: 1.6; }
.subscribe-note strong { color: var(--text-dim); font-weight: 600; }

/* ---- Subscribe modal (sidebar "Subscription Expired" pill) ---- */
.subscribe-modal-box { text-align: center; max-width: 340px; }
.subscribe-modal-box h3 { margin: 10px 0 6px; font-size: 1.2em; }
.subscribe-modal-box .modal-sub { text-align: center; margin: 0 0 18px; }
.subscribe-modal-box .subscribe-lock { margin: 0 auto 4px; }
.subscribe-modal-price { font-size: 1.9em; font-weight: 800; margin: 4px 0 18px; }
.subscribe-modal-price .subscribe-currency { font-size: 0.5em; vertical-align: super; margin-right: 2px; font-weight: 700; }
.subscribe-modal-price .subscribe-per { font-size: 0.4em; font-weight: 600; color: var(--text-dim); }

/* ---- Thank you page ---- */
.thankyou-page { padding: calc(var(--header-h) + 50px) 20px 70px; min-height: 70vh; display: flex; justify-content: center; }
.thankyou-card {
    width: 100%; max-width: 420px; text-align: center;
    background: var(--bg-card); border: 1px solid #262626; border-radius: 12px; padding: 38px 28px;
}
.thankyou-icon {
    width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center; font-size: 1.7em; font-weight: 700;
}
.thankyou-icon-ok   { background: rgba(46,204,113,0.14); color: #6ee7a0; border: 1px solid rgba(46,204,113,0.5); }
.thankyou-icon-warn { background: rgba(240,196,25,0.12); color: var(--gold); border: 1px solid rgba(240,196,25,0.5); }
.thankyou-icon-info { background: rgba(255,255,255,0.06); color: var(--text-dim); border: 1px solid #333; }
.thankyou-card h1 { font-size: 1.4em; margin: 0 0 10px; }
.thankyou-card p { color: var(--text-dim); font-size: 0.88em; margin: 0 0 22px; line-height: 1.6; }
.thankyou-detail {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.03); border: 1px solid #2b2b2b; border-radius: 8px;
    padding: 13px 16px; margin-bottom: 22px; font-size: 0.85em;
}
.thankyou-detail span { color: var(--text-dim); }
.thankyou-btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: 700; cursor: pointer; border: none; }
.thankyou-redirect-note {
    font-size: 1em !important; color: var(--text-dim) !important; margin: 22px 0 0 !important;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 18px; border-radius: 999px;
    background: rgba(240,196,25,0.1); border: 1px solid rgba(240,196,25,0.4);
}
.thankyou-redirect-note #redirectCount { color: var(--gold); font-weight: 800; font-size: 1.15em; }

@media (max-width: 600px) {
    .subscribe-gate { padding: 26px 14px; min-height: 60vh; }
    .subscribe-head h2 { font-size: 1.25em; }
    .subscribe-price { font-size: 2.2em; }
    .thankyou-card { padding: 30px 20px; }
}

/* ---- Profile page ---- */
.profile-page { padding: calc(var(--header-h) + 40px) 20px 60px; min-height: 70vh; display: flex; justify-content: center; }
.profile-login-gate { width: 100%; max-width: 460px; height: auto; padding: 40px 20px; }
.profile-card { width: 100%; max-width: 460px; background: var(--bg-card); border: 1px solid #262626; border-radius: 10px; padding: 26px; }
.profile-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid #262626; }
.profile-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: #333; }
.profile-card-header h1 { font-size: 1.2em; margin: 0 0 4px; }
.profile-email { color: var(--text-dim); font-size: 0.85em; margin: 0; }
.profile-form label,.player-hero label { display: block; font-size: 0.82em; color: var(--text-dim); margin: 14px 0 6px; }
.profile-form input, .profile-form select , .player-hero select {
    width: 100%; padding: 10px 12px; border-radius: 5px; border: 1px solid #333;
    background: #0e0e0e; color: var(--text); font-size: 0.9em;
}
.profile-form input:focus, .profile-form select:focus ,.player-hero select:focus { outline: none; border-color: var(--red); }
.profile-form-actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-secondary {
    display: inline-block; background: #262626; color: var(--text); border: 1px solid #333;
    padding: 11px 20px; border-radius: 4px; font-size: 0.9em; font-weight: 600; cursor: pointer;
}
.btn-secondary:hover { background: #303030; }
.profile-alert { padding: 12px 14px; border-radius: 6px; font-size: 0.88em; margin-bottom: 18px; }
.profile-alert-warn { background: rgba(240, 196, 25, 0.1); border: 1px solid var(--gold); color: #f0d98a; }
.profile-alert-ok { background: rgba(46, 204, 113, 0.12); border: 1px solid #2ecc71; color: #a6f3c6; }
.profile-sub-box { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; }
.profile-sub-box strong { font-size: 0.92em; }
.profile-sub-box span { font-size: 0.8em; opacity: 0.85; }
.profile-sub-paid  { background: rgba(46, 204, 113, 0.12); border: 1px solid #2ecc71; color: #a6f3c6; }
.profile-sub-trial   { background: rgba(240, 196, 25, 0.1);  border: 1px solid var(--gold); color: #f0d98a; }
.profile-sub-expired { background: rgba(229, 9, 20, 0.12);   border: 1px solid var(--red);  color: #ff8b8b; }

#selectMovieProvider , #selectTvProvider { margin-bottom: 10px;}
/* ---- Header: login button / signed-in user chip ---- */
.auth-area { display: flex; align-items: center; flex-shrink: 0; }
.login-btn {
    background: var(--red); color: #fff; border: none; border-radius: 4px;
    padding: 8px 18px; font-weight: 700; font-size: 0.85em; cursor: pointer; white-space: nowrap;
}
.login-btn:hover { background: var(--red-dark); }
.user-chip { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 6px; border-radius: 20px; }
.user-chip:hover { background: rgba(255,255,255,0.08); }
.user-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: #333; }
.avatar-initial {
    display: flex; align-items: center; justify-content: center;
    background: var(--red); color: #fff; font-weight: 700; letter-spacing: 0;
}
.user-avatar.avatar-initial { font-size: 0.85em; }
.site-sidebar-user .user-avatar.avatar-initial { font-size: 1.1em; }
.profile-avatar.avatar-initial { font-size: 1.7em; }
.user-name { font-size: 0.85em; font-weight: 600; color: var(--text); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 130px;
    background: var(--bg-card); border: 1px solid #2e2e2e; border-radius: 6px; padding: 6px; z-index: 50;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.user-dropdown.open { display: block; }
.user-dropdown a { display: block; padding: 8px 10px; color: var(--text-dim); font-size: 0.85em; border-radius: 4px; }
.user-dropdown a:hover { background: rgba(255,255,255,0.08); color: var(--text); }


/* ---- Login modal ---- */
.login-modal-box { text-align: center; max-width: 380px; }
.login-modal-logo { width: 44px; height: 44px; object-fit: contain; margin: 0 auto 14px; display: block; }
.login-modal-box h3 { text-align: center; }
.login-modal-box .modal-sub { text-align: center; }
.login-modal-box .form-group { text-align: left; }
.field-optional { color: var(--text-faint); font-weight: 400; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 18px; background: #0f0f0f; border-radius: 8px; padding: 4px; }
.auth-tab {
    flex: 1; background: none; border: none; color: var(--text-faint); font-size: 0.88em; font-weight: 600;
    padding: 9px 0; border-radius: 6px; cursor: pointer;
}
.auth-tab.active { background: var(--red); color: #fff; }
.auth-tab-panel .modal-sub { text-align: left; margin-bottom: 16px; }
.login-modal-box select {
    background: #0f0f0f; border: 1px solid #333; color: var(--text); border-radius: 5px;
    padding: 10px 12px; font-size: 0.9em; outline: none;
}
.login-modal-box select:focus { border-color: var(--red); }
.login-modal-box select option { background: #0f0f0f; color: var(--text); }
.login-modal-box .btn-apply { width: 100%; margin-top: 4px; }
.login-otp-sub { margin-bottom: 16px !important; }
.otp-group input.otp-input {
    text-align: center; letter-spacing: 10px; font-size: 1.3em; font-weight: 700;
}
.login-otp-actions { display: flex; justify-content: space-between; margin-top: 14px; }
.btn-link-inline {
    background: none; border: none; color: var(--text-faint); font-size: 0.82em;
    cursor: pointer; text-decoration: underline; padding: 0;
}
.btn-link-inline:hover { color: var(--text-dim); }
.btn-link-inline:disabled { cursor: default; text-decoration: none; opacity: 0.6; }
.login-error { color: #ff5c5c; font-size: 0.8em; min-height: 16px; margin-top: 6px; }
.btn-skip-login {
    background: none; border: none; color: var(--text-faint); font-size: 0.82em;
    margin-top: 16px; cursor: pointer; text-decoration: underline;
}
.btn-skip-login:hover { color: var(--text-dim); }

.watch-details { max-width: 1300px; margin: 0 auto; padding: 26px 20px 20px; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 0.9em; margin-bottom: 14px; }
.back-btn:hover { color: var(--text); }
.watch-title { font-size: 2em; font-weight: 800; margin: 0 0 10px; }

.live-watch-details { max-width: 900px; }
.live-watch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.live-watch-actions .btn-reset { display: inline-flex; align-items: center; gap: 6px; }
.watch-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--text-dim); font-size: 0.9em; margin-bottom: 16px; }
.watch-meta .rating { color: var(--gold); font-weight: 700; }
.watch-genres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.genre-chip { background: #222; padding: 5px 12px; border-radius: 14px; font-size: 0.78em; color: var(--text-dim); }
.watch-overview { color: #d2d2d2; line-height: 1.6; max-width: 850px; margin-bottom: 10px; }

.season-picker { margin-top: 30px; }
.picker-label { font-size: 0.85em; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); margin-bottom: 10px; }
.season-tabs, .episode-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.season-tab, .episode-btn {
    background: var(--bg-card); border: 1px solid #2e2e2e; color: var(--text-dim);
    padding: 9px 18px; border-radius: 20px; cursor: pointer; font-size: 0.88em; font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.season-tab:hover, .episode-btn:hover { border-color: var(--red); color: var(--text); }
.season-tab.active, .episode-btn.active { background: var(--red); color: #fff; border-color: var(--red); }
.episode-btn { display: flex; flex-direction: column; align-items: flex-start; min-width: 150px; padding: 10px 16px; border-radius: 8px; }
.episode-btn .ep-num { font-weight: 800; font-size: 0.95em; }
.episode-btn .ep-name { font-size: 0.75em; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; margin-top: 2px; }
.episode-btn.active .ep-name { color: rgba(255,255,255,0.85); }

/* ---------------- Cast & Crew ---------------- */
.crew-lines { margin-bottom: 18px; }
.crew-line { color: var(--text-dim); font-size: 0.9em; margin: 0 0 6px; }
.crew-line strong { color: var(--text); font-weight: 700; }

.cast-section { margin-bottom: 10px; }
.cast-track { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.cast-track::-webkit-scrollbar { display: none; }
.cast-card { flex: 0 0 auto; width: 108px; text-align: center; }
.cast-photo { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; background: #222; margin-bottom: 8px; border: 2px solid #262626; }
.cast-name { font-size: 0.82em; font-weight: 600; line-height: 1.3; }
.cast-character { font-size: 0.75em; color: var(--text-faint); margin-top: 2px; }

/* ---------------- Request a Movie/Show ---------------- */
.request-section {
    max-width: 1300px; margin: 10px auto 40px; padding: 42px 40px;
    background: linear-gradient(135deg, #1c1c1c, #141414);
    border: 1px solid #262626; border-radius: 12px; text-align: center;
}
.request-inner h2 { font-size: 1.6em; margin: 0 0 10px; }
.request-inner p { color: var(--text-dim); margin: 0 0 22px; }

.modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75);
    z-index: 2000; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: var(--bg-card); border-radius: 10px; padding: 30px 26px 26px;
    max-width: 420px; width: 100%; position: relative; border: 1px solid #2a2a2a;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.modal-close {
    position: absolute; top: 10px; right: 12px; background: none; border: none;
    color: var(--text-dim); font-size: 1.6em; cursor: pointer; line-height: 1; padding: 4px 8px;
}
.modal-close:hover { color: var(--text); }
.modal-box h3 { margin: 0 0 6px; font-size: 1.3em; }
.modal-sub { color: var(--text-faint); font-size: 0.85em; margin: 0 0 20px; }
.form-group { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.8em; color: var(--text-dim); }
.form-group input {
    background: #0f0f0f; border: 1px solid #333; color: var(--text); border-radius: 5px;
    padding: 10px 12px; font-size: 0.9em; outline: none;
}
.form-group input:focus { border-color: var(--red); }
#sendRequestBtn { width: 100%; margin-top: 6px; }
#sendRequestBtn:disabled { opacity: 0.6; cursor: default; }
.request-msg { margin-top: 12px; font-size: 0.85em; text-align: center; min-height: 1em; }
.request-msg.success { color: #4caf50; }
.request-msg.error { color: #ff5c5c; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid #1f1f1f; padding: 46px 40px 20px; margin-top: 40px; }

.footer-ad-banner { display: block; max-width: 1400px; margin: 0 auto 30px; padding: 0 20px; }
.footer-ad-banner img { width: 100%; height: auto; border-radius: 10px; display: block; transition: opacity 0.2s, transform 0.2s; }
.footer-ad-banner:hover img { opacity: 0.94; transform: scale(1.005); }
.footer-inner { max-width: 1300px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-logo { height: 56px; width: 56px; border-radius: 50%; }
.footer-brand-text { font-size: 1.3em; font-weight: 800; letter-spacing: 1px; color: var(--text); margin: 4px 0 0; }
.footer-brand-text .accent { color: var(--red); }
.footer-tagline { color: var(--text-faint); font-size: 0.85em; margin: 0; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.85em; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--text-faint); font-size: 0.88em; margin-bottom: 9px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1300px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid #222; color: var(--text-faint); font-size: 0.78em; }

/* ---------------- Misc ---------------- */
.loader-spin { display: inline-block; width: 26px; height: 26px; border: 3px solid #333; border-top-color: var(--red); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1150px) {
    .header-left { gap: 18px; }
    .main-nav { gap: 12px; }
    .nav-link { font-size: 0.86em; }
    .search-box input { width: 150px; }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .search-box input { width: 140px; }
    .hero-title { font-size: 2em; }
    .hero-content { padding: 0 20px; max-width: 90%; }
    .row-header, .row-track { padding-left: 20px; padding-right: 20px; }
    .browse-page { padding-left: 20px; padding-right: 20px; }

    .poster-card { width: 150px; }
    .poster-card img { height: 225px; }
    .poster-info h4 { font-size: 0.82em; }

    .results-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; }
}

@media (max-width: 600px) {
    body { overflow-x: hidden; }
    .header-inner { padding: 0 14px; gap: 10px; }
    .header-left { gap: 14px; }
    .brand-logo { height: 34px; width: 34px; }
    .brand-text { font-size: 16px; }
    .search-box { padding: 5px 10px; }
    .search-box input { width: 100px; max-width: 34vw; font-size: 0.82em; }
    .search-results {
        position: fixed;
        top: var(--header-h);
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
    }

    .hero-slider { height: 62vh; min-height: 360px; }
    .hero-title { font-size: 1.5em; }
    .hero-overview { font-size: 0.9em; -webkit-line-clamp: 2; }
    .hero-buttons { gap: 10px; }
    .btn { padding: 10px 18px; font-size: 0.85em; }

    .content-wrap { margin-top: -10vh; }
    .row-header, .row-track { padding-left: 14px; padding-right: 14px; }
    .row-title { font-size: 1.1em; }
    .row-arrow { display: none; }

    .poster-card { width: 118px; }
    .poster-card img { height: 175px; }
    .poster-info { padding: 7px; }
    .poster-info h4 { font-size: 0.76em; margin-bottom: 2px; }
    .poster-info .poster-meta { font-size: 0.68em; }
    .poster-badge { font-size: 0.62em; padding: 2px 6px; top: 6px; left: 6px; }

    .browse-page { padding-top: calc(var(--header-h) + 20px); padding-left: 14px; padding-right: 14px; }
    .filter-bar { padding: 14px; gap: 10px; }
    .filter-group select, .filter-group input { min-width: 130px; }
    .results-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }

    .player-frame-wrap { padding: 12px 12px 0; }
    .player-frame-wrap iframe { height: 42vh; min-height: 220px; }
    .watch-details { padding: 18px 14px; }
    .watch-title { font-size: 1.4em; }
    .season-tabs, .episode-grid { gap: 8px; }
    .episode-btn { min-width: 120px; }

    .site-footer { padding: 34px 16px 16px; }
    .footer-cols { gap: 30px; }

    .request-section { padding: 26px 18px; margin: 10px 14px 30px; }
    .request-inner h2 { font-size: 1.25em; }
    .modal-box { padding: 24px 18px 20px; }
}

/* ============================================================
   About / Showcase Page
   ============================================================ */
.about-page { padding-top: var(--header-h); }

.about-hero {
    padding: 70px 20px 60px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(229,9,20,0.18), transparent 60%), var(--bg-soft);
    border-bottom: 1px solid #222;
}
.about-hero-inner { max-width: 720px; margin: 0 auto; }
.about-hero h1 { font-size: 2.3em; font-weight: 800; margin: 0 0 16px; letter-spacing: -0.5px; line-height: 1.2; }
.about-hero-sub { color: var(--text-dim); font-size: 1.05em; line-height: 1.65; margin: 0 auto 28px; max-width: 620px; }
.about-hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.about-section { padding: 64px 20px; }
.about-section-alt { background: var(--bg-soft); }
.about-section-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.about-section-title { font-size: 1.7em; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.3px; }
.about-section-lead { color: var(--text-dim); margin: 0 0 40px; font-size: 0.98em; }

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    text-align: left;
}
.about-feature-card {
    background: var(--bg-card); border: 1px solid #262626; border-radius: 10px;
    padding: 26px 22px; transition: border-color 0.2s, transform 0.2s;
}
.about-feature-card:hover { border-color: var(--red); transform: translateY(-3px); }
.about-feature-icon { font-size: 1.8em; display: inline-block; margin-bottom: 14px; }
.about-feature-card h3 { font-size: 1.05em; margin: 0 0 8px; }
.about-feature-card p { color: var(--text-dim); font-size: 0.88em; line-height: 1.6; margin: 0; }

.about-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.about-step {
    background: var(--bg-card); border: 1px solid #262626; border-radius: 10px;
    padding: 30px 22px; text-align: center;
}
.about-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; background: var(--red);
    color: #fff; font-weight: 800; margin-bottom: 16px;
}
.about-step h3 { font-size: 1.05em; margin: 0 0 8px; }
.about-step p { color: var(--text-dim); font-size: 0.88em; line-height: 1.6; margin: 0; }

.about-plan-inner { max-width: 480px; }
.about-plan-card {
    background: var(--bg-card); border: 1px solid #2b2b2b; border-radius: 14px;
    padding: 36px 30px; text-align: center; position: relative;
}
.about-plan-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: #1a1a00; font-size: 0.72em; font-weight: 800;
    padding: 5px 14px; border-radius: 20px; letter-spacing: 0.5px; text-transform: uppercase;
}
.about-plan-card h3 { font-size: 1.1em; margin: 10px 0 14px; color: var(--text-dim); font-weight: 600; }
.about-plan-price { font-size: 2.6em; font-weight: 800; letter-spacing: -1px; margin-bottom: 24px; }
.about-plan-price small { font-size: 0.34em; color: var(--text-dim); font-weight: 600; }
.about-plan-perks { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.about-plan-perks li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.92em; color: var(--text-dim); }
.about-plan-perks li span { color: var(--red); font-weight: 800; flex-shrink: 0; }
.about-plan-btn { width: 100%; padding: 13px; font-size: 0.98em; }
.about-plan-note { color: var(--text-faint); font-size: 0.78em; margin: 14px 0 0; }

.about-devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    text-align: left;
    max-width: 780px;
    margin: 0 auto;
}
.about-device-card {
    background: var(--bg-card); border: 1px solid #262626; border-radius: 10px;
    padding: 30px 26px; text-align: center;
}
.about-device-card h3 { font-size: 1.1em; margin: 0 0 10px; }
.about-device-card p { color: var(--text-dim); font-size: 0.9em; line-height: 1.6; margin: 0 0 18px; }
.about-device-card p a { color: var(--gold); text-decoration: underline; }
.about-device-btn { display: inline-block; }
.about-device-note { font-size: 0.76em !important; color: var(--text-faint) !important; margin: 12px 0 0 !important; line-height: 1.5; }

.about-faq-inner { max-width: 760px; }
.about-faq-list { text-align: left; display: flex; flex-direction: column; gap: 10px; }
.about-faq-item { background: var(--bg-card); border: 1px solid #262626; border-radius: 8px; overflow: hidden; }
.about-faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: none; border: none; color: var(--text); text-align: left;
    font-size: 0.95em; font-weight: 600; padding: 18px 20px; cursor: pointer;
}
.about-faq-icon { color: var(--red); font-size: 1.3em; font-weight: 800; flex-shrink: 0; transition: transform 0.2s; line-height: 1; }
.about-faq-item.open .about-faq-icon { transform: rotate(45deg); }
.about-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.about-faq-item.open .about-faq-a { max-height: 220px; }
.about-faq-a p { color: var(--text-dim); font-size: 0.88em; line-height: 1.65; margin: 0; padding: 0 20px 18px; }

@media (max-width: 640px) {
    .about-hero { padding: 50px 16px 40px; }
    .about-hero h1 { font-size: 1.6em; }
    .about-section { padding: 44px 16px; }
    .about-plan-card { padding: 30px 20px; }
}

/* ============================================================
   Live (custom embed links)
   ============================================================ */
.nav-live-dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--red); margin-right: 6px; vertical-align: middle;
    animation: liveDotPulse 1.4s ease-in-out infinite;
}
.hr-tag{
    width: 80%;
    background-color: red;
    height: 1px;
    border: 0;
    margin-bottom: 3em;
}

@keyframes liveDotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.nav-link-live, .site-sidebar-link-live { color: var(--text); }
.live-badge { background: var(--red); display: flex; align-items: center; gap: 4px; font-size: 0.68em; }

.live-page { padding-top: var(--header-h); min-height: 70vh; }
.live-hero { text-align: center; padding: 50px 20px 10px; }
.live-hero h1 { font-size: 1.9em; font-weight: 800; margin: 6px 0 0; }
.live-content-wrap { margin-top: 10px; }
.live-grid { flex-wrap: wrap; padding: 4px 40px 30px; }

.live-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 100px 20px; min-height: 60vh;
}
.live-empty-icon { font-size: 2.6em; margin-bottom: 18px; opacity: 0.7; }
.live-empty h1 { font-size: 1.5em; margin: 0 0 10px; }
.live-empty p { color: var(--text-dim); margin: 0 0 26px; max-width: 420px; }

@media (max-width: 640px) {
    .live-hero { padding: 40px 16px 10px; }
    .live-grid { padding: 4px 14px 24px; justify-content: center; }
}
/* Watchlist controls */
.poster-card { position: relative; }
.watchlist-toggle {
    position: absolute; top: 9px; right: 9px; z-index: 5;
    width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%; background: rgba(12,12,12,.82); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 23px; line-height: 1; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: transform .15s, background .15s, color .15s;
}
.watchlist-toggle:hover { transform: scale(1.08); }
.watchlist-toggle.is-saved { background: #e50914; border-color: #e50914; color: #fff; }
.watch-title-row { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.watch-title-row .watch-title { margin:0; }
.watch-page-toggle { position:static; flex:0 0 40px; width:40px; height:40px; font-size:25px; }
.watchlist-empty { text-align:center; padding:64px 20px; color:var(--text-secondary, #aaa); }
.watchlist-empty h2 { color:var(--text-primary, #fff); margin-bottom:10px; }
.watchlist-empty .login-btn { display:inline-flex; align-items:center; justify-content:center; text-decoration:none; margin-top:12px; }
.watchlist-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); gap:18px; }
@media (max-width:600px) { .watchlist-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } }
