/* ===== VARIABLES & RESET ===== */
:root {
    --color-primary: #3a86ff;
    --color-secondary: #ff2e63;
    --color-accent: #ff9e00;
    --color-dark: #1e1e2a;
    --color-light: #f8f9fa;
    --color-gray: #e9ecef;
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-heading: 'Playfair Display', 'Roboto', serif;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.homepage-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.kliknovel-hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 100px 0;
    margin-bottom: 0;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    text-align: left;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--color-dark);
    text-align: left;
}

.hero-content h1 span {
    color: var(--color-secondary);
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: 24px;
    max-width: 100%;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 10px 22px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.cta-button:first-child {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: white;
}

.cta-button:first-child:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
    background-color: var(--color-primary);
    color: white;
}

.cta-button.secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===== RINGKASAN KOLEKSI (Novel / Cerpen / Antologi / Adaptasi) ===== */
.koleksi-summary-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 30px 20px;
    margin-bottom: 50px;
    background: var(--color-dark);
    color: white;
    box-sizing: border-box;
}

.koleksi-summary-section .inner-wrapper {
    max-width: 1150px;
    margin: 0 auto;
}

.koleksi-grid {
    display: grid;
    gap: 0;
}

.koleksi-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 24px;
}

.koleksi-item:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.koleksi-item:first-child {
    padding-left: 0;
}

.koleksi-number {
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.koleksi-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.koleksi-text strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.koleksi-text span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

/* ===== PENULIS POPULER (versi sederhana) ===== */
.authors-simple-section {
    margin: 20px 0 40px;
}

.authors-simple-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 6px 2px 10px;
}

.authors-simple-carousel::-webkit-scrollbar {
    display: none;
}

.author-simple-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 115px;
    text-align: center;
}

.author-simple-avatar {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.author-simple-item:hover .author-simple-avatar {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.author-simple-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-simple-fallback {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-text-light);
}

.author-simple-name {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ===== CAROUSEL LAYOUT ===== */
.novel-section {
    margin-bottom: 30px;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 10px 10px;
}

.section-header h2 {
    order: 1;
    flex-shrink: 0;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
    margin: 0;
}

.section-header::after {
    content: "";
    order: 2;
    flex: 1;
    height: 4px;
    background: var(--color-gray);
    border-radius: 2px;
}

.section-header .see-all {
    order: 3;
    flex-shrink: 0;
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.see-all {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* CAROUSEL NAVIGATION ON SIDES */
.carousel-container {
    position: relative;
}

.carousel-nav-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    gap: 5px;
}

.carousel-nav-side.left {
    left: -25px;
}

.carousel-nav-side.right {
    right: -25px;
}

.carousel-nav-side button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-gray);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.carousel-nav-side button:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* ===== BARU UPDATE & NOVEL TAMAT ===== */
.novel-carousel.covers-only {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 0;
}

.novel-carousel.covers-only::-webkit-scrollbar {
    display: none;
}

.novel-carousel.covers-only .novel-card {
    flex: 0 0 auto;
    width: 175px;
    display: flex;
    justify-content: center;
}

.novel-carousel.covers-only .novel-thumb {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
}

.novel-carousel.covers-only .novel-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.novel-carousel.covers-only .novel-card:hover .novel-thumb img {
    transform: scale(1.05);
}

/* Badge positioned below cover */
.update-badge-below {
    display: block;
    width: 100%;
    background: var(--color-dark);
    color: white;
    padding: 6px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-radius: 0 0 4px 4px;
    margin-top: -4px; /* Connects visually with the cover */
}

/* ===== SEKSI NOVEL GRATIS & TAMAT (NEW) ===== */
.free-tamat-section {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px 20px;
    background-color: #ffffff; /* Membawa kontras bersih */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--color-accent); /* Penanda visual zona khusus */
}

/* Container utama bermodel Grid Statis */
.free-tamat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 15px 0 5px;
}

.free-tamat-card {
    background: var(--color-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-gray);
    position: relative;
}

.free-tamat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

/* Wadah Cover */
.free-tamat-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.free-tamat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.free-tamat-card:hover .free-tamat-thumb img {
    transform: scale(1.04);
}

/* Badge Eksklusif Free Tamat Menempel di Cover */
.free-tamat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: linear-gradient(135deg, #2ed573, #1e90ff); /* Gradasi Segar */
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Konten Info */
.free-tamat-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.free-tamat-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maksimal 2 baris agar rapi jika judul panjang */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.free-tamat-title a {
    color: var(--color-dark);
    transition: var(--transition);
}

.free-tamat-title a:hover {
    color: var(--color-primary);
}

.free-tamat-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: auto; /* Memaksa meta berada di paling bawah card */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.free-tamat-chapters {
    background: var(--color-gray);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* ===== TOP 4 PER GENRE SEPERTI DREAME (RAPI & COMPACT) ===== */
.genre-ranking-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.genre-ranking-column {
    background: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.genre-ranking-column .section-header {
    margin-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 8px;
}

.genre-ranking-column .section-header h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
}

.ranking-novel-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-gray);
}

.ranking-novel-card:last-child {
    border-bottom: none;
}

.ranking-number {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.ranking-novel-card .novel-thumb {
    position: relative;
    width: 80px;
    aspect-ratio: 2/3;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

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

.ranking-novel-card .novel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ranking-novel-card .novel-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
}

.ranking-novel-card .novel-excerpt {
    font-size: 0.75rem;
    color: var(--color-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    margin-bottom: 2px;
}

.ranking-novel-card .novel-views {
    font-size: 0.75rem;
    color: var(--color-text-light);
    line-height: 1.2;
    margin: 5px 0 0;
}

/* ===== KLIKNOVEL PASS ===== */
.genres-carousel-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--color-dark), #2a2a3d);
    color: white;
    box-sizing: border-box;
    text-align: center;
}

.genres-carousel-section .inner-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: block; /* override flex lama */
}

