:root {
    /* Balikin ke warna gelap (Dark Theme) */
    --bg-main: #14131d;       
    --bg-card: #232232;       
    --text-main: #ffffff;     
    --text-muted: #a19fb5;    
    --border-color: #2a293a;  
    
    /* INI YANG DIUBAH JADI CHERRY BLOSSOM */
    --accent-green: #ffb7c5;  /* Otomatis ngubah tombol Share, Donasi, outline tag, dll */
    
    /* Warna lain tetep */
    --accent-purple: #5865F2; /* Warna Discord */
    --accent-hot: #ff7b00;    /* Warna oranye badge Hot */
}
/* ============================
   TOP SERIES SECTION
   ============================ */
.top-series {
    margin-top: 60px;
}

.top-series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ts-card {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    padding: 15px;
    border-radius: 12px;
    gap: 15px;
    /* Tambahan shadow tipis biar card-nya pop-up di background pink */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
    border: 1px solid var(--border-color);
}

.ts-card img {
    width: 65px;
    height: 95px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.ts-rank {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-main);
    min-width: 25px;
    text-align: center;
}

.ts-info {
    flex: 1;
}

.ts-info h4 {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ts-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ts-tags span {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-weight: 600;
}

/* Variasi warna tag (biar ada yang merah kayak di gambar) */
.ts-tags.alt-tag span {
    border-color: var(--accent-hot);
    color: var(--accent-hot);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    text-align: center;
    padding: 60px 20px 40px;
    margin-top: 60px;
}

.footer-logo .logo-text {
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: var(--text-main); /* Mengikuti tema terang */
    letter-spacing: 1px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 13px;
    margin: 15px 0 20px;
}

.footer-contact {
    display: inline-block;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
    transition: 0.2s;
}

.footer-contact:hover {
    color: var(--accent-green);
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 12px;
    margin: 5px 0;
}

/* Responsive buat Top Series di HP */
@media (max-width: 900px) {
    .top-series-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .top-series-grid {
        grid-template-columns: 1fr;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
}

a { text-decoration: none; color: inherit; }
li { list-style: none; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    color: var(--accent-green);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -22px; /* Jarak garis ke text */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-green);
}

.nav-right {
    display: flex;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
}

/* Container Pembungkus */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ============================
   HERO BANNERS
   ============================ */
.hero-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.hero-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.hero-card .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hero-card:hover .bg-img {
    transform: scale(1.05);
}

/* Badge MANHWA Kiri Atas */
.top-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
}

/* Logo IKIRU Kanan Atas */
.top-right-logo {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-green);
    color: white;
    padding: 5px 12px;
    font-weight: 900;
    font-style: italic;
    border-radius: 6px;
    font-size: 16px;
}

/* Teks & Gradasi Bawah Banner */
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.4), transparent);
}

