:root {
    --primary: #F5C518;
    --primary-glow: rgba(245, 197, 24, 0.4);
    --secondary: #eab308;
    --accent: #ffffff;
    --red: #dc2626;
    --bg-deep: #050508;
    --bg-card: rgba(25, 25, 35, 0.6);
    --bg-glass: rgba(10, 10, 15, 0.85);
    --text-main: #e2e8f0;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 20px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 10px var(--primary-glow); }
    50% { box-shadow: 0 0 25px var(--primary-glow); }
}

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

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* --- NAV --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 80px; padding: 0 5vw;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.logo {
    font-family: 'Bebas Neue', cursiv; font-size: 2.2rem;
    color: #fff; text-decoration: none; display: flex; align-items: center; gap: 0.8rem;
    letter-spacing: 1px;
}
.logo span { color: var(--primary); text-shadow: 0 0 15px var(--primary-glow); }

.search-wrap { position: relative; display: flex; align-items: center; }
.search-input {
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
    border-radius: 99px; color: #fff; font-size: 0.9rem;
    padding: 0.7rem 1.5rem 0.7rem 3rem; width: 250px; outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.search-input:focus { width: 350px; background: rgba(255, 255, 255, 0.1); border-color: var(--primary); }

/* --- SECTIONS & TITLES --- */
.section { padding: 4rem 5vw 2rem; max-width: 1600px; margin: 0 auto; }
.section-title {
    font-size: 2rem; font-weight: 800; margin-bottom: 2rem;
    display: flex; align-items: center; gap: 0.8rem;
}
.section-title span { color: var(--primary); }

/* --- GENRE/YEAR LISTS --- */
.tag-list {
    display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem;
}
.tag-item {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 0.5rem 1.2rem; border-radius: 99px; color: var(--text-dim);
    text-decoration: none; font-size: 0.85rem; font-weight: 600;
    transition: all 0.3s ease;
}
.tag-item:hover {
    background: var(--primary); color: #000; border-color: var(--primary);
    transform: translateY(-2px);
}

/* --- HERO --- */
.hero {
    position: relative; height: 90vh; min-height: 700px;
    display: flex; align-items: flex-end; padding: 0 5vw 12vh;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background-size: cover; background-position: center 20%;
    filter: brightness(0.4) saturate(1.2);
}
.hero-vignette {
    position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(circle at 20% 50%, transparent 10%, var(--bg-deep) 85%),
                linear-gradient(to top, var(--bg-deep) 10%, transparent 50%);
}
.hero-content { max-width: 800px; animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1); }
.hero-title { font-size: clamp(3rem, 10vw, 7rem); font-weight: 900; line-height: 0.85; margin-bottom: 1.5rem; letter-spacing: -3px; }

