body {
    background-color: #110602;
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    min-h-screen;
}

.main-content {
    flex-grow: 1;
}

::selection {
    background: rgba(255, 94, 0, 0.3);
    color: #ffb700;
}

/* --- CURSEUR & PARTICULES --- */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: #ffb700;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    box-shadow: 0 0 15px 3px #ffb700;
}

.sparkle-trail {
    position: fixed;
    width: 3px;
    height: 4px;
    background: #ff5e00;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    box-shadow: 0 0 8px #ff5e00, 0 0 2px #ffb700;
}

@keyframes trailFade {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    100% {
        transform: scale(0.1) translateY(20px);
        opacity: 0;
    }
}

#particles-container {
    position: fixed;
    inset: 0;
    z-index: 99500;
    pointer-events: none;
}

.rising-spice {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffb700;
    border-radius: 50%;
    box-shadow: 0 0 12px 3px #ff5e00;
    opacity: 0;
    animation: riseUp linear infinite;
}

@keyframes riseUp {
    0% {
        transform: translateY(110vh) scale(0.5);
        opacity: 0;
    }

    15% {
        opacity: 0.9;
    }

    85% {
        opacity: 0.9;
    }

    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

/* --- ARRIÈRE-PLAN --- */
.ornament-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 94, 0, 0.05) 0%, transparent 70%);
}

.ornament-lines {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: linear-gradient(to right, #e8c396 1px, transparent 1px), linear-gradient(to bottom, #e8c396 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
}

/* --- ÉLÉMENTS UI --- */
.heading-serif {
    font-family: 'Cinzel', serif;
}

.glass-box {
    background: rgba(28, 10, 4, 0.6);
    border: 1px solid rgba(232, 195, 150, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

    .glass-box:hover {
        border-color: rgba(255, 183, 0, 0.4);
        box-shadow: 0 10px 40px rgba(255, 94, 0, 0.15);
        transform: translateY(-5px);
    }

.btn-primary {
    background: linear-gradient(90deg, #ff5e00, #ff8c00);
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.3);
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        box-shadow: 0 0 35px rgba(255, 183, 0, 0.6);
        transform: scale(1.05);
    }

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* --- LE MARQUEE INFINI RÉPARÉ --- */
.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-content {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 3rem;
}

/* --- LA SPHÈRE SINUEUSE --- */
#dynamic-sphere {
    position: fixed;
    top: 15vh;
    right: 5vw;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffb700, #ff5e00 45%, #110602 85%);
    box-shadow: 0 0 150px rgba(255, 94, 0, 0.3), inset -60px -60px 100px rgba(0,0,0,0.8);
    z-index: 1;
    will-change: transform;
    transition: opacity 2s ease;
    pointer-events: none;
}

    #dynamic-sphere::after {
        content: '';
        position: absolute;
        inset: -40px;
        border: 1px solid rgba(255, 183, 0, 0.15);
        border-radius: 50%;
        animation: pulseSphere 4s infinite alternate ease-in-out;
    }

@keyframes pulseSphere {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
        border-color: rgba(255, 94, 0, 0.1);
    }

    100% {
        transform: scale(1.02);
        opacity: 1;
        border-color: rgba(255, 183, 0, 0.4);
    }
}

/* --- MODALES --- */
#cart-sidebar {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    #cart-sidebar.open {
        transform: translateX(0);
    }

#overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

    #overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

#login-modal {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

    #login-modal.active {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: scale(1);
    }

/* --- FAQ INTERACTIVE --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

#checkout-modal {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    #checkout-modal.active {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

        #checkout-modal.active #checkout-modal-box {
            transform: scale(1);
        }