.hot-badge {
    background: var(--accent-hot);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.card-info h2 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

/* Tag Genre Hijau Transparan */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tags span {
    border: 1px solid var(--accent-green);
    color: #fff;
    background: rgba(29, 185, 84, 0.15);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* ============================
   ACTION CARDS (Share, Discord, Donasi)
   ============================ */
.action-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.action-box {
    background: var(--bg-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.action-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.action-text p {
    font-size: 12px;
    color: var(--text-muted);
}

.btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    transition: 0.2s;
}

.btn:hover { opacity: 0.9; }
.btn-green { background: var(--accent-green); }
.btn-purple { background: var(--accent-purple); }

/* ============================
   POPULAR TODAY CAROUSEL
   ============================ */
.section-title h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.popular-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) transparent;
}

.popular-carousel::-webkit-scrollbar {
    height: 8px;
}

.popular-carousel::-webkit-scrollbar-thumb {
    background-color: var(--accent-green);
    border-radius: 10px;
}

.pop-card {
    min-width: 160px;
    height: 230px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

.pop-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pop-card:hover img {
    transform: scale(1.08);
}
/* ============================
   MAIN LAYOUT (Kiri & Kanan)
   ============================ */
.main-layout {
    display: grid;
    grid-template-columns: 7fr 3fr; /* Kiri 70%, Kanan 30% */
    gap: 30px;
    margin-top: 40px;
}

/* ============================
   KIRI: LAST UPDATE
   ============================ */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-header-flex h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all-text {
    color: var(--accent-green);
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px;
}

.view-btn {
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.view-btn.active, .view-btn:hover {
    background: var(--accent-green);
    color: #000;
}

/* Grid Komik Update (2 Kolom) */
.update-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.update-card {
    display: flex;
    gap: 15px;
}

.update-thumb {
    width: 90px;
    height: 130px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.update-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid var(--bg-main);
}

.flag-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 14px;
}

.update-info {
    flex: 1;
}

.update-info h4 {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.chapter-list li {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 6px 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
    margin-bottom: 5px;
}

.chapter-list li span:first-child {
    font-weight: 600;
}

.chapter-list .time {
    color: var(--text-muted);
    font-size: 11px;
}

/* Pagination Bawah */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination button {
    background: var(--bg-card);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.pagination button:hover {
    background: rgba(255,255,255,0.2);
}

.pagination button.active {
    background: var(--accent-green);
    color: #000;
}

/* ============================
   KANAN: SIDEBAR
   ============================ */
.sidebar-discord {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: #5865F2; /* Warna khas Discord */
    color: white;
    font-size: 24px;
    font-weight: 900;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar-discord:hover {
    background-color: #4752c4;
}

/* Tabs Popular */
.pop-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.pop-tabs button {
    flex: 1;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.pop-tabs button.active {
    background: var(--accent-green);
    color: #000;
    border-color: var(--accent-green);
}

/* List Komik Populer Sidebar */
.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-item {
    display: flex;
    gap: 12px;
    background: var(--bg-card);
    padding: 10px;
    border-radius: 8px;
    align-items: center;
}

.side-item img {
    width: 55px;
    height: 75px;
    border-radius: 4px;
    object-fit: cover;
}

.side-info {
    flex: 1;
}

.rank-icon {
    font-size: 12px;
    margin-bottom: 5px;
    display: inline-block;
}

.side-info h5 {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr; /* Jadi satu kolom memanjang ke bawah kalau di HP */
    }
    .update-grid {
        grid-template-columns: 1fr; /* List updatenya juga jadi 1 kolom di HP */
    }
}
/* ============================
   POPULAR TODAY CAROUSEL & CARDS
   ============================ */
.popular-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) transparent;
}

.popular-carousel::-webkit-scrollbar {
    height: 8px;
}

.popular-carousel::-webkit-scrollbar-thumb {
    background-color: var(--accent-green);
    border-radius: 10px;
}

.pop-card {
    min-width: 160px;
    height: 230px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    position: relative; /* Wajib ada biar text overlay gak lari */
}

.pop-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Kotak Gradasi Hitam di bawah gambar */
.pop-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 10px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    /* Geser ke bawah 26px buat nyembunyiin bendera & rating awalnya */
    transform: translateY(26px); 
}

/* Judul Komik */
.pop-title {
    font-size: 12px;
    color: #fff;
    text-align: center;
    font-weight: 700;
    margin: 0;
    /* Bikin judul max 2 baris, sisanya ... */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8); /* Biar teks kebaca jelas */
}

/* Wadah Bendera & Bintang (Awalnya Transparan) */
.pop-hover-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0; /* Sembunyikan */
    transition: opacity 0.3s ease;
    margin-top: 8px;
}

.pop-hover-info .flag {
    font-size: 14px;
    background: white;
    padding: 0 2px;
    border-radius: 3px;
    line-height: 1;
}

.pop-hover-info .rating {
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.pop-hover-info .rating i {
    color: #f1c40f; /* Warna kuning emas persis di gambar */
    margin-right: 3px;
}

/* ============================
   EFEK HOVER KETIKA MOUSE MASUK
   ============================ */
/* 1. Gambar nge-zoom */
.pop-card:hover img {
    transform: scale(1.08);
}

/* 2. Gradasi hitam naik ke atas (kembali ke titik 0) */
.pop-card:hover .pop-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 70%, transparent 100%);
}

/* 3. Bendera & Bintang muncul */
.pop-card:hover .pop-hover-info {
    opacity: 1;
}
/* ============================
   PENYESUAIAN DETAIL ACTION CARDS
   ============================ */
/* Tambahin garis vertikal abu-abu di samping teks sesuai gambar */
.action-text {
    border-left: 2px solid var(--text-muted);
    padding-left: 12px;
}

/* Sembunyiin tombol hamburger kalau di tampilan Desktop */
.menu-btn {
    display: none;
}