.pass-offer {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.pass-eyebrow {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.pass-headline {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 20px 0;
    line-height: 1.25;
}

.pass-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 40px 0;
}

.pass-plan-name {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: white;
    background: var(--color-accent);
    border-radius: 4px;
    padding: 18px 60px;
    width: 250px;
}

.pass-plan-name a {
    text-decoration: none;
    color: black;
}

.pass-plan-duration {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
}

.pass-plan-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: grey;
    margin: 20px 0 0;
}

.pass-about {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 30px auto 0;
    text-align: center;
    max-width: 600px;
}

/* SERIES POPULER */
.series-carousel-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 10px 15px;
    background:#bdbdbd;
    color: white;
    box-sizing: border-box;
}

.series-carousel-section .inner-wrapper {
    max-width: 1125px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.series-carousel {
    max-width: 1150px;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.series-carousel::-webkit-scrollbar {
    display: none;
}

.series-carousel-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: var(--color-primary);
    color: #f0f0f0;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    flex-shrink: 0;
    width: 200px;
    height: 45px;
}

.series-carousel-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: #f0f0f0;
    color: #444;
}

/* Icon */
.series-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #ffcc00;
    flex-shrink: 0;
}

.series-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Fallback icon */
.series-fallback-icon {
    font-size: 1.25rem;
    font-weight: 900;
    color: #000;
    text-align: center;
    line-height: 1;
}

/* Nama Series */
.series-name {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
    white-space: nowrap;
}

/* ===== VARIASI GRID GENRE ===== */
.tiga-kali-dua-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 10px 15px;
    background:  var(--color-dark);
    color: white;
    box-sizing: border-box;
}

