/*
	Theme Name: MoviesDrive VIP
	Theme URI: https://new2.moviesdrive.christmas/
	Description: Ultra-Modern VIP Dark Movies & Web Series WordPress Theme (MoviesDrive Design System)
	Author: MoviesDrive
	Author URI: https://new2.moviesdrive.christmas/
	Version: 5.0
	License: GNU General Public License v2 or later
	Tags: movies, dark-theme, streaming, glassmorphism, responsive, vip
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Geist:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    --bg-dark: #0c0c10;
    --bg-card: #141418;
    --bg-hover: #1c1c22;
    --bg-glass: rgba(20, 20, 26, 0.7);
    --accent: #7c5cfc;
    --accent-hover: #6b4ce0;
    --accent-light: #a78bfa;
    --accent-soft: rgba(124, 92, 252, 0.15);
    --accent-glow: rgba(124, 92, 252, 0.4);
    --gold: #fbbf24;
    --gold-soft: rgba(251, 191, 36, 0.15);
    --cyan: #00e5ff;
    --green: #10b981;
    --red: #ef4444;
    
    --text-primary: #f3f4f6;
    --text-secondary: #a0a0b0;
    --text-muted: #6b7280;
    
    --border: #222230;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --notice-bg: #12121a;
    --notice-border: rgba(124, 92, 252, 0.35);
    
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-md: 1.05rem;
    --font-lg: 1.25rem;
    --font-xl: 1.5rem;
    --font-2xl: 1.85rem;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(900px 500px at 15% 10%, #000000 0%, transparent 60%),
        radial-gradient(700px 400px at 85% 20%, #2a1d3f 0%, transparent 60%),
        linear-gradient(217deg, #000000e8, #0f1424);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none !important;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    color: inherit;
}

/* ==========================================================================
   GLASSMORPHISM & UTILITIES
   ========================================================================== */
.glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* ==========================================================================
   FIXED HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(121deg, #201935, rgba(0, 0, 0, 0.35));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(60, 60, 90, 0.35);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #a78bfa 0%, #7c5cfc 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Desktop Navigation */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    color: var(--text-secondary);
    font-size: var(--font-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.dropdown-icon {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: transform var(--transition-fast);
}

.nav-item.has-submenu:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Submenu Dropdown */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: #14141cf5;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    z-index: 100;
}

.nav-item.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.submenu li a {
    display: block;
    padding: 9px 18px;
    color: var(--text-secondary);
    font-size: var(--font-sm);
    font-weight: 500;
    transition: var(--transition-fast);
}

.submenu li a:hover {
    color: var(--text-primary);
    background: var(--accent-soft);
    padding-left: 22px;
}

/* Search Bar */
.search-bar {
    position: relative;
    width: 260px;
    flex-shrink: 0;
}

.searchform {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-sm);
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(20, 20, 28, 0.95);
    box-shadow: 0 0 15px var(--accent-soft);
}

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

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1003;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Slide Menu */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    height: 100vh;
    background: #111116f5;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.8);
}

.side-menu.active {
    transform: translateX(0);
}

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

.close-menu {
    width: 32px;
    height: 32px;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.close-menu:hover {
    background: var(--accent);
    color: #fff;
}

.close-menu svg {
    width: 16px;
    height: 16px;
}

.side-nav {
    padding: 12px 0;
}

.side-nav-list {
    list-style: none;
}

.side-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.side-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--font-sm);
    transition: var(--transition-fast);
}

.side-nav-link:hover, .side-nav-link.active {
    background: var(--accent-soft);
    color: var(--accent-light);
}

.side-nav-link .dropdown-icon {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    transition: transform 0.3s;
}

.side-nav-item.open .dropdown-icon {
    transform: rotate(180deg);
}

.side-submenu {
    display: none;
    list-style: none;
    background: rgba(0, 0, 0, 0.3);
}

.side-nav-item.open .side-submenu {
    display: block;
}

.side-submenu li a {
    display: block;
    padding: 10px 20px 10px 34px;
    color: var(--text-secondary);
    font-size: 0.825rem;
    transition: var(--transition-fast);
}

.side-submenu li a:hover {
    color: var(--accent-light);
    background: var(--bg-hover);
}

/* ==========================================================================
   APP CONTAINER & LAYOUT
   ========================================================================== */
.app-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 95px 24px 40px;
    min-height: calc(100vh - 80px);
}

/* ==========================================================================
   NOTICE SECTION (SITEWIDE BANNER)
   ========================================================================== */
.notice-section {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--notice-bg);
    border: 1px solid var(--notice-border);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.notice-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-light);
}

