/* =========================================================
   HOME HERO
========================================================= */
.home-hero{

    position:relative;

    display:flex;
    align-items:center;

    min-height:72vh;

    overflow:hidden;

    padding:60px 0;

    background:

        radial-gradient(
            circle at top,
            rgba(180,80,255,.18),
            transparent 28%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(120,0,255,.18),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #05050d 0%,
            #12051f 18%,
            #22073b 42%,
            #3a0d69 68%,
            #6417b8 100%
        );

}


/* =========================================================
   SOFT OVERLAY
========================================================= */

.home-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(
            90deg,
            rgba(0,0,0,.45) 0%,
            rgba(0,0,0,.15) 40%,
            rgba(0,0,0,.05) 100%
        );

    pointer-events:none;

}


/* =========================================================
   HERO LAYOUT
========================================================= */

.home-hero-inner{

    position:relative;
    z-index:2;

    display:grid;

    grid-template-columns:
        1fr
        460px;

    align-items:center;

    gap:70px;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.home-hero-content{

    text-align:center;

    padding-left: 50px;

    padding-right: 50px;

    animation:
        heroFadeLeft .9s ease forwards;

}


/* =========================================================
   HERO TITLE
========================================================= */

.home-hero-content h1{

    max-width:760px;

    margin:
        0 auto 26px;

    color:#fff;

    font-size:
        clamp(3rem,5vw,4.8rem) !important;

    line-height:1.05;

    font-weight:900;

    letter-spacing:-0.05em;

    text-shadow:
        0 0 24px rgba(255,255,255,.10),
        0 10px 30px rgba(0,0,0,.35);

}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.home-hero-content p{

    max-width:620px;

    margin:
        0 auto 42px;

    color:
        rgba(255,255,255,.90);

    font-size:1.12rem !important;

    line-height:1.8;

}


/* =========================================================
   HERO BUTTON
========================================================= */

.hero-primary-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:58px;

    padding:0 38px;

    border-radius:999px;

    background:#fff;

    color:#8b14ff;

    font-size:1rem;
    font-weight:800;

    text-decoration:none;

    box-shadow:
        0 18px 40px rgba(0,0,0,.20);

    transition:
        all .28s ease;

}

.hero-primary-btn:hover{

    transform:
        translateY(-4px);

    box-shadow:
        0 28px 60px rgba(0,0,0,.28);

}


/* =========================================================
   HERO VISUAL
========================================================= */

.home-hero-visual{

    position:relative;

    padding-right: 50px;

    animation:
        heroFadeRight 1s ease forwards;

}


/* =========================================================
   HERO IMAGE
========================================================= */

.home-hero-visual img{

    width:100%;

    max-width:460px;

    margin-left:auto;

    display:block;

    border-radius:34px;

    box-shadow:
        0 40px 90px rgba(0,0,0,.45);

}


/* =========================================================
   SOFT IMAGE GLOW
========================================================= */

.home-hero-visual::after{

    content:"";

    position:absolute;

    width:220px;
    height:220px;

    right:-60px;
    bottom:-40px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(200,100,255,.25),
            transparent 70%
        );

    filter:blur(24px);

    pointer-events:none;

}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes heroFadeLeft{

    from{

        opacity:0;

        transform:
            translateX(-40px);

    }

    to{

        opacity:1;

        transform:
            translateX(0);

    }

}


