/* ============================================================================
   LORD HENTAİ — Organic Soft Rounded Glass & Cyber-Akuma Edition v9.8
   ============================================================================ */

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--sp-6);
    }
}

/* ════════════════════════════════════════════════════════════
   HERO SPOTLIGHT BANNER v4 (Ultra-Modern Desktop Cinema + Mobile Optimized)
   ════════════════════════════════════════════════════════════ */

.hero-section {
    position: relative;
    width: 100%;
    padding: calc(var(--header-h) + 14px) 0 var(--sp-6);
    overflow: hidden;
}

.hero-shell {
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    background: #09050E;
    border: 1px solid rgba(255, 77, 141, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 77, 141, 0.35);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 24px rgba(255, 42, 122, 0.05), 0 20px 50px rgba(0, 0, 0, 0.85);
}

.hero-slides-wrap {
    position: relative;
    width: 100%;
    min-height: 370px;
    height: 385px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

/* Sharp Cinema Backdrop (Zero blur) */
.hero-bg-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    filter: brightness(0.85) contrast(1.06);
    transform: scale(1.03);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-bg-backdrop {
    transform: scale(1);
}

/* Multi-Layer Cinema Scrim */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(0deg, #09050E 0%, rgba(9, 5, 14, 0.94) 34%, rgba(9, 5, 14, 0.5) 65%, rgba(9, 5, 14, 0.25) 100%),
        linear-gradient(90deg, rgba(9, 5, 14, 0.9) 0%, rgba(9, 5, 14, 0.4) 55%, transparent 100%);
    pointer-events: none;
}

/* ── Mobile Layout (Default: < 1024px) ── */
.hero-card {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 10px 14px 14px;
}

.hero-poster-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 0;
}

.hero-3d-poster {
    position: relative;
    width: 114px;
    height: 165px;
    border-radius: 20px;
    overflow: hidden;
    background: #0E0916;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 77, 141, 0.4);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), inset 0 0 16px rgba(255, 42, 122, 0.08), 0 12px 30px rgba(0, 0, 0, 0.8);
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hero-poster-glow {
    position: absolute;
    inset: -15px;
    background: radial-gradient(circle, rgba(255, 42, 122, 0.3) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-poster-gloss {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(9, 5, 14, 0.65) 100%);
    pointer-events: none;
}

.hero-poster-score-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #1C1608 0%, #0E0B04 100%);
    border: 1px solid rgba(245, 184, 0, 0.5);
    color: #FFD166;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.hero-poster-quality-badge {
    display: none; /* Desktop only */
}

.hero-kicker-row {
    display: none; /* Desktop only */
}

.hero-stats-row {
    display: none; /* Desktop only */
}

.btn-hero-secondary {
    display: none; /* Desktop only */
}

.hero-content-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 100%;
}

.hero-badges-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1C1924 0%, #0E0916 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
}

.hero-chip.type-badge.anime {
    background: linear-gradient(135deg, #2A101C 0%, #16080E 100%);
    border-color: rgba(255, 77, 141, 0.55);
    color: #FF75A9;
}

.hero-chip.type-badge.manhwa {
    background: linear-gradient(135deg, #221034 0%, #12081C 100%);
    border-color: rgba(192, 132, 252, 0.55);
    color: #C084FC;
}

.hero-chip.score {
    background: linear-gradient(135deg, #221A0C 0%, #120E06 100%);
    border-color: rgba(245, 184, 0, 0.5);
    color: #FFD166;
}

.hero-chip.meta-chip {
    color: rgba(255, 255, 255, 0.8);
}

.hero-chip.genre-chip {
    display: none;
}

.hero-title {
    font-family: var(--font-fa);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.hero-original {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    direction: ltr !important;
    text-align: right !important;
    unicode-bidi: plaintext !important;
}

.hero-actions-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-fa);
    font-weight: 700;
    font-size: 0.84rem;
    color: #ffffff;
    background: linear-gradient(135deg, #FF2A7A 0%, #FF4D8D 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2), 0 4px 14px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    border: none;
    outline: none;
}

.btn-hero-bookmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    background: linear-gradient(135deg, #1C1824 0%, #0E0A16 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.hero-dots-clean {
    position: absolute;
    bottom: 16px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 10;
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.38);
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.hero-dot.active {
    width: 24px;
    background: #FF2A7A;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 8px rgba(255, 42, 122, 0.3);
}

.hero-nav-arrow {
    position: absolute;
    top: 34%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(9, 5, 14, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    outline: none;
}

.hero-nav-arrow.prev { right: 6px; }
.hero-nav-arrow.next { left: 6px; }

.hero-progress-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 10;
}

.hero-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FF2A7A 0%, #FF4D8D 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 6px rgba(255, 42, 122, 0.3);
    transition: width 0.05s linear;
}


/* ═══════════════════════════════════════════════════════════════════════════
   GRAND CINEMATIC DESKTOP SHOWCASE (min-width: 1024px)
   Mobile layout remains 100% untouched!
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .hero-section {
        padding: calc(var(--header-h) + 24px) 0 var(--sp-8);
    }

    .hero-shell {
        border-radius: 38px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: 1px solid rgba(255, 77, 141, 0.35);
        box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 28px rgba(255, 42, 122, 0.06), 0 25px 70px rgba(0, 0, 0, 0.95);
    }

    .hero-slides-wrap {
        min-height: 520px;
        height: 540px;
    }

    /* Transform slide card into an expansive horizontal cinema split */
    .hero-card {
        padding: 48px 68px 52px !important;
        flex-direction: row-reverse !important; /* Poster on left, text on right in RTL */
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* ── Poster Showcase in Left Column ── */
    .hero-poster-col {
        order: 2 !important;
        width: auto !important;
        flex-shrink: 0 !important;
        margin-left: 36px !important;
    }

    .hero-3d-poster {
        width: 220px !important;
        height: 320px !important;
        border-radius: 28px !important;
        border: 2px solid rgba(255, 255, 255, 0.28) !important;
        box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 20px rgba(255, 42, 122, 0.08), 0 24px 60px rgba(0, 0, 0, 0.95) !important;
        transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease !important;
    }

    .hero-3d-poster:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.03) !important;
        border-top-color: rgba(255, 117, 169, 0.6) !important;
        box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 24px rgba(255, 42, 122, 0.14), 0 30px 75px rgba(0, 0, 0, 1) !important;
    }

    .hero-poster-glow {
        inset: -25px !important;
        background: radial-gradient(circle, rgba(255, 42, 122, 0.45) 0%, transparent 70%) !important;
    }

    .hero-poster-score-badge {
        font-size: 0.84rem !important;
        padding: 4px 10px !important;
        top: 12px !important;
        right: 12px !important;
        border-radius: 8px !important;
    }

    .hero-poster-quality-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        position: absolute !important;
        bottom: 12px !important;
        left: 12px !important;
        background: linear-gradient(135deg, #091A28 0%, #050E16 100%) !important;
        border: 1px solid rgba(76, 201, 240, 0.5) !important;
        color: #4CC9F0 !important;
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        padding: 3px 9px !important;
        border-radius: 8px !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8) !important;
    }

    /* ── Content in Right Column ── */
    .hero-content-col {
        order: 1 !important;
        flex: 1 !important;
        max-width: 720px !important;
        gap: 12px !important;
    }

    /* Kicker Ribbon */
    .hero-kicker-row {
        display: block !important;
        margin-bottom: 2px !important;
    }

    .hero-kicker-badge {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 4px 14px;
        border-radius: var(--radius-full);
        background: linear-gradient(135deg, #221226 0%, #120916 100%);
        border: 1px solid rgba(255, 77, 141, 0.4);
        color: #FF75A9;
        font-family: var(--font-fa);
        font-size: 0.82rem;
        font-weight: 700;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    }

    .hero-kicker-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #FF2A7A;
        box-shadow: 0 0 8px #FF2A7A;
        animation: pulseKicker 2s infinite ease-in-out;
    }

    @keyframes pulseKicker {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.4; transform: scale(0.8); }
    }

    /* Badges */
    .hero-badges-row {
        gap: 8px !important;
    }

    .hero-chip {
        padding: 4px 13px !important;
        font-size: 0.82rem !important;
    }

    .hero-chip.genre-chip {
        display: inline-flex !important;
        background: linear-gradient(135deg, #181822 0%, #0C0C12 100%) !important;
        border-color: rgba(255, 255, 255, 0.16) !important;
    }

    /* Grand Titles */
    .hero-title {
        font-size: clamp(2.4rem, 3.4vw, 3.2rem) !important;
        line-height: 1.2 !important;
        margin: 2px 0 0 0 !important;
        text-shadow: 0 3px 20px rgba(0, 0, 0, 0.95) !important;
        letter-spacing: -0.5px !important;
    }

    .hero-original {
        font-size: 1.05rem !important;
        color: rgba(255, 255, 255, 0.78) !important;
        margin: 0 0 4px 0 !important;
    }

    /* Quick Stats Box (Desktop Grand Feature) */
    .hero-stats-row {
        display: inline-flex !important;
        align-items: center !important;
        gap: 16px !important;
        padding: 10px 18px !important;
        border-radius: 18px !important;
        background: linear-gradient(135deg, #16121C 0%, #0B0810 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65) !important;
        width: fit-content !important;
        margin: 4px 0 !important;
    }

    .hero-stat-box {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .hero-stat-val {
        font-family: var(--font-fa);
        font-size: 0.92rem;
        font-weight: 800;
        color: #ffffff;
    }

    .hero-stat-lbl {
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.5);
    }

    .hero-stat-divider {
        width: 1px;
        height: 28px;
        background: rgba(255, 255, 255, 0.1);
    }

    /* Actions Row */
    .hero-actions-row {
        gap: 12px !important;
        margin-top: 10px !important;
    }

    .btn-hero-primary {
        padding: 11px 28px !important;
        font-size: 0.96rem !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.55) !important;
        transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    }

    .btn-hero-primary:hover {
        transform: translateY(-2px) scale(1.02) !important;
        box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.2), 0 6px 22px rgba(0, 0, 0, 0.65) !important;
    }

    .btn-hero-secondary {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 10px 22px !important;
        border-radius: var(--radius-full) !important;
        font-family: var(--font-fa) !important;
        font-weight: 700 !important;
        font-size: 0.94rem !important;
        color: #ffffff !important;
        background: linear-gradient(135deg, #1C1824 0%, #0E0A16 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        text-decoration: none !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
        transition: all 0.25s ease !important;
    }

    .btn-hero-secondary:hover {
        background: linear-gradient(135deg, #282034 0%, #161022 100%) !important;
        border-color: rgba(255, 77, 141, 0.45) !important;
        color: #FF75A9 !important;
        transform: translateY(-2px) !important;
    }

    .btn-hero-bookmark {
        width: 44px !important;
        height: 44px !important;
        border-radius: 14px !important;
        font-size: 1.25rem !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
    }

    .btn-hero-bookmark:hover {
        border-color: rgba(255, 77, 141, 0.5) !important;
        color: #FF75A9 !important;
        transform: translateY(-2px) !important;
    }

    /* Arrows on Desktop */
    .hero-nav-arrow {
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 46px !important;
        height: 46px !important;
        font-size: 1.45rem !important;
    }

    .hero-nav-arrow.prev { right: 18px !important; }
    .hero-nav-arrow.next { left: 18px !important; }

    /* Dots on Desktop */
    .hero-dots-clean {
        bottom: 24px !important;
        left: 68px !important;
        gap: 8px !important;
    }

    .hero-dot {
        width: 8px !important;
        height: 8px !important;
    }

    .hero-dot.active {
        width: 32px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   FRAMED LUXURY ROUNDED CARDS (Anime vs Manhwa Distinction)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. ANIME CARD (Cyber Hot-Pink Framed Edition) ── */
/* ── 1. ANIME CARD (Cyber Cinema Top-Spine Edition) ── */
.card-anime {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0B0713;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 77, 141, 0.35);
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    padding: 8px 8px 14px 8px;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 16px rgba(255, 42, 122, 0.06), 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.35s var(--ease-spring), 
                box-shadow 0.35s ease, 
                border-color 0.35s ease;
    cursor: pointer;
    contain: layout style paint;
}

.card-anime:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 117, 169, 0.6);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 22px rgba(255, 42, 122, 0.12), 0 14px 34px rgba(0, 0, 0, 0.78);
}