.tiga-kali-dua-section .inner-wrapper {
    max-width: 1125px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ===== PROMO EPUB ===== */
.epub-promo-banner {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 30px 20px;
    background: #00072d;
    color: white;
    box-sizing: border-box;
}

.epub-promo-banner  .inner-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.epub-promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.epub-promo-left {
    flex: 1;
    min-width: 250px;
}

.epub-promo-headline {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
}

.epub-promo-middle {
    flex: 2;
    min-width: 250px;
}

.epub-promo-desc {
    font-size: 16px;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.6;
}

.epub-promo-right {
    flex: 0 0 auto;
}

.epub-promo-cta {
    display: inline-block;
    background: var(--color-accent);
    color: #000;
    padding: 14px 48px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.epub-promo-cta:hover {
    background: #e07c0a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {

    .epub-promo-banner {
        padding: 24px 16px;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
    }

    .epub-promo-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .epub-promo-left {
        min-width: unset;
        flex: none;
        text-align: center;
    }

    .epub-promo-headline {
        font-size: 20px;
        text-align: center;
        letter-spacing: 0.5px;
    }

    .epub-promo-headline img {
        display: inline-block;
        vertical-align: middle;
        height: 28px;
        width: auto;
        margin-right: 6px;
    }

    .epub-promo-middle {
        min-width: unset;
        flex: none;
    }

    .epub-promo-desc {
        font-size: 14px;
        text-align: justify;
        line-height: 1.7;
        padding: 0 4px;
    }

    .epub-promo-right {
        flex: none;
        text-align: center;
        margin-top: 4px;
    }

    .epub-promo-cta {
        display: inline-block;
        width: 100%;
        max-width: 320px;
        padding: 14px 24px;
        font-size: 14px;
        text-align: center;
        box-sizing: border-box;
    }
}

/* ===== LAYAR SANGAT KECIL (≤ 480px) ===== */
@media (max-width: 480px) {

    .epub-promo-banner {
        padding: 20px 12px;
    }

    .epub-promo-headline {
        font-size: 17px;
    }

    .epub-promo-headline img {
        height: 22px;
    }

    .epub-promo-desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .epub-promo-cta {
        font-size: 13px;
        padding: 12px 20px;
        max-width: 280px;
    }
}

/* ===== GENRE NOVEL CAROUSEL (COVER PENUH) ===== */
.genre-novel-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 5px;
}

.genre-novel-carousel::-webkit-scrollbar {
    display: none;
}

.genre-novel-carousel .novel-card {
    width: 175px;
    flex: 0 0 auto;
    transition: var(--transition);
}

.genre-novel-carousel .novel-thumb {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 2/3;
    box-shadow: var(--shadow);
}

.genre-novel-carousel .novel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.genre-novel-carousel .novel-card:hover .novel-thumb img {
    transform: scale(1.05);
}

/* =========================================================
   MOBILE VERSION (OPTIMIZED FOR PWA)
   ========================================================= */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .homepage-container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        overflow-x: hidden;
    }

    /* RESET FULL BLEED SECTION */
    .genres-carousel-section,
    .series-carousel-section {
        position: relative;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        overflow: hidden;
        padding-left: 12px;
        padding-right: 12px;
    }

    .genres-carousel-section .inner-wrapper,
    .series-carousel-section .inner-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .pass-headline {
        font-size: 1.4rem;
    }

    .pass-subtext {
        font-size: 0.85rem;
    }

    .pass-plans {
        flex-direction: column;
        align-items: center;
    }

    .pass-plan {
        width: 100%;
        max-width: 280px;
    }

    /* ===== HERO SECTION: disembunyikan di mobile ===== */
    .kliknovel-hero {
        display: none !important;
    }

    /* ===== RINGKASAN KOLEKSI (mobile) ===== */
    .koleksi-summary-section {
        padding: 18px 12px;
    }

    .koleksi-grid {
        grid-template-columns: 1fr !important;
    }

    .koleksi-item {
        padding: 12px 0 !important;
    }

    .koleksi-item:not(:first-child) {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .koleksi-item:first-child {
        padding-top: 0 !important;
    }

    .koleksi-number {
        font-size: 2rem;
    }

    .koleksi-text strong {
        font-size: 0.95rem;
    }

    .koleksi-text span {
        font-size: 0.75rem;
    }

    /* ===== PENULIS POPULER (mobile) ===== */
    .authors-simple-section .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 10px;
    }

    .authors-simple-carousel {
        gap: 14px;
    }

    .author-simple-item {
        width: 68px;
        gap: 6px;
    }

    .author-simple-avatar {
        width: 60px;
        height: 60px;
    }

    .author-simple-fallback {
        font-size: 1.2rem;
    }

    .author-simple-name {
        font-size: 0.7rem !important;
    }

    /* ===== SECTION HEADER ===== */
    .novel-section {
        margin-bottom: 20px;
    }

    .section-header {
        margin-bottom: 8px;
    }

    .section-header h2 {
        font-size: 1.15rem !important;
        line-height: 1.3;
    }

    .see-all {
        font-size: 0.7rem !important;
    }

    /* HIDE SIDE NAVIGATION */
    .carousel-nav-side {
        display: none;
    }

    /* ===== COVER CAROUSEL (Baru Update & Tamat) ===== */
    .novel-carousel.covers-only {
        gap: 10px;
        padding: 5px 0;
        overflow-x: auto;
    }

    .novel-carousel.covers-only .novel-card {
        width: 105px !important;
    }

    .novel-carousel.covers-only .novel-thumb {
        border-radius: 8px;
    }

    .update-badge-below {
        font-size: 10px !important;
        padding: 3px 4px !important;
    }

    /* ===== GENRE NOVEL CAROUSEL ===== */
    .genre-novel-carousel {
        overflow-x: auto;
    }

    .genre-novel-carousel .novel-card {
        width: 105px !important;
    }

    /* ===== GENRES CAROUSEL (Bagian Biru) ===== */
    .genres-carousel-section {
        padding-bottom: 30px;
    }

    .genres-carousel-section h2 {
        font-size: 1.2rem !important;
        text-align: center;
        width: 100%;
    }

    .genres-carousel {
        width: 100%;
        gap: 8px;
    }

    .genre-carousel-item {
        width: calc(50% - 4px);
        min-width: 0;
        height: 52px !important;
        padding: 6px 10px !important;
        gap: 8px;
        border-radius: 14px;
    }

    .genre-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .genre-name {
        font-size: 0.75rem !important;
    }

    .load-more-genres button {
        width: 100%;
        max-width: 250px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* ===== SERIES CAROUSEL ===== */
    .series-carousel {
        overflow-x: auto;
        gap: 10px;
    }

    .series-carousel-item {
        width: 140px !important;
        height: 38px !important;
        border-radius: 20px;
    }

    .series-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .series-name {
        font-size: 0.75rem !important;
    }

    /* ===== FREE TAMAT SECTION ===== */
    .free-tamat-section {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 14px 10px !important;
        border-top: 3px solid var(--color-accent);
    }

    .free-tamat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .free-tamat-info {
        padding: 6px !important;
    }

    .free-tamat-title {
        font-size: 0.75rem !important;
        margin-bottom: 3px;
        -webkit-line-clamp: 2;
    }

    .free-tamat-meta {
        font-size: 0.65rem !important;
        flex-wrap: wrap;
        gap: 4px;
    }

    .free-tamat-chapters {
        font-size: 0.6rem !important;
        padding: 2px 4px !important;
    }

    .free-tamat-badge {
        top: 5px;
        left: 5px;
        padding: 2px 6px !important;
        font-size: 0.6rem !important;
    }

    /* ===== TOP 4 GENRE SWIPE ===== */
    .genre-ranking-container {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }

    .genre-ranking-container::-webkit-scrollbar {
        display: none;
    }

    .genre-ranking-column {
        flex: 0 0 85%;
        min-width: 85%;
        scroll-snap-align: start;
        padding: 10px !important;
        border-radius: 10px;
    }

    .genre-ranking-column .section-header h2 {
        font-size: 0.95rem !important;
        margin-bottom: 8px;
    }

    .ranking-novel-card {
        min-width: 0;
        gap: 8px;
        padding: 8px 0;
    }

    .ranking-novel-card .novel-thumb {
        width: 50px !important;
    }

    .ranking-novel-card .novel-info {
        min-width: 0;
    }

    .ranking-novel-card .novel-title {
        font-size: 0.75rem !important;
    }

    .ranking-novel-card .novel-excerpt {
        font-size: 0.65rem !important;
        -webkit-line-clamp: 3;
    }

    .ranking-novel-card .novel-views {
        font-size: 0.6rem !important;
    }

    .ranking-number {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.6rem !important;
    }
}