:root {
    --primary-color: #ff0055;
    --secondary-color: #1a1a1a;
    --accent-color: #00d2ff;
    --bg-dark: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Layout tokens — updated per breakpoint */
    --header-h: 70px;
    --header-h-mobile: 60px;
    --main-pad: 2rem;
    --main-pad-mobile: 1rem;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* Glassmorphism Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 var(--main-pad);
    height: var(--header-h);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    line-height: 1;
}

.search-container {
    flex: 0 1 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-container input {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
    transition: var(--transition);
}

.search-container input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3);
}

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

.btn-upload {
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
}

/* Layout */
.main-wrapper {
    display: block; /* No longer flex */
    margin-top: var(--header-h);
    min-height: calc(100vh - var(--header-h));
    padding-left: 260px; /* Space for fixed aside */
}

aside {
    width: 260px;
    padding: 2rem;
    border-right: 1px solid var(--glass-border);
    position: fixed;
    left: 0;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    z-index: 95;
    background: var(--bg-dark);
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 1rem;
}

.sidebar-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 10px;
    transition: var(--transition);
}

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

.sidebar-nav a i {
    font-size: 1.2rem;
    width: 24px;
}

/* Video Grid */
main {
    padding: 2rem;
    width: 100%;
}

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

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    position: relative;
    cursor: pointer;
}

.video-card:hover .thumbnail-container img {
    transform: scale(1.1);
}