.badge-anime-cyber {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    background: rgba(255, 42, 122, 0.28);
    border: 1px solid rgba(255, 77, 141, 0.65);
    color: #FF75A9;
    backdrop-filter: blur(10px);
}

.cyber-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF2A7A;
    box-shadow: 0 0 8px #FF2A7A;
}

.chip-ep {
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #FF2A7A 0%, #FF6584 100%);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.action-anime {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.25), 0 4px 14px rgba(0, 0, 0, 0.5);
}

.card-anime:hover .card-title {
    color: #FF4D8D;
}


/* ── 2. MANHWA / MANGA CARD (Royal Orchid Collector Edition) ── */
.card-manhwa {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0C0816;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(192, 132, 252, 0.35);
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    padding: 8px 8px 14px 8px;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 16px rgba(157, 78, 221, 0.06), 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.35s var(--ease-spring), 
                box-shadow 0.35s ease, 
                border-color 0.35s ease;
    cursor: pointer;
    contain: layout style paint;
}

.card-manhwa:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(192, 132, 252, 0.65);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 22px rgba(157, 78, 221, 0.12), 0 14px 34px rgba(0, 0, 0, 0.78);
}

.badge-manhwa-bookmark {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    background: rgba(157, 78, 221, 0.3);
    border: 1px solid rgba(192, 132, 252, 0.65);
    color: #C084FC;
    backdrop-filter: blur(10px);
}

.badge-manhwa-bookmark i {
    font-size: 0.78rem;
    color: #E9D5FF;
}

.chip-ch {
    font-size: 0.68rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #9D4EDD 0%, #C084FC 100%);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.action-manhwa {
    background: var(--gradient-manhwa);
    color: #fff;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.25), 0 4px 14px rgba(0, 0, 0, 0.5);
}

.card-manhwa:hover .card-title {
    color: #C084FC;
}


/* ── SHARED CARD COMPONENTS ── */
.card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #140D1E;
    border-radius: 20px; /* Completely rounded on ALL 4 corners */
}

.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
    transition: transform 0.5s var(--ease-out);
    display: block;
}

.card-anime:hover .card-poster img,
.card-manhwa:hover .card-poster img {
    transform: scale(1.08);
}

.card-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(to top, rgba(7, 4, 10, 0.95) 0%, rgba(7, 4, 10, 0.35) 30%, transparent 65%);
    pointer-events: none;
}

/* Badges: Top Left (Score) */
.chip-score {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: rgba(10, 5, 14, 0.88);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #FBBF24;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    backdrop-filter: blur(10px);
}

.score-manhwa {
    border-color: rgba(192, 132, 252, 0.5);
    color: #FCD34D;
}

.badge-adult {
    position: absolute;
    top: 38px;
    right: 10px;
    z-index: 3;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(239, 68, 68, 0.92);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
}

