/* =========================================================
   CineHub Pro v2.6 - Cinematic Dark Stylesheet
   ========================================================= */

:root {
    --bg-base: #04070d;
    --bg-surface: #0b1120;
    --bg-card: #111a2e;
    --bg-card-hover: #17233d;
    --bg-input: #070b14;

    --border-color: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(99, 102, 241, 0.65);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-primary: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    background-color: var(--bg-base);
    background-image: radial-gradient(circle at 15% 0%, rgba(79, 70, 229, 0.14) 0%, transparent 45%),
                      radial-gradient(circle at 85% 10%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Allow search input, fields, and modals to receive input */
input, textarea, select {
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    user-select: auto !important;
}

/* Prevent image dragging and ghost saving */
img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
}

/* Anti-Print / Anti-PDF Save */
@media print {
    html, body {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Utility Colors */
.text-amber { color: #fbbf24 !important; }
.text-emerald { color: #34d399 !important; }
.text-cyan { color: #38bdf8 !important; }
.text-rose { color: #fb7185 !important; }

/* Custom Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: #4f46e5; }

/* -------------------------------------------------------------
   Header / Navbar
   ------------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(4, 7, 13, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
}

.brand-name {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-name span {
    background: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dynamic Bot Pulse Status Badge (Green when active, Red when inactive) */
.bot-pulse-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.bot-pulse-badge.active {
    background: rgba(16, 185, 129, 0.15);
    border: 1.5px solid #10b981;
    color: #34d399;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

.bot-pulse-badge.inactive {
    background: rgba(239, 68, 68, 0.15);
    border: 1.5px solid #ef4444;
    color: #f87171;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.4);
}

.bot-pulse-svg {
    display: block;
    width: 20px;
    height: 14px;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.08); }
}

.bot-pulse-badge.active .bot-pulse-svg {
    animation: pulseGlow 2s infinite ease-in-out;
}

.desktop-nav a {
    transition: color 0.2s ease;
}
.desktop-nav a:hover {
    color: #ffffff !important;
}

.search-bar {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.search-bar input {
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 10px 18px 10px 42px;
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.25s ease;
}

.search-bar input:focus {
    border-color: var(--accent-primary);
    background: #0f172a;
    box-shadow: 0 0 18px var(--accent-glow);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 14px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* -------------------------------------------------------------
   Buttons
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.55);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.85);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12.5px;
    border-radius: 8px;
}

/* -------------------------------------------------------------
   HERO SPOTLIGHT CAROUSEL SLIDER (Image 2 Match)
   ------------------------------------------------------------- */
.hero-slider-section {
    max-width: 1440px;
    margin: 22px auto 0;
    padding: 0 24px;
    position: relative;
}

.slider-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #080d1a;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75);
}

.slider-wrapper {
    position: relative;
    min-height: 380px;
}

.slider-slide {
    display: none;
    position: relative;
    width: 100%;
    min-height: 380px;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-slide.active {
    display: flex;
    opacity: 1;
}

.spotlight-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px) brightness(0.28);
    transform: scale(1.1);
}

.spotlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 7, 13, 0.96) 0%, rgba(4, 7, 13, 0.82) 55%, rgba(4, 7, 13, 0.45) 100%);
}

.spotlight-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 36px 42px;
    width: 100%;
}

.spotlight-poster-thumb {
    width: 200px;
    height: 290px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
    flex-shrink: 0;
}

.spotlight-content {
    flex: 1;
    max-width: 820px;
}

.spotlight-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 800;
}

.badge-imdb {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

.badge-quality {
    background: rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(99, 102, 241, 0.55);
    color: #c7d2fe;
}

.badge-audio {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
}

.spotlight-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.spotlight-desc {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spotlight-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    background: #4f46e5;
    box-shadow: 0 0 18px var(--accent-glow);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
}

.slider-dot.active {
    width: 26px;
    border-radius: var(--radius-full);
    background: #4f46e5;
    box-shadow: 0 0 10px var(--accent-glow);
}

@media (max-width: 768px) {
    .spotlight-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
    }
    .spotlight-badges, .spotlight-actions {
        justify-content: center;
    }
    .spotlight-title {
        font-size: 20px;
    }
}

