/* ==========================================================================
   💎 NAVBAR & STRUCTURE DE BASE
   ========================================================================== */
   .navbar {
    width: 100%; padding: 15px 40px; display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 2500; backdrop-filter: blur(10px); background: rgba(5,8,22,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.08); transition: all 0.3s ease;
}
.logo { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; flex-shrink: 0; }
.logo img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }
.logo span { background: linear-gradient(90deg, #ffffff, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.doc-generator-group { display: flex; align-items: center; gap: 8px; background: rgba(11, 15, 36, 0.6); padding: 4px 8px; border-radius: 14px; border: 1px solid #1e295d; }
.form-select { background: transparent; color: #fff; border: none; font-size: 0.9rem; outline: none; cursor: pointer; padding: 6px; }

/* BOUTONS */
.btn { padding: 12px 20px; border-radius: 12px; border: none; cursor: pointer; font-weight: 600; font-size: 0.9rem; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-out {  color: white; }
.btn-outline { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: white; }
.btn-outline:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }
.btn-prima { background:   #06b6d4; color: white; box-shadow: 0 4px 15px rgba(79,70,229,0.2); }


.btn-primary { background: #0d1126; color: white; border: 1px solid #a78bfa;  box-shadow: 0 25px 70px rgba(79,70,229,.35);}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(79,70,229,0.3); }
.btn-liseuse { background: linear-gradient(135deg, #4364f7, #6fb1fc); color: white; box-shadow: 0 4px 15px rgba(67,100,247,0.2); }
.btn-liseuse:hover { transform: translateY(-3px); }
.btn-story { background: linear-gradient(135deg, #ff007f, #7928ca); color: white; box-shadow: 0 4px 15px rgba(255,0,127,0.2); }

.burger-menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; background: transparent; border: none; cursor: pointer; z-index: 3000; }
.burger-menu-toggle span { width: 100%; height: 2px; background-color: #fff; border-radius: 2px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

/* ==========================================================================
   🎬 HERO & VIDEO CINEMATIC
   ========================================================================== */
  
   
.hero-video-wrapper { width: 100%; height: 85vh; position: relative; overflow: hidden; background: #000;   transform: translateZ(0); will-change: transform; }
.hero-video-wrapper video { width: 100%; height: 100%; object-fit: cover; position: relative; transform: translateZ(0); }
.hero-video-wrapper::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,8,22,1) 0%, rgba(5,8,22,0.4) 50%, rgba(5,8,22,0.6) 100%); z-index: 2; }
.hero-video-wrapper::after { content: ''; position: absolute; inset: 0;     background: linear-gradient(to bottom, transparent 70%, rgba(5,8,22,1) 100%); z-index: 2; }
.video-overlay-content { position: absolute; inset: 0; z-index: 3; padding: 60px 80px; display: flex; justify-content: space-between; align-items: center; }
.video-text-left { max-width: 650px; align-self: flex-end; margin-bottom: 40px; }
.video-text-left h1 { font-size: 72px; font-weight: 900; line-height: 0.9; text-transform: uppercase; margin-bottom: 20px; color: #fff !important;}
.highlight-neon { color: #8f2d8a; }
.video-subtitle { font-size: 1rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.video-badge-right { align-self: flex-start; margin-top: 40px; } 
.badge-neon-link { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(90deg, #fff, #E6C76B); color: #4b0f5c; padding: 18px 28px; border-radius: 40px; font-weight: 800; text-decoration: none; text-transform: uppercase; box-shadow: 0 10px 30px rgba(204,255,0,0.2); transition: 0.3s; }
.badge-neon-link:hover { transform: scale(1.05); }

.hero { width: 100%; padding: 80px 50px 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.hero-text h1 { font-size: 64px; line-height: 1.1; margin-bottom: 25px; font-weight: 900; }

.gradient-text { background: linear-gradient(90deg,  #90e5f4, #8b5cf6, #ffffff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { color: var(--muted); font-size: 18px; line-height: 1.8; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.stat-box { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 24px; padding: 25px; transition: 0.4s; }
.stat-box h2 { font-size: 38px; margin-bottom: 10px; }
.stat-box p { color: var(--muted); }
.hero-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 35px; padding: 35px; backdrop-filter: blur(10px); position: relative; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.3); }

/* ==========================================================================
   💬 ZONE INTERACTIVE & COMMENTAIRES
   ========================================================================== */
.moderation-status-banner {
    background: rgba(234, 179, 8, 0.05); border: 1px solid rgba(234, 179, 8, 0.3);
    background-color: #0d1127; border-radius: 20px; padding: 20px; margin-bottom: 25px;
    display: flex; justify-content: space-between; align-items: center; gap: 15px;
}
.archive-navigation-hub { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 30px; width: 100%; }
.archive-navigation-hub .btn { flex: 1; justify-content: center; max-width: 250px; }

#wowslider-container1.boxed-wow { width: 100% !important; max-width: 100% !important; height: 100% !important; max-height: 450px !important; display: block !important; }
#wowslider-container1 .ws_images, #wowslider-container1 .ws_images ul, #wowslider-container1 .ws_images ul li { height: 100% !important; }
#wowslider-container1 .ws_images ul li img { width: 100% !important; max-width: 100% !important; height: 100% !important; object-fit: cover !important; }


.interactive-main-card, 
.post-cinematic-cover { transform: translate3d(0, 0, 0); will-change: transform; }
.landing-interaction-section { width: 100%; margin-top: 60px; margin-bottom: 30px; }
.landing-interaction-section span { padding-left: 5.6rem;}
.landing-interaction-section h2 { padding-left: 5.6rem; margin-bottom: 15px;}
.interactive-main-card { overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.4); transform: translateZ(0); }
.post-cinematic-cover { width: 100%; height: 450px !important; position: relative; overflow: hidden; transform: translateZ(0); }
.post-cinematic-cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1) translate3d(0,0,0); }
.post-cinematic-cover::after { content: ''; position: absolute; inset: 0; background: #f1f1f1; }
.cover-badge { position: absolute; top: 25px; left: 25px; color: #fff; background: #FF0000!important; padding: 8px 16px; border-radius: 20px; font-size: 0.75rem !important; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; z-index: 99; box-shadow: 0 4px 12px rgba(255,0,127,0.3); }

.post-split-body { display: grid; grid-template-columns: 1.1fr 0.9fr; background: rgba(13, 17, 39, 0.4); }
.post-left-details { padding: 40px; border-right: 1px solid var(--border); }
.post-left-details h2 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 15px; }
.post-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 25px; }
.post-text-p { font-size: 1.1rem; line-height: 1.7; color: #cbd5e1; margin-bottom: 35px; white-space: pre-line; }

.post-interactions-bar { display: flex; gap: 15px; border-top: 1px solid var(--border); padding-top: 25px; }
.action-trigger { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.action-trigger:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }

.post-right-comments-hub { padding: 40px; display: flex; flex-direction: column; background: rgba(5,8,22,0.2); }
.hub-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.hub-header h3 { font-size: 1.2rem; font-weight: 700; color: var(--secondary); }

.comments-scrollable-container { max-height: 480px; overflow-y: auto; padding-right: 10px; margin-bottom: 25px; }
.comments-scrollable-container::-webkit-scrollbar { width: 6px; }
.comments-scrollable-container::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

.comment-node { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); border-radius: 18px; padding: 18px; margin-bottom: 15px; }
.comment-author-meta { font-weight: 700; color: #f8fafc; font-size: 0.95rem; margin-bottom: 6px; display: flex; justify-content: space-between; }
.comment-author-meta span { font-weight: 400; font-size: 0.75rem; color: var(--muted); }
.comment-text-content { color: #cbd5e1; font-size: 0.95rem; line-height: 1.5; margin-bottom: 12px; }
.comment-action-links { display: flex; gap: 15px; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.comment-action-links span { cursor: pointer; transition: 0.2s; }
.comment-action-links span:hover { color: var(--secondary); }

.replies-thread-wrapper { margin-top: 15px; padding-left: 20px; border-left: 2px dashed rgba(255,255,255,0.1); display: none; }
.reply-node { background: rgba(255,255,255,0.02); border-radius: 12px; padding: 12px; margin-top: 10px; font-size: 0.9rem; }
.view-more-replies-btn { background: none; border: none; color: var(--secondary); font-size: 0.8rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 5px; margin-top: 10px; }
.reply-form-toggle-box { margin-top: 15px; display: none; }
.reply-form-toggle-box input { width: 100%; padding: 10px 14px; background: rgba(0,0,0,0.4); border: 1px solid var(--border); border-radius: 10px; color: #fff; font-size: 0.85rem; }

.hidden-main-comments { display: none; }
.load-all-main-comments-btn { width: 100%; background: rgba(255,255,255,0.04); border: 1px dashed var(--border); text-align: center; padding: 15px; border-radius: 16px; color: #fff; font-weight: 600; cursor: pointer; transition: 0.3s; margin-bottom: 15px; }

.global-write-box { margin-top: auto; border-top: 1px solid var(--border); padding-top: 20px; }
.lock-overlay { display: flex; gap: 10px; cursor: pointer; }
.lock-overlay input { flex-grow: 1; padding: 14px; border-radius: 12px; background: rgba(255,255,255,0.02); border: 1px dashed rgba(255,255,255,0.15); color: var(--muted); cursor: pointer; }



/* MODALS & OVERLAYS CONTEXTUELS */
#commentsOverlay { position: fixed; inset: 0; background: rgba(0,0,0,.45);  z-index: 2400; opacity: 0; visibility: hidden;  transition: opacity 0.3s ease, visibility 0.3s ease;  will-change: opacity; }
#commentMenu { position: fixed; z-index: 10000; background: rgba(15, 23, 42, 0.95);  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; width: 180px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: none; transform: scale(0.95) translate3d(0,0,0);  transform-origin: top left; transition: transform 0.15s ease, opacity 0.15s ease; opacity: 0; padding: 6px; will-change: transform, opacity; }
#commentMenu.active { display: block; transform: scale(1) translate3d(0,0,0);  opacity: 1; }
#commentMenu div { padding: 12px 16px; color: #cbd5e1; font-size: 0.85rem; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 12px; border-radius: 10px; transition: 0.2s; }
#commentMenu div:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
#commentMenu div.danger { color: #f43f5e; }
#commentMenu div.danger:hover { background: rgba(244, 63, 94, 0.1); }
.shop-section { padding: 40px 20px; }
.shop-header h2 { font-size: 2rem; }
.shop-grid { grid-template-columns: 1fr; gap: 20px; }
.shop-card { padding: 25px; }

/* ==========================================================================
   🛍️ BOUTIQUE & SERVICES (DÉROULANTS NAVBAR)
   ========================================================================== */
  /* ==========================================================================
           🛍️ STYLES DE L'ESPACE BOUTIQUE (4 CARTES GLASSMORPHISM)
           ========================================================================== */
           .shop-section {
            width: 100% !important;
    padding: 40px 50px 80px; 
    position: relative;
        }
        .shop-container {
            width: 100%;
        }
        .shop-header {
            text-align: center;
            margin-bottom: 45px;
        }
        .shop-header h2 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 12px;
        }
        .shop-header p {
            color: var(--muted);
            font-size: 1.05rem;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }
        .shop-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }
        .shop-card {
            background: #0d1127;
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
            transform: translateZ(0);
            will-change: transform;
        }
        .shop-card:hover {
            transform: translateY(-8px) translateZ(0);
            border-color: rgba(79, 70, 229, 0.4);
        }
        /* Style spécial pour la 4ème carte (Mise en valeur) */
        .shop-card.special-card {
            border: 1px solid rgba(255, 0, 127, 0.25);
            background: linear-gradient(145deg, #0d1127, rgba(121, 40, 202, 0.1));
        }
        .shop-card.special-card:hover {
            border-color: rgba(255, 0, 127, 0.6);
        }

        /* 🚀 AJOUT : Style pour les nouvelles images de couverture des cartes */
.shop-card-img-wrapper {
    width: 100%;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}
.shop-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.shop-card:hover .shop-card-img-wrapper img {
    transform: scale(1.06);
}

/* 🚀 AJOUT : Repositionnement des icônes par-dessus l'image en haut à gauche */
.shop-card-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(13, 17, 39, 0.75);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 0px; /* Annulé car absolue */
    transition: 0.3s;
}
      
        .shop-card:hover .shop-card-icon {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
        .shop-card.special-card .shop-card-icon {
            color: #ff007f;
        }
        .shop-card.special-card:hover .shop-card-icon {
            background: linear-gradient(135deg, #ff007f, #7928ca);
            color: #fff;
        }
        .shop-card-content h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: #fff;
        }
        .shop-card-content p {
            color: var(--muted);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 30px;
        }
        .shop-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
            gap: 10px;
        }
        .shop-price {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .text-neon {
            color: #ccff00 !important;
        }
        .shop-btn {
            padding: 10px 16px !important;
            font-size: 0.85rem !important;
            border-radius: 10px !important;
        }

        /* Responsive spécifique boutique */
        @media (max-width: 1200px) {
            .shop-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 768px) {
            .shop-section {
                padding: 40px 15px;
                overflow: hidden;
            }
        
            .shop-header h2 {
                font-size: 2rem;
            }
        
            .shop-slider-wrapper {
                position: relative;
                width: 100%;
                display: flex;
                flex-direction: column;
            }
            .dropdown-menu-content {  width: 100% !important;  }

            
        
        
            .shop-grid::-webkit-scrollbar {
                display: none;
            }
        
            .shop-card {
                flex: 0 0 280px;
                scroll-snap-align: center;
                padding: 15px;
                box-sizing: border-box;
            }
        
            /* Nouveau conteneur pour regrouper et positionner les flèches */
            .shop-arrows-container {
                display: flex;
                gap: 10px; /* Espace entre les deux flèches */
                position: absolute;
                bottom: 0px; /* Aligné en bas */
                right: 15px; /* Aligné à droite */
                z-index: 10;
                /* Assure que le conteneur ne prend pas toute la largeur */
                width: auto; 
            }
        
            /* Styles de base pour les flèches (ajustés) */
            .shop-arrow {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                border-radius: 50%;
                background: rgba(13, 17, 39, 0.9);
               
                border: 1px solid rgba(255, 255, 255, 0.1);
                color: #fff;
                cursor: pointer;
                pointer-events: auto;
                transition: background 0.2s, transform 0.2s, border-color 0.2s;
            }
        
            /* Annulation des positionnements absolus précédents */
            .shop-arrow.arrow-left,
            .shop-arrow.arrow-right {
                position: static;
                top: auto;
                transform: none;
            }
        
            /* Effets au clic/survol */
            .shop-arrow:active {
                transform: scale(0.9);
                
            }
        }
.text-neon { color: #ccff00 !important; }
.shop-btn { padding: 10px 16px !important; font-size: 0.85rem !important; border-radius: 10px !important; }

.nav-dropdown { position: relative; display: inline-block; }
.dropdown-toggle .arrow-icon { font-size: 0.8rem; transition: transform 0.3s ease; margin-left: 5px; }
.nav-dropdown.active .arrow-icon { transform: rotate(180deg); }
.dropdown-menu-content { position: absolute; top: calc(100% + 15px); right: 0; width: 300px; background: #0f172a; border: 1px solid var(--border); border-radius: 20px; padding: 12px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); display: none; flex-direction: column; gap: 8px; z-index: 3000; transform: translateY(-10px); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-dropdown.active .dropdown-menu-content { display: flex; transform: translateY(0); opacity: 1; }
.dropdown-item { display: flex; align-items: center; gap: 15px; padding: 12px; border-radius: 14px; text-decoration: none; color: #fff; transition: background 0.2s ease; }
.dropdown-item:hover { background: rgba(255, 255, 255, 0.05); }
.dropdown-item h4, .dropdown-item-header h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.dropdown-item p, .dropdown-item-header p { font-size: 0.75rem; color: var(--muted); }
.dropdown-item i, .dropdown-item-header i { font-size: 1.2rem; width: 20px; text-align: center; }
.text-liseuse { color: #6fb1fc; }
.text-print { color: var(--secondary); }
.text-story { color: #ff007f; }
.dropdown-item-group { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; gap: 12px; }