/**
 * Lunafitch Novel Theme - main.css
 * Core visual design for Lunafitch Novel Portal (Midnight Library Design System)
 */

/* ==========================================================================
   1. Site Topbar & Ticker
   ========================================================================== */
.site-topbar {
    background: #05060a;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50;
}

.site-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    height: 26px;
    overflow: hidden;
}

.ticker-pill-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(124, 58, 237, 0.2));
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent-gold);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ticker-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    box-shadow: 0 0 6px var(--accent-gold);
    animation: lf-pulse 2s infinite;
}

@keyframes lf-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.ticker-slider-wrap {
    height: 26px;
    max-height: 26px;
    overflow: hidden;
    position: relative;
    flex: 1;
    min-width: 0;
}

.ticker-slider-track {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ticker-slide-item {
    height: 26px;
    min-height: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-date-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
}

.ticker-sep {
    color: var(--text-muted);
    opacity: 0.4;
    flex-shrink: 0;
}

.ticker-link {
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.ticker-link:hover {
    color: var(--accent-gold);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 11px;
}

.topbar-date {
    display: inline-flex;
    align-items: center;
}

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

.social-icon-btn {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
}

.social-icon-btn:hover {
    background: var(--accent-gold);
    color: #000;
}

/* ==========================================================================
   2. Sticky Main Header
   ========================================================================== */
.site-header {
    background: rgba(9, 10, 16, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.brand-wrapper .site-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav .nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 0;
    position: relative;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: var(--text-primary);
}

.desktop-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.btn-nav-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chevron-more {
    transition: transform 0.2s;
}

.btn-nav-more.open .chevron-more {
    transform: rotate(180deg);
}

/* ==========================================================================
   3. Mobile Floating Toolbar (Bottom Dock)
    ========================================================================== */
.btn-nav-portal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.28);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-nav-portal:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    color: #fff;
    transform: translateY(-1px);
}

.mobile-portal-btn {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-portal-btn:hover,
.mobile-portal-btn:active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
}

.mobile-floating-nav {
    display: none;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .header-main-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-portal-btn {
        display: flex;
    }

    .mobile-floating-nav {
        display: block;
        position: fixed;
        bottom: 16px;
        left: 16px;
        right: 16px;
        z-index: 1000;
        pointer-events: none;
    }

    .m-floating-dock {
        pointer-events: auto;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
        background: rgba(14, 16, 25, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(212, 175, 55, 0.35);
        border-radius: var(--radius-full);
        padding: 6px 6px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
    }

    .m-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--text-secondary);
        text-decoration: none;
        padding: 4px 6px;
        background: none;
        border: none;
        cursor: pointer;
        font-family: inherit;
        transition: all 0.2s;
        border-radius: var(--radius-sm);
    }

    .m-nav-icon {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m-nav-label {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1;
    }

    .m-nav-item:hover,
    .m-nav-item.active {
        color: var(--accent-gold);
    }

    .m-nav-item.active .m-nav-icon {
        transform: scale(1.1);
    }
}

/* ==========================================================================
   4. Jelajah Portal Overlay & Drawer (Jaringan Situs Lunafitch)
   ========================================================================== */
.more-network-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.more-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.more-overlay-modal {
    position: relative;
    z-index: 2;
    background: rgba(16, 20, 30, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 640px;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.15);
    animation: modal-fade-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-fade-in {
    from { opacity: 0; transform: scale(0.96) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.portal-drawer-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 14px;
}

.btn-drawer-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-drawer-back:hover,
.btn-drawer-back:active {
    background: var(--accent-gold);
    color: #090a10;
}

.portal-drawer-heading-wrap {
    text-align: center;
    flex: 1;
}

.portal-tagline {
    font-size: 10px;
    font-weight: 800;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.portal-drawer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.btn-drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-drawer-close:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold);
}

.portal-intro-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.55;
}

.more-sites-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.more-site-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    gap: 14px;
    transition: all 0.2s;
    text-decoration: none;
}

.more-site-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    background: var(--bg-card-hover);
}

.site-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.site-card-icon.icon-life { color: #f43f5e; background: rgba(244, 63, 94, 0.12); }
.site-card-icon.icon-tech { color: #06b6d4; background: rgba(6, 182, 212, 0.12); }
.site-card-icon.icon-games { color: #8b5cf6; background: rgba(139, 92, 246, 0.12); }
.site-card-icon.icon-portal { color: #d4af37; background: rgba(212, 175, 55, 0.12); }

.site-card-content {
    flex: 1;
    min-width: 0;
}

.site-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.site-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.site-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 2px;
}

.site-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-url {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-gold);
}

/* ==========================================================================
   5. Dedicated Pages: Explore, Library, Search Common Styles
   ========================================================================== */
.page-title-banner {
    padding: 36px 0 24px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-header-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.12);
}

.page-badge-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.page-main-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Explore Page Specific */
.explore-page-wrapper {
    padding-bottom: 80px;
}

.explore-filters-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.filter-status-group,
.filter-genre-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-status-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.filter-status-btn.active,
.filter-status-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
}

