/*
	Theme Name: MoviesLot VIP
	Theme URI: https://movieslot.org/
	Description: Ultra-Modern VIP Dark Movies & Web Series WordPress Theme (MoviesLot Design System)
    Made By: Aryan & Akhtar Khan
    
	Author: MoviesLot - Aryan Singhania
	Author URI: https://movieslot.org/
	Version: 5.0
	License: GNU General Public License v2 or later
	Tags: movies, dark-theme, streaming, glassmorphism, responsive, vip made-by-aryan-Singhania
*/

@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(5px);
    -webkit-backdrop-filter: blur(5px);
    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(5px);
    -webkit-backdrop-filter: blur(5px);
    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: 1860px;
    width: 98%;
    margin: 0 auto;
    padding: 0 clamp(12px, 1.5vw, 24px);
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-image {
    height: 74px;
    max-height: 58px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all var(--transition-fast);
}

@media screen and (min-width: 1300px) {
    .logo-image {
        height: 60px;
        max-height: 62px;
    }
}

.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(5px);
    -webkit-backdrop-filter: blur(5px);
    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(5px);
    -webkit-backdrop-filter: blur(5px);
    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: 1860px;
    width: 98%;
    margin: 0 auto;
    padding: 88px clamp(12px, 1.5vw, 24px) 40px;
    min-height: calc(100vh - 80px);
    box-sizing: border-box;
}

/* ==========================================================================
   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: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap !important;
    max-width: 85% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.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: minmax(0, 1fr) 340px;
    gap: 32px;
    width: 100%;
    max-width: 100%;
}

.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: 32px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    direction: ltr !important;
    unicode-bidi: isolate;
}

.post-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.post-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.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.6;
    font-size: 0.95rem;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
    direction: ltr !important;
    unicode-bidi: isolate;
    text-align: left;
}

.page-body * {
    box-sizing: border-box;
}

.page-body p {
    margin-bottom: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    direction: ltr !important;
    unicode-bidi: isolate;
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5 {
    color: #fff;
    margin: 24px 0 12px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.page-body hr {
    border: 0;
    height: 1px;
    background: var(--border-glass);
    margin: 24px 0;
    width: 100%;
    max-width: 100%;
}

.page-body img:not(.emoji):not(.wp-smiley),
.post-content img:not(.emoji):not(.wp-smiley),
.md-scraped-img {
    border-radius: var(--radius-md, 10px);
    margin: 16px auto !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* Image wrappers & screenshot paragraphs (excluding inline emojis) */
.page-body a:has(> img:not(.emoji):not(.wp-smiley)),
.post-content a:has(> img:not(.emoji):not(.wp-smiley)) {
    display: block !important;
    max-width: 100% !important;
    margin: 14px auto !important;
    text-align: center !important;
}

.page-body a>img:not(.emoji):not(.wp-smiley),
.post-content a>img:not(.emoji):not(.wp-smiley) {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}

.page-body p:has(> img:not(.emoji):not(.wp-smiley)) {
    text-align: center;
    max-width: 100%;
}

/* Strict Inline Emoji & Smilies Reset */
img.emoji,
img.wp-smiley,
.page-body img.emoji,
.post-content img.emoji,
.page-body img.wp-smiley,
.post-content img.wp-smiley {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    height: 1.15em !important;
    width: 1.15em !important;
    max-width: 1.15em !important;
    margin: 0 0.2em 0 0 !important;
    padding: 0 !important;
    vertical-align: -0.15em !important;
    background: none !important;
    float: none !important;
}

/* Scraped containers & div wrappers inside post content */
.page-body div {
    max-width: 100%;
    box-sizing: border-box;
}

/* High Converting VIP Download Button Styles */
.page-body h5 {
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
}

.page-body h5 strong {
    display: block;
    width: 100%;
    max-width: 100%;
}

.page-body h5 a,
.page-body a[href*="file-dl"],
.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-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    margin: 8px auto;
    max-width: 100% !important;
    width: auto;
    background: linear-gradient(135deg, #8b6ffc 0%, #7c5cfc 40%, #5d3cd9 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    border-radius: var(--radius-md, 10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 18px rgba(124, 92, 252, 0.45);
    transition: all 0.25s ease;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal !important;
    box-sizing: border-box !important;
}

.page-body h5 a:hover,
.page-body a[href*="file-dl"]:hover,
.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, #9d85fc 0%, #8b6ffc 40%, #6b4ce0 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 92, 252, 0.65);
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Tables, embeds & videos inside post body */
.page-body table {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 18px 0;
}

.page-body iframe,
.page-body video,
.page-body embed {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius-md, 8px);
    margin: 16px auto;
    display: block;
}

.page-body pre,
.page-body code {
    max-width: 100% !important;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* 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 (Curated VIP Design) */
.category-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
}

.category-list li {
    margin: 0;
    padding: 0;
    display: inline-flex;
}

