/* =====================================================
   SUGARLICIOUS AFTER DARK
   MAIN STYLESHEET
===================================================== */


/* =====================================================
   RESET
===================================================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}



html{

    scroll-behavior:smooth;

}



/* =====================================================
   VARIABLES
===================================================== */

:root{

    --bg:#090909;

    --surface:#141414;

    --card:#1b1b1b;

    --card-hover:#222222;

    --text:#ffffff;

    --muted:#a8a8a8;

    --primary:#ff1744;

    --secondary:#8e24aa;

    --gold:#ffd166;

    --success:#42d392;

    --danger:#ff3b3b;

    --border:rgba(255,255,255,.08);

}



/* =====================================================
   BODY
===================================================== */

body{

    font-family:Arial,Helvetica,sans-serif;

    color:var(--text);

    background:

    radial-gradient(

        circle at top,

        #42003d,

        #090909 60%

    );

    min-height:100vh;

    overflow-x:hidden;

}



/* =====================================================
   LINKS
===================================================== */

a{

    text-decoration:none;

    color:inherit;

}



/* =====================================================
   BUTTONS
===================================================== */

button{

    font-family:inherit;

    cursor:pointer;

    border:none;

}



/* =====================================================
   NAVBAR
===================================================== */

.adult-nav{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 45px;

    background:rgba(0,0,0,.88);

    backdrop-filter:blur(12px);

    border-bottom:1px solid rgba(255,255,255,.05);

}



.adult-nav h1{

    color:white;

    font-size:28px;

    font-weight:700;

}



.adult-links{

    display:flex;

    gap:14px;

    align-items:center;

    flex-wrap:wrap;

}



.adult-links a{

    padding:10px 18px;

    border-radius:999px;

    transition:.25s;

    color:white;

    font-weight:600;

}



.adult-links a:hover{

    background:rgba(255,255,255,.12);

}



.adult-links .active{

    background:linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

}



/* =====================================================
   HERO
===================================================== */

.adult-hero{

    min-height:85vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:140px 20px 80px;

    background:

    linear-gradient(

        145deg,

        #090909,

        #320028,

        #120012

    );

}



.hero-content{

    max-width:850px;

}



.adult-hero h2{

    font-size:60px;

    margin-bottom:20px;

}



.adult-hero p{

    font-size:20px;

    color:var(--muted);

    line-height:1.7;

    margin-bottom:35px;

}



.adult-btn{

    display:inline-block;

    padding:15px 34px;

    border-radius:999px;

    background:

    linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

    color:white;

    font-weight:bold;

    transition:.25s;

}



.adult-btn:hover{

    transform:translateY(-4px);

    box-shadow:

    0 12px 35px

    rgba(255,23,68,.35);

}



/* =====================================================
   CONTAINER
===================================================== */

.adult-container{

    width:min(1200px,92%);

    margin:auto;

    padding:70px 0;

}

/* =====================================================
   PRODUCTS
===================================================== */

.adult-grid{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    align-items:stretch;

}



/* =====================================================
   PRODUCT CARDS
   MATCHES MAIN STORE STYLE
===================================================== */


.product{

    background:

    linear-gradient(
        180deg,
        #1b1b1b,
        #131313
    );

    color:white;

    padding:20px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:

    0 10px 25px rgba(0,0,0,.45);

    transition:.25s;

    text-align:center;

    display:flex;

    flex-direction:column;

    align-items:center;

}



.product:hover{

    transform:

    translateY(-8px);

    box-shadow:

    0 20px 40px rgba(255,23,68,.2);

}



/* ===============================
   PRODUCT IMAGE
================================ */


.product-image{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:15px;

    margin-bottom:15px;

}



.no-image{

    width:100%;

    height:220px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#111;

    border-radius:15px;

    font-size:50px;

    margin-bottom:15px;

}



/* ===============================
   PRODUCT TEXT
================================ */


.product h3{

    color:#ff4fd8;

    font-size:20px;

    margin-bottom:10px;

}



.product-description{

    color:#ccc;

    font-size:15px;

    line-height:1.5;

}



.product-price{

    color:white;

    font-size:22px;

    font-weight:bold;

    margin:12px 0;

}



.stock{

    color:#aaa;

    margin-bottom:12px;

}



.low-stock{

    color:#ffd166;

    font-weight:bold;

}



