:root {
    --bg-body: #181818;
    --bg-header: #121212;
    --bg-category-bar: #1e1e1e;
    --bg-announcement: #2e7d32;
    --bg-card: #222222;
    --bg-card-hover: #2a2a2a;
    --bg-footer: #0c0c0c;
    --bg-sidebar: #1f1f1f;
    --bg-modal: #181818;
    --gold-primary: #d4af37;
    --gold-hover: #f3cf58;
    --gold-btn-bg: #857318;
    --gold-btn-hover: #9c871e;
    --gold-border: #5c5011;
    --telegram-blue: #0088cc;
    --telegram-hover: #0099e6;
    --color-text-main: #ffffff;
    --color-text-muted: #aaaaaa;
    --color-text-subtle: #777777;
    --border-subtle: #2d2d2d;
    --radius-sm: 3px;
    --radius-md: 5px;
    --max-width: 1260px;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 14px;
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--color-text-main);
    line-height: 1.4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 14px;
}
.site-header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 42px;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.header-container.search-active .logo-link {
    transform: translateX(-140%);
    opacity: 0;
    pointer-events: none;
}
.site-logo {
    max-height: 34px !important;
    max-width: 110px !important;
    height: 34px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}
.brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.brand-tagline {
    font-size: 0.7rem;
    color: var(--gold-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}
.search-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #242424;
    color: #cccccc;
    border: 1px solid #3d3d3d;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}
.search-trigger-btn:hover {
    background: #2c2c2c;
    color: #ffffff;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
.header-container.search-active .search-trigger-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
}
.search-expandable-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(60px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    z-index: 10;
}
.header-container.search-active .search-expandable-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}
.search-box-expanded {
    display: flex;
    align-items: center;
    width: 100%;
    background: #1f1f1f;
    border: 1px solid var(--gold-primary);
    border-radius: 6px;
    padding: 3px 8px;
    gap: 8px;
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.3);
}
.search-box-icon {
    font-size: 0.95rem;
    color: var(--gold-primary);
}
.search-input-expanded {
    flex: 1;
    background: transparent;
    border: none;
    padding: 6px 8px;
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
}
.search-input-expanded::placeholder {
    color: #888888;
}
.search-submit-btn {
    background-color: var(--gold-btn-bg);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.84rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.search-submit-btn:hover {
    background-color: var(--gold-btn-hover);
}
.search-close-btn {
    background: #333333;
    color: #ffffff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background 0.15s ease;
}
.search-close-btn:hover {
    background: #444444;
    color: #f44336;
}
.btn-clear-search {
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #555555;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.15s ease;
}
.btn-clear-search:hover {
    background-color: #444444;
    border-color: var(--gold-primary);
}
    background-color: #444444;
    border-color: var(--gold-primary);
}
.category-nav {
    background-color: var(--bg-category-bar);
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 0;
}
.category-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.cat-btn {
    background-color: #857318;
    color: #ffffff;
    border: 1px solid #5c5011;
    padding: 6px 11px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}