/* -------------------------------------------------------------
   Categories Bar & Filter
   ------------------------------------------------------------- */
.filter-section {
    max-width: 1440px;
    margin: 26px auto 0;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.category-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.tab-btn {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #ffffff;
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(30, 41, 59, 0.9);
}

.tab-btn.active {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* -------------------------------------------------------------
   Movie Poster Grid
   ------------------------------------------------------------- */
.main-container {
    max-width: 1440px;
    margin: 26px auto 60px;
    padding: 0 24px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 21px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 24px;
}

.movie-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: var(--border-hover);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65), 0 0 22px rgba(99, 102, 241, 0.3);
}

.card-poster-wrapper {
    position: relative;
    width: 100%;
    padding-top: 145%;
    overflow: hidden;
    background: #050811;
}

.card-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.movie-card:hover .card-poster {
    transform: scale(1.07);
}

.card-floating-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(4, 7, 13, 0.88);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-full);
}

.card-quality-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.card-body {
    padding: 14px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(11, 17, 32, 0.95) 100%);
}

.card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-lang {
    color: #34d399;
    font-weight: 700;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

/* -------------------------------------------------------------
   Admin Cards, Tables & Panels
   ------------------------------------------------------------- */
.admin-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* User Manual Styles */
.manual-tabs-nav {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.manual-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.manual-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.manual-tab-btn.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
}

.manual-panel {
    display: none;
    font-size: 14px;
    line-height: 1.7;
    color: #cbd5e1;
}

.manual-panel.active {
    display: block;
}

.manual-step {
    background: rgba(2, 6, 23, 0.6);
    border-left: 4px solid #6366f1;
    padding: 12px 18px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 12px;
}

/* -------------------------------------------------------------
   Movie Details Page
   ------------------------------------------------------------- */
.movie-details-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    margin-top: 28px;
}

@media (max-width: 900px) {
    .movie-details-layout {
        grid-template-columns: 1fr;
    }
}

.details-poster-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(99, 102, 241, 0.35);
}

.details-poster-box img {
    width: 100%;
    display: block;
}

.trailer-player-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.35);
    margin-bottom: 26px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.trailer-player-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    margin: 14px 0 26px;
    background: rgba(15, 23, 42, 0.65);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.specs-table td {
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table td:first-child {
    color: var(--text-secondary);
    font-weight: 600;
    width: 32%;
}

.download-mirror-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 18px;
    padding: 28px 24px;
    margin-top: 24px;
    text-align: center;
}

.mirror-buttons-list {
    max-width: 580px;
    margin: 0 auto;
}

.mirror-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 22px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
}

.mirror-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.55);
}

.mirror-badge {
    background: rgba(0, 0, 0, 0.35);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
}

/* -------------------------------------------------------------
   IMAGE 1 MATCH: SPONSORED PARTNER & FOOTER
   ------------------------------------------------------------- */
.partner-ad-section {
    max-width: 1440px;
    margin: 40px auto 20px auto;
    padding: 0 24px;
    text-align: center;
}

.partner-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #64748b;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.partner-box {
    background: rgba(11, 17, 32, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    text-align: left;
}