@keyframes heroFadeRight{

    from{

        opacity:0;

        transform:
            translateX(40px);

    }

    to{

        opacity:1;

        transform:
            translateX(0);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:991px){

    .home-hero{

        min-height:auto;

        padding:70px 0 60px;

    }

    .home-hero-inner{

        grid-template-columns:1fr;

        gap:40px;

    }

    .home-hero-content{

        order:2;

        padding-left:30px;
        padding-right:30px;

    }

    .home-hero-visual{

        order:1;

        padding-right:0;

    }

    .home-hero-visual img{

        margin:auto;

        max-width:380px;

        border-radius:28px;

    }

    .home-hero-content h1{

        max-width:700px;

        margin:0 auto 22px;

        font-size:
            clamp(2.8rem,7vw,4.2rem) !important;

        line-height:1.02;

    }

    .home-hero-content p{

        max-width:640px;

        margin:0 auto 34px;

        font-size:1.05rem !important;

        line-height:1.75;

    }

    .hero-primary-btn{

        min-height:54px;

        padding:0 34px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

    .home-hero{

        padding:48px 0 42px;

        overflow:hidden;

    }

    .home-hero::before{

        background:

            linear-gradient(
                180deg,
                rgba(0,0,0,.28) 0%,
                rgba(0,0,0,.18) 45%,
                rgba(0,0,0,.35) 100%
            );

    }

    .home-hero-inner{

        gap:26px;

    }

    .home-hero-content{

        padding-left:20px;
        padding-right:20px;

    }

    .home-hero-content h1{

        margin:0 auto 18px;

        font-size:
            clamp(2.2rem,11vw,3.4rem) !important;

        line-height:0.98;

        letter-spacing:-0.06em;

    }

    .home-hero-content p{

        margin:0 auto 28px;

        font-size:.98rem !important;

        line-height:1.7;

        color:rgba(255,255,255,.88);

    }

    .hero-primary-btn{

        width:100%;

        min-height:52px;

        font-size:.95rem;

        border-radius:18px;

    }

    .home-hero-visual{

        padding-right:0;

    }

    .home-hero-visual img{

        max-width:270px;

        border-radius:22px;

        box-shadow:
            0 22px 50px rgba(0,0,0,.38);

    }

    .home-hero-visual::after{

        width:160px;
        height:160px;

        right:-30px;
        bottom:-20px;

        opacity:.7;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:480px){

    .home-hero{

        padding:42px 0 38px;

    }

    .home-hero-content{

        padding-left:16px;
        padding-right:16px;

    }

    .home-hero-content h1{

        font-size:
            clamp(2rem,12vw,2.8rem) !important;

    }

    .home-hero-content p{

        font-size:.94rem !important;

        line-height:1.65;

    }

    .home-hero-visual img{

        max-width:235px;

    }

}

/* =========================================================
   FEATURED COMICS
========================================================= */

.featured-comics{
    position:relative;
    overflow:hidden;
}

.featured-track{
    display:flex;
    gap:32px;
    transition:transform .4s ease;
}

.featured-slide{
    min-width:100%;
}

/* =========================================================
   SECTION TITLE
========================================================= */

.section-title{
    margin-bottom:40px;
}

.section-title h2{
    font-size:42px;
    font-weight:900;
}

/* =========================================================
   FEATURED NAV
========================================================= */

.featured-nav{
    display:flex;
    gap:12px;
    margin-top:24px;
}

.featured-nav button{
    width:48px;
    height:48px;

    border:none;
    border-radius:12px;

    background:#7b3ff2;
    color:#fff;

    cursor:pointer;
    transition:.25s ease;
}

.featured-nav button:hover{
    transform:translateY(-2px);
}

/* =========================================
   LATEST WEEKLY UPDATES
========================================= */

.latest-weekly-section{
    width:min(1400px,92%);
    margin:100px auto;
}


/* HEADER */

.section-heading{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;

    margin-bottom:40px;
}

.section-kicker{
    display:inline-block;

    margin-bottom:10px;

    color:#7c3aed;

    font-size:.95rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.section-heading h2{
    font-size:clamp(2rem,4vw,3.5rem);
    line-height:1.05;
    margin:0;
}

.section-view-all{
    color:#111827;
    text-decoration:none;
    font-weight:700;

    transition:.25s ease;
}

.section-view-all:hover{
    color:#7c3aed;
}


/* GRID */

.latest-weekly-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(240px,1fr));

    gap:24px;
}

/* =========================
   CARD
========================= */

.latest-chapter-card{
    position:relative;
}

.latest-chapter-thumb{
    position:relative;

    height:340px;

    overflow:hidden;
    border-radius:24px;

    background:#111827;

    box-shadow:
        0 10px 28px rgba(0,0,0,.16);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.latest-chapter-card:hover .latest-chapter-thumb{
    transform:translateY(-6px);

    box-shadow:
        0 18px 40px rgba(0,0,0,.24);
}

.latest-chapter-thumb img{
    width:100%;
    height:100%;

    object-fit:cover;

    transition:transform .45s ease;
}

.latest-chapter-card:hover img{
    transform:scale(1.04);
}


/* =========================
   OVERLAY
========================= */

.latest-chapter-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(3,6,18,0.97) 0%,
            rgba(3,6,18,0.92) 24%,
            rgba(3,6,18,0.68) 48%,
            rgba(3,6,18,0.24) 72%,
            rgba(3,6,18,0.04) 100%
        );

    transition:.3s ease;
}

.latest-chapter-card:hover .latest-chapter-overlay{
    background:
        linear-gradient(
            to top,
            rgba(2,4,14,0.99) 0%,
            rgba(2,4,14,0.95) 28%,
            rgba(2,4,14,0.74) 55%,
            rgba(2,4,14,0.30) 76%,
            rgba(2,4,14,0.06) 100%
        );
}


/* =========================
   CONTENT
========================= */

.latest-chapter-content{
    position:absolute;

    left:22px;
    right:22px;
    bottom:22px;

    z-index:2;

    color:#fff;
}

.latest-comic-name{
    display:inline-block;

    margin-bottom:12px;

    color:#d8b4fe;

    font-size:.86rem;
    font-weight:700;

    letter-spacing:.02em;

    text-shadow:
        0 2px 10px rgba(0,0,0,.45);
}


/* TITLE */

.latest-chapter-content h3{
    font-size:1.28rem;
    line-height:1.2;

    margin:0 0 18px;

    font-weight:700;

    color:#f8fafc;

    letter-spacing:-0.015em;

    text-shadow:
        0 3px 12px rgba(0,0,0,.65);

    max-width:92%;
}


/* BUTTON */

.latest-read-button{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:13px 22px;

    border-radius:999px;

    background:
        linear-gradient(
            135deg,
            #7b2ff7,
            #c84dff
        );

    color:#fff;

    font-size:.94rem;
    font-weight:700;

    box-shadow:
        0 10px 28px rgba(124,47,247,.35);

    transition:.25s ease;
}

.latest-chapter-card:hover .latest-read-button{
    transform:translateX(4px);

    box-shadow:
        0 16px 40px rgba(124,47,247,.45);
}

/* MOBILE */

@media(max-width:768px){

    .section-heading{
        flex-direction:column;
        align-items:flex-start;
    }

    .latest-weekly-grid{
        grid-template-columns:1fr;
    }

    .latest-chapter-thumb{
        height:300px;
    }

}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:1024px){

    .latest-comics-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* =========================================================
   COMIC CARD
========================================================= */

.saga-comic-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
    transition:.3s ease;
}