/* Bottom Bar on Poster: Status & Chapter/Ep */
.poster-bottom-bar {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.chip-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.66rem;
    font-weight: 700;
    color: #E2E8F0;
    background: rgba(10, 5, 14, 0.88);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.chip-status.ongoing .status-dot {
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.chip-status.translating .status-dot {
    background: #A855F7;
    box-shadow: 0 0 8px #A855F7;
}

.chip-status.completed .status-dot {
    background: #60A5FA;
    box-shadow: 0 0 8px #60A5FA;
}

/* Hover Action Button (Center Circle) */
.card-hover-action {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.65);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s var(--ease-spring);
    z-index: 4;
    pointer-events: none;
}

.card-anime:hover .card-hover-action,
.card-manhwa:hover .card-hover-action {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/* ── Card Body & Typography (Fluid Auto-Scaling) ── */
.card-body {
    padding: 7px 6px 3px 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 48px;
    justify-content: center;
}

.card-title {
    font-size: clamp(0.78rem, 2.2vw, 0.90rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
    letter-spacing: -0.2px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    font-size: clamp(0.68rem, 1.8vw, 0.74rem);
    color: var(--text-tertiary);
    line-height: 1.2;
}

.card-sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.card-year {
    color: rgba(255, 255, 255, 0.42);
    font-weight: 600;
    font-size: 0.72rem !important;
    letter-spacing: -0.2px;
    flex-shrink: 0;
}
.get("status"))
/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS & CONTROLS (Pill-Shaped Rounded Standard)
   ═══════════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s var(--ease-spring);
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 26px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 42, 122, 0.18);
    border-color: rgba(255, 77, 141, 0.45);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 0.95rem;
}

.btn-glow {
    box-shadow: 0 6px 24px var(--accent-glow);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADINGS & DUAL TABS
   ═══════════════════════════════════════════════════════════════════════════ */
.section {
    padding: var(--sp-10) 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-right: 16px;
}

.section-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 22px;
    border-radius: var(--radius-full);
    background: var(--gradient-accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.section-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.section-link:hover {
    transform: translateX(-4px);
    background: rgba(255, 42, 122, 0.12);
}

/* ── Segmented Pill Tabs ── */
.tabs-pill {
    display: inline-flex;
    align-items: center;
    background: #0E0916;
    padding: 5px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 77, 141, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.tab-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s var(--ease-spring);
}

.tab-pill-btn:hover {
    color: #fff;
}

.tab-pill-btn.active {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 0 16px var(--accent-glow);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeInUp 0.25s var(--ease-out);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE GRID SYSTEM
   ═══════════════════════════════════════════════════════════════════════════ */
.grid {
    display: grid;
    gap: var(--sp-4);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 480px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ═══════════════════════════════════════════════════════════════════════════
   RANKINGS & LEADERBOARD (Rounded Soft Cards)
   ═══════════════════════════════════════════════════════════════════════════ */
.rankings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-3);
}

@media (min-width: 640px) {
    .rankings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rankings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rank-card {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 10px 16px;
    background: #0E0916;
    border: 1px solid rgba(255, 77, 141, 0.18);
    border-radius: 22px; /* Soft rounded corners */
    text-decoration: none;
    transition: all 0.3s var(--ease-spring);
}

.rank-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: #140D20;
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 77, 141, 0.45);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 18px rgba(255, 42, 122, 0.08), 0 10px 28px rgba(0, 0, 0, 0.75);
}

.rank-num {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    width: 38px;
    text-align: center;
    color: var(--text-tertiary);
    font-style: italic;
    flex-shrink: 0;
}

.rank-card:nth-child(1) .rank-num {
    color: var(--gold);
    text-shadow: 0 0 14px var(--gold-glow);
}

.rank-card:nth-child(2) .rank-num {
    color: #E2E8F0;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.rank-card:nth-child(3) .rank-num {
    color: #CD7F32;
    text-shadow: 0 0 12px rgba(205, 127, 50, 0.4);
}

.rank-thumb {
    width: 48px;
    height: 66px;
    border-radius: 16px; /* Soft rounded corners */
    object-fit: cover;
    flex-shrink: 0;
}

.rank-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rank-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-meta {
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS & HELPERS
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-gold {
    color: var(--gold) !important;
}

.w-full {
    width: 100% !important;
}
.get("status"))


/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM GLASS CONTAINERS & SOFT CURVED BOXES (AkumaBox Standard v9.9)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Generic Glass Card (Used in Genres, Calendar, Stats, Panels) ── */
.glass-card {
    position: relative;
    background: #0E0916;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 77, 141, 0.25);
    border-radius: 24px;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 18px rgba(255, 42, 122, 0.05), 0 10px 30px rgba(0, 0, 0, 0.65);
    transition: transform 0.35s var(--ease-spring),
                box-shadow 0.35s ease,
                border-color 0.35s ease,
                background-color 0.35s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-6px) scale(1.015);
    background: #140D20;
    border-color: rgba(255, 255, 255, 0.14);
    border-top-color: rgba(255, 117, 169, 0.45);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 22px rgba(255, 42, 122, 0.09), 0 16px 36px rgba(0, 0, 0, 0.75);
}

/* ── Genre Card Specific ── */
.genre-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: linear-gradient(135deg, #0E0916 0%, #160D24 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 77, 141, 0.25);
    border-radius: 22px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s var(--ease-spring);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 14px rgba(255, 42, 122, 0.04), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.genre-box:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent);
    background: linear-gradient(135deg, #150C22 0%, #221238 100%);
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 77, 141, 0.45);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 18px rgba(255, 42, 122, 0.08), 0 12px 30px rgba(0, 0, 0, 0.7);
}

.genre-box-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.genre-box-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 42, 122, 0.18);
    border: 1px solid rgba(255, 77, 141, 0.4);
    color: #FF75A9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(255, 42, 122, 0.25);
}

.genre-box:hover .genre-box-icon {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 0 18px var(--accent-glow);
}

.genre-box-name {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.genre-box-count {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-tertiary);
    font-size: 0.76rem;
    font-weight: 700;
}

/* ── Panel Box (Used in Title details, Profile, Admin) ── */
.panel-box {
    background: #0E0916;
    border: 1px solid rgba(255, 77, 141, 0.2);
    border-radius: 28px; /* High radius */
    padding: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
    margin-bottom: var(--sp-6);
}

/* ── Input, Select & Form Controls ── */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
select,
textarea {
    border-radius: 18px !important;
    background: rgba(14, 9, 22, 0.85) !important;
    border: 1px solid rgba(255, 77, 141, 0.25) !important;
    color: #fff !important;
    padding: 10px 16px;
    outline: none !important;
    font-family: inherit !important;
    transition: all 0.25s var(--ease-out) !important;
}

input:focus, select:focus, textarea:focus {
    border-color: rgba(255, 77, 141, 0.45) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(255, 42, 122, 0.10), 0 0 0 1px rgba(255, 77, 141, 0.25) !important;
    background: rgba(18, 11, 28, 0.95) !important;
}

/* ── Episode / Chapter Item Card ── */
.ep-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #0E0916;
    border: 1px solid rgba(255, 77, 141, 0.2);
    border-radius: 20px; /* Soft rounded */
    text-decoration: none;
    transition: all 0.25s var(--ease-spring);
}

.ep-item-card:hover {
    transform: translateY(-3px) scale(1.02);
    background: #140D20;
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 117, 169, 0.45);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 16px rgba(255, 42, 122, 0.08), 0 8px 20px rgba(0, 0, 0, 0.6);
}

.ep-item-num {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 42, 122, 0.2);
    border: 1px solid rgba(255, 77, 141, 0.5);
    color: #FF75A9;
    font-weight: 900;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ep-item-card:hover .ep-item-num {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.4);
}
.get("status"))


