/* ==========================================================================
   Chich'Addict - Theme Design System & Custom Luxury CSS
   ========================================================================== */

:root {
    --bg-obsidian: #050505;
    --bg-obsidian-rgb: 5, 5, 5;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-light: rgba(255, 255, 255, 0.08);
    --accent-coral: #ff4757;
    --accent-coral-rgb: 255, 71, 87;
    --accent-coral-glow: #ff6b7a;
    --luxury-gold: #ffd700;
    --luxury-gold-glow: rgba(255, 215, 0, 0.4);
    --text-main: #ffffff;
    --text-sub: rgba(255, 255, 255, 0.6);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Background Glowing Mesh animés */
.luxury-bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0d0d0f 0%, #050505 100%);
    pointer-events: none;
}

.luxury-bg-mesh::before,
.luxury-bg-mesh::after {
    content: '';
    position: absolute;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
    opacity: 0.12;
    mix-blend-mode: screen;
}

.luxury-bg-mesh::before {
    background: radial-gradient(circle, var(--accent-coral) 0%, transparent 70%);
    top: -15%;
    left: -15%;
    animation: float-orb-1 25s infinite alternate ease-in-out;
}

.luxury-bg-mesh::after {
    background: radial-gradient(circle, var(--luxury-gold) 0%, transparent 70%);
    bottom: -15%;
    right: -15%;
    animation: float-orb-2 30s infinite alternate ease-in-out;
}

@keyframes float-orb-1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10%, 15%) scale(1.15); }
    100% { transform: translate(-5%, 8%) scale(0.95); }
}

@keyframes float-orb-2 {
    0% { transform: translate(0, 0) scale(1.1); }
    50% { transform: translate(-15%, -10%) scale(0.9); }
    100% { transform: translate(8%, -5%) scale(1.05); }
}

/* Effets Glassmorphism */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-panel-glow {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 71, 87, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 71, 87, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Boutons Néon Premium */
.btn-neon {
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-coral-glow) 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-neon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-30deg);
    transition: 0.8s ease-in-out;
}

.btn-neon:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(255, 71, 87, 0.5), 0 0 15px rgba(255, 71, 87, 0.2);
}

.btn-neon:hover::after {
    left: 120%;
}

.btn-neon:active {
    transform: translateY(-1px);
}

/* Grille et Cartes de Produits */
.product-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    transition: var(--transition-smooth) !important;
}

.product-card:hover {
    border-color: rgba(255, 71, 87, 0.4) !important;
    box-shadow: 0 20px 45px rgba(255, 71, 87, 0.12), 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

.product-price {
    color: var(--accent-coral) !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.2);
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700 !important;
}

/* ==========================================================================
   Carousel Zone - Mise en valeur renforcée
   ========================================================================== */

.creative-carousal--hero {
    margin: 4rem auto !important;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 71, 87, 0.1) !important;
    border: 1px solid rgba(255, 71, 87, 0.15);
}

.creative-carousal--hero .carousel-slider .swiper-slide {
    position: relative;
    transition: var(--transition-smooth);
}

.creative-carousal--hero .carousel-slider .swiper-slide::after {
    background: #050505 !important;
    opacity: 0.75 !important;
    transition: var(--transition-smooth);
}

.creative-carousal--hero .carousel-slider .swiper-slide.swiper-slide-active::after {
    opacity: 0.35 !important;
}

.creative-carousal--hero .carousel-slider .swiper-slide.swiper-slide-active {
    transform: scale(1.03);
    z-index: 5;
    border: 1px solid rgba(255, 71, 87, 0.3);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.25) !important;
}

.creative-carousal--hero .carousel-slider .swiper-slide .inner {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.creative-carousal--hero .carousel-slider .swiper-slide .inner h2 {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-coral) 60%, #ffd700 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.5) !important;
    filter: drop-shadow(0 2px 10px rgba(255, 71, 87, 0.4)) !important;
    margin-bottom: 2rem !important;
}

/* Boutons "Découvrir" dans le Carousel */
.creative-carousal--hero .carousel-slider .swiper-slide .inner a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.2rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

.creative-carousal--hero .carousel-slider .swiper-slide .inner a:hover {
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-coral-glow) 100%) !important;
    border-color: var(--accent-coral) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4) !important;
}

/* Flèches de navigation du Carousel */
.creative-carousal--hero .swiper-button-prev,
.creative-carousal--hero .swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 0px; /* Hide text */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    bottom: 30px !important;
    top: auto !important;
}

.creative-carousal--hero .swiper-button-prev {
    right: 110px !important;
}

.creative-carousal--hero .swiper-button-next {
    right: 40px !important;
}

.creative-carousal--hero .swiper-button-prev::after {
    content: '←';
    font-size: 1.2rem;
    font-weight: 600;
}

.creative-carousal--hero .swiper-button-next::after {
    content: '→';
    font-size: 1.2rem;
    font-weight: 600;
}

.creative-carousal--hero .swiper-button-prev:hover,
.creative-carousal--hero .swiper-button-next:hover {
    background: var(--accent-coral);
    border-color: var(--accent-coral);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.4);
}

.creative-carousal--hero .slide-progress {
    width: 250px !important;
    margin-left: -125px !important;
    bottom: 40px !important;
}

.creative-carousal--hero .slide-progress .swiper-pagination {
    background: rgba(255, 255, 255, 0.15) !important;
}

.creative-carousal--hero .slide-progress .swiper-pagination .swiper-pagination-progressbar-fill {
    background: linear-gradient(to right, var(--accent-coral), var(--accent-coral-glow)) !important;
}

/* ==========================================================================
   Page de connexion - Theme Sombre Premium
   ========================================================================== */

.dark-login-body {
    background: var(--bg-obsidian) !important;
    color: var(--text-main) !important;
}

.dark-login-card {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    border-radius: var(--radius-lg) !important;
}

.dark-login-card .login-title {
    color: white !important;
}

.dark-login-card .login-subtitle {
    color: var(--text-sub) !important;
}

.dark-login-card .form-label {
    color: var(--text-main) !important;
}

.dark-login-card .form-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: var(--transition-smooth) !important;
}

.dark-login-card .form-input:focus {
    border-color: var(--accent-coral) !important;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.25) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.dark-login-card .login-btn {
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-coral-glow) 100%) !important;
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3) !important;
}

.dark-login-card .login-btn:hover {
    background: linear-gradient(135deg, var(--accent-coral-glow) 0%, var(--accent-coral) 100%) !important;
    box-shadow: 0 12px 28px rgba(255, 71, 87, 0.5) !important;
}

.dark-login-card .back-link {
    color: var(--text-sub) !important;
}

.dark-login-card .back-link:hover {
    color: var(--accent-coral) !important;
}

/* ==========================================================================
   Responsive & Optimizations
   ========================================================================== */

@media (max-width: 768px) {
    .creative-carousal--hero {
        margin: 2rem 0 !important;
        border-radius: 0 !important;
        border-left: none;
        border-right: none;
    }
    
    .creative-carousal--hero .carousel-slider .swiper-slide .inner h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }

    .creative-carousal--hero .swiper-button-prev,
    .creative-carousal--hero .swiper-button-next {
        display: none !important; /* Hide arrows on mobile for swipe ease */
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-premium-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
    animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
    width: 100%;
    max-width: 340px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 71, 87, 0.15));
}

.hero-accent-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-coral), transparent);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-sub);
    line-height: 1.6;
    max-width: 500px;
}

@media (max-width: 640px) {
    .hero-premium-container {
        min-height: 80vh;
    }
    .hero-logo {
        max-width: 240px;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

