/* ==========================================================================
   COCO TV BOT - ULTRA MODERN NEON CINEMA DESIGN SYSTEM
   Theme: Vibrant Neon Aurora & Glassmorphism (Dark & Light Theme Support)
   ========================================================================== */

:root, [data-theme="dark"] {
    /* Color Palette - Dark Theme */
    --bg-dark: #070a13;
    --bg-surface: #0e1526;
    --bg-surface-elevated: #151d34;
    --bg-glass: rgba(15, 23, 42, 0.75);
    --bg-glass-card: rgba(22, 33, 62, 0.55);
    --bg-glass-hover: rgba(30, 41, 75, 0.75);
    --bg-navbar: rgba(9, 13, 22, 0.85);
    --bg-footer: rgba(7, 10, 19, 0.92);

    /* Vibrant Accents */
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent-cyan: #06b6d4;
    --accent-magenta: #ec4899;
    --accent-purple: #a855f7;
    --accent-amber: #f59e0b;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --accent-telegram: #229ed9;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --grad-telegram: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    --grad-fire: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    --grad-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --grad-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    --grad-mesh: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.18) 0px, transparent 50%),
                 radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.16) 0px, transparent 50%),
                 radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.12) 0px, transparent 50%),
                 radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.16) 0px, transparent 50%),
                 radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.12) 0px, transparent 50%);

    /* Borders & Shadows */
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --border-glow: 1px solid rgba(168, 85, 247, 0.4);
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow-primary: 0 12px 35px -8px rgba(99, 102, 241, 0.45);
    --shadow-glow-cyan: 0 12px 35px -8px rgba(6, 182, 212, 0.45);
    --shadow-glow-fire: 0 12px 35px -8px rgba(255, 75, 43, 0.45);
    --shadow-glow-purple: 0 12px 35px -8px rgba(168, 85, 247, 0.45);

    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Text Contrast Helpers for Dark Theme */
.text-muted,
[data-theme="dark"] .text-muted,
:root:not([data-theme="light"]) .text-muted {
    color: #94a3b8 !important;
}

.text-secondary,
[data-theme="dark"] .text-secondary,
:root:not([data-theme="light"]) .text-secondary {
    color: #cbd5e1 !important;
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-dark: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.88);
    --bg-glass-card: rgba(255, 255, 255, 0.85);
    --bg-glass-hover: #ffffff;
    --bg-navbar: rgba(255, 255, 255, 0.9);
    --bg-footer: #f8fafc;

    /* Text for Light Mode */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Borders & Shadows for Light Mode */
    --border-glass: 1px solid rgba(0, 0, 0, 0.08);
    --border-glow: 1px solid rgba(99, 102, 241, 0.3);
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.07);
    --shadow-glow-primary: 0 10px 25px -5px rgba(99, 102, 241, 0.3);

    --grad-mesh: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.12) 0px, transparent 50%),
                 radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.10) 0px, transparent 50%),
                 radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
                 radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.10) 0px, transparent 50%),
                 radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.08) 0px, transparent 50%);
}

[data-theme="light"] .text-muted {
    color: #64748b !important;
}

[data-theme="light"] .text-secondary {
    color: #475569 !important;
}


/* ==========================================================================
   Base Styles & Ambient Background
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    background-image: var(--grad-mesh);
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Ambient Animated Glow Spheres */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    animation: floatGlow 18s ease-in-out infinite alternate;
}

.glow-orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
}

.glow-orb-2 {
    top: 30%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    animation-delay: -5s;
}

.glow-orb-3 {
    bottom: -10%;
    left: 20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.1); }
    100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* All main content relative to float above ambient glow */
