/*
Theme Name: Novela Reader
Theme URI: https://novela.vip
Description: A custom novel reading theme for Novela - mobile-first, reading-optimized, membership ready
Version: 1.0.1
Author: Novela
License: GNU General Public License v2 or later
Text Domain: novela-reader
*/

/* ===== CSS Variables ===== */
:root {
    --nr-bg: #faf9f7;
    --nr-bg-alt: #f5f2ed;
    --nr-text: #1a1a2e;
    --nr-text-muted: #7a7a8a;
    --nr-accent: #c8a96e;
    --nr-accent-dark: #b8934a;
    --nr-border: #e8e3dc;
    --nr-card: #ffffff;
    --nr-header-bg: #1a1a2e;
    --nr-header-text: #faf9f7;
    --nr-premium: #7c3aed;
    --nr-premium-light: #8b5cf6;
    --nr-radius: 12px;
    --nr-radius-sm: 8px;
    --nr-shadow: 0 2px 12px rgba(26,26,46,0.08);
    --nr-shadow-hover: 0 8px 24px rgba(26,26,46,0.14);
    --nr-max-content: 800px;
    --nr-max-width: 1100px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Georgia', 'Noto Serif SC', 'Segoe UI', Georgia, serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--nr-text);
    background: var(--nr-bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ===== Typography ===== */
h1,h2,h3,h4,h5 {
    font-family: 'Georgia', Georgia, serif;
    line-height: 1.25;
    color: var(--nr-text);
}
h1 { font-size: 1.8rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }
p { margin-bottom: 1.2em; }
a { color: var(--nr-accent-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--nr-premium); text-decoration: underline; }

/* ===== Site Header ===== */
.site-header {
    background: var(--nr-header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.header-inner {
    max-width: var(--nr-max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.site-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #faf9f7;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.site-logo:hover { color: var(--nr-accent); text-decoration: none; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(250,249,247,0.85);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.header-nav a {
    color: rgba(250,249,247,0.8);
    font-size: 0.9rem;
    font-family: system-ui, -apple-system, sans-serif;
    white-space: nowrap;
    transition: color 0.2s;
}
.header-nav a:hover { color: #faf9f7; text-decoration: none; }
.premium-btn {
    background: var(--nr-premium);
    color: #fff !important;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem !important;
    font-weight: 600;
    font-family: system-ui, sans-serif;
    transition: background 0.2s;
}
.premium-btn:hover { background: #6d28d9 !important; text-decoration: none !important; }

/* ===== Hero ===== */
.home-hero {
    background: linear-gradient(160deg, #1a1a2e 0%, #0f1729 60%, #1a1a2e 100%);
    color: #faf9f7;
    padding: 3.5rem 1.25rem 3rem;
    text-align: center;
}
.home-hero h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    color: #faf9f7;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}
.hero-sub {
    color: rgba(250,249,247,0.65);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    font-family: system-ui, sans-serif;
}
.hero-genres {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-genre-tag {
    background: rgba(200,169,110,0.12);
    border: 1px solid rgba(200,169,110,0.35);
    color: var(--nr-accent);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.88rem;
    font-family: system-ui, sans-serif;
    transition: background 0.2s;
}
.hero-genre-tag:hover {
    background: rgba(200,169,110,0.22);
    text-decoration: none;
}
.hero-cta {
    color: rgba(250,249,247,0.5);
    font-size: 0.9rem;
    font-family: system-ui, sans-serif;
    margin: 0;
}

/* ===== Genre Bar ===== */
.genre-bar {
    background: var(--nr-card);
    border-bottom: 1px solid var(--nr-border);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.genre-bar-inner {
    max-width: var(--nr-max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.genre-bar-inner::-webkit-scrollbar { display: none; }
.genre-bar a {
    display: inline-block;
    color: var(--nr-text-muted);
    font-size: 0.88rem;
    font-family: system-ui, sans-serif;
    padding: 0.8rem 1rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.genre-bar a:hover, .genre-bar a.active {
    color: var(--nr-accent-dark);
    border-bottom-color: var(--nr-accent);
    text-decoration: none;
}

/* ===== Main Layout ===== */
.site-main {
    max-width: var(--nr-max-width);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 5rem;
}

/* ===== Section Block ===== */
.section-block {
    margin-bottom: 2.5rem;
}
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--nr-border);
}
.section-title {
    font-size: 1.15rem;
    margin: 0;
    color: var(--nr-text);
}
.section-count {
    font-size: 0.82rem;
    color: var(--nr-text-muted);
    font-family: system-ui, sans-serif;
}

/* ===== Novel Row (list view) ===== */
.novel-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.novel-row {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--nr-border);
    transition: background 0.15s;
}
.novel-row:last-child { border-bottom: none; }
.novel-row:hover { background: var(--nr-bg-alt); margin: 0 -0.5rem; padding: 1rem 0.5rem; border-radius: var(--nr-radius-sm); }

.novel-row-cover {
    flex-shrink: 0;
    width: 64px;
    height: 80px;
    background: linear-gradient(145deg, #1a1a2e, #2d3250);
    border-radius: var(--nr-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.cover-icon { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }
.cover-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.65rem;
    padding: 1px 5px;
    border-radius: 6px;
    font-family: system-ui, sans-serif;
    font-weight: 600;
}

.novel-row-info { flex: 1; min-width: 0; }
.novel-row-genre {
    font-size: 0.72rem;
    color: var(--nr-accent-dark);
    font-family: system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.25rem;
}
.novel-row-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.novel-row-title a { color: var(--nr-text); }
.novel-row-title a:hover { color: var(--nr-premium); text-decoration: none; }
.novel-row-meta {
    font-size: 0.8rem;
    color: var(--nr-text-muted);
    font-family: system-ui, sans-serif;
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 0.4rem;
}
.dot { opacity: 0.4; }
.novel-row-progress {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.progress-bar {
    flex: 1;
    height: 4px;
    background: var(--nr-border);
    border-radius: 2px;
    overflow: hidden;
    max-width: 120px;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--nr-accent), var(--nr-accent-dark));
    border-radius: 2px;
    transition: width 0.3s;
}
.progress-text {
    font-size: 0.72rem;
    color: var(--nr-text-muted);
    font-family: system-ui, sans-serif;
    white-space: nowrap;
}

/* ===== Chapter Grid ===== */
.chapter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}
.chapter-card {
    background: var(--nr-card);
    border: 1px solid var(--nr-border);
    border-radius: var(--nr-radius-sm);
    padding: 0.9rem 1rem;
    transition: box-shadow 0.2s, transform 0.2s;
}
.chapter-card:hover {
    box-shadow: var(--nr-shadow-hover);
    transform: translateY(-2px);
}
.chapter-card-cat {
    font-size: 0.7rem;
    color: var(--nr-accent-dark);
    font-family: system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}
.chapter-card-title {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.chapter-card-title a { color: var(--nr-text); }
.chapter-card-title a:hover { color: var(--nr-premium); }
.chapter-card-date {
    font-size: 0.75rem;
    color: var(--nr-text-muted);
    font-family: system-ui, sans-serif;
}

/* ===== Archive Header ===== */
.archive-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 1rem;
}
.archive-title {
    font-size: 1.6rem;
    margin: 0;
}

/* ===== Single Post (Reading) ===== */
.post-reading-view {
    max-width: var(--nr-max-content);
    margin: 0 auto;
    padding: 2rem 0 6rem;
}
.post-reading-view .entry-header { margin-bottom: 2rem; }
.post-reading-view .entry-title {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-weight: 700;
}
.post-reading-view .entry-meta {
    font-size: 0.82rem;
    color: var(--nr-text-muted);
    font-family: system-ui, sans-serif;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.post-reading-view .entry-content {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #2c2c2c;
}
.post-reading-view .entry-content p { margin-bottom: 1.6em; }
.post-reading-view .entry-content p:first-child::first-letter {
    font-size: 3.2em;
    float: left;
    line-height: 0.85;
    margin: 0.05em 0.12em 0 0;
    color: var(--nr-accent-dark);
    font-weight: 700;
}

/* ===== Premium Lock ===== */
.premium-lock {
    background: linear-gradient(to bottom, transparent, var(--nr-bg) 75%);
    padding: 3.5rem 1.5rem 2rem;
    text-align: center;
    margin-top: 1rem;
}
.premium-lock h3 { color: var(--nr-premium); margin-top: 0; margin-bottom: 0.5rem; font-size: 1.3rem; }
.premium-lock p { color: var(--nr-text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.premium-lock-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-premium {
    display: inline-block;
    background: var(--nr-premium);
    color: #fff;
    padding: 0.7rem 1.75rem;
    border-radius: 30px;
    font-weight: 600;
    font-family: system-ui, sans-serif;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.15s;
}
.btn-premium:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    text-decoration: none;
}
.btn-outline {
    display: inline-block;
    border: 1.5px solid var(--nr-border);
    color: var(--nr-text-muted);
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    font-family: system-ui, sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--nr-accent); color: var(--nr-accent-dark); text-decoration: none; }

/* ===== Chapter Nav ===== */
.chapter-nav {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nr-border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-family: system-ui, sans-serif;
    font-size: 0.88rem;
}
.chapter-nav a { color: var(--nr-text-muted); }
.chapter-nav a:hover { color: var(--nr-premium); text-decoration: none; }

/* ===== Bottom Membership Bar ===== */
.membership-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26,26,46,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #faf9f7;
    padding: 0.7rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 500;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.25);
}
.membership-bar p { margin: 0; font-size: 0.88rem; font-family: system-ui, sans-serif; }
.membership-bar .btn-premium { padding: 0.5rem 1.25rem; font-size: 0.88rem; }

/* ===== Pagination ===== */
.pagination {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 0.45rem 0.9rem;
    border-radius: var(--nr-radius-sm);
    background: var(--nr-card);
    border: 1px solid var(--nr-border);
    color: var(--nr-text);
    font-family: system-ui, sans-serif;
    font-size: 0.88rem;
    transition: background 0.15s, border-color 0.15s;
}
.pagination a:hover { background: var(--nr-bg-alt); text-decoration: none; border-color: var(--nr-accent); }
.pagination .current { background: var(--nr-accent); color: #fff; border-color: var(--nr-accent); }

/* ===== Footer ===== */
.site-footer {
    background: var(--nr-header-bg);
    color: rgba(250,249,247,0.5);
    text-align: center;
    padding: 2rem 1.25rem;
    font-size: 0.85rem;
    font-family: system-ui, sans-serif;
    margin-top: 2rem;
}
.site-footer a { color: rgba(250,249,247,0.5); }
.site-footer a:hover { color: #faf9f7; }

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--nr-text-muted);
    font-family: system-ui, sans-serif;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 58px;
        left: 0;
        right: 0;
        background: var(--nr-header-bg);
        flex-direction: column;
        padding: 1rem 1.25rem 1.25rem;
        gap: 0.5rem;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }
    .header-nav.open { display: flex; }
    .header-nav a { color: rgba(250,249,247,0.85); padding: 0.4rem 0; font-size: 1rem; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu-btn:not(.active) span:nth-child(1) { transform: none; }
    .mobile-menu-btn:not(.active) span:nth-child(2) { opacity: 1; }
    .mobile-menu-btn:not(.active) span:nth-child(3) { transform: none; }

    .home-hero { padding: 2.5rem 1rem 2rem; }
    .home-hero h1 { font-size: 1.9rem; }
    .hero-genres { gap: 0.5rem; }
    .hero-genre-tag { font-size: 0.82rem; padding: 0.3rem 0.8rem; }

    .site-main { padding: 1rem 1rem 6rem; }

    .section-header { margin-bottom: 1rem; }
    .section-title { font-size: 1.05rem; }

    .novel-row { gap: 0.85rem; }
    .novel-row-cover { width: 56px; height: 70px; font-size: 1.5rem; }
    .novel-row-title { font-size: 0.95rem; }
    .novel-row-meta { font-size: 0.75rem; }
    .progress-bar { display: none; }

    .chapter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .chapter-card { padding: 0.75rem 0.85rem; }
    .chapter-card-title { font-size: 0.82rem; }

    .membership-bar { flex-direction: column; text-align: center; gap: 0.5rem; padding: 0.6rem 1rem; }
    .membership-bar p { font-size: 0.82rem; }
    .membership-bar .btn-premium { width: 100%; text-align: center; }

    .post-reading-view .entry-content { font-size: 1rem; }
    .post-reading-view .entry-content p:first-child::first-letter { font-size: 2.8em; }
    .premium-lock-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 400px) {
    .chapter-grid { grid-template-columns: 1fr; }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.novel-row, .chapter-card { animation: fadeIn 0.3s ease-out; }
/* Novela 阅读体验优化 CSS */

/* 1. 正文区域加宽 */
body.single-post .content {
    max-width: 780px !important;
    margin: 0 auto !important;
    padding: 0 20px;
}

/* 2. 深色背景改浅色 */
body.single-post {
    background: #fafafa !important;
    color: #222;
}

/* 3. 隐藏无关干扰区块 */
body.single-post .epcl-share-container,
body.single-post .epcl-social-share,
body.single-post .siblings {
    display: none !important;
}

/* 4. 正文排版 */
body.single-post .post-content {
    font-size: 18px !important;
    line-height: 1.9 !important;
    color: #222;
}

body.single-post .post-content p {
    margin-bottom: 1.5em !important;
    line-height: 1.9 !important;
}

/* 5. 标题区域 */
body.single-post .main-article h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    color: #111 !important;
    margin-bottom: 30px !important;
}

/* 6. 分类标签 */
body.single-post .single-categories {
    margin-bottom: 15px !important;
}

/* 7. 付费提示样式 */
.paYwAlL {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    color: #856404;
    font-size: 16px;
}

/* 8. 章节导航样式 */
.novela-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 40px 0 30px;
    padding: 25px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.novela-nav-btn {
    flex: 1;
    text-decoration: none !important;
    color: #333 !important;
    padding: 15px 20px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.2s;
    display: block;
}

.novela-nav-btn:hover {
    background: #007bff;
    color: #fff !important;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.2);
}

.novela-nav-btn .nav-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.novela-nav-btn:hover .nav-label {
    color: #cce5ff;
}

.novela-nav-btn .nav-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.novela-nav-info {
    text-align: center;
    font-size: 13px;
    color: #999;
    min-width: 100px;
    white-space: nowrap;
}

.novela-nav-next {
    text-align: right;
}

/* 9. 响应式 */
@media (max-width: 600px) {
    .novela-nav {
        flex-direction: column;
    }
    .novela-nav-info {
        order: -1;
        margin-bottom: 10px;
    }
    .novela-nav-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== Footer Redesign ===== */
.site-footer {
    background: #1a1a2e;
    color: rgba(250,249,247,0.6);
    padding: 3rem 1.25rem 1.5rem;
    font-family: system-ui, sans-serif;
    margin-top: 0;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(250,249,247,0.1);
    flex-wrap: wrap;
}
.footer-brand {
    flex: 0 0 200px;
}
.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #faf9f7;
    display: block;
    margin-bottom: 0.5rem;
}
.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(250,249,247,0.45);
}
.footer-links {
    flex: 1;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 100px;
}
.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(250,249,247,0.35);
    margin-bottom: 0.25rem;
    font-family: system-ui, sans-serif;
}
.footer-col a {
    color: rgba(250,249,247,0.6);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: #faf9f7; text-decoration: none; }
.footer-bottom {
    max-width: 1100px;
    margin: 1.5rem auto 0;
    text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: rgba(250,249,247,0.3); }
.footer-bottom a { color: rgba(250,249,247,0.3); }
.footer-bottom a:hover { color: rgba(250,249,247,0.6); }

/* ===== Membership bar tweaks ===== */
.membership-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26,26,46,0.97);
    backdrop-filter: blur(12px);
    color: #faf9f7;
    padding: 0.7rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 500;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.25);
}
.membership-bar p { margin: 0; font-size: 0.88rem; font-family: system-ui, sans-serif; }
.membership-bar .btn-premium { padding: 0.5rem 1.25rem; font-size: 0.88rem; }

@media (max-width: 768px) {
    .footer-inner { flex-direction: column; gap: 2rem; }
    .footer-brand { flex: none; }
    .footer-links { flex-direction: column; gap: 1.5rem; }
    .footer-col { flex-direction: row; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
    .footer-col h4 { width: 100%; }
    .membership-bar { flex-direction: column; text-align: center; gap: 0.5rem; padding: 0.6rem 1rem; }
    .membership-bar p { font-size: 0.82rem; }
    .membership-bar .btn-premium { width: 100%; text-align: center; }
}
