/* --- Reset & Variables --- */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

:root {
    --pink: #ff2d8d;
    --black: #0a0a0a;
    --dark-grey: #1a1a1a;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #050505; 
    color: #ffffff; 
    overflow-x: hidden; 
}

/* --- Background Galaxie Rosée --- */
.bg-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('galaxie.avif') no-repeat center center fixed; 
    background-size: cover;
    opacity: 0.25; 
    pointer-events: none;
    z-index: -1;
}

/* --- Gooey Navbar (Fusion) --- */
.navbar-gooey {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    filter: url('#goo'); /* Applique l'effet de fusion SVG */
}

.nav-container {
    background: var(--pink);
    padding: 10px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 45, 141, 0.3);
}

.nav-blob {
    position: absolute;
    height: 38px;
    background: white;
    border-radius: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.logo-area {
    margin-right: 20px;
    z-index: 2;
}

.logo-area .site-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1); /* Logo blanc sur fond rose */
    transition: var(--transition);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 10px 18px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: block;
}

.nav-links a:hover {
    color: var(--pink);
}

/* --- Panier Flottant (Centré en dessous de la nav) --- */
.cart-floating {
    position: fixed;
    top: 85px; /* Positionné juste en dessous de la navbar (20px top + ~60px hauteur nav) */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1900;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--pink);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--pink);
    font-weight: 900;
    font-size: 0.75rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
}

.cart-floating:hover {
    background: var(--pink);
    color: white;
    transform: translateX(-50%) scale(1.05);
}

/* --- Hero --- */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1510129466769-7ee244a77fe2?q=80&w=1500') center/cover;
}

.hero-content h1 { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-content span { color: var(--pink); text-shadow: 0 0 30px rgba(255, 45, 141, 0.5); }
.hero-content p { font-size: 1.2rem; letter-spacing: 2px; color: #ccc; margin-bottom: 30px; }

.btn-primary { 
    display: inline-block; 
    padding: 18px 45px; 
    background: var(--pink); 
    color: #fff; 
    text-decoration: none; 
    font-weight: 900; 
    transition: var(--transition);
    border-radius: 4px;
    text-transform: uppercase;
}
.btn-primary:hover { transform: scale(1.05); background: #fff; color: var(--pink); }

/* --- Grille & Cartes --- */
.container { padding: 120px 5% 80px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.5rem; font-weight: 900; text-transform: uppercase; }
.title-underline { width: 60px; height: 4px; background: var(--pink); margin: 15px auto; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card { 
    background: var(--dark-grey); 
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover { 
    border-color: var(--pink);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 45, 141, 0.2);
}

.product-image { position: relative; height: 380px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.badge-custom { 
    position: absolute; top: 15px; right: 15px;
    background: var(--pink); color: #fff; padding: 5px 15px;
    font-weight: 800; font-size: 0.7rem; text-transform: uppercase; border-radius: 20px;
}

.product-info { padding: 25px; text-align: center; }
.price { color: var(--pink); font-size: 1.4rem; font-weight: 900; margin-bottom: 20px; }

.btn-buy {
    width: 100%; padding: 15px; background: #fff; color: #000;
    border: none; font-weight: 900; cursor: pointer; text-transform: uppercase;
    transition: 0.3s; border-radius: 6px;
}
.btn-buy:hover { background: var(--pink); color: #fff; }

/* --- Case Boutique --- */
.trending-box {
    display: block; height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('Nine_Enhanced_Power_29.webp') center/cover;
    text-decoration: none; position: relative; border-radius: 10px; overflow: hidden;
}
.trending-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    text-align: center; background: rgba(0,0,0,0.4); transition: 0.4s;
}
.trending-text h3 { font-size: 2rem; font-weight: 900; color: #fff; }
.trending-link { display: block; margin-top: 15px; color: var(--pink); font-weight: 800; }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Mobile --- */
@media (max-width: 768px) {
    .navbar-gooey { 
        width: 98%; 
        top: 10px; 
    }
    
    .nav-container {
        padding: 5px 10px;
    }

    .logo-area {
        margin-right: 10px;
    }

    .logo-area .site-logo {
        height: 30px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a { 
        padding: 8px 6px; 
        font-size: 0.65rem; 
        letter-spacing: -0.2px;
    }

    .nav-blob {
        display: none !important;
    }

    /* Ajustement du panier en dessous de la nav sur mobile */
    .cart-floating { 
        top: 65px; 
        font-size: 0.7rem;
        padding: 6px 15px;
    }

    .hero-content h1 { font-size: 2.2rem; }
}