/* ── Slider Specific Media Type Themes ── */
.hero-slide[data-type="manhwa"] .hero-title-type {
    color: #C084FC !important;
}
.hero-slide[data-type="manhwa"] .hero-kicker {
    background: rgba(157, 78, 221, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(192, 132, 252, 0.5) !important;
    color: #E9D5FF !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), inset 0 0 10px rgba(157, 78, 221, 0.08) !important;
}
.hero-slide[data-type="manhwa"] .hero-kicker i {
    color: #C084FC !important;
}
.hero-slide[data-type="manhwa"] .btn-primary {
    background: linear-gradient(135deg, #9D4EDD 0%, #C084FC 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2), 0 4px 14px rgba(0, 0, 0, 0.5) !important;
}
.hero-slide[data-type="manhwa"] .hero-poster-card {
    background: linear-gradient(145deg, rgba(20, 10, 30, 0.88), rgba(157, 78, 221, 0.2)) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-top: 1px solid rgba(192, 132, 252, 0.45) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 24px rgba(157, 78, 221, 0.08), 0 24px 56px rgba(0, 0, 0, 0.9) !important;
}

/* ── Modern Horizontal Scroll Row for Carousels ── */
.scroll-row-wrap {
    position: relative;
    width: 100%;
}

.scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 4px 20px 4px;
    scrollbar-width: none;
}

.scroll-row::-webkit-scrollbar {
    display: none;
}

.scroll-row > .card-anime,
.scroll-row > .card-manhwa {
    flex: 0 0 165px;
    max-width: 165px;
}

@media (min-width: 640px) {
    .scroll-row > .card-anime,
    .scroll-row > .card-manhwa {
        flex: 0 0 185px;
        max-width: 185px;
    }
}

@media (min-width: 1024px) {
    .scroll-row > .card-anime,
    .scroll-row > .card-manhwa {
        flex: 0 0 195px;
        max-width: 195px;
    }
}

/* Scroll Arrow Controls */
.scroll-arrow-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(14, 9, 20, 0.88);
    border: 1px solid rgba(255, 77, 141, 0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s var(--ease-spring);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.scroll-arrow-btn:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    box-shadow: 0 0 16px var(--accent-glow);
    transform: translateY(-50%) scale(1.1);
}

.scroll-arrow-btn.prev {
    right: -14px;
}

.scroll-arrow-btn.next {
    left: -14px;
}

@media (max-width: 768px) {
    .scroll-arrow-btn {
        display: none;
    }
}
.get("status"))


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE FIRST RESPONSIVE ARCHITECTURE & COMPONENT TUNING (90%+ Mobile Users)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* ── Hero Section on Mobile ── */
    .hero-section {
        padding: calc(var(--header-h) + 12px) 0 var(--sp-4);
    }

    .hero-shell {
        border-radius: 24px;
        min-height: auto;
        border-width: 1px;
    }

    .hero-slides-wrap {
        min-height: auto;
    }

    .hero-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 14px 16px 14px;
        gap: 16px;
    }

    /* Small Complete Poster on Mobile */
    .hero-poster-card {
        display: block !important;
        order: -1;
        width: 120px !important;
        padding: 4px !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8), 0 0 18px var(--accent-glow) !important;
    }

    .hero-poster-card img {
        border-radius: 16px !important;
    }

    .hero-poster-rank {
        top: 8px !important;
        left: 8px !important;
        padding: 3px 8px !important;
        font-size: 0.7rem !important;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        gap: 8px;
        align-items: center;
    }

    .hero-kicker {
        padding: 3px 10px;
        font-size: 0.72rem;
    }

    .hero-title {
        font-size: 1.45rem !important;
        line-height: 1.3;
    }

    .hero-original {
        font-size: 0.78rem;
    }

    .hero-meta {
        justify-content: center;
        gap: 5px;
    }

    .hero-chip {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .hero-genres-row {
        justify-content: center;
        gap: 4px;
    }

    .hero-genre-pill {
        font-size: 0.68rem;
        padding: 2px 9px;
    }

    .hero-desc {
        font-size: 0.78rem;
        line-height: 1.7;
        margin: 2px 0 8px;
        -webkit-line-clamp: 2;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        width: 100%;
        gap: 8px;
    }

    .hero-actions .btn {
        flex: 1 1 calc(50% - 8px);
        padding: 10px 12px;
        font-size: 0.8rem;
        justify-content: center;
    }

    /* Hero Thumbnails Dock on Mobile */
    .hero-thumbs-bar {
        padding: 8px 12px 10px;
        gap: 6px;
    }

    .hero-thumb-btn {
        padding: 4px 10px 4px 6px;
        font-size: 0.72rem;
        gap: 6px;
    }

    .hero-thumb-btn img {
        width: 22px;
        height: 22px;
    }

    /* ── Horizontal Scroll Rows on Mobile ── */
    .scroll-row {
        gap: 10px !important;
        padding: 6px 2px 14px 2px !important;
    }

    .scroll-row > .card-anime,
    .scroll-row > .card-manhwa {
        flex: 0 0 135px !important;
        max-width: 135px !important;
        padding: 6px 6px 10px 6px !important;
        border-radius: 20px !important;
    }

    .card-poster {
        border-radius: 15px !important;
    }

    .card-poster img {
        border-radius: 15px !important;
    }

    .card-body {
        padding: 5px 3px 2px 3px !important;
        min-height: 42px !important;
    }

    .card-title {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
    }

    .card-meta {
        font-size: 0.65rem !important;
    }

    .chip-score, .badge-anime-cyber, .badge-manhwa-bookmark {
        padding: 2px 6px !important;
        font-size: 0.6rem !important;
    }

    .chip-status, .chip-ep, .chip-ch {
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
    }

    /* Section Headers on Mobile */
    .section-header {
        margin-bottom: var(--sp-3) !important;
    }

    .section-title {
        font-size: 1.15rem !important;
    }

    .section {
        padding: var(--sp-6) 0 !important;
    }



    /* Title Page on Mobile */
    .title-body {
        gap: 18px !important;
        padding: 0 var(--sp-3) !important;
    }

    .title-panel {
        padding: 16px !important;
        border-radius: 20px !important;
    }

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



/* ── News Cards Contrast & High-Legibility Fix ── */
.news-card {
    background: #0E0916;
    border: 1px solid rgba(255, 77, 141, 0.22);
    border-radius: 22px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s var(--ease-spring);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.8), 0 0 20px var(--accent-glow);
}

.news-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF !important;
    line-height: 1.35;
    margin: 0;
}

.news-excerpt {
    font-size: 0.85rem;
    color: #C5BFD6 !important;
    line-height: 1.7;
    margin: 0;
}

.news-meta {
    font-size: 0.76rem;
    color: #FF75A9 !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

/* ── Prevent RTL Ellipsis Mess in Latin Subtitles ── */
.card-sub {
    direction: ltr !important;
    text-align: right !important;
    unicode-bidi: plaintext !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: var(--font-sans) !important;
    font-size: 0.72rem !important;
    color: #A39CB3 !important;
}

/* Smooth Horizontal Rail Edge Fading */
.scroll-row-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 12px;
    width: 32px;
    background: linear-gradient(to right, #050508, transparent);
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 768px) {
    .scroll-row-wrap::after {
        width: 18px;
    }
}



/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM DOTS PAGINATION & TOUCH NAVIGATION (AkumaBox Standard)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Remove old thumbnails dock entirely */
.hero-thumbs-bar {
    display: none !important;
}

/* Modern Dots Pagination Container */
.hero-dots-nav {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    pointer-events: auto;
}

/* Individual Indicator Dot */
.hero-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    outline: none;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.15);
}