main, section, header, nav, footer {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Typography & Gradient Text
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.text-gradient-primary {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-cyan {
    background: var(--grad-telegram);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-fire {
    background: var(--grad-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.glass-navbar {
    background: rgba(9, 13, 22, 0.82) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    padding: 0.9rem 0;
}

.glass-navbar .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #ffffff !important;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    color: #fff;
    font-size: 1.25rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 1.1rem !important;
    border-radius: 10px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: #ffffff !important;
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.btn-nav-telegram {
    background: var(--grad-telegram);
    color: #fff !important;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.55rem 1.2rem;
    border: none;
    box-shadow: var(--shadow-glow-cyan);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-nav-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.55);
    color: #fff !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    padding: 130px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.hero-pill-badge .badge-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #10b981; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

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

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2.2rem auto;
    font-weight: 400;
}

/* Hero CTA Buttons */
.hero-cta-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-glow {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.6rem;
    border-radius: 14px;
    border: none;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(30deg);
    transition: 0.6s all ease;
    opacity: 0;
}

.btn-glow:hover::after {
    opacity: 1;
    transform: rotate(30deg) translate(20%, 20%);
}

.btn-glow:hover {
    transform: translateY(-3px);
}

.btn-glow-telegram {
    background: var(--grad-telegram);
    box-shadow: var(--shadow-glow-cyan);
}
.btn-glow-telegram:hover {
    box-shadow: 0 15px 35px rgba(0, 198, 255, 0.55);
}

.btn-glow-update {
    background: var(--grad-fire);
    box-shadow: var(--shadow-glow-fire);
}
.btn-glow-update:hover {
    box-shadow: 0 15px 35px rgba(255, 75, 43, 0.55);
}

.btn-glow-help {
    background: var(--grad-primary);
    box-shadow: var(--shadow-glow-purple);
}
.btn-glow-help:hover {
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.55);
}

.btn-glow-how {
    background: var(--grad-sunset);
    box-shadow: 0 12px 35px -8px rgba(245, 87, 108, 0.45);
}
.btn-glow-how:hover {
    box-shadow: 0 15px 35px rgba(245, 87, 108, 0.55);
}

.btn-gradient-primary {
    background: var(--grad-primary) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: var(--shadow-glow-primary) !important;
    font-weight: 700;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.btn-gradient-primary:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -4px rgba(99, 102, 241, 0.6) !important;
}
.btn-gradient-primary:active {
    transform: translateY(0);
}

.btn-outline-primary-glow {
    background: rgba(99, 102, 241, 0.1);
    border: 1.5px solid rgba(99, 102, 241, 0.5);
    color: #a5b4fc !important;
    font-weight: 700;
    transition: var(--transition-smooth);
    text-decoration: none;
}
.btn-outline-primary-glow:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45);
    transform: translateY(-2px);
}


/* ==========================================================================
   Hero Search Bar & Popular Tags
   ========================================================================== */

.hero-search-wrapper {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

.search-box-glass {
    display: flex;
    align-items: center;
    background: rgba(18, 26, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0.4rem 0.5rem 0.4rem 1.2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.15);
    transition: var(--transition-smooth);
}

.search-box-glass:focus-within {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.35);
}

.search-box-glass input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.05rem;
    width: 100%;
    padding: 0.6rem 0.5rem;
}

.search-box-glass input::placeholder {
    color: var(--text-muted);
}

.search-box-glass .btn-search {
    background: var(--grad-primary);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 0.7rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.search-box-glass .btn-search:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow-primary);
}