.cat-btn:hover {
    background-color: #9c871e;
    color: #ffffff;
    border-color: #d4af37;
}
.cat-btn.active {
    background-color: #b59810;
    border-color: #ffd700;
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
    color: #ffffff;
}
.announcement-bar {
    background-color: transparent;
    color: #ffffff;
    padding: 10px 0 0 0;
    font-size: 0.86rem;
    border-bottom: none;
}
.announcement-container {
    background-color: var(--bg-announcement);
    border: 1px solid #1e5a23;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    display: flex;
    align-items: center;
}
.announcement-text {
    font-weight: 500;
}
.main-layout-container {
    padding: 16px 14px 36px;
    flex: 1;
}
.home-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 18px;
}
.main-content-col {
    min-width: 0;
}
.section-header-wrap {
    margin-bottom: 12px;
}
.section-header {
    background-color: var(--gold-btn-bg);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.results-count {
    font-size: 0.8rem;
    opacity: 0.85;
}
.status-message {
    background-color: #242424;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 18px;
    text-align: center;
    margin-bottom: 14px;
    color: var(--color-text-muted);
}
.loading-state {
    text-align: center;
    padding: 40px 0;
    color: var(--color-text-muted);
}
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.movie-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.movie-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    color: inherit;
}
.movie-card:hover {
    transform: translateY(-3px);
    border-color: #555555;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-card-hover);
}
.movie-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    background-color: #1a1a1a;
    overflow: hidden;
}
.movie-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.card-rating-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--gold-primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 2px;
    backdrop-filter: blur(2px);
}
.card-type-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--gold-btn-bg);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 2px;
}
.movie-info {
    padding: 8px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.movie-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: var(--color-text-muted);
}
.movie-rating {
    color: var(--gold-primary);
    font-weight: 600;
}
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.page-btn {
    background-color: #242424;
    color: #cccccc;
    border: 1px solid #383838;
    padding: 5px 10px;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.12s ease;
}
.page-btn:hover:not(:disabled) {
    background-color: #383838;
    color: #ffffff;
}
.page-btn.active {
    background-color: var(--gold-btn-bg);
    border-color: var(--gold-border);
    color: #ffffff;
    font-weight: 700;
}
.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.page-dots {
    color: #666;
    padding: 0 4px;
}
.sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sidebar-widget {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px;
}
.widget-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
}
.telegram-widget {
    background: linear-gradient(135deg, #162430 0%, #0d151c 100%);
    border-color: #0088cc;
    text-align: center;
}
.telegram-widget p {
    font-size: 0.82rem;
    color: #cceeff;
    margin-bottom: 10px;
}
.telegram-btn {
    display: block;
    width: 100%;
    background-color: var(--telegram-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.4px;
    transition: background 0.15s ease;
}
.telegram-btn:hover {
    background-color: var(--telegram-hover);
}
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.sidebar-tag-btn {
    background: #282828;
    color: #bbb;
    border: 1px solid #3a3a3a;
    font-size: 0.74rem;
    padding: 3px 6px;
    border-radius: 2px;
    cursor: pointer;
}
.sidebar-tag-btn:hover {
    color: #fff;
    border-color: var(--gold-primary);
}
.recent-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.recent-item a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.82rem;
    display: block;
    transition: color 0.15s ease;
}
.recent-item a:hover {
    color: var(--gold-primary);
}
.site-footer {
    background-color: var(--bg-footer);
    border-top: 1px solid var(--border-subtle);
    padding: 16px 0;
    margin-top: auto;
}
.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-link {
    color: #999999;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.12s ease;
}
.footer-link:hover {
    color: var(--gold-primary);
}
.footer-dot {
    color: #555;
}
.footer-copyright {
    color: #666666;
    font-size: 0.78rem;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.82);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.modal-card {
    background: var(--bg-modal);
    border: 1px solid #3d3d3d;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 500px;
    padding: 20px;
    position: relative;
}
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #333;
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
}
@media (min-width: 1200px) {
    .movie-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .movie-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .home-layout {
        grid-template-columns: 1fr;
    }
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 767px) {
    .site-header {
        padding: 6px 0;
    }
    .home-layout {
        grid-template-columns: 1fr;
    }
    .header-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }
    .logo-link {
        gap: 6px;
        flex-shrink: 0;
    }
    .site-logo {
        max-height: 28px !important;
        max-width: 75px !important;
        height: 28px !important;
    }
    .brand-title {
        font-size: 1.05rem;
        letter-spacing: 0.3px;
    }
    .brand-tagline {
        display: none !important; 
    }
    .search-form {
        flex: 1;
        max-width: 160px;
        margin-left: auto;
    }
    .search-input {
        padding: 5px 8px;
        font-size: 0.78rem;
    }
    .search-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    .category-nav {
        padding: 6px 0;
    }
    .category-container {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 6px;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .category-container::-webkit-scrollbar {
        display: none;
    }
    .cat-btn {
        flex-shrink: 0;
        padding: 5px 10px;
        font-size: 0.76rem;
    }
    .announcement-bar {
        padding: 5px 0;
        font-size: 0.78rem;
    }
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Grid Ad Slot */
.movie-grid-ad-slot {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 12px 0 !important;
}


/* ==============================================================================
   DESKTOP MODE PROPER ALIGNMENT & POLISH
   ============================================================================== */
:root {
    --max-width: 1240px;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.announcement-bar {
    width: 100%;
    background: transparent;
    padding: 6px 0;
}

.announcement-container {
    background: #2e7d32;
    border-radius: 4px;
    padding: 8px 16px;
    text-align: center;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.fn-ad-top-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 10px auto 14px auto;
    text-align: center;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
}

.main-content-col {
    min-width: 0;
}

.section-header {
    background: #857318;
    color: #ffffff;
    padding: 9px 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

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

.movie-card {
    background-color: #202020;
    border: 1px solid #303030;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    text-decoration: none;
    color: inherit;
}

.movie-card:hover {
    transform: translateY(-4px);
    border-color: #d4af37;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    background-color: #272727;
}

.movie-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    background-color: #151515;
    overflow: hidden;
}

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

.movie-card:hover .movie-poster {
    transform: scale(1.03);
}

.movie-rating {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.82);
    color: #fcd34d;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.movie-info {
    padding: 10px 10px 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.movie-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: #888888;
}

/* In-Grid 728x90 Ad Banner Slot */
.movie-grid-ad-slot {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 8px 0 12px 0 !important;
    background: #141414;
    border: 1px solid #282828;
    border-radius: 5px;
    padding: 10px 0;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 300px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: #1c1c1c;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    padding: 14px;
}

.sidebar-widget .widget-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #2d2d2d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.telegram-widget {
    background: #19222c;
    border-color: #243547;
}