/* ============================
   TAMPILAN MOBILE (Maksimal Lebar Layar 768px)
   ============================ */
@media (max-width: 768px) {
    
    /* 1. Navbar */
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        display: none; /* Sembunyiin menu teks (Home, Pustaka, dll) */
    }
    
    .menu-btn {
        display: inline-block; /* Munculin tombol hamburger */
    }

    /* 2. Hero Banners (Jadi Carousel Geser Menyamping) */
    .hero-banners {
        display: flex; /* Ubah dari grid ke flex biar bisa di-scroll horizontal */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 10px;
        margin-bottom: 15px;
        /* Sembunyikan scrollbar bawaan browser di bawah banner */
        scrollbar-width: none; 
    }
    
    .hero-banners::-webkit-scrollbar {
        display: none;
    }

    .hero-card {
        min-width: 100%; /* Biar 1 banner full menuhin lebar layar HP */
        scroll-snap-align: center;
        height: 220px; /* Dibuat sedikit lebih pendek biar proporsional di HP */
    }

    /* 3. Action Cards (Share, Discord, Donasi numpuk ke bawah) */
    .action-cards {
        grid-template-columns: 1fr; /* Jadi 1 kolom */
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .action-box {
        padding: 15px;
    }
}
/* =========================================
   DETAIL PAGE (HALAMAN KOMIK)
   ========================================= */

/* Container & Background Blur */
.detail-container {
    position: relative;
    min-height: 100vh;
    padding-top: 40px;
}

.detail-bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    opacity: 0.2; /* Tingkat transparansi blur */
    z-index: 0;
    /* Efek fade out gradasi ke bawah supaya ngebaur sama background gelap */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.detail-content {
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 1; /* Biar ada di atas background blur */
}

/* KIRI: Cover & Info */
.detail-left {
    width: 260px;
    flex-shrink: 0;
}

.detail-cover {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    margin-bottom: 15px;
}

.detail-primary-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-full {
    flex: 1;
    justify-content: center;
}

.btn-dark {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

.detail-stats-boxes {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.stat-box {
    flex: 1;
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px 5px;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.stat-box .stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 5px;
    display: block;
}

.detail-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-info-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.detail-info-list li i {
    width: 20px;
    text-align: center;
    margin-right: 5px;
}

.info-val {
    color: var(--text-main);
    font-weight: 500;
}

.text-right {
    text-align: right;
    line-height: 1.4;
}

/* KANAN: Sinopsis & Komentar */
.detail-right {
    flex: 1;
}

.detail-right h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.2;
}

.alt-title {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

/* Tabs Navigasi */
.detail-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.detail-tabs .tab {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    padding-bottom: 10px;
    transition: 0.3s;
}

.detail-tabs .tab.active, .detail-tabs .tab:hover {
    color: var(--accent-green); /* Ini bakal ikut jadi Cherry Blossom karena update CSS lu sebelumnya */
}

.detail-tabs .tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-green);
}

