/* ========================================================
   UzNew.Org - Modern 2026 Cinematic Theme
   Radical Redesign for Premium Cinema & Serial Portal
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #07090e;
    --bg-surface: #0e131f;
    --bg-card: rgba(18, 24, 38, 0.85);
    --bg-card-hover: rgba(28, 38, 60, 0.95);
    --primary: #06b6d4;
    --primary-glow: rgba(6, 182, 212, 0.4);
    --accent-gold: #f59e0b;
    --accent-purple: #8b5cf6;
    --accent-emerald: #10b981;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(6, 182, 212, 0.45);
    --card-radius: 16px;
    --btn-radius: 12px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-dark) !important;
    background-image: 
        radial-gradient(at 15% 10%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
        radial-gradient(at 85% 15%, rgba(139, 92, 246, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 90%, rgba(245, 158, 11, 0.05) 0px, transparent 50%) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
    letter-spacing: -0.01em;
    min-height: 100vh;
    padding-bottom: 70px; /* Space for mobile dock */
}

/* ==================== HEADER ==================== */
.header {
    background: rgba(7, 10, 17, 0.88) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6) !important;
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

.header__inner {
    padding: 16px 0 !important;
    border-bottom: none !important;
}

.logo {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 26px !important;
    letter-spacing: -0.5px !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: none !important;
}

.logo::before {
    content: "🎬";
    font-size: 24px;
}

.logo span {
    background: linear-gradient(135deg, #06b6d4, #3b82f6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900 !important;
}

.header__search-box {
    max-width: 520px !important;
}

.header__search-box input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 9999px !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    height: 42px !important;
    padding: 0 45px 0 18px !important;
    transition: all 0.25s ease !important;
}

.header__search-box input:focus {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 25px var(--primary-glow) !important;
}

.header__search-box button {
    height: 42px !important;
    width: 45px !important;
    color: var(--text-secondary) !important;
    transition: color 0.2s ease !important;
}

.header__search-box input:focus + button,
.header__search-box button:hover {
    color: var(--primary) !important;
}

/* ==================== HERO BILLBOARD ==================== */
.hero-billboard {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12) 0%, rgba(139, 92, 246, 0.12) 50%, rgba(7, 10, 17, 0.95) 100%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.25) 0%, transparent 50%),
                #0d121f;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px -15px var(--primary-glow);
    padding: 45px 40px;
    margin-bottom: 35px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-billboard {
        padding: 28px 20px;
        border-radius: 18px;
    }
}

.hero-billboard__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: #06b6d4;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #06b6d4;
    box-shadow: 0 0 10px #06b6d4;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-billboard__title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 14px;
    max-width: 720px;
}

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

.hero-billboard__desc {
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 650px;
    margin-bottom: 25px;
}

.hero-billboard__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: var(--btn-radius);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero--primary {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: #fff;
    box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.5);
}

.btn-hero--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(6, 182, 212, 0.7);
    color: #fff;
}

.btn-hero--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--border-subtle);
}

.btn-hero--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.hero-billboard__stats {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-pill {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-pill .stat-num {
    color: #fff;
    font-weight: 700;
    margin-right: 4px;
}

/* ==================== NAVIGATION PILLS ==================== */
.sect__menu {
    gap: 8px !important;
    flex-wrap: wrap !important;
    margin: 15px 0 25px 0 !important;
}

.sect__menu li a, 
.sect__menu li span {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 18px !important;
    border-radius: 9999px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-subtle) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}

.sect__menu li a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}

.sect__menu li a.active,
.sect__menu li span {
    background: linear-gradient(135deg, #06b6d4, #2563eb) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35) !important;
}

.sect__all-link {
    color: #06b6d4 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
}

.sect__all-link:hover {
    transform: translateX(3px) !important;
    color: #38bdf8 !important;
}

/* ==================== MOVIE CARDS ==================== */
.grid-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 20px !important;
}

@media (min-width: 768px) {
    .grid-items {
        grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)) !important;
        gap: 24px !important;
    }
}

.item-poster {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--card-radius) !important;
    padding: 10px !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
}

.item-poster:hover {
    transform: translateY(-7px) scale(1.01) !important;
    border-color: var(--border-hover) !important;
    background: var(--bg-card-hover) !important;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.8), 0 0 30px -5px var(--primary-glow) !important;
}

.item-poster__img {
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #111624 !important;
}

.item-poster__img img {
    border-radius: 12px !important;
    transition: transform 0.4s ease !important;
    width: 100% !important;
    aspect-ratio: 2/3 !important;
    object-fit: cover !important;
    display: block !important;
}

.item-poster:hover .item-poster__img img {
    transform: scale(1.07) !important;
}

.item-poster__img::before {
    content: "HD";
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    background: rgba(6, 182, 212, 0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 7px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.item__play-btn {
    width: 52px !important;
    height: 52px !important;
    background: rgba(6, 182, 212, 0.95) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 18px !important;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.7) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.item-poster:hover .item__play-btn {
    transform: scale(1.15) !important;
    box-shadow: 0 0 35px rgba(6, 182, 212, 1) !important;
}

.item-poster__title {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    color: #f1f5f9 !important;
    margin-top: 10px !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 38px !important;
}

.item-poster:hover .item-poster__title {
    color: var(--primary) !important;
}

.item-poster__meta {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    margin-top: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ==================== SERIES EPISODES CHIPS ==================== */
.episodes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
}

.ep-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ep-chip:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

.ep-chip--active {
    background: linear-gradient(135deg, #06b6d4, #2563eb) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.45);
}

.ep-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: #fff;
    transition: all 0.2s ease;
}

.ep-nav-btn:hover {
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
}

/* ==================== MOBILE BOTTOM DOCK ==================== */
.mobile-bottom-dock {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-dock {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(7, 10, 17, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-subtle);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        padding: 0 10px;
    }

    .mobile-dock-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
        gap: 4px;
        transition: color 0.2s ease;
    }

    .mobile-dock-item i {
        font-size: 18px;
    }

    .mobile-dock-item:hover,
    .mobile-dock-item.active {
        color: var(--primary);
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #07090e;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #06b6d4;
}