/* --- GRID & CARDS --- */
.movie-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2.5rem;
}
.card {
    text-decoration: none; color: inherit; display: block;
    animation: fadeInUp 0.8s ease-out both;
}
.card-poster-wrap {
    position: relative; aspect-ratio: 2/3; border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
}
.card:hover .card-poster-wrap {
    transform: translateY(-10px) scale(1.03) rotateX(5deg) rotateY(-5deg);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), -10px 10px 20px var(--primary-glow);
}
.card-poster { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.card:hover .card-poster { transform: scale(1.1); }

.card-score {
    position: absolute; top: 15px; right: 15px;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px);
    border: 1px solid var(--accent); color: var(--accent);
    padding: 3px 10px; border-radius: 8px; font-weight: 800; font-size: 0.8rem;
}
.card-body { padding: 1.2rem 0; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- MOVIE DETAILS --- */
.details-hero {
    position: relative; padding: 100px 5vw 60px; min-height: 600px;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.details-backdrop {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center; filter: blur(30px) brightness(0.3);
}
.details-container {
    display: grid; grid-template-columns: 350px 1fr; gap: 4rem;
    position: relative; z-index: 10;
}
.details-poster {
    width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}
.details-content h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 2rem; color: #fff; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.meta-item { background: var(--bg-card); padding: 1rem; border-radius: 15px; border: 1px solid var(--border); }
.meta-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
.meta-value { font-size: 1.1rem; font-weight: 800; color: #fff; }

.btn {
    display: inline-flex; align-items: center; gap: 0.8rem;
    padding: 1.2rem 2.5rem; border-radius: 99px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; text-decoration: none;
    transition: all 0.4s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #000; box-shadow: 0 10px 30px var(--primary-glow); }
.btn-primary:hover { background: #fff; transform: translateY(-5px); box-shadow: 0 15px 40px rgba(255,255,255,0.3); }

/* --- DOWNLOAD CARDS & GRIDS --- */
.dl-section { margin-top: 4rem; }
.dl-grid { display: flex; flex-direction: column; gap: 0.8rem; }
.dl-card {
    background: transparent; border: 1px solid var(--border);
    padding: 1rem 1.5rem; border-radius: 12px; position: relative;
    border-left: 3px solid var(--border); transition: all 0.3s ease;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.dl-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.03); border-color: rgba(255,255,255,0.2); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.dl-info { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.dl-type { font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); }
.dl-title, .dl-name { font-weight: 700; font-size: 1rem; color: #fff; line-height: 1.3; }
.btn-dl, .dl-btn { 
    background: transparent !important; color: var(--text-main) !important; border: 1px solid var(--border) !important;
    padding: 0.5rem 1.2rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: 0.3s; text-align: center; white-space: nowrap;
}
.btn-dl:hover, .dl-btn:hover { background: var(--primary) !important; color: #000 !important; border-color: var(--primary) !important; }

/* --- CAST & SIMILAR GRIDS --- */
.cast-grid, .similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.cast-card, .sim-card {
    text-decoration: none; color: inherit; display: block;
    background: var(--bg-card); border-radius: 12px;
    overflow: hidden; border: 1px solid var(--border);
    transition: transform 0.3s ease;
}
.cast-card:hover, .sim-card:hover {
    transform: translateY(-5px); border-color: var(--primary);
}
.cast-photo, .sim-poster {
    width: 100%; aspect-ratio: 2/3; object-fit: cover;
}
.cast-name, .sim-title {
    font-size: 0.85rem; font-weight: 700; padding: 0.5rem; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff;
}
.cast-char, .sim-year {
    font-size: 0.75rem; color: var(--text-dim); text-align: center; padding-bottom: 0.5rem;
}

/* --- MODALS --- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    backdrop-filter: blur(15px); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .details-container { grid-template-columns: 1fr; }
    .poster-col { display: none; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .nav { 
        padding: 1rem 1.5rem;
        height: auto;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .nav > div:first-child {
        width: 100%;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    .nav > div:first-child > div {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
    }
    .nav > div:first-child > div::-webkit-scrollbar {
        height: 2px;
    }
    .search-wrap {
        width: 100%;
    }
    .search-input {
        width: 100%;
    }
    .cast-grid, .similar-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
    }
    .dl-card { flex-direction: column; align-items: stretch; text-align: left; }
    .dl-card > div:last-child { display: flex; flex-direction: column; width: 100%; gap: 0.5rem; }
}
@media (max-width: 480px) {
    .movie-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
}

/* --- MARQUEE --- */
.marquee-wrapper {
    width: 100%; overflow: hidden; padding: 2rem 0; position: relative; box-sizing: border-box;
}
.marquee-wrapper::before, .marquee-wrapper::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 10vw; z-index: 2; pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-deep), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-deep), transparent); }
.marquee-track {
    display: flex; gap: 1.5rem; width: max-content;
    animation: scrollMarquee 60s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes scrollMarquee { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(calc(-50% - 0.75rem)); } 
}
.marquee-item { flex: 0 0 160px; }
.marquee-item a { text-decoration: none; display: block; }
@media (max-width: 768px) { .marquee-item { flex: 0 0 130px; } }

/* --- PREMIUM DETAILS HERO --- */
.premium-hero {
    position: relative; width: 100vw; min-height: 80vh; 
    display: flex; align-items: flex-end; justify-content: center;
    padding: 100px 5vw 4rem; overflow: hidden;
}
.premium-backdrop {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: top center; 
    filter: brightness(0.4) saturate(1.2);
}
.premium-gradient {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top, var(--bg-deep) 5%, rgba(5,5,8,0.7) 40%, transparent);
}
.premium-container {
    max-width: 1400px; width: 100%; display: grid; gap: 3rem;
    grid-template-columns: 320px 1fr; align-items: end; position: relative; z-index: 10;
}
.premium-poster-wrap {
    width: 100%; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 0 1px var(--border);
    position: relative; top: 2rem;
}
.premium-poster { width: 100%; display: block; aspect-ratio: 2/3; object-fit: cover; }
.premium-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; 
    letter-spacing: -1px; margin-bottom: 0.5rem; color: #fff; text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.premium-tagline { font-size: 1.2rem; font-style: italic; color: var(--primary); margin-bottom: 1.5rem; font-weight: 600; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; align-items: center; }
.pill { padding: 5px 16px; border-radius: 99px; font-weight: 700; font-size: 0.85rem; }
.pill-rating { background: var(--primary); color: #000; box-shadow: 0 0 15px var(--primary-glow); }
.pill-glass { background: rgba(255,255,255,0.08); border: 1px solid var(--border); color: #fff; backdrop-filter: blur(10px); }
.premium-overview {
    font-size: 1.1rem; line-height: 1.8; color: var(--text-dim); margin-bottom: 3rem;
    max-width: 850px; text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}
@media (max-width: 900px) {
    .premium-container { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
    .premium-poster-wrap { max-width: 180px; top: 0; border-radius: 12px; margin: 0 auto; box-shadow: 0 0 30px rgba(0,0,0,0.9); }
    .premium-hero { padding: 120px 1.5rem 2rem; min-height: auto; align-items: center; text-align: center; }
    .meta-pills { justify-content: center; }
    .premium-overview { margin: 0 auto 2rem; }
    .premium-controls { justify-content: center; display: flex; flex-wrap: wrap; gap: 1rem; }
}

/* --- AI WIDGET --- */
#ai-chat-ball {
    position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px;
    border-radius: 50%; background: linear-gradient(135deg, var(--primary), #b45309);
    box-shadow: 0 10px 30px var(--primary-glow);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 9999; animation: glowPulse 3s infinite;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#ai-chat-ball:hover { transform: scale(1.1) translateY(-5px); }
.ai-modal {
    position: fixed; bottom: 90px; right: 20px; width: min(350px, 90vw); height: 450px;
    background: var(--bg-glass); border: 1px solid var(--border); border-radius: 20px;
    backdrop-filter: blur(20px); z-index: 9998; box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden;
    transform: translateY(20px) scale(0.9); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ai-modal.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.ai-header {
    padding: 1rem; border-bottom: 1px solid var(--border); display: flex;
    justify-content: space-between; align-items: center; background: rgba(0,0,0,0.3);
}
.ai-header-title { font-weight: 800; color: #fff; display: flex; align-items: center; gap: 0.5rem; }
.ai-header-close { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 1.2rem; }
.ai-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; scrollbar-width: thin; }
.ai-msg { max-width: 80%; padding: 0.8rem 1rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.5; }
.ai-msg.bot { background: rgba(255,255,255,0.05); align-self: flex-start; color: #fff; border-bottom-left-radius: 2px; }
.ai-msg.user { background: var(--primary); color: #000; align-self: flex-end; border-bottom-right-radius: 2px; font-weight: 600; }
.ai-foooter { padding: 1rem; border-top: 1px solid var(--border); background: rgba(0,0,0,0.3); display: flex; gap: 0.5rem; }
.ai-input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 0.6rem 1rem; border-radius: 99px; color: #fff; font-size: 0.9rem; outline: none; }
.ai-input:focus { border-color: var(--primary); }
.ai-send { background: var(--primary); border: none; width: 35px; height: 35px; border-radius: 50%; color: #000; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* --- PLAYER UI ENHANCEMENTS --- */
.player-section {
    max-width: 1200px; margin: 0 auto 4rem; padding: 2rem;
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.server-tabs {
    display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem;
}
.srv-btn {
    background: rgba(255, 255, 255, 0.05); color: var(--text-dim);
    border: 1px solid var(--border); padding: 0.6rem 1.5rem;
    border-radius: 8px; font-weight: 600; font-size: 0.9rem;
    cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; gap: 0.5rem;
}
.srv-btn:hover {
    background: rgba(255, 255, 255, 0.1); color: #fff;
    transform: translateY(-2px);
}
.srv-btn.active {
    background: var(--primary); color: #000; border-color: var(--primary);
    box-shadow: 0 5px 15px var(--primary-glow); font-weight: 800;
}
.srv-note { font-size: 0.85rem; margin-bottom: 1rem; }

.player-box {
    position: relative; width: 100%; aspect-ratio: 16/9;
    border-radius: 12px; overflow: hidden; background: #000;
    border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    margin-top: 1.5rem;
}
.player-box iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: none; z-index: 10;
}
.player-loader {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; background: #000; z-index: 5;
    transition: opacity 0.5s ease; gap: 1rem;
}
.spinner {
    width: 50px; height: 50px; border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px var(--primary-glow);
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.player-tools { display: flex; justify-content: flex-end; margin-top: 1rem; }
.btn-player-tool {
    background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--border);
    padding: 0.4rem 1rem; border-radius: 6px; font-size: 0.8rem; cursor: pointer;
    transition: 0.3s;
}
.btn-player-tool:hover { background: rgba(255,255,255,0.15); }

/* --- TV CONTROLS --- */
.tv-controls select {
    appearance: none; -webkit-appearance: none;
    padding: 0.8rem 2.5rem 0.8rem 1.2rem; outline: none; cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat; background-position: right 1rem center;
    background-size: 12px; font-weight: 700; transition: border-color 0.3s;
}
.tv-controls select:focus { border-color: var(--primary); }

/* --- MANGA READER MODAL --- */
.manga-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease;
}
.manga-modal-overlay.active { opacity: 1; visibility: visible; }
.manga-modal-content {
    background: var(--bg-deep); width: 95vw; height: 90vh;
    max-width: 1200px; border-radius: var(--radius);
    overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    display: flex; flex-direction: column; transform: translateY(20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.manga-modal-overlay.active .manga-modal-content {
    transform: translateY(0) scale(1);
}
.manga-modal-header {
    padding: 1rem 1.5rem; background: rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--border); display: flex;
    justify-content: space-between; align-items: center;
}
.manga-modal-title { font-weight: 800; font-size: 1.2rem; color: #fff; }
.manga-modal-close {
    background: none; border: none; color: #fff; font-size: 1.8rem;
    line-height: 1; cursor: pointer; transition: color 0.3s;
}
.manga-modal-close:hover { color: var(--red); }
.manga-modal-iframe {
    width: 100%; height: 100%; border: none; flex: 1; background: #000;
}
@media (max-width: 768px) {
    .manga-modal-content { width: 100vw; height: 100vh; border-radius: 0; }
    .player-section { padding: 1rem; }
    .tv-controls { flex-direction: column; }
}

/* --- AD ZONES --- */
.ad-slot { margin: 1.5rem auto; text-align: center; max-width: 100vw; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.ad-leaderboard { margin-top: 100px; margin-bottom: 0px; }
.ad-hero-bottom { margin-top: -1.5rem; position: relative; z-index: 10; padding: 0 1rem; }
.ad-above-grid { margin-bottom: 2rem; width: 100%; }
.ad-player-top { margin: 1rem auto; width: 100%; }
.ad-player-bottom { margin-top: 2rem; margin-bottom: 0; width: 100%; }
.ad-skyscraper { align-self: flex-start; position: sticky; top: 100px; display: none; }
.ad-footer-leaderboard { margin-top: 4rem; margin-bottom: -4rem; position: relative; z-index: 5; }
.ad-mobile-sticky { margin: 0; position: fixed; bottom: 0; left: 0; width: 100%; min-height: 50px; background: rgba(0,0,0,0.9); z-index: 99999; backdrop-filter: blur(10px); border-top: 1px solid var(--border); display: none; }

@media (max-width: 768px) {
    /* Only show mobile sticky ad on mobile screens */
    .ad-mobile-sticky { display: flex; }
    /* Hide desktop specific skyscrapers on mobile */
    .ad-skyscraper { display: none !important; }
}
@media (min-width: 1200px) {
    .ad-skyscraper { display: flex; min-width: 160px; max-width: 160px; }
}