.quick-filter-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.filter-chip {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.85rem;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.filter-chip:hover {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   Live Stats Counter Strip
   ========================================================================== */

.stats-strip {
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.stat-card-glass {
    background: var(--bg-glass-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 1.25rem 1rem;
    text-align: center;
    backdrop-filter: blur(14px);
    transition: var(--transition-smooth);
    height: 100%;
}

.stat-card-glass:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
    display: inline-block;
}

.stat-number {
    font-size: 1.85rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.text-counter {
    color: var(--text-primary) !important;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: 2.75rem;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Movie Cards (Vibrant & Interactive)
   ========================================================================== */

.movie-gallery-section {
    padding: 50px 0 80px 0;
}

.movie-card-modern {
    background: var(--bg-glass-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.movie-card-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 16px 40px -10px rgba(99, 102, 241, 0.35), 0 0 20px rgba(168, 85, 247, 0.2);
}

.poster-wrapper {
    position: relative;
    width: 100%;
    padding-top: 132%; /* Compact 2:3 ratio */
    background: #111827;
    overflow: hidden;
}

.poster-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.movie-card-modern:hover .poster-wrapper img {
    transform: scale(1.08);
}

/* Compact Styles when displayed 6 per row */
.col-lg-2 .movie-card-modern {
    border-radius: 16px;
}

.col-lg-2 .poster-wrapper {
    padding-top: 128%; /* Sleek compact height */
}

.col-lg-2 .poster-badges {
    top: 8px;
    left: 8px;
    right: 8px;
}

.col-lg-2 .badge-quality,
.col-lg-2 .badge-year {
    font-size: 0.65rem;
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
}

.col-lg-2 .movie-card-body {
    padding: 0.85rem 0.75rem 0.75rem 0.75rem;
}

.col-lg-2 .movie-card-title {
    font-size: 0.88rem;
    min-height: 2.3rem;
    line-height: 1.3;
}

.col-lg-2 .btn-copy-name {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
    border-radius: 6px;
}

.col-lg-2 .movie-meta {
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
}

.col-lg-2 .movie-lang-pill {
    font-size: 0.68rem;
    padding: 0.12rem 0.45rem;
}

.col-lg-2 .btn-download-movie {
    font-size: 0.78rem;
    padding: 0.45rem 0.6rem;
    border-radius: 9px;
    gap: 0.35rem;
}

/* Poster Overlay Badges */
.poster-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.badge-quality {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    letter-spacing: 0.04em;
}

.badge-year {
    background: rgba(99, 102, 241, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
}

/* Hover Quick Overlay */
.poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 19, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.movie-card-modern:hover .poster-overlay {
    opacity: 1;
}

.movie-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.movie-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.movie-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.7rem;
}

.btn-copy-name {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-copy-name:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    color: #ffffff;
    transform: scale(1.08);
}

.btn-copy-name.copied {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.6);
    color: #10b981;
}

.movie-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.movie-lang-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Card Download CTA */
.btn-download-movie {
    background: var(--grad-telegram);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.btn-download-movie:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 114, 255, 0.5);
    color: #ffffff !important;
}

/* Fallback Poster */
.poster-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    color: #c7d2fe;
    text-align: center;
    padding: 1rem;
}

/* ==========================================================================
   How to Download Section (Interactive 5-Step Roadmap)
   ========================================================================== */

.how-to-download-section {
    padding: 70px 0;
    position: relative;
}

.step-card {
    background: var(--bg-glass-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    position: relative;
    backdrop-filter: blur(14px);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(99, 102, 241, 0.2);
}

.step-number-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.step-1-badge { background: var(--grad-telegram); box-shadow: var(--shadow-glow-cyan); }
.step-2-badge { background: var(--grad-fire); box-shadow: var(--shadow-glow-fire); }
.step-3-badge { background: var(--grad-primary); box-shadow: var(--shadow-glow-purple); }
.step-4-badge { background: var(--grad-emerald); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); }
.step-5-badge { background: var(--grad-gold); box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4); }

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.step-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0;
}

/* ==========================================================================
   Membership Tier Cards (Free vs VIP)
   ========================================================================== */

.membership-section {
    padding: 70px 0;
}

.plan-card {
    background: var(--bg-glass-card);
    border: var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card.plan-vip {
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(168, 85, 247, 0.45);
    box-shadow: 0 20px 45px -10px rgba(168, 85, 247, 0.3);
}

.plan-card:hover {
    transform: translateY(-8px);
}

.plan-badge-floating {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--grad-fire);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow-glow-fire);
}

.plan-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.plan-price-tag {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 0.85rem;
}

.plan-features li i {
    font-size: 1.1rem;
    color: #10b981;
    flex-shrink: 0;
}

/* ==========================================================================
   User Directory / Dashboard Table (user.php)
   ========================================================================== */

.user-table-card {
    background: var(--bg-glass-card);
    border: var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
    margin-top: 2rem;
}

.table-custom {
    --bs-table-bg: transparent !important;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02) !important;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.05) !important;
    background: transparent !important;
    margin-bottom: 0;
    color: #ffffff !important;
    border-collapse: separate;
    border-spacing: 0;
}

.table-custom > :not(caption) > * > * {
    background-color: transparent !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.table-custom thead th {
    background: rgba(14, 21, 38, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #38bdf8 !important; /* Cyan highlight for headers */
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 1.1rem 1.25rem;
    white-space: nowrap;
}

.table-custom tbody td {
    padding: 1.1rem 1.25rem;
    vertical-align: middle;
    font-size: 0.95rem;
    color: #f8fafc !important;
}

.table-custom tbody tr {
    transition: var(--transition-smooth);
}

.table-custom tbody tr:hover td {
    background: rgba(255, 255, 255, 0.05) !important;
}

.user-name-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff !important;
    display: block;
    line-height: 1.3;
}

.user-avatar-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--grad-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    margin-right: 0.75rem;
}