.telegram-widget .widget-title {
    color: #38bdf8;
    border-bottom-color: #243547;
}

.telegram-widget p {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 12px;
}

.telegram-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #0088cc;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.86rem;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.18s ease;
}

.telegram-btn:hover {
    background: #0099e6;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sidebar-tag-btn {
    background: #252525;
    color: #cbd5e1;
    border: 1px solid #383838;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sidebar-tag-btn:hover {
    background: #d4af37;
    color: #000000;
    border-color: #d4af37;
}

.recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-item a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    display: block;
    padding: 4px 6px;
    border-radius: 3px;
    transition: all 0.15s ease;
}

.recent-item a:hover {
    color: #d4af37;
    background: #252525;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 18px 0;
}

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

.page-btn {
    background: #222222;
    color: #ffffff;
    border: 1px solid #383838;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-btn:hover:not(:disabled) {
    background: #333333;
    border-color: #d4af37;
}

.page-btn.active {
    background: #d4af37;
    color: #000000;
    border-color: #d4af37;
}

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

.page-dots {
    color: #777777;
    padding: 0 4px;
}

/* Native Ad Bottom Box */
#nativeAdBottomWrapper {
    width: 100%;
    max-width: 1240px;
    margin: 20px auto 10px auto;
    background: #171717;
    border: 1px solid #2c2c2c;
    border-radius: 6px;
    padding: 14px;
    text-align: center;
    box-sizing: border-box;
}

/* Footer */
.site-footer {
    background-color: #0d0d0d;
    border-top: 1px solid #222222;
    padding: 24px 0 16px 0;
    margin-top: 30px;
    text-align: center;
}


/* ==============================================================================
   RESPONSIVE MOBILE VIEW (MAX-WIDTH: 860px)
   ============================================================================== */
@media (max-width: 860px) {
    .container {
        padding: 0 10px !important;
    }

    .home-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .main-content-col {
        order: 1 !important;
        width: 100% !important;
    }

    .sidebar-col {
        order: 2 !important;
        width: 100% !important;
        margin-top: 14px !important;
    }

    .category-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        padding: 4px 6px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .category-container::-webkit-scrollbar {
        display: none !important;
    }

    .cat-btn {
        flex-shrink: 0 !important;
        font-size: 0.74rem !important;
        padding: 4px 9px !important;
    }

    .movie-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .movie-info {
        padding: 6px 8px !important;
    }

    .movie-card-title {
        font-size: 0.8rem !important;
    }

    .movie-meta-row {
        font-size: 0.7rem !important;
    }

    .movie-grid-ad-slot {
        margin: 6px 0 10px 0 !important;
        padding: 6px 0 !important;
    }

    .brand-tagline {
        display: none !important;
    }
}

.sidebar-sticky-ad { position: sticky !important; top: 70px !important; z-index: 10; }