/* Kotak Summary */
.summary-box {
    background-color: rgba(20, 19, 29, 0.6);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.summary-box h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.summary-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.show-more-btn {
    background: none;
    border: none;
    color: var(--accent-green);
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
}

/* Tags Detail */
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-tags span {
    background-color: var(--accent-green);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* REACTION & COMMENT SECTION */
.reaction-section {
    text-align: center;
    background-color: rgba(35, 34, 50, 0.5); /* Background gelap transparan */
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    border: 1px solid var(--border-color);
}

.reaction-section h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.response-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.reaction-emojis {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.emoji-item {
    cursor: pointer;
    transition: transform 0.2s;
}

.emoji-item:hover {
    transform: translateY(-5px);
}

.emoji-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.emoji-count {
    font-size: 16px;
    font-weight: 700;
}

.emoji-label {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-login-comment {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
}

.comment-sort {
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.comment-sort span {
    margin-left: 15px;
    cursor: pointer;
}

.comment-sort span.active {
    color: var(--accent-green);
}

/* =========================================
   RESPONSIVE MOBILE UNTUK HALAMAN DETAIL
   ========================================= */
@media (max-width: 900px) {
    /* 1. Bikin container utama jadi 1 kolom */
/* Bikin 1 kolom utama */
    .detail-content {
        display: flex;
        flex-direction: column;
    }
    
    /* Hilangkan sekat kiri-kanan biar bisa diatur urutannya */
    .detail-left, .detail-right {
        display: contents; 
    }

    /* 1. Cover Image (Urutan 1) */
  /* 1. Cover Image (Urutan 1) - Tampil Full tanpa crop */
    .detail-cover {
        order: 1;
        width: 100%;
        height: auto; /* Kunci biar gambar ga kepotong, tingginya bakal nyesuain lebar otomatis */
        max-width: 100%;
        object-fit: contain; /* Memastikan gambar masuk full ke dalam frame */
        border-radius: 8px;
        margin-bottom: 20px;
        box-shadow: none;
    }
    /* 2. Stats (Urutan 2) - Tanpa background box, icon hijau */
    .detail-stats-boxes {
        order: 2;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 25px;
        display: flex;
        justify-content: center;
        gap: 50px; /* Jarak antara rating dan favorite */
    }
    
    .stat-box {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Paksa icon jadi hijau kayak di gambar 2 */
    .stat-box i {
        font-size: 26px;
        color: #1db954 !important; 
    }
    
    .stat-text {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .stat-text .stat-num {
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        line-height: 1;
    }
    
    .stat-text .stat-label {
        font-size: 11px;
        color: var(--text-muted);
        margin-top: 4px;
    }

    /* 3. List Info (Urutan 3) - Rata kiri & Rapi */
    .detail-info-list {
        order: 3;
        margin-bottom: 25px;
    }
    
    .detail-info-list li {
        justify-content: flex-start !important; /* Paksa ke kiri */
        align-items: flex-start;
        margin-bottom: 12px;
    }
    
    /* Fix lebar label biar lurus sejajar ke bawah */
    .detail-info-list li span:first-child {
        width: 140px; 
        flex-shrink: 0;
        color: #fff;
        font-weight: 700;
    }
    
    /* Teks valuenya jadi abu-abu dan rata kiri */
    .detail-info-list li span.info-val {
        text-align: left !important;
        color: #a19fb5 !important; 
        font-weight: 400;
    }

    /* 4. Judul (Urutan 4 & 5) */
    .detail-right h1 {
        order: 4;
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 5px;
    }
    
    .alt-title {
        order: 5;
        margin-bottom: 20px;
    }

    /* 5. Tombol Aksi (Urutan 6) */
    .detail-primary-btns {
        order: 6;
        margin-bottom: 30px;
        display: flex;
        gap: 12px;
    }
    
    .detail-primary-btns .btn {
        padding: 12px;
        font-size: 14px;
    }

    /* 6. Sisa Konten Bawah (Urutan 7 ke bawah) */
    .detail-tabs { order: 7; }
    .tab-content { order: 8; }
    .action-cards { order: 9; }
    .reaction-section { order: 10; }   
}
/* =========================================
   TABS & CHAPTER LIST STYLING
   ========================================= */

/* Sembunyikan konten tab yang lagi gak aktif */
.tab-content {
    display: none;
}

/* Munculin dengan efek fade in tipis */
.tab-content.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Kotak Pencarian Chapter */
.chapter-search-box {
    margin-bottom: 20px;
}

.chapter-search-box input {
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: 1px solid var(--accent-green); /* Bakal ikut warna Cherry Blossom */
    border-radius: 6px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: 0.2s;
}

.chapter-search-box input:focus {
    box-shadow: 0 0 8px rgba(255, 183, 197, 0.4); /* Efek glow warna cherry blossom pas diklik */
}

/* Layout Daftar Chapter */
.chapter-list-container {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

.chapter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(35, 34, 50, 0.4); /* Background gelap transparan */
    transition: 0.2s;
}

.chapter-row:last-child {
    border-bottom: none;
}

.chapter-row:hover {
    background: rgba(255, 255, 255, 0.05); /* Efek terang pas di-hover */
}

/* Info Kiri (Gambar & Judul) */
.chap-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chap-left img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.chap-title h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.chap-title span {
    font-size: 11px;
    color: var(--text-muted);
}

/* Info Kanan (Views & Heart) */
.chap-right {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.chap-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chap-right span i {
    color: var(--text-muted);
}
/* =========================================
   READING PAGE (HALAMAN BACA KOMIK)
   ========================================= */
.read-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Komik */
.read-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.read-thumb {
    width: 70px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.read-info h2 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.read-info .read-time {
    font-size: 13px;
    color: #8c9bba; /* Warna kebiruan pudar kayak di referensi */
}

/* Tombol Navigasi */
.read-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn-dark-nav {
    background: #232232;
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-dark-nav:hover {
    background: #2a293a;
}

/* Dropdown Chapter */
.chapter-select {
    position: relative;
    width: 250px;
}

.btn-green-select {
    width: 100%;
    background: var(--accent-green);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    appearance: none; /* Hilangkan icon panah default bawaan browser */
    -webkit-appearance: none;
    outline: none;
}

.chapter-select .select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    pointer-events: none;
}

/* Panel Gambar Komik */
.comic-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comic-panel img {
    width: 100%;
    max-width: 750px; /* Batas lebar di PC biar gak pecah dan enak dibaca */
    display: block;
    margin: 0 auto;
}

/* Tombol Float Desktop */
.floating-back {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #232232;
    border: 1px solid var(--border-color);
    color: white;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.floating-back:hover {
    background: #2a293a;
}


/* =========================================
   RESPONSIVE MOBILE HALAMAN BACA
   ========================================= */
@media (max-width: 768px) {
    .read-container {
        margin: 20px auto 0; /* Kurangi margin atas, hapus padding biar gambar bisa full layar */
        padding: 0; 
    }

    /* 1. Header ditumpuk ke bawah (Stack) */
    .read-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 20px; /* Kasih padding dikit biar teks ga nempel pinggir */
    }

    .read-thumb {
        width: 100px;
        height: 140px;
    }

    .read-info h2 {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    /* 2. Tombol Navigasi dibikin kotak dengan icon aja */
    .nav-buttons .btn-text {
        display: none; /* Sembunyikan teks Prev, Home, Next */
    }

    .btn-dark-nav {
        padding: 12px 25px; /* Sesuaikan ukuran buat jari / touch */
        font-size: 16px;
    }

    .chapter-select {
        width: 250px;
    }

    /* 3. Panel Gambar Full Width di HP */
    .comic-panel img {
        max-width: 100%; /* Lepas batas lebar biar full dari ujung ke ujung HP */
    }

    /* Sembunyikan floating button di HP */
    .floating-back {
        display: none; 
    }
}
/* =========================================
   TAMBAHAN NAVIGASI BAWAH & ACTION CARDS (BACA)
   ========================================= */
.bottom-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    margin-bottom: 40px;
    width: 100%;
}

.bottom-select {
    width: 200px;
}

/* Biar action cards lebarnya pas sama bacaan komik */
.read-action-cards {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 20px;
}

/* =========================================
   RESPONSIVE MOBILE TAMBAHAN
   ========================================= */
@media (max-width: 768px) {
    .bottom-nav-bar {
        gap: 10px;
        padding: 0 15px;
    }
    
    .bottom-select {
        flex: 1; /* Biar dropdown menuhin sisa ruang di antara tombol Prev/Next */
        width: auto;
    }

    .read-action-cards {
        padding: 0 15px; /* Biar ga mepet pinggir layar HP */
    }
}
/* =========================================
   FLOATING ACTION BUTTON (FAB) MENU
   ========================================= */
.fab-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

/* Bentuk dasar semua tombol bulat */
.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    transition: 0.2s ease;
}

.fab-btn:hover {
    transform: scale(1.1);
}

/* Pewarnaan */
.fab-green { background-color: var(--accent-green); }
.fab-red { background-color: #ff3b5c; }
.fab-dark { background-color: #1a1a24; }

.fab-main {
    background-color: var(--accent-green);
    position: relative;
    z-index: 2; /* Biar selalu di atas menu lainnya */
}

/* Animasi Putar Icon Tombol Utama */
.fab-main i {
    transition: transform 0.4s ease;
}

/* === Layout Menu Vertikal === */
.fab-menu-vertical {
    position: absolute;
    bottom: 65px; /* Jarak dari bawah */
    right: 0;
    display: flex;
    flex-direction: column-reverse; /* Urutan dari bawah ke atas */
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* === Layout Menu Horizontal === */
.fab-menu-horizontal {
    position: absolute;
    bottom: 0;
    right: 65px; /* Jarak dari kanan */
    display: flex;
    flex-direction: row-reverse; /* Urutan dari kanan ke kiri */
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

/* === STATE SAAT TOMBOL DIKLIK (ACTIVE) === */
.fab-container.active .fab-menu-vertical {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-container.active .fab-menu-horizontal {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Muterin Icon dari < ke > (Chevron Left ke Chevron Right) */
.fab-container.active .fab-main i {
    transform: rotate(180deg); 
}

/* =========================================
   RESPONSIVE MOBILE (FAB)
   ========================================= */
@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    .fab-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    /* Sesuaikan jarak rentang menu karena tombolnya lebih kecil */
    .fab-menu-vertical { bottom: 55px; }
    .fab-menu-horizontal { right: 55px; }
}
/* =========================================
   PUSTAKA (LIBRARY) PAGE
   ========================================= */

.pustaka-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    align-items: flex-start;
}

/* === KOLOM KIRI (SIDEBAR FILTER) === */
.pustaka-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.filter-box {
    background-color: #1a1a24;
    border-radius: 8px;
    padding: 10px 0;
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.filter-item:hover {
    background-color: rgba(255,255,255,0.05);
}

.filter-item i {
    font-size: 12px;
    color: var(--text-muted);
}

.filter-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin: 10px 20px;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    padding: 10px 20px 20px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    user-select: none;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid var(--text-muted);
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

.checkmark i {
    font-size: 10px;
    color: #1a1a24;
    opacity: 0;
}

.custom-checkbox input:checked + .checkmark {
    background-color: var(--text-muted);
    border-color: var(--text-muted);
}

.custom-checkbox input:checked + .checkmark i {
    opacity: 1;
}


/* === KOLOM KANAN (CONTENT & TOOLBAR) === */
.pustaka-content {
    flex: 1;
}

.pustaka-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 15px;
}

.search-wrap {
    flex: 1;
    max-width: 350px;
    position: relative;
    background-color: #1a1a24;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.search-wrap i {
    color: var(--text-muted);
    font-size: 14px;
}

.search-wrap input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 10px;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.toolbar-right {
    display: flex;
    gap: 15px;
}

.view-toggles {
    display: flex;
    background-color: #1a1a24;
    border-radius: 6px;
    overflow: hidden;
}

.view-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.2s;
}

.view-btn.active {
    background-color: var(--accent-green);
    color: #fff;
}

.sort-wrap {
    position: relative;
    background-color: #1a1a24;
    border-radius: 6px;
    width: 150px;
}

.sort-select {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    appearance: none;
}

.sort-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 12px;
}

.sort-dir-btn {
    background-color: #1a1a24;
    border: none;
    color: var(--text-muted);
    padding: 0 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.sort-dir-btn:hover {
    color: #fff;
}


/* === LIST KOMIK (LIST VIEW) === */
.pustaka-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.p-card-list {
    display: flex;
    gap: 15px;
    background: transparent;
}

.p-card-thumb {
    width: 120px;
    height: 170px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.p-card-info {
    display: flex;
    flex-direction: column;
}

.p-card-info h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.chapter-text {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
}

.status-badge.ongoing {
    background-color: var(--accent-green);
}

.status-badge.completed {
    background-color: #3b82f6;
}

.p-card-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.p-card-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.p-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   RESPONSIVE PUSTAKA
   ========================================= */
@media (max-width: 900px) {
    .pustaka-container {
        flex-direction: column;
    }
    
    .pustaka-sidebar {
        width: 100%;
    }
    
    .pustaka-toolbar {
        flex-direction: column;
    }
    
    .search-wrap {
        max-width: 100%;
    }
    
    .toolbar-right {
        justify-content: space-between;
    }
    
    .pustaka-list {
        grid-template-columns: 1fr; /* Jadi 1 kolom list di HP */
    }
}
/* =========================================
   FIX CSS FILTER GENRE PUSTAKA
   ========================================= */
.genre-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.genre-tag {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.genre-tag:hover {
    border-color: var(--accent-green);
    color: var(--text-main);
}/* =========================================
   FIX DROPDOWN & ACCORDION SIDEBAR PUSTAKA
   ========================================= */

/* Sembunyikan dropdown secara default */
.filter-dropdown {
    display: none;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Munculkan dropdown ketika parent .filter-group punya class .active */
.filter-group.active .filter-dropdown {
    display: block;
}

/* Rotasi panah icon saat di-klik aktif */
.filter-group.active .icon-arrow {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.icon-arrow {
    transition: transform 0.3s ease;
}

/* Perbaikan Kotak Search Genre di dalam Dropdown */
.genre-search-box {
    position: relative;
    margin-bottom: 12px;
}

.genre-search-box input {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 8px 35px 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

.genre-search-box i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 12px;
}

/* Styling Box Mode (Inclusion / Exclusion) */
.mode-box {
    margin-top: 15px;
}

.mode-box label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.mode-select-wrap {
    position: relative;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.mode-select-wrap select {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.mode-select-wrap i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 11px;
    pointer-events: none;
}
/* =========================================
   GLOBAL SEARCH MODAL & MOBILE MENU CSS
   ========================================= */

/* Modal Search Overlay */
.global-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 19, 29, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.global-search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    position: relative;
    width: 90%;
    max-width: 600px;
}

.search-modal-content form {
    display: flex;
    background: var(--bg-card);
    border: 2px solid var(--accent-green);
    border-radius: 8px;

}

.search-modal-content input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: #fff;
    font-size: 16px;
    outline: none;
}

.search-modal-content button[type="submit"] {
    background: var(--accent-green);
    border: none;
    padding: 0 25px;
    color: #000;
    font-size: 16px;
    cursor: pointer;
}

.close-search-modal {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

/* Mobile Menu Drawer */
.global-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: var(--bg-card);
    z-index: 9999;
    transition: 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

.global-mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 25px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.close-mobile-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.global-mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.global-mobile-menu ul li a {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    transition: 0.2s;
    display: block;
    padding: 8px 0;
}

.global-mobile-menu ul li a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}
/* =========================================
   STYLING LOGO GAMBAR (YUUKOMIK)
   ========================================= */

/* Logo Utama di Navbar */
.logo-img {
    height: 45px; /* Lu bisa atur tinggi logonya di sini, lebarnya bakal ngikutin otomatis */
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* Efek nge-zoom dikit kalau disorot mouse */
}

/* Logo di Footer (Biar ke tengah dan agak gede) */
.footer-logo .logo-img {
    height: 60px;
    margin: 0 auto;
}

/* Logo di Menu HP (Garis Tiga) */
.mobile-menu-header .logo-img {
    height: 35px;
}
/* =========================================
   LIVE SEARCH DROPDOWN STYLES
   ========================================= */
.live-search-dropdown {
    position: absolute;
    z-index: 999999 !important;
    top: 100%; /* Muncul tepat di bawah input */
    left: 0;
    right: 0;
    background-color: #1a1a24;
    border-radius: 6px;
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid #2a2938;
}

/* Scrollbar biar rapi */
.live-search-dropdown::-webkit-scrollbar {
    width: 6px;
}
.live-search-dropdown::-webkit-scrollbar-thumb {
    background: #00d26a; 
    border-radius: 10px;
}

.search-result-card {
    display: flex;
    gap: 12px;
    padding: 10px;
    background-color: #232232;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.search-result-card:hover {
    background-color: #2a2938;
}

.search-result-thumb {
    width: 55px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.search-result-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-desc {
    color: #8b899f;
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Potong teks maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* =========================================
   LOGIN MODAL STYLES
   ========================================= */
.global-login-modal {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000; /* Paling depan */
    backdrop-filter: blur(4px);
}

.global-login-modal.active { 
    display: flex; 
}

.login-modal-content {
    background: #1a1a24;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid #2a2938;
}

.close-login-modal {
    position: absolute;
    top: 15px; 
    right: 15px;
    background: transparent;
    border: none;
    color: #a19fb5;
    font-size: 24px;
    cursor: pointer;
    transition: 0.2s;
}
.close-login-modal:hover { color: #fff; }

.login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.login-tab {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #a19fb5;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.login-tab.active {
    background: #8b5cf6; /* Warna ungu khas di gambar lu */
    color: #fff;
}

.login-title {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #111;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
    transition: 0.2s;
}
.social-btn:hover { background: #e0e0e0; transform: scale(0.98); }

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #a19fb5;
    font-size: 12px;
}
.login-divider::before, .login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #2a2938;
}
.login-divider span { padding: 0 10px; }

.login-footer-text {
    text-align: center;
    font-size: 12px;
    color: #a19fb5;
    line-height: 1.5;
}
.login-footer-text a {
    color: #8b5cf6;
    text-decoration: none;
}

.password-form { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}
.password-form input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #232232;
    border: 1px solid #2a2938;
    color: #fff;
    box-sizing: border-box;
}
.submit-login-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #8b5cf6;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.submit-login-btn:hover { opacity: 0.8; }
