        /* ============================================================
        NAVBAR GLOBAL (reutilizado en todas las páginas)
        ============================================================ */
        .navbar {
            background: rgba(8, 10, 16, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding: 12px 0;
            position: sticky;
            top: 0;
            z-index: 50;
            width: 100%;
        }

        .reader-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 16px;
        }

        .btn-nav {
            background: #1E293B;
            border: 1px solid #334155;
            color: #E2E8F0;
            padding: 6px 16px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.2s ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            text-decoration: none;
        }
        .btn-nav:hover {
            background: #334155;
            border-color: #64748B;
            transform: translateY(-2px);
        }
        /* ============================================================
           HERO SLIDER - Fade y botones
           ============================================================ */
        .hero-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            pointer-events: none;
        }
        .hero-slide.active {
            opacity: 1;
            pointer-events: auto;
        }
        .hero-slide .bg-blur {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            filter: blur(20px) brightness(0.4);
            transform: scale(1.05);
        }
        .hero-slide .content {
            position: relative;
            z-index: 10;
            height: 100%;
            display: flex;
            align-items: center;
            padding: 40px 0;
        }
        .hero-dots .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #475569;
            cursor: pointer;
            transition: all 0.3s;
        }
        .hero-dots .dot.active {
            background: #8B5CF6;
            width: 24px;
            border-radius: 6px;
        }

        /* ============================================================
           POPULAR HOY - Carrusel
           ============================================================ */
        .popular-track {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: smooth;
            padding: 8px 0 16px;
            cursor: grab;
        }
        .popular-track:active {
            cursor: grabbing;
        }
        .popular-track::-webkit-scrollbar {
            height: 4px;
        }
        .popular-track::-webkit-scrollbar-thumb {
            background: #475569;
            border-radius: 8px;
        }
        .popular-card {
            flex: 0 0 180px;
            scroll-snap-align: start;
            border-radius: 16px;
            overflow: hidden;
            background: rgba(30, 41, 59, 0.5);
            backdrop-filter: blur(6px);
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: transform 0.2s, box-shadow 0.2s;
            cursor: pointer;
            position: relative;
        }
        .popular-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px -8px rgba(139, 92, 246, 0.3);
        }
        .popular-card .cover-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            filter: brightness(0.35);
            z-index: 0;
        }
        .popular-card .content {
            position: relative;
            height: 230px;
            z-index: 1;
            padding: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            min-height: 200px;
            justify-content: flex-end;
        }
        .popular-card .mini-cover {
            width: 80px;
            height: 110px;
            border-radius: 8px;
            object-fit: cover;
            box-shadow: 0 4px 12px rgba(0,0,0,0.6);
            margin-bottom: 8px;
        }
        .popular-card .title {
            font-weight: 600;
            font-size: 0.85rem;
            color: #F1F5F9;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .popular-card .badge-type {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(4px);
            color: #A78BFA;
            font-size: 0.6rem;
            font-weight: 700;
            padding: 2px 10px;
            border-radius: 12px;
            border: 1px solid #A78BFA;
            z-index: 2;
        }

        /* ============================================================
        ÚLTIMAS ACTUALIZACIONES - Diseño limpio flotante
        ============================================================ */
        /* La tarjeta ya no tiene contenedor exterior, solo la portada y los botones */

        /* Estilos para los botones de capítulos (píldoras) */
        .chapter-pill {
            background: #121214;
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            padding: 6px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: background 0.2s;
            cursor: pointer;
        }
        .chapter-pill:hover {
            background: #1a1a1e;
            border-color: rgba(139, 92, 246, 0.2);
        }
        .chapter-pill .num {
            background: #1f1f23;
            color: #E2E8F0;
            font-weight: 600;
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 4px;
        }
        .chapter-pill .time {
            color: #EF4444;
            font-weight: 500;
            font-size: 11px;
        }
        /* ============================================================
           TENDENCIAS
           ============================================================ */
        .trending-top {
            background: rgba(30, 41, 59, 0.5);
            backdrop-filter: blur(6px);
            border: 1px solid rgba(255,255,255,0.04);
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            transition: transform 0.2s;
            cursor: pointer;
        }
        .trending-top:hover {
            transform: scale(1.01);
        }
        .trending-top .bg-cover {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            filter: brightness(0.35);
        }
        .trending-top .content {
            position: relative;
            z-index: 1;
            padding: 20px;
            min-height: 140px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }
        .trending-top .badge-rank {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #DC2626;
            color: white;
            font-weight: 700;
            font-size: 0.7rem;
            padding: 4px 12px;
            border-radius: 20px;
            box-shadow: 0 0 20px rgba(220,38,38,0.3);
        }
        .trending-top .title {
            font-weight: 700;
            font-size: 1.2rem;
            color: white;
            text-shadow: 0 2px 8px rgba(0,0,0,0.8);
        }

        .trending-list .rank-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 12px;
            border-radius: 10px;
            transition: background 0.2s;
            cursor: pointer;
        }
        .trending-list .rank-item:hover {
            background: rgba(255,255,255,0.04);
        }
        .trending-list .rank-number {
            font-weight: 800;
            font-size: 1.1rem;
            color: #DC2626;
            min-width: 28px;
        }
        .trending-list .rank-item img {
            width: 40px;
            height: 56px;
            object-fit: cover;
            border-radius: 6px;
            background: #1E293B;
        }
        .trending-list .rank-item .title {
            flex: 1;
            font-weight: 500;
            color: #E2E8F0;
            font-size: 0.9rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* ============================================================
           BOTÓN CARGAR MÁS
           ============================================================ */
        .btn-load-more {
            background: transparent;
            border: 1px solid #475569;
            color: #94A3B8;
            padding: 10px 24px;
            border-radius: 30px;
            transition: all 0.2s;
            cursor: pointer;
            font-weight: 500;
        }
        .btn-load-more:hover {
            background: #334155;
            border-color: #64748B;
            color: #E2E8F0;
        }
        .btn-load-more:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        /* ============================================================
           RESPONSIVE
           ============================================================ */
        @media (max-width: 768px) {
            .hero-slide .content {
                flex-direction: column;
                text-align: center;
                padding: 20px 0;
            }
            .hero-slide .cover-left {
                max-width: 180px;
                margin-bottom: 16px;
            }
            .popular-card {
                flex: 0 0 140px;
            }
            .popular-card .mini-cover {
                width: 60px;
                height: 85px;
            }
            .update-card .cover-wrap {
                aspect-ratio: 2 / 1;
            }
            .trending-top .content {
                min-height: 100px;
            }
        }

        /* Ajuste de altura mínima en móviles */
        @media (max-width: 768px) {
            .hero-slide .relative {
                min-height: 420px;
            }
        }