.saga-comic-card:hover{
    transform:translateY(-6px);
}

.comic-thumb img{
    width:100%;
    aspect-ratio:3/4;
    object-fit:cover;
}

.comic-content{
    padding:20px;
}

.comic-title{
    font-size:22px;
    margin-bottom:12px;
}

.comic-title a{
    color:#111;
}

.comic-status{
    display:inline-block;
    margin-bottom:16px;

    padding:6px 14px;
    border-radius:999px;

    background:#f4e8ff;
    color:#7b3ff2;

    font-size:14px;
    font-weight:700;
}

.comic-latest{
    color:#666;
    font-size:15px;
}

.comic-latest a{
    color:#7b3ff2;
    font-weight:600;
}

/* =========================================================
   FEATURED
========================================================= */

.home-featured{
    background:#fff;
}

/* =========================================================
   LATEST
========================================================= */

.home-latest{
    background:#f7f7f7;
}

@media(max-width:768px){

    .home-hero{
        padding:60px 0;
    }

    .home-hero-inner{
        grid-template-columns:1fr;
        gap:40px;
    }

    .home-hero-content h1{
        font-size:42px;
    }

    .section-title h2{
        font-size:32px;
    }

    .latest-comics-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

}

/* =========================
   MEMBERSHIP SECTION
========================= */

.home-membership{
    position:relative;

    padding:120px 0;

    background:
        radial-gradient(circle at top,
        rgba(139,92,246,.18),
        transparent 45%),
        #050816;

    overflow:hidden;
}


/* BOX */