.notice-text {
    flex: 1;
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.notice-text b, .notice-text strong {
    color: var(--gold);
}

.notice-text a {
    color: #60a5fa;
    font-weight: 600;
}

.notice-text a:hover {
    text-decoration: underline !important;
}

.notice-close {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.notice-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.notice-close svg {
    width: 14px;
    height: 14px;
}

.notice-section.hidden {
    display: none;
}

/* ==========================================================================
   HERO FEATURED SLIDER
   ========================================================================== */
.hero-section {
    position: relative;
    margin-bottom: 32px;
}

.hero-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #111116;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.hero-banner {
    position: relative;
    height: 320px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-banner.active {
    display: block;
    opacity: 1;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(12, 12, 16, 0.98) 0%, 
        rgba(12, 12, 16, 0.88) 35%, 
        rgba(12, 12, 16, 0.5) 60%, 
        rgba(12, 12, 16, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 36px 48px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 580px;
}

.hero-title {
    font-size: var(--font-2xl);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    width: fit-content;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8b6ffc 0%, #5d3cd9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.hero-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.08);
}

.hero-nav svg {
    width: 20px;
    height: 20px;
}

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

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.hero-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    width: 32px;
    border-radius: 4px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ==========================================================================
   CONTENT SECTION & MOVIES GRID (6 COLUMNS)
   ========================================================================== */
.content-section {
    margin-bottom: 36px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-title i, .section-title svg {
    color: var(--accent);
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* Poster Card */
.poster-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 8px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.poster-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 92, 252, 0.5);
    box-shadow: 0 0 20px rgba(124, 92, 252, 0.35), 0 10px 30px rgba(0, 0, 0, 0.6);
}

.poster-inner {
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.poster-image {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: #14182a;
    border-radius: var(--radius-md);
}

.poster-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.poster-card:hover .poster-image img {
    transform: scale(1.06);
}

/* Quality Badges */
.poster-quality {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.poster-quality.badge-4k {
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    border-color: #f59e0b;
}

.poster-quality.badge-bluray {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-color: #60a5fa;
}

.poster-quality.badge-fhd {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #34d399;
}

.poster-quality.badge-cam {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #fbbf24;
}

.poster-info {
    padding: 10px 4px 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.poster-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 0 40px;
}

.page-btn {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--accent);
}

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

.page-btn svg {
    width: 16px;
    height: 16px;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.page-num {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: var(--font-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.page-num:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-num.active, .page-num.current {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.page-dots {
    color: var(--text-muted);
    padding: 0 4px;
    font-size: var(--font-sm);
}

/* ==========================================================================
   SINGLE POST LAYOUT & BREADCRUMBS
   ========================================================================== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent-light);
}

.breadcrumb-separator {
    color: var(--text-muted);
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--text-secondary);
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.post-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.post-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
}

.post-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.post-date svg {
    width: 16px;
    height: 16px;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--transition-fast);
}

.category-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* Post Main Body */
.page-body {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.page-body p {
    margin-bottom: 16px;
}

.page-body h1, .page-body h2, .page-body h3, .page-body h4, .page-body h5 {
    color: #fff;
    margin: 24px 0 12px;
    font-weight: 700;
}

.page-body hr {
    border: 0;
    height: 1px;
    background: var(--border-glass);
    margin: 24px 0;
}

.page-body img {
    border-radius: var(--radius-md);
    margin: 16px auto;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

/* High Converting VIP Download Button Styles */
.page-body h5 {
    font-size: 1.05rem;
    line-height: 1.5;
}

.page-body a[href*="archive"], 
.page-body a[href*="download"],
.page-body a[href*="mdrive"],
.page-body a[href*="link"],
.download-btn-vip {
    display: inline-block;
    padding: 12px 28px;
    margin: 8px 4px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease;
    text-align: center;
    cursor: pointer;
}

.page-body a[href*="archive"]:hover, 
.page-body a[href*="download"]:hover,
.page-body a[href*="mdrive"]:hover,
.download-btn-vip:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.55);
}

/* Telegram CTA Card */
.telegram-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15) 0%, rgba(0, 136, 204, 0.05) 100%);
    border: 1px solid rgba(0, 136, 204, 0.35);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin: 32px 0 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.telegram-icon {
    width: 44px;
    height: 44px;
    color: #0088cc;
    flex-shrink: 0;
}

.telegram-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.telegram-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.telegram-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.telegram-btn {
    padding: 10px 22px;
    background: #0088cc;
    color: #fff !important;
    font-weight: 600;
    font-size: var(--font-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

.telegram-btn:hover {
    background: #0099e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
}

/* Related Movies in Single Post */
.related-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

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

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i, .widget-title svg {
    color: var(--accent);
}

/* Sidebar Search Widget */
.search-widget .search-form {
    display: flex;
    position: relative;
}

.widget-search-input {
    width: 100%;
    padding: 10px 42px 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-sm);
    transition: var(--transition-fast);
}

.widget-search-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(20, 20, 28, 0.95);
}

.widget-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-search-btn svg {
    width: 18px;
    height: 18px;
}

.widget-search-btn:hover {
    color: var(--accent-light);
}

/* Recent Posts List */
.recent-posts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-post-item a {
    display: block;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.recent-post-item a:hover {
    color: #fff;
    background: var(--accent-soft);
    border-color: rgba(124, 92, 252, 0.3);
    transform: translateX(4px);
}

/* Categories List */
.category-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-list li a {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.category-list li a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

/* ==========================================================================
   OFFICIAL DOMAIN POPUP MODAL (#md-hd-notice)
   ========================================================================== */
.md-hd-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: 'Geist', 'Inter', sans-serif;
}

.md-hd-overlay.is-visible {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.md-hd-card {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: rgba(18, 18, 24, 0.98);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 22px;
    padding: 28px;
    color: #fff;
    text-align: left;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
    transform: scale(0.9);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.md-hd-overlay.is-visible .md-hd-card {
    transform: scale(1);
}

.md-hd-icon-box {
    width: 42px;
    height: 42px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--gold);
}

.md-hd-close-x {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #666;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: 0.3s;
}

.md-hd-close-x:hover {
    color: #fff;
    transform: rotate(90deg);
}

.md-hd-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1.2px;
}

.md-hd-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.md-hd-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 20px;
    color: #fff;
}

.md-hd-title em {
    font-style: italic;
    color: #ff6b4a;
    font-weight: 700;
}

.md-hd-action-gold {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    border-radius: 14px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.4);
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
}

.md-hd-action-gold:hover {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.15);
    transform: translateY(-2px);
}

.md-lbl-main {
    font-size: 0.65rem;
    color: var(--cyan);
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.md-lbl-backup {
    font-size: 0.65rem;
    color: #d580ff;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.md-hd-value {
    font-size: 0.95rem;
    color: #fbbf24;
    font-weight: 700;
    font-family: monospace;
}

.md-hd-arrow {
    width: 28px;
    height: 28px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 13px;
}

.md-hd-dismiss {
    width: 100%;
    padding: 13px 18px;
    background: #181820;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #999;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    transition: 0.3s;
    margin-top: 8px;
}

.md-hd-dismiss:hover {
    color: #fff;
    border-color: #fbbf24;
    background: #202028;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #08080c;
    border-top: 1px solid var(--border-glass);
    padding: 24px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-content a {
    font-weight: 600;
}

/* ==========================================================================
   POST CONTENT SPECIFIC STYLES (Storyline, Details, Downloads)
   ========================================================================== */
.oversummary {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(145deg, rgba(20, 20, 28, 0.6) 0%, rgba(20, 20, 28, 0.2) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
}

.oversummary h2 {
    font-size: var(--font-lg);
    color: #fff;
    margin-bottom: 12px;
}

.mvdtails {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}

.mvdtails p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mvdtails p::before {
    content: "•";
    color: var(--accent);
    font-size: 1.2rem;
}

.page-body h5 {
    text-align: center;
    margin: 30px 0;
}

.page-body h5 a {
    display: inline-block;
    background: linear-gradient(135deg, #5f7cff 0%, #7a5cff 45%, #d46bff 75%, #ff6ec7 100%);
    color: #fff !important;
    padding: 14px 35px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(122, 92, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-body h5 a:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(122, 92, 255, 0.5);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .movies-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 18px;
    }
    .nav-menu {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .search-bar {
        max-width: none;
        flex: 1;
    }
    .app-container {
        padding: 85px 18px 30px;
    }
    .movies-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    .post-layout {
        grid-template-columns: 1fr;
    }
    .hero-banner {
        height: 260px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 60px;
        padding: 0 14px;
        gap: 12px;
    }
    .logo-text {
        font-size: 1.15rem;
    }
    .logo-image {
        max-height: 36px;
    }
    .app-container {
        padding: 75px 14px 25px;
    }
    .notice-section {
        padding: 10px 14px;
        gap: 10px;
    }
    .hero-banner {
        height: 220px;
    }
    .hero-content {
        padding: 20px 24px;
    }
    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }
    .hero-description {
        margin-bottom: 14px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .movies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .telegram-cta {
        flex-direction: column;
        text-align: center;
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        display: none;
    }
    .header-container {
        gap: 8px;
    }
    .logo-text {
        font-size: 1rem;
    }
    .search-input {
        padding: 8px 10px 8px 32px;
        font-size: 0.8rem;
    }
    .app-container {
        padding: 68px 10px 20px;
    }
    .notice-section {
        flex-wrap: wrap;
        padding: 10px 12px;
        position: relative;
    }
    .notice-icon {
        display: none;
    }
    .notice-text {
        flex: 1 1 100%;
        padding-right: 24px;
        font-size: 0.8rem;
    }
    .notice-close {
        position: absolute;
        top: 8px;
        right: 8px;
    }
    .hero-banner {
        height: 190px;
    }
    .hero-content {
        padding: 16px;
    }
    .hero-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .hero-nav {
        width: 32px;
        height: 32px;
    }
    .hero-prev { left: 8px; }
    .hero-next { right: 8px; }
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .poster-card {
        border-radius: 14px;
        padding: 6px;
    }
    .poster-inner {
        border-radius: 10px;
    }
    .poster-title {
        font-size: 0.8rem;
    }
    .post-content {
        padding: 18px 14px;
    }
    .post-title {
        font-size: 1.25rem;
    }
}