﻿
/* ======================================================
    ROOT VARIABLES (Easy Theme Control)
    ====================================================== */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-header: rgba(17,17,17,0.95);
    --neon-pink: #d100d1;
    --neon-gold: #ffd700;
    --text-light: #f9fafb;
    --text-muted: #b8b8b8;
    --danger: #ff3b3b;
    --radius: 10px;
    --blur: blur(10px);
    --transition: all 0.35s ease;
}

/* ======================================================
    GLOBAL RESET
    ====================================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, #111, #050505);
    color: var(--text-light);
}

/* ======================================================
    TOP BAR
    ====================================================== */
#custom-top-bar {
    position: fixed;
    inset: 0 0 auto 0;
    height: 46px;
    background: linear-gradient(90deg, #0a0a0a, #111);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    font-size: 0.85rem;
    z-index: 1200;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

    #custom-top-bar span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    #custom-top-bar a {
        color: var(--text-light);
        text-decoration: none;
        transition: var(--transition);
    }

    #custom-top-bar i {
        color: var(--neon-pink);
    }

    #custom-top-bar a:hover {
        color: var(--neon-gold);
        text-shadow: 0 0 8px var(--neon-gold);
    }

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 18px;
}

/* ======================================================
    HEADER
    ====================================================== */
#custom-header {
    position: fixed;
    top: 46px;
    left: 0;
    right: 0;
    height: 92px;
    background: var(--bg-header);
    backdrop-filter: var(--blur);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px;
    z-index: 1100;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ---------- BRAND ---------- */
.header-left .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-left img {
    transition: transform 0.4s ease;
}

.header-left .brand:hover img {
    transform: rotate(-5deg) scale(1.05);
}

.brand-name {
    font-size: 2.1rem;
    font-weight: 900;
    color: #BF40BF;
    text-shadow: 0 0 4px var(--neon-pink), 0 0 14px rgba(209,0,209,.8);
    transition: var(--transition);
}

.brand:hover .brand-name {
    color: #9F2B68;
    text-shadow: 0 0 10px var(--neon-gold), 0 0 25px var(--neon-gold);
}

/* ======================================================
    NAVIGATION
    ====================================================== */
.header-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

#main-nav ul {
    list-style: none;
    display: flex;
    gap: 26px;
    margin: 0;
    padding: 0;
}

    #main-nav ul li {
        position: relative;
    }

        #main-nav ul li a {
            text-decoration: none;
            color: var(--text-light);
            font-weight: 600;
            font-size: 1rem;
            position: relative;
            padding: 4px 0;
            transition: var(--transition);
        }

            /* Underline animation */
            #main-nav ul li a::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: -6px;
                width: 0;
                height: 2px;
                background: linear-gradient(90deg, var(--neon-pink), var(--neon-gold));
                transition: width 0.35s ease;
            }

            #main-nav ul li a:hover::after {
                width: 100%;
            }

            #main-nav ul li a:hover {
                color: var(--neon-gold);
            }

/* HOT Badge */
.hot {
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 6px;
    margin-left: 5px;
    box-shadow: 0 0 10px rgba(255,59,59,.8);
}

/* ======================================================
    DROPDOWN
    ====================================================== */
.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 0;
    background: rgba(15,15,15,0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    box-shadow: 0 15px 40px rgba(0,0,0,.6);
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 10px 22px;
}

    .dropdown-menu li a {
        display: block;
        font-size: 0.95rem;
    }

        .dropdown-menu li a:hover {
            padding-left: 6px;
            color: var(--neon-gold);
        }

/* ======================================================
    CART
    ====================================================== */
.header-cart {
    position: relative;
    font-size: 1.6rem;
}

    .header-cart a {
        color: var(--text-light);
        transition: var(--transition);
    }

        .header-cart a:hover {
            color: var(--neon-gold);
            transform: scale(1.1);
        }

#cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: linear-gradient(45deg, #ff0040, #ff6a00);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 7px;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255,0,64,.9);
}

/* ======================================================
   HAMBURGER – DARK THEME (FIXED & ENHANCED)
====================================================== */
#hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 1300;
}

    /* Hamburger bars */
    #hamburger div {
        height: 3px;
        width: 100%;
        background: linear-gradient( 90deg, #ffffff, #e6e6e6 );
        border-radius: 4px;
        transition: transform 0.35s ease, opacity 0.3s ease, background 0.35s ease, box-shadow 0.35s ease;
        box-shadow: 0 0 6px rgba(255,255,255,0.35), 0 0 12px rgba(255,255,255,0.15);
    }

    /* Hover glow */
    #hamburger:hover div {
        background: linear-gradient( 90deg, var(--neon-pink), var(--neon-gold) );
        box-shadow: 0 0 8px var(--neon-pink), 0 0 18px var(--neon-gold);
    }

    /* ======================================================
   ACTIVE STATE (CLOSE ICON)
====================================================== */
    #hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: linear-gradient(90deg, var(--neon-pink), var(--neon-gold));
    }

    #hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    #hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: linear-gradient(90deg, var(--neon-pink), var(--neon-gold));
    }