.filter-genre-pill {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.filter-genre-pill.active,
.filter-genre-pill:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: var(--accent-gold-soft);
}

.explore-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.explore-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.explore-item-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.explore-item-cover {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.explore-item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-status-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.explore-item-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.explore-item-genres {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.genre-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-gold);
    background: var(--accent-gold-soft);
    padding: 2px 6px;
    border-radius: 2px;
}

.explore-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.explore-item-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.explore-item-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 14px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.explore-item-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-explore-detail {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 8px;
    text-align: center;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.btn-explore-read {
    background: var(--accent-gold);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 8px;
    text-align: center;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

/* Library Page Specific */
.library-page-wrapper {
    padding-bottom: 80px;
}

.library-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.lib-page-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 12px 20px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    font-family: inherit;
}

.lib-page-tab-btn.active,
.lib-page-tab-btn:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.library-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.lib-history-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: all 0.2s;
}

.lib-history-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.lib-btn-resume {
    background: var(--accent-gold);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
}

/* Search Page Specific */
.search-page-wrapper {
    padding-bottom: 80px;
}

.search-page-box-wrap {
    max-width: 740px;
    margin: 0 auto 40px;
}

.search-page-form {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 8px 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: border-color 0.2s;
}

.search-page-form:focus-within {
    border-color: var(--accent-gold);
}

.search-page-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 16px;
}

.search-page-submit-btn {
    background: var(--accent-gold);
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.search-suggestions-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
    font-size: 12px;
}

.suggestion-label {
    color: var(--text-muted);
}

.suggest-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.2s;
}

.suggest-chip:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.search-results-summary {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.search-result-group {
    margin-bottom: 40px;
}

.group-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.empty-search-state,
.search-empty-prompt {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

/* ==========================================================================
   6. Front Page Layout
   ========================================================================== */
.front-hero-section {
    position: relative;
    padding: 48px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.front-hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(35px) brightness(0.25);
    transform: scale(1.1);
    z-index: 0;
}

.front-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 10, 16, 0.7) 0%, rgba(9, 10, 16, 0.95) 100%);
    z-index: 1;
}

.front-hero-container {
    position: relative;
    z-index: 2;
}

.front-hero-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: center;
    background: rgba(14, 16, 25, 0.75);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.front-hero-cover-wrap {
    position: relative;
}

.cover-hover-wrap {
    display: block;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.2);
    aspect-ratio: 2 / 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cover-hover-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.35);
}

.front-hero-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-status-pill {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.hero-top-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.badge-serial-gold {
    background: var(--accent-gold-soft);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.badge-rating {
    background: rgba(255, 255, 255, 0.08);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.badge-rank {
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: #a78bfa;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.front-novel-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.front-novel-subtitle {
    font-size: 14px;
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-weight: 500;
}

.front-novel-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 650px;
}

.front-hero-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-front-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gold);
    color: #000;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-front-read:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-front-hub {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-front-hub:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.front-quick-chapters {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.quick-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.quick-links-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-chapter-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    transition: all 0.2s;
    text-decoration: none;
}

.quick-chapter-pill:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
    background: var(--accent-gold-soft);
}

.pill-num {
    font-weight: 700;
    color: var(--accent-gold);
}

.pill-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* Releases */
.front-releases-section {
    padding: 48px 20px;
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.section-subheading {
    font-size: 13px;
    color: var(--text-muted);
}

.front-chapters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.front-chapter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    text-decoration: none;
}

.front-chapter-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.front-chapter-thumb {
    width: 60px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.front-chapter-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.f-num-tag {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent-gold);
    font-size: 9px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 2px;
}

.front-chapter-info {
    flex: 1;
    min-width: 0;
}

.f-novel-parent-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.f-chapter-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.f-chapter-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   7. Novel Overview Hub (single-novel.php)
   ========================================================================== */
.novel-hub-page {
    position: relative;
    padding-bottom: 60px;
}

.novel-hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 480px;
    overflow: hidden;
    z-index: 0;
}

.novel-backdrop-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.2);
    transform: scale(1.1);
}

.novel-backdrop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 10, 16, 0.6) 0%, rgba(9, 10, 16, 1) 100%);
}

.novel-hub-topbar {
    position: relative;
    z-index: 5;
    padding-top: 16px;
    padding-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hub-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
    text-decoration: none;
}