.partner-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.partner-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.partner-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.partner-subtext {
    font-size: 12.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.partner-btn {
    background: #4f46e5;
    color: #ffffff;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.partner-btn:hover {
    background: #4338ca;
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* -------------------------------------------------------------
   Sleek Portal Pagination Container (Matches User UI)
   ------------------------------------------------------------- */
.portal-pagination-container {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 24px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pagination-info-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13.5px;
    color: #94a3b8;
    font-weight: 600;
    flex-wrap: wrap;
}

.per-page-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
}

.per-page-select {
    background: #0b1120;
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 8px;
    padding: 6px 12px;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.per-page-select:focus {
    border-color: #6366f1;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.pg-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.pg-btn:hover:not(:disabled) {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}

.pg-btn.active {
    background: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.6);
}

.pg-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pg-ellipsis {
    color: #64748b;
    padding: 0 6px;
    font-weight: 800;
    font-size: 14px;
    user-select: none;
}

/* Modern Site Footer (Image 1 Bottom Layout) */
.footer-modern {
    background: #020612;
    border-top: 1px solid var(--border-color);
    padding: 40px 0 32px 0;
    margin-top: 30px;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-left {
    max-width: 640px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer-logo-name {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-logo-name span {
    background: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-nav-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
}

.footer-nav-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-links a:hover {
    color: #ffffff;
}

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.dmca-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-stat-line {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.footer-copy {
    font-size: 11.5px;
    color: #475569;
}

@media (max-width: 768px) {
    .partner-box {
        flex-direction: column;
        text-align: center;
    }
    .partner-info {
        flex-direction: column;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav-links {
        justify-content: center;
    }
    .footer-right {
        text-align: center;
        align-items: center;
        width: 100%;
    }
}

/* -------------------------------------------------------------
   Vertical Category Navigation Sidebar (Image 2 Exact Match)
   ------------------------------------------------------------- */
.portal-main-layout {
    max-width: 1480px;
    margin: 22px auto 0;
    padding: 0 20px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.vertical-category-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 76px;
    z-index: 40;
}

.sidebar-sticky-inner {
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
}

.sidebar-sticky-inner::-webkit-scrollbar {
    width: 4px;
}
.sidebar-sticky-inner::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

.sidebar-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    padding: 6px 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vertical-cat-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vertical-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 9.5px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #cbd5e1;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.vertical-cat-item:hover {
    background: rgba(30, 41, 59, 0.7);
    color: #ffffff;
    transform: translateX(3px);
}

.vertical-cat-item.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.22) 0%, rgba(15, 23, 42, 0.4) 100%);
    border-color: rgba(99, 102, 241, 0.35);
    border-left: 3.5px solid #6366f1;
    color: #ffffff;
    font-weight: 700;
}

.vertical-cat-item .icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.vertical-cat-item:hover .icon,
.vertical-cat-item.active .icon {
    color: #38bdf8;
}

.vertical-cat-item .item-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-content-area {
    flex: 1;
    min-width: 0;
}

@media (max-width: 1080px) {
    .portal-main-layout {
        flex-direction: column;
        gap: 16px;
        padding: 0 16px;
    }
    .vertical-category-sidebar {
        width: 100%;
        position: static;
    }
    .sidebar-sticky-inner {
        max-height: none;
        overflow-y: visible;
    }
    .vertical-cat-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .vertical-cat-item {
        width: auto;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* -------------------------------------------------------------
   MODERN & PROFESSIONAL FEATURE SUITE:
   Search Suggestions, Watchlist Drawer, Lightbox, Quick-View,
   Reactions, Mirror Speed Badges, Share Sheet, Toasts
   ------------------------------------------------------------- */

/* 1. Live Instant Search Suggestion Dropdown */
.search-suggest-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(11, 17, 32, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    max-height: 420px;
    overflow-y: auto;
    z-index: 1000;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.search-suggest-item:hover, .search-suggest-item.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.35);
}

.search-suggest-poster {
    width: 38px;
    height: 52px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #020617;
}

.search-suggest-info {
    flex: 1;
    min-width: 0;
}

.search-suggest-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggest-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 11.5px;
    color: #94a3b8;
}

.search-suggest-badge {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10.5px;
}

/* 2. Card Hover Quick Actions */
.card-hover-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.movie-card:hover .card-hover-actions {
    opacity: 1;
    transform: translateX(0);
}

.card-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.card-action-btn:hover {
    background: #4f46e5;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.6);
}

.card-action-btn.btn-fav.active {
    background: rgba(244, 63, 94, 0.25);
    border-color: #f43f5e;
    color: #f43f5e;
}

/* 3. Watchlist Slide-in Drawer */
.watchlist-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 390px;
    max-width: 90vw;
    height: 100vh;
    background: #090e1a;
    border-left: 1px solid rgba(99, 102, 241, 0.3);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.watchlist-drawer.open {
    right: 0;
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
}

.drawer-backdrop.open {
    display: block;
}

.watchlist-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.watchlist-drawer-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.drawer-close-btn:hover {
    color: #ffffff;
}

.watchlist-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.watchlist-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #060a12;
}

.nav-counter-badge {
    background: #f43f5e;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 999px;
    margin-left: 4px;
}

.watchlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.2s ease;
}

.watchlist-item:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.watchlist-thumb {
    width: 48px;
    height: 66px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.watchlist-info {
    flex: 1;
    min-width: 0;
}

.watchlist-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.watchlist-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 6px;
    font-size: 14px;
    transition: transform 0.15s ease;
}

.watchlist-remove:hover {
    transform: scale(1.15);
}

/* 4. Cinema Lightbox Modal */
.cinema-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cinema-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(10px);
}