.hero-dot.active {
    width: 32px; /* Expanding pill animation on active dot */
    background: var(--gradient-accent);
    border-color: transparent;
    box-shadow: 0 0 16px var(--accent-glow);
}

@media (max-width: 768px) {
    .hero-dots-nav {
        bottom: 14px;
        gap: 7px;
    }
    .hero-dot {
        width: 8px;
        height: 8px;
    }
    .hero-dot.active {
        width: 24px;
    }
}


/* ════════════════════════════════════════════════
   Card Overlay Badges (Score, Type, Status, Count)
   Position: absolutely docked on the poster image
   ════════════════════════════════════════════════ */

.card-score {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--gold, #FBBF24);
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
    line-height: 1;
}

.card-score i {
    font-size: 11px;
}

.card-type {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 8px;
    line-height: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Color per type — inherit from parent card class */
.card-anime > .card-poster > .card-type {
    background: rgba(33, 150, 243, 0.22);
    color: #64B5F6;
    border: 1px solid rgba(33, 150, 243, 0.35);
}

.card-manhwa > .card-poster > .card-type {
    background: rgba(255, 152, 0, 0.22);
    color: #FFB74D;
    border: 1px solid rgba(255, 152, 0, 0.35);
}

.card-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 3;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 6px;
    line-height: 1.3;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.55);
    color: var(--text-secondary, #B3A8B0);
}

.card-status.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-status.airing {
    background: rgba(96, 165, 250, 0.2);
    color: #60A5FA;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.card-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 3;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 6px;
    line-height: 1.3;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.55);
    color: var(--text-secondary, #B3A8B0);
}

/* Responsive: smaller badges on small cards */
@media (max-width: 479px) {
    .card-score,
    .card-type {
        font-size: 9px;
        padding: 2px 5px;
    }
    .card-status,
    .card-count {
        font-size: 9px;
        padding: 2px 5px;
    }
}


/* ════════════════════════════════════════════════
   Title Detail Page — Responsive
   ════════════════════════════════════════════════ */

.title-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    padding: 0 var(--sp-4);
    max-width: var(--container-xl);
    margin: 0 auto;
}

@media (max-width: 991px) {
    .title-body {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 var(--sp-3);
    }
    .title-body aside {
        order: -1;
    }
}

@media (max-width: 640px) {
    .title-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--sp-4);
    }
    .title-poster {
        width: 140px !important;
    }
    .title-meta h1 {
        font-size: 1.3rem;
    }
    .title-badges {
        justify-content: center;
    }
    .title-stats-bar {
        justify-content: center;
    }
    .title-actions-row {
        justify-content: center;
    }
    .ep-list-grid {
        gap: 6px !important;
    }
}