.out-stock{

    color:#ff4444;

    font-weight:bold;

}



/* ===============================
   BUTTON
================================ */


.product .small-btn{

    width:100%;

    margin-top:10px;

}



/* ===============================
   QUANTITY CONTROLS
================================ */


.quantity-controls{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:15px;

}



.qty-btn{

    width:36px;

    height:36px;

    border-radius:50%;

    background:

    linear-gradient(
        135deg,
        #ff1744,
        #8e24aa
    );

    color:white;

    font-size:18px;

    font-weight:bold;

}



.quantity-controls span{

    font-size:18px;

    min-width:30px;

}


/* =====================================================
   BUTTONS
===================================================== */

.small-btn{

    padding:12px 24px;

    border-radius:999px;

    background:

    linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

    font-weight:bold;

    transition:.25s;

}



.small-btn:hover{

    transform:translateY(-3px);

}



.small-btn:disabled{

    background:#444;

    cursor:not-allowed;

    transform:none;

}

/* =====================================================
   ADULT HOMEPAGE SECTIONS
===================================================== */


/* ===============================
   CATEGORY SECTION
================================ */

.adult-categories,
.featured-section{

    width:min(1200px,92%);

    margin:80px auto;

}



.adult-categories h2,
.featured-section h2{

    text-align:center;

    font-size:38px;

    margin-bottom:35px;

}




/* ===============================
   CATEGORY GRID
================================ */


.category-grid{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}




/* ===============================
   CATEGORY CARD
================================ */


.category-card{

    position:relative;

    overflow:hidden;

    padding:40px 25px;

    min-height:230px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

    background:

    linear-gradient(

        145deg,

        #181818,

        #090909

    );


    border-radius:25px;

    border:

    1px solid rgba(255,255,255,.08);


    box-shadow:

    0 15px 40px rgba(0,0,0,.4);


    transition:.35s;

}





.category-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        135deg,

        rgba(255,23,68,.25),

        rgba(142,36,170,.25)

    );


    opacity:0;

    transition:.35s;

}




.category-card:hover{

    transform:

    translateY(-10px);


    border-color:#ff1744;


}





.category-card:hover::before{

    opacity:1;

}



.category-card > *{

    position:relative;

    z-index:2;

}




.category-card h3{

    color:#ff4fd8;

    font-size:25px;

    margin-bottom:12px;

}




.category-card p{

    color:#aaa;

    line-height:1.6;

}




/* ===============================
   FEATURED SECTION
================================ */


.featured-section{

    padding-bottom:50px;

}



.featured-section .product{

    min-height:450px;

}




/* ===============================
   ADULT BANNER
================================ */


.adult-banner{

    width:100%;

    padding:90px 20px;

    margin-top:80px;

    text-align:center;


    background:

    linear-gradient(

        135deg,

        #160016,

        #550033

    );


    border-top:

    1px solid rgba(255,255,255,.08);


    border-bottom:

    1px solid rgba(255,255,255,.08);

}



.adult-banner h2{

    font-size:45px;

    margin-bottom:15px;

}



.adult-banner p{

    color:#ccc;

    font-size:18px;

    max-width:700px;

    margin:auto;

    line-height:1.7;

}




/* ===============================
   DIVIDERS
================================ */


.section-divider{

    width:90px;

    height:4px;

    margin:20px auto 40px;

    border-radius:20px;

    background:

    linear-gradient(

        135deg,

        #ff1744,

        #8e24aa

    );

}

/* =====================================================
   AGE VERIFICATION PAGE
===================================================== */


.verify-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:25px;


    background:

    radial-gradient(

        circle at top,

        #5a004f,

        #080808 65%

    );

}




/* ===============================
   VERIFY CARD
================================ */


.verify-card{

    width:min(500px,95%);

    padding:50px 40px;

    text-align:center;


    background:

    rgba(255,255,255,.08);


    backdrop-filter:

    blur(20px);



    border:

    1px solid rgba(255,255,255,.15);



    border-radius:30px;



    box-shadow:

    0 25px 70px rgba(0,0,0,.7);



    animation:

    verifyEnter .7s ease;

}





.moon-icon{

    font-size:70px;

    margin-bottom:15px;

}




.verify-card h1{

    font-size:45px;

    margin-bottom:10px;

}