.thumbnail-container {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Hero Section */
.hero-featured {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1574267432553-4b2026662e8b?w=1200') center/cover;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1;
}

.badge-new {
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }
.video-card:nth-child(4) { animation-delay: 0.4s; }
.video-card:nth-child(5) { animation-delay: 0.5s; }
.video-card:nth-child(6) { animation-delay: 0.6s; }

.duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.view-count::after {
    content: "•";
    margin-left: 0.5rem;
}

/* Nav icon links in header */
.nav-icon {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-icon:hover {
    color: var(--text-primary);
}

/* Generic action button (used in headers across pages) */
.action-btn {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.action-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ====================================================
   CATEGORY BAR
   ==================================================== */
.category-bar {
    display: flex;
    gap: 0.6rem;
    padding: 0.8rem var(--main-pad);
    overflow-x: auto;
    scrollbar-width: none;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: var(--header-h);
    z-index: 100;
    margin-left: 260px; /* Aligned with main content */
}
.category-bar::-webkit-scrollbar { display: none; }

.cat-pill {
    padding: 0.38rem 1.1rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    font-size: 0.82rem;
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.cat-pill:hover, .cat-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ====================================================
   ACTORS ROW
   ==================================================== */
.actors-row {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    scrollbar-width: none;
    margin-bottom: 2rem;
}
.actors-row::-webkit-scrollbar { display: none; }

.actor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    min-width: 72px;
    text-decoration: none;
}
.actor-avatar {
    width: 68px; height: 68px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    transition: var(--transition);
    background: var(--card-bg);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.actor-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.actor-card:hover .actor-avatar {
    border-color: var(--primary-color);
    box-shadow: 0 0 18px rgba(255,0,85,0.45);
    transform: scale(1.06);
}
.actor-name {
    font-size: 0.72rem;
    text-align: center;
    color: var(--text-secondary);
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: var(--transition);
}
.actor-card:hover .actor-name { color: white; }

.mobile-only { display: none; }
.mobile-hide { display: block; }

/* ====================================================
   PROMO & AD AREAS
   ==================================================== */
.promo-area {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    margin: 1.5rem 0;
    padding: 1rem;
}

.promo-area:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.promo-area i {
    font-size: 1.8rem;
    color: var(--primary-color);
    opacity: 0.4;
}

.promo-area .promo-title {
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

.promo-area .promo-size {
    font-size: 0.65rem;
    background: rgba(0,0,0,0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--accent-color);
}

/* Specific Sizes */
.promo-leaderboard { width: 100%; min-height: 100px; }
.promo-rectangle { width: 100%; min-height: 260px; }
.promo-native { width: 100%; min-height: 120px; border-style: dotted; }

.promo-area[data-label]::before {
    content: attr(data-label);
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 0.55rem;
    font-weight: 800;
    opacity: 0.5;
    text-transform: uppercase;
}

/* ====================================================
   SECTION HEADER
   ==================================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}
.section-header h2 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.section-header h2 i { color: var(--primary-color); }

/* ====================================================
   ACTION BTN (global)
   ==================================================== */
.action-btn {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-main);
}
.action-btn:hover { background: var(--primary-color); border-color: var(--primary-color); }

/* ====================================================
   NAV ICON (header)
   ==================================================== */
.nav-icon {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex; align-items: center;
    padding: 0.4rem;
}
.nav-icon:hover { color: white; }
button.nav-icon { background: none; border: none; cursor: pointer; outline: none; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1200px) {
    :root { --main-pad: 1.5rem; }
    aside { width: 220px; padding: 1.5rem; }
}

@media (max-width: 1024px) {
    :root { 
        --header-h: var(--header-h-mobile);
        --main-pad: var(--main-pad-mobile);
    }
    header { padding: 0 1rem; }
    aside { display: none; }
    .main-wrapper { padding-left: 0; }
    .category-bar { top: var(--header-h); margin-left: 0; }
    .hero-featured { height: 320px; padding: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .search-container { 
        position: absolute;
        top: var(--header-h);
        left: 0;
        width: 100%;
        padding: 0.5rem 1rem;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--glass-border);
        display: none; /* Can be toggled with JS */
    }
    .search-container.active { display: block; }
    .ad-leaderboard { height: 60px; }
    .hero-featured { height: 280px; margin-bottom: 2rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.9rem; margin-bottom: 1.5rem; }
    .video-grid { gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .section-tab { padding: 0.75rem 1rem; font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .logo { font-size: 1.2rem; }
    .hero-featured { height: 240px; }
    .hero-content h1 { font-size: 1.5rem; }
    .video-grid { grid-template-columns: 1fr; }
    .category-bar { padding: 0.6rem 1rem; }
    .nav-actions { gap: 1rem; }
    .mobile-only { display: block; }
    .mobile-hide { display: none; }
}

/* ════════════════════════════════════════════════════════════
   POPULAR CAROUSEL
════════════════════════════════════════════════════════════ */
.popular-carousel { margin-bottom: 2.5rem; }

.carousel-header {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 1rem;
}
.carousel-nav-btns { display: flex; gap: 0.5rem; }
.carousel-btn {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--card-bg); border: 1px solid var(--glass-border);
    color: white; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); font-size: 0.78rem;
}
.carousel-btn:hover { background: var(--primary-color); border-color: var(--primary-color); }

.carousel-viewport {
    overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track { display: flex; gap: 1rem; padding: 4px 2px; }

.carousel-skeleton {
    width: 200px; min-width: 200px;
    aspect-ratio: 16/9;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--card-bg) 25%, rgba(255,255,255,0.06) 50%, var(--card-bg) 75%);
    background-size: 400% 100%;
    animation: shimmer 1.4s infinite;
    flex-shrink: 0;
}
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

.carousel-card {
    width: 200px; min-width: 200px; flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--card-bg); border-radius: 12px;
    overflow: hidden; border: 1px solid var(--glass-border);
    cursor: pointer; transition: var(--transition);
}
.carousel-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(255,0,85,0.22);
}
.carousel-thumb {
    position: relative; aspect-ratio: 16/9;
    overflow: hidden; background: #111;
}
.carousel-thumb img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s; display:block; }
.carousel-card:hover .carousel-thumb img { transform: scale(1.06); }

.carousel-rank {
    position: absolute; bottom: 8px; left: 8px; z-index: 2;
    background: var(--primary-color); color: white;
    font-size: 0.7rem; font-weight: 800;
    padding: 2px 8px; border-radius: 4px;
}
.carousel-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0); transition: background 0.25s;
}
.carousel-card:hover .carousel-play-overlay { background: rgba(0,0,0,0.4); }
.carousel-play-circle {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(255,0,85,0.55);
    opacity: 0; transform: scale(0.7); transition: all 0.25s;
}
.carousel-play-circle i { font-size: 0.95rem; color: white; margin-left: 3px; }
.carousel-card:hover .carousel-play-circle { opacity: 1; transform: scale(1); }