.badge-role-premium {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.25) 100%);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-role-free {
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   Pagination (Modern Gradient)
   ========================================================================== */

.pagination-custom {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.pagination-custom .page-link {
    background: rgba(18, 26, 44, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
    transition: var(--transition-smooth);
}

.pagination-custom .page-link:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #ffffff;
}

.pagination-custom .page-item.active .page-link {
    background: var(--grad-primary);
    border-color: transparent;
    color: #ffffff;
    box-shadow: var(--shadow-glow-primary);
}

.pagination-custom .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* ==========================================================================
   Professional Page Management System (Pagination Pro)
   ========================================================================== */

/* Top Status & Results Counter Bar */
.pagination-top-bar {
    background: rgba(14, 21, 38, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.badge-status-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.badge-search-filter {
    display: inline-flex;
    align-items: center;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent-cyan);
    border-radius: 50rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
}

.btn-clear-chip {
    color: var(--accent-cyan);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.btn-clear-chip:hover {
    opacity: 1;
    transform: scale(1.15);
}

.page-indicator-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.per-page-select-custom {
    background: rgba(14, 21, 38, 0.85) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50rem !important;
    font-size: 0.82rem !important;
    padding: 0.25rem 2rem 0.25rem 0.85rem !important;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.per-page-select-custom:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
}

/* Pagination Pro Outer Container */
.pagination-pro-wrapper {
    margin: 2.5rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
}

/* Main Navigation Pill Bar */
.pagination-pro-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    background: rgba(14, 21, 38, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.45rem 0.75rem;
    border-radius: 50rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.pagination-pro {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-pro .page-item {
    margin: 0;
}

.pagination-pro .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    user-select: none;
}

.pagination-pro .page-link:hover:not(.disabled) {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.pagination-pro .page-item.active .page-link {
    background: var(--grad-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-glow-primary);
    font-weight: 700;
    transform: scale(1.05);
}

.pagination-pro .page-item.disabled .page-link,
.pagination-pro .page-link.disabled {
    opacity: 0.3;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.pagination-pro .page-item.ellipsis .page-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    letter-spacing: 2px;
    min-width: 32px;
    cursor: default;
}

.pagination-pro .nav-btn .page-link {
    padding: 0 0.85rem;
    gap: 0.35rem;
    font-size: 0.85rem;
}

/* Secondary Tools Row (Jump, Quick Skip, Items Per Page) */
.pagination-tools-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    width: 100%;
}

.pagination-tool-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(14, 21, 38, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50rem;
    padding: 0.35rem 0.85rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Jump Input Group */
.jump-input-group {
    display: inline-flex;
    align-items: center;
}

.jump-input-group .jump-input {
    width: 58px;
    height: 32px;
    background: rgba(7, 10, 19, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50rem 0 0 50rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    padding: 0.2rem 0.4rem;
    outline: none;
    transition: var(--transition-smooth);
}

.jump-input-group .jump-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

.jump-input-group .jump-addon {
    height: 32px;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
    border-right: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 0 0.5rem;
}

.jump-input-group .btn-jump-submit {
    height: 32px;
    padding: 0 0.75rem;
    border-radius: 0 50rem 50rem 0;
    background: var(--grad-primary);
    border: none;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.jump-input-group .btn-jump-submit:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.5);
}

/* Quick Page Skip Chips (+5 / -5) */
.page-skip-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(14, 21, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.page-skip-chip:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.4);
    color: var(--accent-cyan);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
}

/* Keyboard hint badge */
.page-keyboard-hint {
    font-size: 0.74rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.85;
}

.page-keyboard-hint kbd {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 0.72rem;
    font-family: inherit;
}

/* Mobile responsive adjustments */
@media (max-width: 575.98px) {
    .pagination-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .pagination-pro-bar {
        border-radius: 20px;
        padding: 0.4rem;
        width: 100%;
    }
    
    .pagination-pro .page-link {
        min-width: 35px;
        height: 35px;
        font-size: 0.82rem;
        padding: 0 0.5rem;
    }
    
    .pagination-tools-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .pagination-tool-card {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Floating Telegram Bot Launcher (FAB)
   ========================================================================== */

.fab-telegram {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--grad-telegram);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 114, 255, 0.5);
    z-index: 1050;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.fab-telegram:hover {
    transform: scale(1.1) rotate(5deg);
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 198, 255, 0.7);
}

.fab-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #00c6ff;
    animation: fabRing 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    pointer-events: none;
}

@keyframes fabRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   Modern Toast Notification
   ========================================================================== */

#coco-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(16px);
    color: #fff;
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.92rem;
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#coco-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

#coco-toast .toast-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.glass-footer {
    background: rgba(7, 10, 19, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 35px 0;
    margin-top: 80px;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 450px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.6rem;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.footer-links-list a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.social-circle-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
    margin-right: 0.5rem;
}

.social-circle-link:hover {
    background: var(--grad-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-primary);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 40px;
    padding-top: 25px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Theme Switcher Button & Animations
   ========================================================================== */

.btn-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--bg-glass-card);
    border: var(--border-glass);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

.btn-theme-toggle:hover {
    transform: rotate(20deg) scale(1.08);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.btn-theme-toggle i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-theme-toggle:active i {
    transform: rotate(180deg) scale(0.9);
}

/* Smooth Theme Transitions */
html, body,
.glass-navbar,
.stat-card-glass,
.movie-card-modern,
.pricing-card,
.plan-card,
.step-card,
.user-table-card,
.helper-banner-card,
.vip-table-card,
.faq-card,
.glass-footer,
.search-box-glass,
.modal-content,
.modal-glass,
.btn-theme-toggle {
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Light Theme Component Overrides
   ========================================================================== */

[data-theme="light"] body {
    color: #0f172a;
    background-color: #f1f5f9;
}

[data-theme="light"] .btn-theme-toggle {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .btn-theme-toggle:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .glow-orb {
    opacity: 0.18;
}

[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4, 
[data-theme="light"] h5, 
[data-theme="light"] h6 {
    color: #0f172a;
}

[data-theme="light"] .hero-lead,
[data-theme="light"] .section-desc,
[data-theme="light"] .step-text,
[data-theme="light"] .footer-desc {
    color: #475569;
}

[data-theme="light"] .glass-navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .glass-navbar .navbar-brand {
    color: #0f172a !important;
}

[data-theme="light"] .nav-link {
    color: #475569 !important;
}

[data-theme="light"] .nav-link:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nav-link.active {
    color: var(--primary) !important;
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
}

[data-theme="light"] .search-box-glass {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .search-box-glass input {
    color: #0f172a;
}

[data-theme="light"] .search-box-glass input::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .filter-chip {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #475569;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .filter-chip:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

[data-theme="light"] .stat-card-glass,
[data-theme="light"] .step-card,
[data-theme="light"] .plan-card,
[data-theme="light"] .movie-card-modern,
[data-theme="light"] .user-table-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .stat-number {
    color: #0f172a !important;
}

[data-theme="light"] .text-counter {
    color: #0f172a !important;
}

[data-theme="light"] .step-title {
    color: #0f172a !important;
}

[data-theme="light"] .section-title {
    color: #0f172a !important;
}

[data-theme="light"] .movie-card-modern:hover {
    box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.35);
}

[data-theme="light"] .movie-card-title,
[data-theme="light"] .user-name-title {
    color: #0f172a !important;
}

[data-theme="light"] .btn-copy-name {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #475569;
}

[data-theme="light"] .movie-lang-pill {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
}

[data-theme="light"] .plan-card.plan-vip {
    background: linear-gradient(180deg, #fbf7ff 0%, #ffffff 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 15px 35px -5px rgba(168, 85, 247, 0.18);
}

[data-theme="light"] .plan-price-tag {
    color: #0f172a;
}

[data-theme="light"] .plan-features li {
    color: #334155;
}

[data-theme="light"] .plan-card .btn-outline-light {
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .plan-card .btn-outline-light:hover {
    background: #0f172a;
    color: #ffffff;
}

[data-theme="light"] .btn-outline-primary-glow {
    background: #f5f3ff;
    border: 1.5px solid #6366f1;
    color: #4f46e5 !important;
}

[data-theme="light"] .btn-outline-primary-glow:hover {
    background: #6366f1 !important;
    border-color: #6366f1 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.3) !important;
}


[data-theme="light"] .glass-footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-brand {
    color: #0f172a;
}

[data-theme="light"] .footer-links-list a {
    color: #475569;
}

[data-theme="light"] .footer-links-list a:hover {
    color: #0f172a;
}

[data-theme="light"] .social-circle-link {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
}

[data-theme="light"] .table-custom thead th {
    background: #f1f5f9 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    color: #0284c7 !important;
}

[data-theme="light"] .table-custom tbody td {
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .table-custom tbody tr:hover td {
    background: rgba(99, 102, 241, 0.04) !important;
}

[data-theme="light"] .pagination-custom .page-link {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
}

[data-theme="light"] .pagination-custom .page-item.active .page-link {
    background: var(--grad-primary);
    color: #ffffff;
    border-color: transparent;
}

[data-theme="light"] .pagination-top-bar {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .badge-status-pill {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}

[data-theme="light"] .badge-status-pill strong {
    color: #0f172a !important;
}

[data-theme="light"] .page-indicator-pill {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4338ca;
}

[data-theme="light"] .page-indicator-pill strong {
    color: #312e81 !important;
}

[data-theme="light"] .pagination-pro-bar {
    background: rgba(255, 255, 255, 0.9);
    border-color: #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .pagination-pro .page-link {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #475569;
}

[data-theme="light"] .pagination-pro .page-link:hover:not(.disabled) {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5;
}

[data-theme="light"] .pagination-pro .page-item.active .page-link {
    background: var(--grad-primary);
    color: #ffffff;
    border-color: transparent;
}

[data-theme="light"] .pagination-tool-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .jump-input-group .jump-input,
[data-theme="light"] .per-page-select-custom {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

[data-theme="light"] .jump-input-group .jump-addon {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #64748b;
}

[data-theme="light"] .page-skip-chip {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #475569;
}

[data-theme="light"] .page-skip-chip:hover {
    background: #ecfeff;
    border-color: #a5f3fc;
    color: #0891b2;
}

[data-theme="light"] .page-keyboard-hint kbd {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

[data-theme="light"] .footer-bottom-bar {
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

[data-theme="light"] .modal-content {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .modal-body .p-3 {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(0%);
}

[data-theme="light"] .glass-footer h5,
[data-theme="light"] .footer-links-list h5,
[data-theme="light"] .footer-brand span {
    color: #0f172a !important;
}

[data-theme="light"] .badge-masked-id {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .search-count-text {
    color: #0f172a !important;
}

[data-theme="light"] .progress-search-track {
    background: #e2e8f0 !important;
}

[data-theme="light"] .empty-state-box {
    background: #ffffff !important;
    border: 1px dashed #cbd5e1 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .empty-state-box h4 {
    color: #0f172a !important;
}

[data-theme="light"] .empty-state-box p {
    color: #475569 !important;
}

/* General Empty State Card Component */
.empty-state-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 3.5rem 1.5rem;
    transition: var(--transition-smooth);
}

.badge-masked-id {
    background: rgba(15, 23, 42, 0.85);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.search-count-text {
    color: var(--text-primary);
}

.progress-search-track {
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Full Multi-Device Responsive System
   Mobile, Notepad/Tablet, Laptop, Desktop
   ========================================================================== */

/* Tablets / Notepads (max-width: 991px) */
@media (max-width: 991.98px) {
    .glass-navbar .navbar-collapse {
        background: var(--bg-surface);
        border: var(--border-glass);
        border-radius: 18px;
        padding: 1.25rem;
        margin-top: 0.75rem;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }

    [data-theme="light"] .glass-navbar .navbar-collapse {
        background: #ffffff;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

    .hero-section {
        padding: 110px 0 50px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta-grid {
        gap: 0.75rem;
    }

    .btn-glow {
        padding: 0.75rem 1.3rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Mobile & Small Tablets (max-width: 767.98px) */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 95px 0 40px 0;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-lead {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .hero-cta-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .hero-cta-grid .btn-glow {
        width: 100%;
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }

    .search-box-glass {
        padding: 0.3rem 0.4rem 0.3rem 0.9rem;
    }

    .search-box-glass input {
        font-size: 0.95rem;
    }

    .search-box-glass .btn-search {
        padding: 0.6rem 1.1rem;
        font-size: 0.88rem;
    }

    .quick-filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .quick-filter-chips::-webkit-scrollbar {
        display: none;
    }

    .filter-chip {
        flex-shrink: 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .step-card {
        padding: 1.25rem;
    }

    .plan-card {
        padding: 1.75rem 1.25rem;
    }

    .fab-telegram {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Very Small Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-pill-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
    }

    .hero-cta-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-grid .btn-glow {
        justify-content: center;
    }

    .movie-card-modern {
        border-radius: 14px;
    }

    .poster-wrapper {
        padding-top: 135%;
    }

    .movie-card-body {
        padding: 0.75rem 0.6rem 0.6rem 0.6rem;
    }

    .movie-card-title {
        font-size: 0.82rem;
        min-height: 2.1rem;
    }

    .btn-download-movie {
        font-size: 0.75rem;
        padding: 0.45rem 0.5rem;
    }

    .stat-card-glass {
        padding: 0.9rem 0.5rem;
    }
}

/* ==========================================================================
   Legal & Information Pages (Privacy, Terms, DMCA, Disclaimer, Contact)
   ========================================================================== */

.legal-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    margin-bottom: 2.5rem;
    transition: var(--transition-smooth);
}

.legal-section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 100px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section-title i {
    font-size: 1.25rem;
}

.legal-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-list {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.legal-list li {
    margin-bottom: 0.5rem;
}

.legal-list li strong {
    color: var(--text-primary);
}

.legal-callout {
    background: rgba(99, 102, 241, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: 0 14px 14px 0;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.legal-callout-warning {
    background: rgba(245, 158, 11, 0.08);
    border-left-color: var(--accent-amber);
    color: #fcd34d;
}

.legal-callout-danger {
    background: rgba(239, 68, 68, 0.08);
    border-left-color: var(--accent-rose);
    color: #fca5a5;
}

.legal-callout-cyan {
    background: rgba(6, 182, 212, 0.08);
    border-left-color: var(--accent-cyan);
    color: #a5f3fc;
}

/* Legal Quick Navigation Sidebar / Card */
.legal-nav-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}

.legal-nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-smooth);
    margin-bottom: 0.25rem;
}

.legal-nav-link:hover,
.legal-nav-link.active {
    background: rgba(99, 102, 241, 0.15);
    color: #ffffff;
    border-left: 3px solid var(--primary);
    transform: translateX(4px);
}

/* Contact Hub Cards & Forms */
.contact-form-glass {
    background: var(--bg-glass-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.form-label-custom {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-control-glass {
    background: rgba(14, 21, 38, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    transition: var(--transition-smooth) !important;
}

.form-control-glass:focus {
    background: rgba(14, 21, 38, 0.9) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
    outline: none !important;
}

.form-control-glass::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

.form-select-glass {
    background-color: rgba(14, 21, 38, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    cursor: pointer;
}

.form-select-glass:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
}

.contact-info-pill {
    background: var(--bg-glass-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    margin-bottom: 1rem;
}

.contact-info-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* Light Theme Support for Legal & Contact */
[data-theme="light"] .legal-card,
[data-theme="light"] .legal-nav-card,
[data-theme="light"] .contact-form-glass {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .legal-section-title {
    color: #0f172a;
    border-bottom-color: #f1f5f9;
}

[data-theme="light"] .legal-text,
[data-theme="light"] .legal-list {
    color: #475569;
}

[data-theme="light"] .legal-list li strong {
    color: #0f172a;
}

[data-theme="light"] .legal-callout {
    background: #eef2ff;
    color: #3730a3;
}

[data-theme="light"] .legal-callout-warning {
    background: #fef3c7;
    color: #92400e;
}

[data-theme="light"] .legal-callout-danger {
    background: #fee2e2;
    color: #991b1b;
}

[data-theme="light"] .legal-callout-cyan {
    background: #ecfeff;
    color: #155e75;
}

[data-theme="light"] .legal-nav-link {
    color: #475569;
}

[data-theme="light"] .legal-nav-link:hover,
[data-theme="light"] .legal-nav-link.active {
    background: #eef2ff;
    color: #4f46e5;
}

[data-theme="light"] .form-label-custom {
    color: #334155;
}

[data-theme="light"] .form-control-glass,
[data-theme="light"] .form-select-glass {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .contact-info-pill {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-info-pill:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767.98px) {
    .legal-card,
    .contact-form-glass {
        padding: 1.5rem 1.25rem;
        border-radius: 18px;
    }
}