.verify-card h1 span{

    display:block;

    color:#ff1744;

}




.verify-card h2{

    font-size:28px;

    margin:20px 0;

}





.verify-card p{

    color:#bbb;

    line-height:1.7;

}





/* ===============================
   DIVIDER
================================ */


.divider{

    width:80px;

    height:3px;

    margin:25px auto;


    background:

    linear-gradient(

        135deg,

        #ff1744,

        #8e24aa

    );


    border-radius:20px;

}





/* ===============================
   AGE WARNING
================================ */


.age-warning{

    display:inline-block;

    margin:25px auto;

    padding:12px 25px;


    border-radius:50px;


    background:

    rgba(255,23,68,.15);



    border:

    1px solid #ff1744;


    font-weight:bold;

}





/* ===============================
   BUTTON GROUP
================================ */


.button-group{

    display:flex;

    flex-direction:column;

    gap:15px;

    margin-top:30px;

}





.enter-btn,
.leave-btn{

    padding:16px;

    border-radius:50px;


    font-size:16px;

    font-weight:bold;

    transition:.3s;

}





.enter-btn{

    color:white;


    background:

    linear-gradient(

        135deg,

        #ff1744,

        #8e24aa

    );

}




.leave-btn{

    color:white;

    background:#222;

}




.enter-btn:hover,
.leave-btn:hover{

    transform:

    translateY(-4px);

}





.small-text{

    margin-top:25px;

    font-size:12px;

    color:#888;

}




/* ===============================
   ANIMATION
================================ */


@keyframes verifyEnter{

    from{

        opacity:0;

        transform:translateY(30px);

    }


    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* =====================================================
   FOOTER
===================================================== */


.adult-footer{

    background:#050505;

    padding:45px 20px;

    margin-top:80px;

    text-align:center;

    border-top:

    1px solid rgba(255,255,255,.08);

}




.adult-footer h3{

    color:#ff4fd8;

    font-size:24px;

    margin-bottom:10px;

}




.adult-footer p{

    color:#aaa;

}





.footer-links{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

    margin:25px 0;

}





.footer-links a{

    color:white;

    transition:.25s;

}



.footer-links a:hover{

    color:#ff1744;

}





/* =====================================================
   TOAST NOTIFICATION
===================================================== */


#toast{

    position:fixed;

    bottom:35px;

    left:50%;


    transform:

    translateX(-50%)

    translateY(40px);



    background:

    linear-gradient(

        135deg,

        #ff1744,

        #8e24aa

    );



    color:white;



    padding:16px 30px;



    border-radius:50px;



    font-weight:bold;



    opacity:0;



    pointer-events:none;



    transition:.35s;



    z-index:9999;



    box-shadow:

    0 10px 35px rgba(0,0,0,.5);

}




#toast.show{

    opacity:1;


    transform:

    translateX(-50%)

    translateY(0);

}





/* =====================================================
   GLOBAL ANIMATIONS
===================================================== */


@keyframes fadeIn{


    from{

        opacity:0;

        transform:translateY(20px);

    }



    to{

        opacity:1;

        transform:translateY(0);

    }

}




@keyframes float{


    0%{

        transform:translateY(0);

    }



    50%{

        transform:translateY(-8px);

    }



    100%{

        transform:translateY(0);

    }

}





/* =====================================================
   MOBILE RESPONSIVE
===================================================== */


@media(max-width:1000px){


    .adult-nav{

        flex-direction:column;

        gap:20px;

        padding:20px;

    }



    .adult-links{

        justify-content:center;

    }



    .adult-hero h2{

        font-size:42px;

    }



}




@media(max-width:600px){


    .adult-nav h1{

        font-size:22px;

    }



    .adult-links a{

        font-size:14px;

        padding:8px 12px;

    }



    .adult-hero{

        padding-top:180px;

    }



    .adult-hero h2{

        font-size:32px;

    }



    .adult-hero p{

        font-size:16px;

    }



    .adult-container{

        width:94%;

    }



    .product{

        min-height:520px;

    }



    .verify-card{

        padding:35px 25px;

    }



    .verify-card h1{

        font-size:35px;

    }



}



/* =====================================================
   FINAL TOUCHES
===================================================== */


::selection{

    background:#ff1744;

    color:white;

}



img{

    max-width:100%;

}



.hidden{

    display:none;

}