.carousel-info { padding: 0.65rem 0.8rem; }
.carousel-info h4 {
    font-size: 0.8rem; font-weight: 600; margin-bottom: 0.25rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    -webkit-line-clamp: 1; line-clamp: 1;
}
.carousel-info span { font-size: 0.7rem; color: var(--text-secondary); }

/* ════════════════════════════════════════════════════════════
   SECTION TABS
════════════════════════════════════════════════════════════ */
.section-tabs {
    display: flex; gap: 0;
    border-bottom: 1px solid var(--glass-border);
    margin: 2rem 0 0; overflow-x: auto; scrollbar-width: none;
}
.section-tabs::-webkit-scrollbar { display: none; }

.section-tab {
    padding: 0.75rem 1.3rem;
    background: transparent; border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary); cursor: pointer;
    font-family: var(--font-main); font-size: 0.88rem; font-weight: 600;
    white-space: nowrap; transition: var(--transition);
    margin-bottom: -1px;
    display: flex; align-items: center; gap: 0.5rem;
}
.section-tab:hover { color: white; }
.section-tab.active { color: white; border-bottom-color: var(--primary-color); }

/* ════════════════════════════════════════════════════════════
   COUNT BAR
════════════════════════════════════════════════════════════ */
.count-bar {
    display: flex; align-items: center;
    justify-content: space-between;
    margin: 1rem 0 1.2rem; min-height: 30px;
}
.per-page-sel {
    background: var(--card-bg); border: 1px solid var(--glass-border);
    color: var(--text-secondary); padding: 0.3rem 0.7rem;
    border-radius: 6px; font-size: 0.8rem; cursor: pointer;
    font-family: var(--font-main);
}
.per-page-sel:focus { outline: none; border-color: var(--primary-color); }

/* ════════════════════════════════════════════════════════════
   PAGINATION
════════════════════════════════════════════════════════════ */
.pagination {
    display: flex; align-items: center;
    justify-content: center; gap: 0.4rem;
    margin-top: 2.5rem; flex-wrap: wrap;
}
.page-btn {
    min-width: 38px; height: 38px;
    border-radius: 8px;
    background: var(--card-bg); border: 1px solid var(--glass-border);
    color: var(--text-secondary); cursor: pointer;
    font-family: var(--font-main); font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 0.7rem;
}
.page-btn:hover:not(:disabled), .page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color); color: white;
}
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.page-ellipsis { color: var(--text-secondary); padding: 0 0.3rem; line-height: 38px; }

/* ════════════════════════════════════════════════════════════
   VIDEO CARD — hover play overlay + enhancements
════════════════════════════════════════════════════════════ */
.card-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0); transition: background 0.25s;
}
.play-icon-circle {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 25px rgba(255,0,85,0.6);
    opacity: 0; transform: scale(0.7); transition: all 0.25s;
}
.play-icon-circle i { font-size: 1.1rem; color: white; margin-left: 3px; }
.video-card:hover .card-play-overlay { background: rgba(0,0,0,0.38); }
.video-card:hover .play-icon-circle  { opacity: 1; transform: scale(1); }
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    border-color: rgba(255,0,85,0.35);
}

.badge-premium {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000; font-size: 0.6rem; font-weight: 800;
    padding: 2px 8px; border-radius: 4px;
}
.cat-tag {
    color: var(--primary-color) !important;
    font-size: 0.76rem; text-decoration: none;
    margin-left: auto; white-space: nowrap;
}
.cat-tag:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   SECTION TITLE GRADIENT
════════════════════════════════════════════════════════════ */
.section-title-gradient {
    font-size: 1.2rem;
    display: flex; align-items: center; gap: 0.6rem;
}

/* ════════════════════════════════════════════════════════════
   ACTOR FILTER BADGE
════════════════════════════════════════════════════════════ */
.filter-badge {
    background: rgba(255,0,85,0.15);
    border: 1px solid rgba(255,0,85,0.3);
    color: var(--primary-color);
    padding: 0.25rem 0.8rem; border-radius: 50px;
    font-size: 0.8rem; display: inline-flex;
    align-items: center; gap: 0.3rem;
}