.hub-nav-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-gold);
}

.novel-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon-hub {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--accent-gold);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon-hub:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--accent-gold);
    color: #fff;
}

.novel-platform-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.novel-secondary-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chapter-card-arrow {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}

.chapter-card-link:hover .chapter-card-arrow {
    color: var(--accent-gold);
    transform: translateX(3px);
}

.novel-hub-container {
    position: relative;
    z-index: 5;
    margin-top: 10px;
}

.novel-header-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    background: rgba(14, 16, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    margin-bottom: 28px;
}

.novel-cover-frame {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.25);
}

.novel-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.novel-status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.novel-status-badge.completed {
    background: rgba(59, 130, 246, 0.95);
}

.novel-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.novel-alt-title {
    font-size: 14px;
    color: var(--accent-gold);
    margin-bottom: 18px;
    font-weight: 500;
}

.novel-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.novel-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-purple);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    text-decoration: none;
}

.btn-primary-read:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

.btn-action-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-action-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-action-outline.bookmarked {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.novel-stats-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.stat-pill.rating { color: #fbbf24; }
.stat-pill.bookmarks { color: #38bdf8; }
.stat-pill.views { color: #4ade80; }

.rating-picker-box {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
}

.picker-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.rating-stars-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-star-vote {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #fbbf24;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-star-vote:hover {
    background: #fbbf24;
    color: #000;
    transform: scale(1.05);
}

.rating-feedback-msg {
    display: block;
    font-size: 12px;
    margin-top: 8px;
    color: #4ade80;
}

.novel-synopsis-wrapper {
    position: relative;
    margin-bottom: 24px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 16px;
}

.novel-synopsis-content {
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5e1;
    max-height: 110px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.novel-synopsis-content.expanded {
    max-height: none;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-top: 8px;
    padding: 0;
}

.novel-meta-tags-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.meta-tag-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.meta-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.meta-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.meta-badge-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.novel-subtabs-nav {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.subtab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    font-family: inherit;
}

.subtab-btn:hover {
    color: var(--text-primary);
}

.subtab-btn.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.chapter-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.chapter-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 16px;
    flex: 1;
    max-width: 420px;
    color: var(--text-muted);
}

.chapter-search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
    width: 100%;
}

.btn-sort-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.btn-sort-toggle:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.chapters-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.chapter-card-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.chapter-card-link:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.chapter-card-link.read {
    opacity: 0.55;
}

.chapter-card-link.read:hover {
    opacity: 1;
}

.chapter-card-thumb {
    width: 80px;
    height: 52px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #000;
}

.chapter-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chapter-num-badge {
    position: absolute;
    bottom: 2px;
    left: 2px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--accent-gold);
    font-size: 10px;
    font-weight: 800;
    padding: 1px 4px;
    border-radius: 2px;
}

.chapter-card-info {
    flex: 1;
    min-width: 0;
}

.chapter-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}

.chapter-card-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-up {
    background: #dc2626;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.chapter-card-meta {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chapter-card-sep {
    opacity: 0.3;
}

.novel-info-pane-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.novel-info-pane-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.novel-info-pane-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.info-specs-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.spec-row {
    display: flex;
    gap: 12px;
    font-size: 13px;
}

.spec-name {
    width: 160px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.spec-val {
    color: var(--text-primary);
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
    background: #050609;
    border-top: 1px solid var(--border-color);
    padding-top: 48px;
    padding-bottom: 80px; /* Space for mobile floating toolbar */
    margin-top: auto;
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 12px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.2s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    transition: color 0.2s;
    text-decoration: none;
}

.back-to-top-btn:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   9. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .chapters-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    .novel-header-card {
        grid-template-columns: 200px 1fr;
        gap: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .more-sites-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Front Page Hero */
    .front-hero-card {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .front-hero-cover-wrap {
        max-width: 200px;
        margin: 0 auto;
    }
    .hero-top-badges,
    .front-hero-cta-row,
    .quick-links-row {
        justify-content: center;
    }

    /* Jelajah Portal Mobile Drawer Optimization */
    .more-network-overlay {
        padding: 10px;
        align-items: flex-end;
    }
    .more-overlay-modal {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 86vh !important;
        border-radius: 20px 20px 14px 14px !important;
        padding: 18px 16px 24px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
    }
    .portal-drawer-nav {
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    .btn-drawer-back {
        padding: 6px 12px;
        font-size: 12.5px;
    }
    .portal-drawer-title {
        font-size: 1.15rem;
    }
    .portal-intro-text {
        font-size: 12.5px;
        margin-bottom: 14px;
        line-height: 1.5;
    }
    .more-sites-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .more-site-card {
        padding: 12px;
        gap: 12px;
    }
    .site-card-icon {
        width: 40px;
        height: 40px;
    }

    /* ==========================================================
       NOVEL INFO PAGE (single-novel.php) - MOBILE-FIRST REDESIGN
       ========================================================== */
    .novel-hub-page {
        padding-bottom: 84px;
    }
    .novel-hero-backdrop {
        height: 280px;
    }
    .novel-hub-topbar {
        padding: 12px 0 8px;
    }
    .novel-hub-container {
        margin-top: 4px;
        padding: 0 12px;
    }
    .novel-header-card {
        grid-template-columns: 1fr !important;
        padding: 20px 14px 18px !important;
        gap: 12px !important;
        background: rgba(14, 16, 25, 0.94) !important;
        border-radius: 16px !important;
        border: 1px solid var(--border-light) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.75) !important;
        margin-bottom: 16px !important;
        text-align: center;
    }
    .novel-cover-col {
        display: flex;
        justify-content: center;
        margin-bottom: 4px;
    }
    .novel-cover-frame {
        width: 130px !important;
        max-width: 130px !important;
        aspect-ratio: 2 / 3 !important;
        margin: 0 auto !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 175, 55, 0.25) !important;
    }
    .novel-hero-heading-block {
        text-align: center;
        margin-bottom: 14px;
    }
    .novel-platform-badge {
        font-size: 10px;
        font-weight: 800;
        color: var(--accent-gold);
        letter-spacing: 1px;
        display: inline-block;
        margin-bottom: 4px;
    }
    .novel-title {
        font-size: 1.35rem !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin-bottom: 4px !important;
    }
    .novel-alt-title {
        font-size: 12px !important;
        text-align: center !important;
        color: var(--accent-gold) !important;
        opacity: 0.9 !important;
        margin-bottom: 14px !important;
    }
    .novel-action-bar {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-bottom: 14px !important;
    }
    .novel-cta-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .btn-primary-read {
        width: 100% !important;
        height: 46px !important;
        justify-content: center !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
        box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45) !important;
    }
    .novel-secondary-actions {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .btn-action-outline {
        height: 38px !important;
        padding: 0 4px !important;
        font-size: 11.5px !important;
        justify-content: center !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid var(--border-color) !important;
        white-space: nowrap !important;
    }
    .novel-stats-group {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
        margin-top: 4px !important;
    }
    .stat-pill {
        justify-content: center !important;
        padding: 6px 2px !important;
        font-size: 10.5px !important;
        border-radius: 8px !important;
        text-align: center !important;
    }
    .stat-pill .stat-val {
        font-size: 10.5px !important;
    }
    .rating-picker-box {
        padding: 12px;
        margin-top: 8px;
    }
    .rating-stars-row {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 6px !important;
    }
    .btn-star-vote {
        height: 34px !important;
        font-size: 11px !important;
    }
    .novel-synopsis-wrapper {
        text-align: left !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 12px !important;
        padding: 14px !important;
        margin-top: 10px !important;
    }
    .novel-synopsis-content {
        font-size: 13px !important;
        line-height: 1.65 !important;
        color: var(--text-secondary) !important;
        text-align: left !important;
    }
    .btn-read-more {
        margin: 8px auto 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 11.5px !important;
    }
    .novel-meta-tags-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-top: 12px !important;
        text-align: left !important;
    }
    .meta-tag-item {
        padding: 8px 10px !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.02) !important;
    }
    .novel-subtabs-nav {
        display: flex !important;
        width: 100% !important;
        border-bottom: 1px solid var(--border-color) !important;
        margin-top: 16px !important;
        margin-bottom: 14px !important;
        gap: 0 !important;
    }
    .subtab-btn {
        flex: 1 !important;
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 0 !important;
        border-bottom: 2px solid transparent !important;
    }
    .subtab-btn.active {
        border-bottom-color: var(--accent-gold) !important;
        color: var(--accent-gold) !important;
        background: transparent !important;
    }
    .chapter-filter-bar {
        display: flex !important;
        gap: 8px !important;
        width: 100% !important;
        margin-bottom: 14px !important;
    }
    .chapter-search-box {
        flex: 1 !important;
    }
    .btn-sort-toggle {
        height: 42px !important;
        padding: 0 12px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
    .chapters-grid-3col {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .chapter-card-link {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--border-color) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .chapter-card-thumb {
        width: 58px !important;
        height: 40px !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }
    .chapter-card-info {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .chapter-card-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-bottom: 2px !important;
    }
    .chapter-card-meta {
        font-size: 11px !important;
        color: var(--text-muted) !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .chapter-card-arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--text-muted) !important;
        flex-shrink: 0 !important;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