.membership-box{
    position:relative;

    max-width:960px;

    margin:0 auto;
    padding:70px 60px;

    border-radius:36px;

    background:
        linear-gradient(
            145deg,
            rgba(16,18,35,.96),
            rgba(8,10,20,.98)
        );

    border:1px solid rgba(255,255,255,.06);

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);

    text-align:center;

    overflow:hidden;
}


/* GLOW */

.membership-box::before{
    content:"";

    position:absolute;

    width:420px;
    height:420px;

    top:-180px;
    right:-120px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(139,92,246,.25),
            transparent 70%
        );

    pointer-events:none;
}


/* BADGE */

.membership-badge{
    display:inline-flex;
    align-items:center;

    padding:10px 18px;

    border-radius:999px;

    background:
        rgba(139,92,246,.14);

    border:
        1px solid rgba(196,181,253,.22);

    color:#c4b5fd;

    font-size:.78rem;
    font-weight:700;
    letter-spacing:.12em;

    margin-bottom:24px;
}


/* TITLE */

.membership-box h2{
    font-size:56px;
    line-height:1.05;
    font-weight:900;

    color:#fff;

    margin-bottom:22px;
}


/* DESCRIPTION */

.membership-box p{
    max-width:700px;

    margin:0 auto 42px;

    font-size:18px;
    line-height:1.8;

    color:
        rgba(255,255,255,.72);
}


/* FEATURES */

.membership-features{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:16px;

    margin-bottom:48px;
}

.membership-feature{
    padding:14px 20px;

    border-radius:999px;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid rgba(255,255,255,.06);

    color:#f3f4f6;

    font-size:.95rem;
    font-weight:600;

    backdrop-filter:blur(12px);
}


/* BUTTONS */

.membership-actions{
    display:flex;
    justify-content:center;
    gap:18px;

    flex-wrap:wrap;
}

/* =========================================
   PRIMARY BUTTON
========================================= */

.membership-primary-btn{

    position:relative;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 34px;

    border-radius:999px;

    background:
        linear-gradient(
            135deg,
            #7b2ff7,
            #b245ff
        );

    color:#fff;

    font-weight:700;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
        0 12px 30px rgba(123,47,247,.32);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        filter .3s ease,
        border-color .3s ease;
}

/* cinematic top light */
.membership-primary-btn::before{

    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.22),
            transparent 45%
        );

    opacity:.85;

    pointer-events:none;
}

/* ambient glow */
.membership-primary-btn::after{

    content:"";

    position:absolute;
    inset:-40%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.22),
            transparent 70%
        );

    opacity:0;

    transition:opacity .35s ease;

    pointer-events:none;
}

.membership-primary-btn:hover{

    transform:
        translateY(-4px)
        scale(1.015);

    color:#fff;

    border-color:
        rgba(255,255,255,.16);

    filter:brightness(1.05);

    box-shadow:
        0 20px 42px rgba(123,47,247,.42),
        0 0 26px rgba(178,69,255,.16);
}

.membership-primary-btn:hover::after{
    opacity:1;
}

/* =========================================
   SECONDARY BUTTON
========================================= */

.membership-secondary-btn{

    position:relative;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 34px;

    border-radius:999px;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(255,255,255,.08);

    color:#fff;

    font-weight:700;

    overflow:hidden;

    backdrop-filter:blur(10px);

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

/* subtle hover light */
.membership-secondary-btn::before{

    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(178,69,255,.12),
            transparent
        );

    opacity:0;

    transition:opacity .3s ease;

    pointer-events:none;
}

.membership-secondary-btn:hover{

    transform:
        translateY(-3px);

    background:
        rgba(255,255,255,.08);

    border-color:
        rgba(255,255,255,.14);

    box-shadow:
        0 10px 28px rgba(0,0,0,.22);
}

.membership-secondary-btn:hover::before{
    opacity:1;
}

/* MOBILE */

@media(max-width:768px){

    .home-membership{
        padding:90px 0;
    }

    .membership-box{
        padding:48px 28px;
        border-radius:28px;
    }

    .membership-box h2{
        font-size:38px;
    }

    .membership-box p{
        font-size:16px;
    }

    .membership-features{
        gap:12px;
    }

    .membership-feature{
        font-size:.85rem;
    }
}