#main-nav .user-name {
    color: #d946ef;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}

#main-nav .logout {
    color: #ff4d4d;
}

    #main-nav .logout:hover {
        text-shadow: 0 0 10px rgba(255,77,77,.6);
    }

/* ======================================================
   MOBILE VISIBILITY
====================================================== */
@media (max-width: 992px) {
    #hamburger {
        display: flex;
    }
}

/* ======================================================
    RESPONSIVE
    ====================================================== */
@media (max-width: 992px) {
    #main-nav {
        position: absolute;
        top: 92px;
        left: 0;
        right: 0;
        background: rgba(10,10,10,.98);
        backdrop-filter: blur(12px);
        padding: 30px;
        display: none;
        animation: slideDown .4s ease;
    }

        #main-nav.show {
            display: block;
        }

        #main-nav ul {
            flex-direction: column;
            gap: 18px;
        }

            #main-nav ul li a {
                font-size: 1.2rem;
            }

    #hamburger {
        display: flex;
    }
}

/* ======================================================
    ANIMATIONS
    ====================================================== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================================
    PAGE OFFSET
    ====================================================== */
.content-wrapper {
    padding-top: 138px;
}


/* ======================================================
   FOOTER – PREMIUM DARK NEON
====================================================== */

#custom-footer {
    background: radial-gradient(circle at top, #141414, #070707 70%);
    color: var(--text-light);
    padding: 80px 28px 36px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

    /* Soft neon top glow */
    #custom-footer::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 2px;
        background: linear-gradient( 90deg, transparent, var(--neon-pink), var(--neon-gold), transparent );
        box-shadow: 0 0 18px rgba(209,0,209,0.6);
    }

/* ======================================================
   FOOTER GRID
====================================================== */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: flex-start;
}

/* ======================================================
   BRAND
====================================================== */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .footer-brand img {
        transition: transform 0.6s ease, filter 0.6s ease;
        filter: drop-shadow(0 0 18px rgba(209,0,209,0.4));
    }

    .footer-brand:hover img {
        transform: scale(1.05) rotate(-2deg);
        filter: drop-shadow(0 0 26px rgba(255,215,0,0.9));
    }

.brand-name-footer {
    font-size: 1.9rem;
    font-weight: 900;
    margin: 25px;
    color: #9F2B68;
    letter-spacing: 1px;
    text-shadow: 0 0 6px var(--neon-pink), 0 0 18px rgba(209,0,209,0.7);
    transition: var(--transition);
}

.footer-brand:hover .brand-name-footer {
    color: var(--neon-gold);
    text-shadow: 0 0 10px var(--neon-gold), 0 0 28px var(--neon-gold);
}

/* ======================================================
   SECTION HEADINGS
====================================================== */
#custom-footer h4 {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--neon-pink);
    position: relative;
    text-transform: uppercase;
}

    #custom-footer h4::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 32px;
        height: 2px;
        background: linear-gradient(90deg, var(--neon-pink), var(--neon-gold));
        border-radius: 2px;
    }

/* ======================================================
   QUICK LINKS
====================================================== */
.footer-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding-left: 16px;
    transition: var(--transition);
}

    /* Arrow animation */
    .footer-links a::before {
        content: "›";
        position: absolute;
        left: 0;
        color: var(--neon-pink);
        opacity: 0;
        transform: translateX(-6px);
        transition: var(--transition);
    }

    .footer-links a:hover {
        color: var(--neon-gold);
        padding-left: 20px;
    }

        .footer-links a:hover::before {
            opacity: 1;
            transform: translateX(0);
        }

/* ======================================================
   CONTACT
====================================================== */
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-contact i {
    color: var(--neon-pink);
    margin-top: 4px;
    transition: var(--transition);
}

.footer-contact p:hover i {
    color: var(--neon-gold);
    text-shadow: 0 0 10px var(--neon-gold);
}

/* ======================================================
   SOCIAL ICONS
====================================================== */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(6px);
    color: var(--text-light);
    font-size: 1.3rem;
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

    .footer-social a:hover {
        transform: translateY(-6px) scale(1.12);
        color: var(--neon-gold);
        background: rgba(255,215,0,0.1);
        box-shadow: 0 0 14px var(--neon-gold), 0 0 28px rgba(255,215,0,0.6);
    }

/* ======================================================
   FOOTER BOTTOM
====================================================== */
.footer-bottom {
    margin-top: 56px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

    .footer-bottom a {
        color: var(--neon-pink);
        text-decoration: none;
        transition: var(--transition);
    }

        .footer-bottom a:hover {
            color: var(--neon-gold);
            text-shadow: 0 0 6px var(--neon-gold);
        }

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 992px) {
    .footer-top {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    #custom-footer {
        padding: 60px 20px 30px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    #custom-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ======================================================
   MICRO INTERACTION
====================================================== */
#custom-footer * {
    scroll-behavior: smooth;
}