.cinema-modal-dialog {
    position: relative;
    z-index: 10;
    background: #0b1120;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 16px;
    max-width: 860px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.cinema-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: #070c17;
}

.cinema-modal-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cinema-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.15s ease;
}

.cinema-close-btn:hover {
    color: #ffffff;
}

.cinema-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000000;
}

.cinema-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 5. Quick-View Modal */
.quickview-modal-dialog {
    position: relative;
    z-index: 10;
    background: #0b1120;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 18px;
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    padding: 24px;
}

.quickview-close-corner {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 15;
}

.quickview-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 22px;
}

@media (max-width: 640px) {
    .quickview-layout {
        grid-template-columns: 1fr;
    }
}

.quickview-poster {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    object-fit: cover;
}

/* 6. Community Reactions */
.reactions-box {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 20px;
}

.reactions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 600px) {
    .reactions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.reaction-btn {
    background: rgba(11, 17, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #cbd5e1;
}

.reaction-btn:hover {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.reaction-btn.voted {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    color: #ffffff;
}

.reaction-emoji {
    font-size: 20px;
}

.reaction-label {
    font-size: 11px;
    font-weight: 700;
}

.reaction-count {
    font-size: 12px;
    font-weight: 800;
    color: #38bdf8;
}

/* 7. Speed Indicator Badges */
.speed-indicator {
    font-size: 11px;
    padding: 2px 7px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 6px;
    color: #fbbf24;
    margin-left: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mirror-row-card {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.mirror-row-card .mirror-btn {
    flex: 1;
}

/* 8. Share Sheet */
.modal-dialog-box {
    position: relative;
    z-index: 10;
    background: #0f172a;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
}

.share-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.share-social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-wa { background: #25D366; }
.share-tg { background: #229ED9; }
.share-fb { background: #1877F2; }
.share-x { background: #000000; border: 1px solid #334155; }

/* 9. Floating Toast Container */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast-message {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    padding: 12px 18px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.movie-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #94a3b8;
}

.movie-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
}

.movie-breadcrumbs a:hover {
    color: #38bdf8;
}

.movie-breadcrumbs .active-crumb {
    color: #ffffff;
    font-weight: 700;
}

/* -------------------------------------------------------------
   VIP USER-FRIENDLY MOVIE DETAILS REDESIGN
   ------------------------------------------------------------- */
.movie-page-body {
    background-color: #020617;
}

/* 1. Cinematic Hero Backdrop Banner */
.movie-hero-backdrop {
    position: relative;
    padding: 36px 24px 44px;
    background-size: cover;
    background-position: center top;
    border-bottom: 1px solid rgba(99, 102, 241, 0.25);
}

.hero-inner-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .hero-inner-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
}

.hero-poster-wrapper {
    width: 250px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    border: 2px solid rgba(99, 102, 241, 0.45);
    position: relative;
    background: #090e1a;
}

.hero-poster-img {
    width: 100%;
    display: block;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.poster-floating-rating {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 10px;
    padding: 7px;
    text-align: center;
    font-size: 14.5px;
    font-weight: 800;
    color: #fbbf24;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.hero-details-wrapper {
    flex: 1;
    min-width: 0;
}

.hero-meta-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

@media (max-width: 900px) {
    .hero-meta-pills {
        justify-content: center;
    }
}

.meta-pill {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pill-quality {
    background: rgba(6, 182, 212, 0.16);
    border: 1px solid rgba(6, 182, 212, 0.45);
    color: #38bdf8;
}

.pill-audio {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #4ade80;
}

.pill-year {
    background: rgba(148, 163, 184, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
}

.pill-views {
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
}

.pill-safe {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.hero-movie-title {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .hero-movie-title {
        font-size: 24px;
    }
}

.hero-movie-tagline {
    font-size: 13.5px;
    color: #94a3b8;
    margin-bottom: 22px;
    line-height: 1.6;
}

.hero-action-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-action-bar {
        justify-content: center;
    }
}

.btn-hero-download {
    background: linear-gradient(135deg, #06b6d4 0%, #4f46e5 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.6);
}

.btn-hero-trailer {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-hero-trailer:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #cbd5e1;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #ffffff;
}

.btn-hero-secondary.btn-report:hover {
    color: #fbbf24;
    border-color: #fbbf24;
}

/* 2. Main Page Grid Layout */
.movie-page-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 1080px) {
    .movie-page-grid {
        grid-template-columns: 1fr;
    }
}

.content-block {
    background: rgba(11, 17, 32, 0.75);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

.block-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.block-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
}

/* 3. Modern Technical Specifications Grid */
.specs-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .specs-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.spec-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(15, 23, 42, 0.9);
}

.spec-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.spec-content {
    min-width: 0;
}

.spec-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.spec-value {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.specs-genre-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.genre-chip {
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
}

.genre-chip:hover {
    background: #4f46e5;
    color: #ffffff;
    transform: translateY(-1px);
}

/* 4. Synopsis Box */
.synopsis-box {
    position: relative;
    background: rgba(15, 23, 42, 0.65);
    border-left: 4px solid #6366f1;
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-watermark {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 28px;
    color: rgba(99, 102, 241, 0.15);
}

.synopsis-text {
    font-size: 14px;
    line-height: 1.75;
    color: #cbd5e1;
    position: relative;
    z-index: 2;
}

/* 5. VIP Download Section */
.download-vip-block {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 27, 75, 0.35) 100%);
    border: 1px solid rgba(99, 102, 241, 0.45);
}

.download-vip-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.download-vip-kicker {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    color: #a5b4fc;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.download-vip-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.download-servers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-vip-card {
    background: rgba(11, 17, 32, 0.88);
    border: 1px solid rgba(99, 102, 241, 0.28);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    transition: all 0.2s ease;
}

.server-vip-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
    background: rgba(15, 23, 42, 0.95);
}

@media (max-width: 600px) {
    .server-vip-card {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
}

.server-info-col {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.server-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.server-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

.server-status-pill {
    font-size: 10.5px;
    font-weight: 700;
    color: #34d399;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.server-status-pill i {
    font-size: 6px;
}

.server-tags-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.server-tag-res {
    background: rgba(6, 182, 212, 0.16);
    color: #38bdf8;
    border: 1px solid rgba(6, 182, 212, 0.35);
    padding: 1px 7px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
}

.server-tag-speed {
    font-size: 11px;
    color: #fbbf24;
    font-weight: 700;
}

.server-tag-sub {
    font-size: 11px;
    color: #94a3b8;
}

.btn-server-download {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.2s ease;
    white-space: nowrap;
    justify-content: center;
}

.btn-server-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.6);
}

.btn-res-pill {
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
}

.download-guide-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .download-guide-card {
        grid-template-columns: 1fr;
    }
}

.guide-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
}

.guide-item i {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.guide-item strong {
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
}

.guide-item span {
    color: #94a3b8;
}

/* 6. Sticky Sidebar Box */
.sticky-sidebar-box {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-poster-card {
    background: rgba(11, 17, 32, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.side-poster-img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.side-poster-info {
    margin-top: 12px;
}

.side-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.side-guarantee-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 16px;
    padding: 18px 20px;
}

.guarantee-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12.5px;
    color: #cbd5e1;
}

.guarantee-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