/* ════════════════════════════════════════════════════════════
   ACTOR CARD — video count badge
════════════════════════════════════════════════════════════ */
.actor-count {
    font-size: 0.65rem; color: var(--primary-color);
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════════
   SIDEBAR HEADING
════════════════════════════════════════════════════════════ */
.sidebar-heading {
    font-size: 0.72rem; color: var(--text-secondary);
    margin-bottom: 0.8rem; text-transform: uppercase;
    letter-spacing: 1px; padding-left: 0.8rem;
}

/* ════════════════════════════════════════════════════════════
   SEARCH ICON inside input
════════════════════════════════════════════════════════════ */
.search-icon {
    position: absolute; left: 1.2rem; top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary); pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   LOADING PLACEHOLDER
════════════════════════════════════════════════════════════ */
.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center; padding: 4rem 2rem;
    color: var(--text-secondary);
    display: flex; flex-direction: column;
    align-items: center; gap: 1.2rem;
}

/* Fix for horizontal shifts */
.carousel-viewport, .actors-row, .category-bar {
    -webkit-overflow-scrolling: touch;
}

/* ════════════════════════════════════════════════════════════
   HAMBURGER MENU & MOBILE MODIFICATIONS
════════════════════════════════════════════════════════════ */
.menu-toggle {
    display: none;
    font-size: 1.6rem;
    color: white;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1100;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.menu-toggle:hover { background: var(--primary-color); border-color: var(--primary-color); }

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 100px 2rem 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    width: 100%;
    margin-bottom: 3rem;
}

.mobile-nav-list li { margin-bottom: 0.8rem; }
.mobile-nav-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    padding: 1rem;
    border-radius: 15px;
    transition: var(--transition);
}
.mobile-nav-list a:hover { 
    color: white; 
    background: rgba(255,255,255,0.05);
    transform: translateX(10px);
}

.mobile-footer {
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@media (max-width: 1024px) {
    .menu-toggle { display: flex; }
}

/* ════════════════════════════════════════════════════════════
   AGE VERIFICATION OVERLAY (EXACT PORNHUB CLONE)
════════════════════════════════════════════════════════════ */
.age-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
    font-family: Arial, sans-serif;
}

.age-card {
    width: 100%;
    max-width: 800px;
    text-align: center;
    background: #000;
    color: white;
    padding: 2rem;
}

.age-logo {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.age-logo span { 
    background: #ffa31a; 
    color: #000; 
    padding: 2px 10px; 
    border-radius: 6px; 
    font-size: 2.4rem;
}

.age-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.btn-notice {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #ffa31a;
    color: #ffa31a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    background: transparent;
    cursor: pointer;
}

.age-card p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.age-link-orange {
    color: #ffa31a;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.age-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.btn-age {
    flex: 1;
    max-width: 320px;
    height: 70px;
    border: 2px solid #ffa31a;
    background: transparent;
    color: white;
    font-size: 1.15rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}
.btn-age:hover {
    background: rgba(255, 163, 26, 0.1);
}

.age-footer-text {
    font-size: 1rem;
    color: #ccc;
}
.age-footer-text span { color: #ffa31a; font-weight: bold; cursor: pointer; }

.age-btns-mobile { display: none; }

@media (max-width: 768px) {
    .age-card h2 { font-size: 1.8rem; }
    .age-btns { flex-direction: column; align-items: center; }
    .btn-age { width: 100%; max-width: 100%; height: 60px; font-size: 1rem; }
}

/* ════════════════════════════════════════════════════════════
   COOKIE ALERT (MELO STYLE)
════════════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 24px;
    z-index: 50000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: translateX(120%) translateY(0);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.active { transform: translateX(0); }

.cookie-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.cookie-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 8px 15px rgba(255, 0, 85, 0.3);
}

.cookie-content h3 { font-size: 1.1rem; color: white; margin-bottom: 4px; }
.cookie-content p { font-size: 0.88rem; color: #aaa; line-height: 1.5; margin-bottom: 1.5rem; }

.cookie-actions { display: flex; gap: 10px; }

.btn-cookie {
    flex: 1;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-cookie:hover { background: #ff2b70; transform: translateY(-2px); }

.btn-cookie-alt {
    padding: 0 1.2rem;
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .cookie-banner {
        width: calc(100% - 40px);
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
}
