* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    overflow-x: hidden;
    max-width: 100%;
}
body {
    font-family: 'Roboto', -apple-system, "Segoe UI", Arial, sans-serif;
    background: #faf9f6;
    color: #1a1a1a;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ==== Header ==== */
header.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e0ddd3;
    padding: 22px 32px;
    text-align: center;
}
header.site-header a {
    color: #0b3d6d;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ==== Header (VOO-style) ==== */
header.site-header-v2 {
    background: #ffffff;
    border-bottom: 1px solid #f0ede6;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
}
.icon-btn.drawer-toggle { display: none; grid-column: 1; }
.logo-v2 {
    grid-column: 1;
    justify-self: start;
    color: #0b3d6d;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 900;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.logo-img {
    height: 28px;
    width: auto;
    display: block;
}
.header-nav {
    grid-column: 2;
    justify-self: center;
    display: flex;
    gap: 22px;
}
.header-nav a {
    color: #4a4a45;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}
.header-nav a:hover { color: #111; }
.header-nav a.active { color: #111; font-weight: 700; border-bottom-color: #0b3d6d; }
.header-actions { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.icon-btn {
    background: none; border: none; color: #1a1a1a; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
}
.icon-btn:hover { background: #f0ede6; }

@media (max-width: 640px) {
    .icon-btn.drawer-toggle { display: flex; grid-column: 1; }
    .logo-v2 { grid-column: 2; justify-self: center; }
    .header-nav { display: none; }
    .header-actions { grid-column: 3; }
}

/* ==== Drawer (mobile side menu) ==== */
.drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-panel {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 260px;
    max-width: 80vw;
    background: #ffffff;
    border-right: 1px solid #e0ddd3;
    z-index: 201;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}
.drawer-panel.open { transform: translateX(0); }
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 14px;
    border-bottom: 1px solid #e0ddd3;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 15px;
}
.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.drawer-nav a {
    color: #333333;
    text-decoration: none;
    padding: 13px 12px;
    border-radius: 8px;
    font-size: 15px;
}
.drawer-nav a:hover { background: #f0ede6; }
.drawer-nav a.active { color: #0b3d6d; font-weight: 700; background: rgba(11,61,109,0.1); }

.search-popover {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #f0ede6;
    transition: max-height 0.2s ease;
}
.search-popover.open { max-height: 80px; }
.search-popover .search-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    gap: 10px;
}

/* ==== Content rows (horizontal scroll, VOO/Netflix-style) ==== */
.content-row { margin-bottom: 36px; }
.row-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}
.row-title { font-size: 18px; font-weight: 700; color: #111111; }
.row-see-all { color: #0b3d6d; font-size: 13px; text-decoration: none; font-weight: 500; }
.row-see-all:hover { text-decoration: underline; }

.row-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
}
.row-scroll::-webkit-scrollbar { height: 6px; }
.row-scroll::-webkit-scrollbar-thumb { background: #e0ddd3; border-radius: 3px; }
.row-scroll::-webkit-scrollbar-track { background: transparent; }

.poster-card-v2 {
    flex: 0 0 170px;
    text-decoration: none;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease;
}
.poster-card-v2:hover { transform: scale(1.05); z-index: 2; }
.poster-image-v2 {
    width: 170px;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    background: #ffffff;
}
.poster-placeholder-v2 {
    width: 170px;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, #0b3d6d, #faf9f6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    color: #0b3d6d;
    font-weight: 700;
    font-size: 13px;
}
.poster-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 24px 10px 10px;
}
.poster-title-v2 {
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.poster-overlay .price-tag {
    background: rgba(11,61,109,0.9);
    color: #fff;
    border: none;
}

.filter-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #4a4a45;
    font-size: 14px;
    flex-wrap: wrap;
}
.clear-filter { color: #0b3d6d; text-decoration: none; font-size: 13px; margin-left: 6px; }
.clear-filter:hover { text-decoration: underline; }

/* ==== Hero banner (homepage featured movie) ==== */
.hero-banner {
    position: relative;
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center 20%;
    background-color: #ffffff;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(20,20,20,0.95) 0%, rgba(20,20,20,0.55) 45%, rgba(20,20,20,0.15) 75%),
        linear-gradient(to top, #faf9f6 0%, transparent 40%);
    display: flex;
    align-items: flex-end;
    padding: 0 32px 48px;
}
.hero-content { max-width: 640px; }
.hero-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin: 10px 0 14px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-teaser {
    color: #d8d6cf;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 540px;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-btn {
    margin-top: 0;
    padding: 14px 30px;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(11,61,109,0.3);
}
.hero-price {
    color: #0b3d6d;
    font-weight: 800;
    font-size: 20px;
}

@media (max-width: 640px) {
    .hero-banner { height: 340px; }
    .hero-overlay { padding: 0 18px 28px; }
    .hero-title { font-size: 26px; margin: 6px 0 10px; }
    .hero-teaser { font-size: 13px; -webkit-line-clamp: 2; margin-bottom: 16px; }
    .hero-btn { padding: 11px 22px; font-size: 14px; }
    .hero-price { font-size: 16px; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 32px;
}

/* ==== Search bar ==== */
.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.search-bar input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e0ddd3;
    border-radius: 6px;
    color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}
.search-bar input[type="text"]::placeholder { color: #9a9a94; }
.search-bar input[type="text"]:focus { outline: none; border-color: #0b3d6d; }
.search-bar button {
    padding: 12px 24px;
    background: #0b3d6d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
}
.search-bar button:hover { background: #082c50; }

/* ==== Category tabs ==== */
.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.category-tabs a {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e0ddd3;
    color: #4a4a45;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}
.category-tabs a:hover { border-color: #0b3d6d; color: #0b3d6d; }
.category-tabs a.active {
    background: #0b3d6d;
    color: #fff;
    border-color: #0b3d6d;
    font-weight: 700;
}

.category-badge {
    display: inline-block;
    background: rgba(11,61,109,0.12);
    color: #0b3d6d;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

/* ==== Clean poster cards (used both in rows and grid) ==== */
.news-card {
    flex: 0 0 300px;
    text-decoration: none;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8e6e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.news-card-media { position: relative; }
.news-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    background: #f0ede6;
}
.news-card-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0b3d6d, #1a5490);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.news-card-price-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.2px;
}
.news-card-body { padding: 14px 16px 16px; }
.news-card-category {
    display: inline-block;
    background: #f0ede6;
    color: #6b6b66;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}
.news-card-title {
    color: #111111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-meta { color: #9a9a94; font-size: 12px; }

/* ==== Article grid (homepage filtered/search results) ==== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.news-grid .news-card { flex: none; width: 100%; }

.poster-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    border: 1px solid #e0ddd3;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.poster-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    transform: translateY(-3px);
    border-color: #0b3d6d;
}
.poster-image {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}
.poster-placeholder {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, #0b3d6d, #faf9f6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #0b3d6d;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 18px;
}
.poster-info { padding: 18px 20px 20px; }
.poster-info h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
    margin-bottom: 10px;
    color: #111111;
    font-weight: 700;
    line-height: 1.35;
}
.poster-info .price-tag {
    display: inline-block;
    background: rgba(11,61,109,0.12);
    color: #0b3d6d;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(11,61,109,0.3);
}
.poster-info .meta { color: #6b6b66; font-size: 12px; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ==== Movie detail hero (touches header, full-bleed) ==== */
.detail-hero {
    position: relative;
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center 20%;
    background-color: #ffffff;
    background-repeat: no-repeat;
    overflow: hidden;
}
.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #faf9f6 0%, rgba(20,20,20,0.3) 55%, rgba(20,20,20,0.05) 100%);
    display: flex;
    align-items: flex-end;
    padding: 0 32px 28px;
}
.detail-hero-title {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 640px) {
    .detail-hero { height: 280px; }
    .detail-hero-overlay { padding: 0 18px 20px; }
    .detail-hero-title { font-size: 22px; }
}

/* ==== Article / detail page ==== */
.article-full { background: #ffffff; border-radius: 8px; padding: 0; overflow: hidden; border: 1px solid #e0ddd3; }
.article-full .cover {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}
.article-full .cover-placeholder {
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #0b3d6d, #faf9f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b3d6d;
    font-family: 'Roboto', sans-serif;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
}
.article-body { padding: 44px 48px; }
.detail-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.detail-eyebrow-label {
    color: #0b3d6d;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.detail-genre-badge {
    background: rgba(11,61,109,0.12);
    color: #0b3d6d;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(11,61,109,0.3);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.detail-title {
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111111;
    font-weight: 900;
    padding-left: 16px;
    border-left: 4px solid #0b3d6d;
}
.detail-teaser {
    color: #5a5a54;
    font-size: 17px;
    line-height: 1.65;
    padding-left: 16px;
}
.article-full p {
    color: #4a4a45;
    font-size: 18px;
}
.article-body > div {
    color: #2c2c2a;
    font-size: 19px;
    line-height: 1.75;
    margin-top: 4px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 24px;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.paywall {
    background: linear-gradient(180deg, #eef3f8 0%, #ffffff 45%);
    border: 1px solid #e4e9ef;
    border-radius: 22px;
    padding: 32px 32px 32px;
    text-align: center;
    margin-top: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(11,61,109,0.08);
}
.paywall-icon {
    width: 60px; height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b3d6d, #1a5490);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(11,61,109,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.paywall-title {
    font-size: 19px;
    color: #111111;
    font-weight: 800;
    margin-bottom: 10px;
}
.paywall-subtitle {
    font-size: 13.5px;
    color: #7a7a72;
    margin-bottom: 10px;
    line-height: 1.5;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}
.paywall .price {
    font-size: 38px;
    font-weight: 900;
    color: #0b3d6d;
    margin-bottom: 22px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: -0.5px;
}

.btn.btn-pay {
    width: 100%;
    max-width: 320px;
    padding: 16px 32px;
    font-size: 15.5px;
    font-weight: 700;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b3d6d, #144d87);
    box-shadow: 0 10px 24px rgba(11,61,109,0.35);
    margin-top: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn.btn-pay:hover {
    background: linear-gradient(135deg, #082c50, #0f3d6b);
    box-shadow: 0 14px 30px rgba(11,61,109,0.45);
    transform: translateY(-2px);
}

.btn {
    display: inline-block;
    background: #0b3d6d;
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: 14px;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: #082c50; }

/* QR modal */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center;
    z-index: 999;
    padding: 16px;
}
.modal-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 14px 24px 0;
    text-align: center;
    max-width: 380px;
    width: 100%;
    max-height: 85vh;
    overflow-y: scroll;
    color: #1a1a1a;
    border-top: 3px solid #0b3d6d;
    border-left: 1px solid #e0ddd3;
    border-right: 1px solid #e0ddd3;
    border-bottom: 1px solid #e0ddd3;
    display: flex;
    flex-direction: column;
    position: relative;
    scrollbar-width: auto;
    scrollbar-color: #0b3d6d #f0ede6;
    overscroll-behavior: contain;
}
.modal-box::-webkit-scrollbar { width: 10px; }
.modal-box::-webkit-scrollbar-track { background: #f0ede6; }
.modal-box::-webkit-scrollbar-thumb { background: #0b3d6d; border-radius: 6px; }
.modal-box::-webkit-scrollbar-thumb:hover { background: #082c50; }
.modal-x-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #6b6b66;
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-x-close:hover { background: #f0ede6; color: #1a1a1a; }
.qr-card {
    background: #f7f6f3;
    border-radius: 14px;
    padding: 12px;
    margin-top: 12px;
    flex-shrink: 0;
}
.modal-box img.qr { width: 150px; height: 150px; margin: 0 auto; display: block; border-radius: 6px; border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.modal-box .amount { font-family: 'Roboto', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 4px; color: #0b3d6d; margin-top: 8px; }
#pay-status { margin-top: 14px; color: #6b6b66; font-size: 13px; }

.bank-apps-label { margin-top: 22px; color: #6b6b66; font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 600; }
.bank-list {
    margin-top: 12px;
    border: 1px solid #e0ddd3;
    border-radius: 10px;
    text-align: left;
    flex-shrink: 0;
}
.bank-list-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    border-bottom: 1px solid #eeece5;
    transition: background 0.15s ease;
}
.bank-list-row:first-child { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.bank-list-row:last-child { border-bottom: none; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.bank-list-row:hover { background: #f7f6f3; }
.bank-list-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}
.bank-list-name {
    flex: 1;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
}
.bank-list-arrow {
    color: #0b3d6d;
    font-size: 20px;
    font-weight: 700;
}
.bank-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 16px;
}
.bank-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    text-decoration: none;
    border: 1px solid #e0ddd3;
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.bank-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    border-color: #0b3d6d;
}
.bank-app-btn img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.modal-close-row {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    padding: 20px 0 24px;
    margin-top: 24px;
}
.modal-close-row .btn {
    width: 100%;
    margin-top: 0;
}

@media (max-width: 480px) {
    .modal-overlay { padding: 0; align-items: flex-start; }
    .modal-box {
        max-width: 100%;
        width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 24px 32px 0;
    }
    .bank-apps-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .modal-box img.qr { width: 170px; height: 170px; }
}

/* ==== Mobile responsive (site pages) ==== */
@media (max-width: 640px) {
    .header-inner { padding: 12px 14px; gap: 12px; }
    .logo-img { height: 22px; }
    .header-nav { gap: 14px; }
    .header-nav a { font-size: 13px; }
    .icon-btn { width: 32px; height: 32px; }
    .search-popover .search-bar { padding: 12px 14px; }

    .container { padding: 20px 14px; }

    .content-row { margin-bottom: 26px; }
    .row-title { font-size: 15px; }
    .row-see-all { font-size: 12px; }
    .news-card { flex: 0 0 240px; }
    

    .news-grid { grid-template-columns: 1fr; gap: 14px; }
    .poster-info { padding: 12px 12px 14px; }
    .poster-info h2 { font-size: 14px; margin-bottom: 6px; }
    .poster-info .price-tag { font-size: 11px; padding: 3px 8px; }
    .poster-info .meta { font-size: 10.5px; margin-top: 6px; }

    .search-bar { flex-direction: row; }
    .category-tabs { gap: 6px; margin-bottom: 20px; }
    .category-tabs a { padding: 6px 12px; font-size: 12px; }

    .article-full { border-radius: 0; margin: 0 -14px; border-left: none; border-right: none; }
    .article-full .cover { max-height: 220px; }
    .article-full .cover-placeholder { height: 180px; font-size: 18px; }
    .article-body { padding: 22px 18px; }
    .detail-title { font-size: 26px; margin-bottom: 12px; padding-left: 12px; }
    .detail-teaser { font-size: 15px; padding-left: 12px; }
    .article-full p, .article-body > div { font-size: 17px; }

    .paywall { padding: 26px 18px; border-radius: 10px; }
    .paywall-title { font-size: 15px; }
    .paywall .price { font-size: 28px; margin: 8px 0 18px; }
    .paywall-benefits li { font-size: 13px; }
    .btn-pay { max-width: 100%; padding: 14px 20px; font-size: 15px; }

    .stats-row-v2, .quick-actions-row { grid-template-columns: 1fr; }
    .admin-main { padding: 16px; }
    .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
    .news-card { flex: 0 0 220px; }
    
    .header-nav { gap: 10px; }
}

/* ==== Footer ==== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #f0ede6;
    margin-top: 60px;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 32px 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-logo { height: 26px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand p {
    color: #6b6b66;
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 360px;
}
.footer-col h4 {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a, .footer-text {
    color: #7a7a72;
    text-decoration: none;
    font-size: 13.5px;
}
.footer-col a:hover { color: #0b3d6d; }
.footer-bottom {
    border-top: 1px solid #f0ede6;
    padding: 18px 32px;
    text-align: center;
}
.footer-bottom-only { border-top: none; padding: 24px 32px; }
.footer-bottom p { color: #8a8a82; font-size: 12.5px; }

@media (max-width: 640px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 20px 24px;
    }
}

/* ==== Admin sidebar layout ==== */
body.admin-body {
    background: #f7f7f8; color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
    display: flex;
    min-height: 100vh;
}
.admin-layout { display: flex; width: 100%; min-height: 100vh; }
.admin-sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    padding: 20px 14px;
    flex-shrink: 0;
}
.sidebar-logo {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 16px; color: #111;
    padding: 6px 10px 20px;
}
.logo-badge {
    background: #111; color: #fff; border-radius: 6px;
    width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
    font-size: 11px;
}
.sidebar-section-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
    color: #9a9a9a; padding: 8px 10px 6px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sidebar-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 7px;
    color: #444; text-decoration: none; font-size: 14px;
}
.sidebar-link .icon { width: 18px; text-align: center; color: #999; font-size: 14px; }
.sidebar-link:hover { background: #f2f2f2; }
.sidebar-link.active { background: #f0f0f0; color: #111; font-weight: 600; border: 1px solid #e5e5e5; }
.sidebar-link.active .icon { color: #111; }
.sidebar-footer { border-top: 1px solid #eee; padding-top: 12px; margin-top: 12px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 6px 10px; font-size: 14px; }
.user-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    background: #111; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
}

.admin-main { flex: 1; padding: 32px 40px; overflow-x: hidden; }
.admin-main h1 { font-size: 24px; font-weight: 700; margin-bottom: 4px; color: #111; }
.admin-main .subtitle { color: #888; font-size: 14px; margin-bottom: 24px; }

.stats-row-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card-v2 {
    background: #fff; border: 1px solid #e5e5e5; border-radius: 10px;
    padding: 18px 20px; display: flex; align-items: flex-start; justify-content: space-between;
}
.stat-card-v2 .label { font-size: 13px; color: #888; margin-bottom: 8px; }
.stat-card-v2 .value { font-size: 26px; font-weight: 700; color: #111; }
.stat-card-v2 .stat-icon { color: #bbb; font-size: 18px; }

.quick-actions-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.quick-action {
    background: #fff; border: 1px solid #e5e5e5; border-radius: 10px;
    padding: 16px 18px; display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #333; font-size: 14px; font-weight: 500;
}
.quick-action:hover { background: #fafafa; border-color: #e8091a; }

.chart-panel { background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 24px; margin-bottom: 24px; }
.chart-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.chart-panel-head h3 { font-size: 15px; font-weight: 700; color: #111; }
.period-tabs { display: flex; gap: 4px; background: #f2f2f2; border-radius: 8px; padding: 3px; }
.period-tabs button {
    border: none; background: transparent; padding: 6px 14px; border-radius: 6px;
    font-size: 13px; cursor: pointer; color: #555; font-family: 'Roboto', sans-serif;
}
.period-tabs button.active { background: #111; color: #fff; }

@media (max-width: 900px) {
    .admin-sidebar { display: none; }
    .stats-row-v2, .quick-actions-row { grid-template-columns: 1fr; }
    .admin-main { padding: 20px; }
}

/* ==== Legacy admin table (kept for articles/add/edit pages) ==== */
.admin-nav { background: #0a0b0d; padding: 14px 24px; border-bottom: 2px solid #e8091a; }
.admin-nav a { color: #e8e6df; margin-right: 18px; text-decoration: none; font-size: 14px; font-weight: 500; }
.admin-nav a:hover { color: #e8091a; }
body.admin-body { background: #f7f7f8; color: #1a1a1a; }
table.admin-table { width: 100%; border-collapse: collapse; background: #fff; color: #1a1a1a; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
table.admin-table th {
    background: #f7f5f0; padding: 10px 12px; text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; color: #666;
}
table.admin-table td {
    padding: 10px 12px; border-bottom: 1px solid #e5e7eb; text-align: left; font-size: 14px;
}
table.admin-table a { color: #0b3d6d; text-decoration: none; }
form.admin-form input, form.admin-form textarea {
    width: 100%; padding: 10px; margin-bottom: 12px; border: 1px solid #d1d5db; border-radius: 5px; font-size: 14px;
    background: #fff; color: #1a1a1a; font-family: 'Roboto', sans-serif;
}
form.admin-form input:focus, form.admin-form textarea:focus { outline: none; border-color: #e8091a; }
form.admin-form label { font-weight: 600; font-size: 13px; display: block; margin-bottom: 4px; color: #333; }
.admin-body .article-full { background: #fff; border: 1px solid #e5e7eb; color: #1a1a1a; }
.admin-body .article-full h2 { font-family: 'Roboto', sans-serif; color: #1a1a1a; }