@media (max-width: 768px) {
    .hero-slides-wrap {
        min-height: 370px !important;
        height: 385px !important;
    }
    .hero-card {
        padding: 10px 14px 14px !important;
    }
    .hero-top-poster-area {
        padding-top: 0 !important;
    }
    .hero-center-poster {
        width: 114px !important;
        height: 164px !important;
        border-radius: 20px !important;
    }
    .hero-title {
        font-size: 1.25rem !important;
        margin: 0 !important;
    }
    .hero-actions-row {
        margin-top: 4px !important;
    }
    .btn-hero-primary {
        padding: 7px 18px !important;
        font-size: 0.84rem !important;
    }
    .btn-hero-bookmark {
        width: 35px !important;
        height: 35px !important;
    }
    .hero-dots-clean {
        bottom: 16px !important;
        left: 14px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHTWEIGHT METALLIC GRADIENT CHIPS & BADGES (Zero-Lag Mobile & Desktop)
   No backdrop-filter blur! Pure GPU accelerated linear-gradient.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Universal Reset for Badges: Kill all blur */
.card-score,
.card-type,
.card-status,
.card-count,
.chip-score,
.chip-status,
.badge-anime-cyber,
.badge-manhwa-bookmark,
.hero-chip,
.hero-center-poster-badge,
.btn-hero-bookmark {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Card Score Chip (Gold Metallic Gradient) */
.card-score,
.chip-score {
    background: linear-gradient(135deg, #1C1917 0%, #0C0A09 100%) !important;
    border: 1px solid rgba(245, 184, 0, 0.45) !important;
    color: #FBBF24 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7) !important;
}

/* Card Type Badges (Anime Pink vs Manhwa Purple) */
.card-anime .card-type,
.badge-anime-cyber {
    background: linear-gradient(135deg, #24121A 0%, #12090F 100%) !important;
    border: 1px solid rgba(255, 77, 141, 0.5) !important;
    color: #FF75A9 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7) !important;
}

.card-manhwa .card-type,
.badge-manhwa-bookmark {
    background: linear-gradient(135deg, #1E122A 0%, #100918 100%) !important;
    border: 1px solid rgba(192, 132, 252, 0.5) !important;
    color: #C084FC !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7) !important;
}

/* Card Status Badges (Ongoing / Completed) */
.card-status,
.chip-status {
    background: linear-gradient(135deg, #181820 0%, #0D0D12 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #E2E8F0 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7) !important;
}

.card-status.airing,
.chip-status.ongoing {
    background: linear-gradient(135deg, #06281E 0%, #041410 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.45) !important;
    color: #34D399 !important;
}

.card-status.completed,
.chip-status.completed {
    background: linear-gradient(135deg, #0C1E34 0%, #06101E 100%) !important;
    border: 1px solid rgba(96, 165, 250, 0.45) !important;
    color: #60A5FA !important;
}

/* Card Count / Episodes / Chapters */
.card-count {
    background: linear-gradient(135deg, #1C1C24 0%, #0D0D12 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #E2E8F0 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7) !important;
}

/* Hero Chips (Metallic Gradient in Slider) */
.hero-chip {
    background: linear-gradient(135deg, #1C1924 0%, #0E0916 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #E2E8F0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
}

.hero-chip.type-badge.anime {
    background: linear-gradient(135deg, #2A101C 0%, #16080E 100%) !important;
    border-color: rgba(255, 77, 141, 0.55) !important;
    color: #FF75A9 !important;
}

.hero-chip.type-badge.manhwa {
    background: linear-gradient(135deg, #221034 0%, #12081C 100%) !important;
    border-color: rgba(192, 132, 252, 0.55) !important;
    color: #C084FC !important;
}

.hero-chip.score {
    background: linear-gradient(135deg, #221A0C 0%, #120E06 100%) !important;
    border-color: rgba(245, 184, 0, 0.5) !important;
    color: #FFD166 !important;
}

.hero-center-poster-badge {
    background: linear-gradient(135deg, #1C1608 0%, #0E0B04 100%) !important;
    border: 1px solid rgba(245, 184, 0, 0.5) !important;
    color: #FFD166 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

.btn-hero-bookmark {
    background: linear-gradient(135deg, #1C1824 0%, #0E0A16 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   DESKTOP CINEMATIC HERO SPOTLIGHT REDESIGN (min-width: 1024px)
   Mobile layout (max-width: 1023px) remains 100% UNTOUCHED!
   ═══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 1024px) {
    .hero-section {
        padding: calc(var(--header-h) + 24px) 0 var(--sp-8);
    }

    .hero-shell {
        border-radius: 36px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: 1px solid rgba(255, 77, 141, 0.35);
        box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 24px rgba(255, 42, 122, 0.05), 0 25px 60px rgba(0, 0, 0, 0.9);
    }

    .hero-slides-wrap {
        min-height: 480px !important;
        height: 500px !important;
    }

    /* Transform slide card into a grand horizontal cinema split */
    .hero-card {
        padding: 40px 56px 44px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 100% !important;
    }

    /* Move Poster area to Left Side (end of RTL line) with prominent 3D cinema sizing */
    .hero-top-poster-area {
        order: 2 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: auto !important;
        padding-top: 0 !important;
        flex-shrink: 0 !important;
        margin: 0 0 0 32px !important;
    }

    .hero-center-poster {
        width: 190px !important;
        height: 275px !important;
        border-radius: 26px !important;
        border: 2px solid rgba(255, 255, 255, 0.22) !important;
        box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 20px rgba(255, 42, 122, 0.08), 0 20px 50px rgba(0, 0, 0, 0.9) !important;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
    }

    .hero-center-poster:hover {
        transform: translateY(-6px) scale(1.03) !important;
        border-top-color: rgba(255, 117, 169, 0.6) !important;
        box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.28), inset 0 0 24px rgba(255, 42, 122, 0.14), 0 25px 60px rgba(0, 0, 0, 0.95) !important;
    }

    .hero-center-poster-badge {
        font-size: 0.78rem !important;
        padding: 3px 8px !important;
        top: 10px !important;
        right: 10px !important;
    }

    /* Bottom Grid transformed to Main Info Box on Right Side */
    .hero-bottom-grid {
        order: 1 !important;
        flex: 1 !important;
        max-width: 680px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }

    .hero-content-box {
        gap: 12px !important;
        max-width: 100% !important;
    }

    .hero-badges-row {
        gap: 9px !important;
    }

    .hero-chip {
        padding: 4px 12px !important;
        font-size: 0.82rem !important;
    }

    .hero-title {
        font-size: clamp(2.2rem, 3.2vw, 3rem) !important;
        line-height: 1.2 !important;
        margin: 4px 0 !important;
        text-shadow: 0 3px 18px rgba(0, 0, 0, 0.9) !important;
    }

    .hero-original {
        font-size: 1.02rem !important;
        color: rgba(255, 255, 255, 0.78) !important;
    }

    .hero-actions-row {
        margin-top: 14px !important;
        gap: 14px !important;
    }

    .btn-hero-primary {
        padding: 11px 28px !important;
        font-size: 0.98rem !important;
        border-radius: var(--radius-full) !important;
    }

    .btn-hero-bookmark {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.28rem !important;
        border-radius: 14px !important;
    }

    /* Navigation Arrows Centered Vertically on Desktop */
    .hero-nav-arrow {
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.45rem !important;
    }

    .hero-nav-arrow.prev { right: 18px !important; }
    .hero-nav-arrow.next { left: 18px !important; }

    /* Clean Dots in Bottom Left */
    .hero-dots-clean {
        bottom: 24px !important;
        left: 56px !important;
        gap: 8px !important;
    }

    .hero-dot {
        width: 8px !important;
        height: 8px !important;
    }

    .hero-dot.active {
        width: 30px !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   POPULAR GENRES HORIZONTAL SCROLL SHELF (MangaUp Cinematic Inspired)
   Pure Metallic Dark Gradient, Zero Blur Lag, Smooth Touch Scrolling
   ═══════════════════════════════════════════════════════════════════════════ */

.hero-genres-shelf-wrap {
    margin-top: 18px;
    width: 100%;
    position: relative;
    z-index: 5;
}

@media (min-width: 1024px) {
    .hero-genres-shelf-wrap {
        margin-top: 22px;
    }
}

.hero-genres-track {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 6px 4px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide IE */
    -webkit-overflow-scrolling: touch;
}

.hero-genres-track::-webkit-scrollbar {
    display: none; /* Hide Chrome/Safari/Edge scrollbar */
}

.genre-pill-card {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 9px 16px 9px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #181222 0%, #0B0714 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;
    cursor: pointer;
}

.genre-pill-card:hover {
    background: linear-gradient(135deg, #221832 0%, #120A20 100%);
    border-color: rgba(255, 77, 141, 0.45);
    transform: translateY(-3px) scale(1.02);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 14px rgba(255, 42, 122, 0.08), 0 8px 24px rgba(0, 0, 0, 0.8);
}

.genre-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.genre-pill-card:hover .genre-pill-icon {
    transform: scale(1.1);
}

/* Vivid Genre Color Palette with High Contrast Icons */
.genre-pill-icon.color-gold     { background: linear-gradient(135deg, #2A200A 0%, #151004 100%); color: #F5B800; border: 1px solid rgba(245, 184, 0, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.genre-pill-icon.color-purple   { background: linear-gradient(135deg, #2A1032 0%, #14081A 100%); color: #C084FC; border: 1px solid rgba(192, 132, 252, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.genre-pill-icon.color-cyan     { background: linear-gradient(135deg, #0A2432 0%, #04121A 100%); color: #4CC9F0; border: 1px solid rgba(76, 201, 240, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.genre-pill-icon.color-pink     { background: linear-gradient(135deg, #321020 0%, #1A0810 100%); color: #FF70A6; border: 1px solid rgba(255, 112, 166, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.genre-pill-icon.color-rose     { background: linear-gradient(135deg, #300E18 0%, #18060C 100%); color: #EF476F; border: 1px solid rgba(239, 71, 111, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.genre-pill-icon.color-crimson  { background: linear-gradient(135deg, #2E0A14 0%, #160408 100%); color: #E01E5A; border: 1px solid rgba(224, 30, 90, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.genre-pill-icon.color-amber    { background: linear-gradient(135deg, #2E1A08 0%, #160C04 100%); color: #FB8500; border: 1px solid rgba(251, 133, 0, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.genre-pill-icon.color-indigo   { background: linear-gradient(135deg, #1C0A30 0%, #0E0418 100%); color: #9D4EDD; border: 1px solid rgba(157, 78, 221, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.genre-pill-icon.color-emerald  { background: linear-gradient(135deg, #0A2820 0%, #041410 100%); color: #06D6A0; border: 1px solid rgba(6, 214, 160, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.genre-pill-icon.color-sky      { background: linear-gradient(135deg, #082430 0%, #041218 100%); color: #00B4D8; border: 1px solid rgba(0, 180, 216, 0.45); box-shadow: 0 2px 8px rgba(0,0,0,0.6); }

.genre-pill-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.genre-pill-name {
    font-family: var(--font-fa);
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    line-height: 1.25;
}

.genre-pill-count {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.52);
    white-space: nowrap;
    line-height: 1.2;
}

@media (max-width: 640px) {
    .genre-pill-card {
        padding: 8px 13px 8px 11px;
        gap: 9px;
        border-radius: 16px;
    }
    .genre-pill-icon {
        width: 34px;
        height: 34px;
        font-size: 1.15rem;
        border-radius: 10px;
    }
    .genre-pill-name {
        font-size: 0.82rem;
    }
    .genre-pill-count {
        font-size: 0.68rem;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   TITLE PAGE OVERFLOW HARDENING & EPISODE SCROLLER V2
   ═══════════════════════════════════════════════════════════════════════════ */
.title-body {
    grid-template-columns: minmax(0, 1fr) 340px !important;
    max-width: var(--container-max) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.title-body > div,
.title-panel,
.title-body .scroll-row-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ep-list-scroll-box {
    max-height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4px 8px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 77, 141, 0.4) rgba(255, 255, 255, 0.04);
}

.ep-list-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.ep-list-scroll-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.ep-list-scroll-box::-webkit-scrollbar-thumb {
    background: rgba(255, 77, 141, 0.35);
    border-radius: 4px;
}

@media (max-width: 991px) {
    .title-body {
        grid-template-columns: 1fr !important;
        padding: 0 12px !important;
        margin-top: 14px !important;
    }
    .ep-list-scroll-box {
        max-height: 420px !important;
    }
    .ep-header-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .ep-search-wrap {
        width: 100% !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   UNIVERSAL CARDS & SHELF GRID SYSTEM (All Subpages & Archive Pages)
   Pure Metallic Dark Gradient, Zero Blur Lag, Unified Identity Across Entire Site
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Standard Restored Anime & Manhwa Cards (Zero Offset Shift) ── */
.card-anime,
.card-manhwa {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden !important;
    text-decoration: none;
    padding: 8px 8px 14px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: 0 !important;
    margin-right: 0 !important;
}

.card-anime {
    background: #0B0713;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 77, 141, 0.35) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 16px rgba(255, 42, 122, 0.06), 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

.card-anime:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15) !important;
    border-top-color: rgba(255, 117, 169, 0.6) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 22px rgba(255, 42, 122, 0.12), 0 14px 34px rgba(0, 0, 0, 0.78) !important;
}

.card-manhwa {
    background: #0C0816;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(192, 132, 252, 0.35) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 16px rgba(157, 78, 221, 0.06), 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

.card-manhwa:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15) !important;
    border-top-color: rgba(192, 132, 252, 0.65) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 22px rgba(157, 78, 221, 0.12), 0 14px 34px rgba(0, 0, 0, 0.78) !important;
}

.card-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #140D1E;
    border-radius: 18px;
    margin: 0 !important;
    transform: none !important;
}

.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.card-anime:hover .card-poster img,
.card-manhwa:hover .card-poster img {
    transform: scale(1.06);
}

/* ── Universal Grid for Subpages (Search, Archive, Lists) ── */
.shelf-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .shelf-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .card-anime, .card-manhwa {
        padding: 6px 6px 12px 6px !important;
        border-radius: 20px !important;
    }
}

@media (min-width: 1200px) {
    .shelf-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 20px !important;
    }
}

/* ── Legacy Backward Compatibility (.grid-6 and .card fallback) ── */
.grid-6 {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 18px !important;
}

@media (max-width: 768px) {
    .grid-6 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

.card {
    position: relative;
    background: #0E0916;
    border: 1px solid rgba(255, 77, 141, 0.22);
    border-radius: 22px;
    overflow: hidden;
    padding: 8px 8px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 117, 169, 0.55);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), inset 0 0 20px rgba(255, 42, 122, 0.10), 0 14px 32px rgba(0, 0, 0, 0.75);
}

.card-image {
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

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

.card-info {
    padding: 10px 4px 2px;
}

.card-info .card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.card-anime {
    background: #0B0713 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 77, 141, 0.35) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 16px rgba(255, 42, 122, 0.06), 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

.card-manhwa {
    background: #0C0816 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(192, 132, 252, 0.35) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 16px rgba(157, 78, 221, 0.06), 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}



/* ═══════════════════════════════════════════════════════════════════════════
   HERO POSTER & NAV CHEVRONS PERFECT VERTICAL ALIGNMENT (v10.1)
   Center of the poster is perfectly aligned on the horizontal axis with Prev/Next buttons
   ═══════════════════════════════════════════════════════════════════════════ */

/* Mobile alignment (< 1024px): Poster moved down so its center aligns with chevrons */
@media (max-width: 1023px) {
    .hero-poster-col {
        padding-top: 22px !important;
    }
    .hero-nav-arrow {
        top: 115px !important;
        transform: translateY(-50%) !important;
    }
}

/* Desktop alignment (>= 1024px): Poster and Chevrons perfectly centered */
@media (min-width: 1024px) {
    .hero-poster-col {
        margin-top: 14px !important;
    }
    .hero-nav-arrow {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
}



/* ═══════════════════════════════════════════════════════════════════════════
   UNIFIED AUTH INPUTS & CARDS (High-Contrast, Zero-Collision v10.2)
   ═══════════════════════════════════════════════════════════════════════════ */
.auth-custom-input,
.auth-input {
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, #1e172e 0%, #110c1c 100%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 18px !important;
    color: #FFFFFF !important;
    font-size: 0.94rem !important;
    font-family: inherit !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
    padding-right: 52px !important; /* Generous clearance preventing any collision with right icon */
    padding-left: 18px !important;
    outline: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.auth-custom-input.has-eye-toggle,
.auth-input.has-eye-toggle {
    padding-left: 50px !important; /* Generous clearance preventing collision with left eye toggle */
}

.auth-custom-input:focus,
.auth-input:focus {
    border-color: #FF2A7A !important;
    background: linear-gradient(135deg, #251c38 0%, #150e24 100%) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(255, 42, 122, 0.12), 0 0 0 1px rgba(255, 77, 141, 0.35) !important;
}

.auth-custom-input::placeholder,
.auth-input::placeholder {
    color: rgba(241, 245, 249, 0.5) !important;
    font-size: 0.88rem !important;
}



/* ═══════════════════════════════════════════════════════════════════════════
   PRESERVE 100% ORIGINAL GEOMETRY, SHAPE & POSITION
   Ultra-lightweight shifting gradient colors on the native card borders
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Anime Card: Original 3.5px solid top border with shifting pink/rose gradient tones ── */
.card-anime {
    border-top-width: 3.5px !important;
    border-top-style: solid !important;
    border-top-color: #FF2A7A !important;
    animation: animeTopBorderShift 4.5s ease-in-out infinite !important;
}

@keyframes animeTopBorderShift {
    0% {
        border-top-color: #FF2A7A;
    }
    33% {
        border-top-color: #FF6599;
    }
    66% {
        border-top-color: #E60050;
    }
    100% {
        border-top-color: #FF2A7A;
    }
}

/* ── 2. Manhwa Card: Original 4px solid right spine border with shifting orchid/purple gradient tones ── */
.card-manhwa {
    border-right-width: 4px !important;
    border-right-style: solid !important;
    border-right-color: #9D4EDD !important;
    animation: manhwaRightBorderShift 5s ease-in-out infinite !important;
}

@keyframes manhwaRightBorderShift {
    0% {
        border-right-color: #9D4EDD;
    }
    33% {
        border-right-color: #C77DFF;
    }
    66% {
        border-right-color: #7B2CBF;
    }
    100% {
        border-right-color: #9D4EDD;
    }
}



/* ═══════════════════════════════════════════════════════════════════════════
   HERO SPOTLIGHT SLIDER CLEARANCE FROM FLOATING HEADER (v12.0)
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-section {
    padding-top: calc(var(--header-h) + 38px) !important;
    margin-top: 10px !important;
}

@media (max-width: 1023px) {
    .hero-section {
        padding-top: calc(var(--header-h) + 26px) !important;
        margin-top: 6px !important;
    }
}


/* Standard High-Contrast Form Inputs & Textareas */
.form-input, .form-textarea, select.form-input, input.form-input, textarea.form-textarea {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-family: inherit !important;
  font-size: 0.94rem !important;
  padding: 0.85rem 1.1rem !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}
.form-input:focus, .form-textarea:focus, select.form-input:focus, input.form-input:focus, textarea.form-textarea:focus {
  border-color: #A855F7 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(168, 85, 247, 0.12), 0 0 0 1px rgba(168, 85, 247, 0.35) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: #94A3B8 !important;
  -webkit-text-fill-color: #94A3B8 !important;
  opacity: 1 !important;
}
select.form-input option {
  background: #171224 !important;
  color: #FFFFFF !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CARD PEEK BADGE & SEASONS DRAWER (AkumaBox Standard)
   ═══════════════════════════════════════════════════════════════════════════ */
.card-peek-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(14, 9, 24, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 20px;
    padding: 3px 8px;
    color: #E9D5FF;
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 6;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}
.card-peek-badge i {
    color: #C084FC;
    font-size: 0.78rem;
}
.card-peek-badge:hover {
    background: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    color: #FFFFFF;
    border-color: transparent;
    transform: scale(1.06);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), 0 4px 14px rgba(0, 0, 0, 0.5);
}
.card-peek-badge:hover i {
    color: #FFFFFF;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AKUMABOX ANIMATED BLACK-PINK FIRE VIP BANNER
   ═══════════════════════════════════════════════════════════════════════════ */
.akm-fire-vip-card {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(135deg, #09050d 0%, #050208 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 77, 141, 0.4);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 28px rgba(255, 42, 122, 0.08), 0 16px 45px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  padding: 2.2rem 2.4rem;
  box-sizing: border-box;
}

@keyframes fireMeshMotion {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    filter: hue-rotate(0deg) blur(35px);
  }
  33% {
    transform: translate(-45%, -55%) scale(1.15) rotate(15deg);
    filter: hue-rotate(15deg) blur(40px);
  }
  66% {
    transform: translate(-55%, -45%) scale(0.95) rotate(-10deg);
    filter: hue-rotate(-15deg) blur(32px);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    filter: hue-rotate(0deg) blur(35px);
  }
}

.akm-fire-aura-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 550px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(255, 42, 122, 0.35) 0%, rgba(217, 70, 239, 0.25) 45%, rgba(245, 158, 11, 0.15) 75%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  animation: fireMeshMotion 8s infinite ease-in-out;
  z-index: 1;
}

.akm-fire-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.akm-fire-text-col {
  flex: 1.2;
  min-width: 290px;
}

.akm-fire-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 42, 122, 0.15);
  border: 1px solid rgba(255, 42, 122, 0.35);
  color: #FF75A9;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.akm-fire-heading {
  font-size: 1.65rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 10px;
  line-height: 1.45;
}
.akm-fire-heading span {
  color: #FF4D8D;
  text-shadow: 0 0 15px rgba(255, 42, 122, 0.6);
}

.akm-fire-sub {
  font-size: 0.88rem;
  color: #CBD5E1;
  margin: 0 0 1.6rem;
  line-height: 1.65;
}

.akm-fire-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-fire-vip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  border-radius: 16px;
  font-size: 0.90rem;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF2A7A 0%, #D946EF 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2), 0 4px 14px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-fire-vip:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.65);
}

.btn-fire-referral {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.4rem;
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-fire-referral:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 42, 122, 0.4);
}

.akm-fire-perks-col {
  flex: 0.9;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.akm-perk-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}
.akm-perk-card:hover {
  border-color: rgba(255, 42, 122, 0.35);
  background: rgba(255, 42, 122, 0.05);
}

.akm-perk-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 42, 122, 0.15);
  border: 1px solid rgba(255, 42, 122, 0.3);
  color: #FF75A9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.akm-perk-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #FFFFFF;
}

.akm-perk-sub {
  font-size: 0.74rem;
  color: #94A3B8;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .akm-fire-vip-card { padding: 1.6rem 1.2rem; }
  .akm-fire-heading { font-size: 1.35rem; }
  .akm-fire-layout { flex-direction: column; gap: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIQUID AURORA MOVING GRADIENTS (Luxury Section Accents)
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes auraFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.card-anime, .card-manhwa {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border-radius: 18px !important;
}

.card-anime:hover, .card-manhwa:hover {
  transform: translateY(-4px) !important;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), inset 0 0 18px rgba(168, 85, 247, 0.10), 0 12px 30px rgba(0, 0, 0, 0.7) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SARRAST-STYLE BADGES & WIDGETS
   ═══════════════════════════════════════════════════════════════════════════ */
.badge-uncensored {
    position: absolute;
    top: 36px;
    right: 10px;
    z-index: 4;
    padding: 2px 7px;
    font-size: 9.5px;
    font-weight: 800;
    border-radius: 6px;
    line-height: 1.3;
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%) !important;
    border: 1px solid rgba(254, 202, 202, 0.45) !important;
    color: #FFF !important;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.5) !important;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0;
}
.badge-uncensored i {
    font-size: 11px;
}

/* Sarrast Recently Updated Card */
.sarrast-update-card {
    display: flex;
    flex-direction: column;
    background: rgba(18, 11, 24, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.sarrast-update-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 77, 141, 0.45);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 18px rgba(255, 42, 122, 0.08), 0 12px 30px rgba(0, 0, 0, 0.7);
}
.sarrast-update-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 2.85;
    overflow: hidden;
    background: #0D0714;
}
.sarrast-update-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sarrast-update-card:hover .sarrast-update-poster {
    transform: scale(1.05);
}
.sarrast-update-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.sarrast-update-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}
.sarrast-update-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    font-size: 0.8rem;
}
.sarrast-ep-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.78rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(255, 42, 122, 0.25) 0%, rgba(255, 117, 169, 0.15) 100%);
    border: 1px solid rgba(255, 42, 122, 0.45);
    color: #FF75A9;
    font-family: var(--font-num, inherit);
}
.sarrast-ch-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.78rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(192, 132, 252, 0.15) 100%);
    border: 1px solid rgba(168, 85, 247, 0.45);
    color: #C084FC;
    font-family: var(--font-num, inherit);
}
.sarrast-time-text {
    color: #94A3B8;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* Sarrast Recommendation Spotlight Banner */
.sarrast-spotlight-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 14, 38, 0.92) 0%, rgba(14, 8, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 77, 141, 0.3);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 24px rgba(255, 42, 122, 0.06), 0 16px 40px rgba(0, 0, 0, 0.7);
    margin-bottom: var(--sp-8, 2rem);
}
.sarrast-spotlight-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.24);
    opacity: 0.85;
    z-index: 0;
    transform: scale(1.1);
}
.sarrast-spotlight-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
}
.sarrast-spotlight-thumb-wrap {
    position: relative;
    width: 200px;
    aspect-ratio: 2 / 2.9;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 77, 141, 0.35);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), inset 0 0 18px rgba(255, 42, 122, 0.08), 0 12px 30px rgba(0, 0, 0, 0.8);
}
.sarrast-spotlight-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sarrast-spotlight-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sarrast-spotlight-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(255, 42, 122, 0.3) 0%, rgba(255, 117, 169, 0.15) 100%);
    border: 1px solid rgba(255, 42, 122, 0.5);
    color: #FF75A9;
    align-self: flex-start;
}
.sarrast-spotlight-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: #FFF;
    margin: 0;
    line-height: 1.35;
}
.sarrast-spotlight-synopsis {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #CBD5E1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.sarrast-spotlight-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.sarrast-spotlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.92rem;
    color: #FFF;
    background: linear-gradient(135deg, #FF2A7A 0%, #D91B5C 100%);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2), 0 4px 14px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: all 0.25s ease;
    align-self: flex-start;
}
.sarrast-spotlight-btn:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.65);
}
@media (max-width: 768px) {
    .sarrast-spotlight-inner {
        flex-direction: column;
        padding: 20px;
        gap: 18px;
        text-align: center;
    }
    .sarrast-spotlight-thumb-wrap {
        width: 140px;
        margin: 0 auto;
    }
    .sarrast-spotlight-kicker, .sarrast-spotlight-btn {
        align-self: center;
    }
    .sarrast-spotlight-meta {
        justify-content: center;
    }
}

/* Sarrast Upcoming Releases Widget */
.sarrast-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.sarrast-upcoming-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: rgba(18, 11, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.sarrast-upcoming-card:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 165, 250, 0.45);
    background: rgba(24, 15, 33, 0.85);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(96, 165, 250, 0.2);
}
.sarrast-upcoming-thumb {
    width: 64px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.sarrast-upcoming-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sarrast-upcoming-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #FFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.sarrast-upcoming-date {
    font-size: 0.78rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}
.sarrast-countdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93C5FD;
    align-self: flex-start;
    font-family: var(--font-num, inherit);
}