.category-list li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-secondary, #cbd5e1);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.category-list li a .cat-count {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.07);
    padding: 1px 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.category-list li a:hover {
    background: linear-gradient(135deg, #8b6ffc 0%, #7c5cfc 50%, #6342e0 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(124, 92, 252, 0.45);
}

.category-list li a:hover .cat-count {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
}

/* Highlighted VIP Categories (4K, 1080p, Marvel, DC, Spider-Man, South, etc.) */
.category-list li a.cat-highlight {
    border-color: rgba(124, 92, 252, 0.35);
    background: rgba(124, 92, 252, 0.09);
    color: #f1f5f9;
}

.category-list li a.cat-highlight .cat-count {
    color: #c4b5fd;
    background: rgba(124, 92, 252, 0.22);
}

/* 18+ Adult Special Badge */
.category-list li a.cat-adult {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

.category-list li a.cat-adult:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
    color: #ffffff;
}

/* ==========================================================================
   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: 1860px; width: 98%;
    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;
}

/* ==========================================================================
   POST CONTENT SPECIFIC STYLES (Storyline & Details)
   ========================================================================== */
.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);
    max-width: 100%;
    box-sizing: border-box;
}

.oversummary h2 {
    font-size: var(--font-lg);
    color: #fff;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.mvdtails {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    max-width: 100%;
    box-sizing: border-box;
}

.mvdtails p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.mvdtails p::before {
    content: "•";
    color: var(--accent);
    font-size: 1.2rem;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1440px) {
    .movies-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1024px) {
    .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;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .movies-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }

    .post-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px;
        width: 100%;
        max-width: 100%;
    }

    .post-content {
        padding: 26px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .post-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }

    .hero-banner {
        height: 260px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}

@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;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .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;
    }

    .post-content {
        padding: 20px 16px;
        border-radius: var(--radius-md, 12px);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .post-title {
        font-size: 1.35rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .post-meta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
    }

    .page-body p {
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .page-body h3 {
        font-size: 1.2rem;
    }

    .page-body h4 {
        font-size: 1.05rem;
    }

    .page-body h5 {
        font-size: 0.95rem;
        margin: 16px 0;
    }

    .page-body h5 a,
    .page-body a[href*="file-dl"],
    .page-body a[href*="archive"],
    .page-body a[href*="download"],
    .page-body a[href*="mdrive"],
    .page-body a[href*="link"],
    .download-btn-vip {
        display: flex !important;
        width: 100% !important;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .post-sidebar {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .telegram-cta {
        flex-direction: column;
        text-align: center;
        padding: 18px 16px;
        gap: 12px;
    }

    .telegram-btn {
        width: 100%;
        text-align: center;
        display: block;
    }
}

@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;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .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;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .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: 16px 12px;
        border-radius: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .post-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .post-meta {
        gap: 8px;
    }

    .page-body {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .page-body h5 a,
    .page-body a[href*="file-dl"],
    .page-body a[href*="archive"],
    .page-body a[href*="download"],
    .page-body a[href*="mdrive"],
    .page-body a[href*="link"],
    .download-btn-vip {
        padding: 11px 12px;
        font-size: 0.85rem;
    }

    .download-pack {
        padding: 14px 8px !important;
    }

    .sidebar-widget {
        padding: 16px 12px;
    }
}

/* ==========================================================================
   GLOBAL LAYOUT & RESPONSIVENESS (STANDARDS-COMPLIANT)
   ========================================================================== */
html {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark, #0c0c10);
}

.app-container {
    width: 100%;
    max-width: 1860px; width: 98%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Ensure header and ad containers never cause horizontal scroll */
.header-adcode,
.footer-adcode {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;
}

.header-adcode *,
.footer-adcode * {
    max-width: 100% !important;
}

/* Fix WordPress Admin Bar conflicts */
#wpadminbar img {
    max-width: none !important;
    height: auto !important;
    display: inline-block !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#wpadminbar .avatar {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
}

/* Admin Bar Top Offset */
body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

/* ==========================================================================
   VIP GRADIENT DOWNLOAD BUTTONS (Site Theme Match)
   ========================================================================== */
.file-dl-btn,
.download-btn-vip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #8b6ffc 0%, #7c5cfc 40%, #5d3cd9 100%) !important;
    color: #ffffff !important;
    padding: 13px 34px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(124, 92, 252, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin: 8px auto !important;
    min-width: 230px !important;
    max-width: 90% !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.file-dl-btn:hover,
.download-btn-vip:hover {
    background: linear-gradient(135deg, #9d85fc 0%, #8b6ffc 40%, #6b4ce0 100%) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(124, 92, 252, 0.65), 0 0 15px rgba(167, 139, 250, 0.35) !important;
    filter: brightness(1.08) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.file-dl-btn:active,
.download-btn-vip:active {
    transform: translateY(0) scale(0.99) !important;
}eY(0) scale(0.99) !important;
}important;
}