/* ==========================================================================
   1. VARIABLES, RESET & BASE
   ========================================================================== */
:root {
    --primary-color: #8A2BE2;
    --primary-glow: rgba(138, 43, 226, 0.5);
    --bg-dark: #07050f;
    --bg-card: rgba(20, 15, 38, 0.6);
    --text-main: #ffffff;
    --text-muted: #b3aed2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    -ms-overflow-style: none;
    /* IE / Edge */
    scrollbar-width: none;
    /* Firefox */
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari / Webkit */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 5, 15, 0.5);
    z-index: -99;
    pointer-events: none;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -100;
    pointer-events: none;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(7, 5, 15, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.purple-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.live-button {
    border: 1px solid var(--primary-color);
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

.live-button:hover {
    background: var(--primary-color);
    color: #fff !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* ==========================================================================
   3. SECTION HERO
   ========================================================================== */
.hero-section {
    padding: 80px 8%;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.badge {
    background: rgba(138, 43, 226, 0.15);
    color: #bfa3ff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(138, 43, 226, 0.3);
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(45deg, #ffffff, var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 550px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

/* CONTENEUR DE L'ICÔNE (EFFET NUAGE UNIQUE) */
.hero-icon-wrapper {
    position: relative;
    display: inline-block;
    z-index: 2;
    animation: cloud-travel 24s infinite ease-in-out;
}

.hero-icon-visual {
    width: 320px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.45));
    transition: filter 0.4s ease;
}

/* Lueur violette pure style arme mythique au survol, sans fioritures */
.hero-icon-wrapper:hover .hero-icon-visual {
    filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.9)) drop-shadow(0 0 70px rgba(168, 85, 247, 0.6));
}

/* ==========================================================================
   4. SECTION RÉSEAUX
   ========================================================================== */
.socials-section {
    padding: 60px 8% 100px 8%;
    text-align: center;
}

.socials-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.social-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.social-card h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.social-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.15);
}

.social-card:hover i {
    transform: scale(1.1);
}

.youtube:hover i {
    color: #ff0000;
}

.twitter:hover i {
    color: #1da1f2;
}

.discord:hover i {
    color: #5865f2;
}

/* ==========================================================================
   5. PLAYER FOCUS VIDÉO
   ========================================================================== */
.video-focus {
    padding: 60px 8%;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   6. SECTION À PROPOS & COMPOSANTS HISTOIRE
   ========================================================================== */
.about-section {
    padding: 100px 8%;
    background: rgba(14, 11, 26, 0.65);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(138, 43, 226, 0.1);
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-specialties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid rgba(138, 43, 226, 0.1);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.spec-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--primary-glow);
    transition: transform 0.3s ease;
}

.spec-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.spec-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.15);
}

.spec-card:hover i {
    transform: scale(1.1);
}

/* --- Carte Aperçu Histoire --- */
.story-preview-card {
    background: linear-gradient(135deg, #111116 0%, #0a0812 100%);
    border: 3px solid #8A2BE2;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 35px;
    max-width: 900px;
    margin: 60px auto;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4),
        inset 0 0 10px rgba(138, 43, 226, 0.2);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

.story-preview-card:hover {
    transform: scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.8),
        0 0 40px rgba(138, 43, 226, 0.4),
        inset 0 0 15px rgba(138, 43, 226, 0.4);
}

.story-preview-card:active {
    transform: scale(1.01);
}

.story-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.story-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a56db;
    animation: purple-glow-pulse 3s infinite ease-in-out;
}

.story-badge-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #0d1117;
    border: 2px solid rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #eab308;
}

.story-preview-content h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 800;
}

.story-preview-content h3 i {
    color: #eab308;
    font-size: 1.4rem;
    margin-right: 8px;
}

.story-preview-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.story-link-click {
    display: inline-block;
    color: #eab308;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eab308;
    padding-bottom: 2px;
}

/* ==========================================================================
   MODAL INFOS TEXTE - STYLISATION VISUELLE LOLO26DIR
   ========================================================================== */

/* Citation fétiche mise en valeur */
.modal-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #eab308;
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-quote i {
    margin-right: 8px;
    opacity: 0.5;
}

/* Grille d'affichage responsive pour les blocs d'anecdotes */
.modal-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Petite carte d'anecdote */
.modal-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(138, 43, 226, 0.2);
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.modal-feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.modal-feature-card h4 {
    color: #eab308;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.modal-feature-card h4 i {
    margin-right: 8px;
}

.modal-feature-card p {
    font-size: 0.95rem;
    margin: 0 !important;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Encadré de promotion de la Carte Pro */
.modal-card-promo {
    text-align: center;
    background: rgba(138, 43, 226, 0.05);
    border: 1px dashed var(--primary-color);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
}

.modal-card-promo h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.modal-card-promo h4 i {
    margin-right: 8px;
}

.modal-card-promo p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px !important;
}

/* ==========================================================================
   7. WIDGET COMPOSANT & MODAL DE L'HISTOIRE
   ========================================================================== */
.story-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(11, 9, 20, 0.9);
    border: 1px solid rgba(138, 43, 226, 0.4);
    padding: 10px 20px 10px 10px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-widget:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.3);
}

.widget-avatar-wrapper {
    position: relative;
    width: 55px;
    height: 55px;
}

.widget-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1a56db;
    position: relative;
    z-index: 2;
}

.widget-pulse-halo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.6;
    z-index: 1;
    animation: widget-glow 2.5s infinite ease-in-out;
}

.widget-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #eab308;
    color: #000;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6rem;
    z-index: 3;
}

.widget-text span {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* --- Fenêtre Pop-up Finale --- */
.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(4, 3, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.story-modal.active {
    display: flex !important;
}

.modal-content {
    background: #0b0914;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    border-radius: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding: 40px;
    border: 3px solid #8A2BE2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.45),
        inset 0 0 12px rgba(138, 43, 226, 0.25);
    z-index: 1;
}

.modal-content::before {
    display: none !important;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 3rem;
    color: #eab308;
    cursor: pointer;
    z-index: 100000;
    line-height: 0.6;
    transition: color 0.2s, transform 0.2s;
}

.close-modal:hover {
    color: #ffffff;
    transform: scale(1.15);
}

.modal-header h2 {
    color: #eab308;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.modal-top-row {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 20px;
}

.modal-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #8A2BE2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.6),
        inset 0 0 10px rgba(138, 43, 226, 0.3);
}

.modal-text-block p,
.modal-full-text p {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);

    /* Ajoute ces deux lignes pour forcer le centrage parfait du bouton */
    display: flex;
    justify-content: center;
}

.btn-wiki {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #eab308;
    color: #000;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.btn-wiki:hover {
    background: #facc15;
    transform: translateY(-2px);
}

.story-section-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 8%;
}

/* ==========================================================================
   8. SCROLLBAR PERSONNALISÉE (POUR LA MODAL)
   ========================================================================== */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(11, 9, 20, 0.5);
    border-radius: 10px;
    margin: 15px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(138, 43, 226, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 43, 226, 0.8);
}

.modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(138, 43, 226, 0.4) rgba(11, 9, 20, 0.5);
}

/* ==========================================================================
   SECTION PLAYLISTS / VIDEOS PAR CATEGORIE
   ========================================================================== */
.category-videos-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.category-header {
    margin-bottom: 25px;
}

.category-title-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    font-size: 1.8rem;
    color: #eab308;
}

.category-title-block h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 25px;
}

@media (max-width: 500px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Style des cartes avec fond plus flouté et bordures bien visibles */
.category-card {
    background: rgba(15, 12, 28, 0.65);
    /* Fond plus sombre pour faire ressortir le flou */
    backdrop-filter: blur(12px);
    /* Flou de fond renforcé */
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(138, 43, 226, 0.4);
    /* Bordure initiale beaucoup plus visible */
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effet Hover avec l'effet Néon Violet intense */
.category-card:hover {
    transform: translateY(-5px);
    border-color: #8A2BE2;
    /* Bordure violette pleine au survol */
    /* Puissant effet néon (glow) interne et externe */
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6),
        0 0 40px rgba(138, 43, 226, 0.3),
        inset 0 0 15px rgba(138, 43, 226, 0.3);
}

.card-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-title i {
    color: #8A2BE2;
    font-size: 1.2rem;
    /* Petit effet lueur sur l'icône au survol de la carte */
    transition: text-shadow 0.3s;
}

.category-card:hover .card-header-title i {
    text-shadow: 0 0 8px #8A2BE2;
}

.card-header-title h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.video-responsive-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Encadrement léger de l'iframe */
}

.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Link overlay to redirect to YouTube instead of playing inline */
.video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    background: transparent;
}

/* Version néon pour la carte Coming Soon */
.coming-soon-card {
    background: rgba(15, 12, 28, 0.4);
    border: 2px dashed rgba(138, 43, 226, 0.4);
    /* Bordure en pointillés plus visible */
}

.coming-soon-card:hover {
    border-style: solid;
    /* Devient pleine au survol pour un plus joli effet néon */
}

.coming-soon-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
    gap: 12px;
}

.placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.15);
    transition: color 0.3s;
}

.coming-soon-card:hover .placeholder-icon {
    color: rgba(138, 43, 226, 0.6);
}

.coming-soon-content p {
    color: #b3aed2;
    font-size: 0.95rem;
    margin: 0;
}

.coming-soon-badge {
    background: rgba(138, 43, 226, 0.2);
    color: #c084fc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(138, 43, 226, 0.4);
}

/* ==========================================================================
   SOUS-SECTION CARROUSEL (MÊME STRUCTURE DE STYLE)
   ========================================================================== */
.carousel-container {
    /* Casse la limite des 1200px pour aller d'un bord à l'autre de l'écran */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    overflow: hidden;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scrollCarousel 20s linear infinite;
}

/* Stop le défilement au survol */
.carousel-track:hover {
    animation-play-state: paused;
}

/* Copie conforme de tes cartes de playlists */
.carousel-track .carousel-card {
    width: 480px;
    /* Taille fixe idéale pour le défilement */
    background: rgba(15, 12, 28, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effet Hover + Néon Violet */
.carousel-track .carousel-card:hover {
    transform: translateY(-5px);
    border-color: #8A2BE2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6),
        0 0 40px rgba(138, 43, 226, 0.3),
        inset 0 0 15px rgba(138, 43, 226, 0.3);
}

.carousel-track .carousel-card:hover .card-header-title i {
    text-shadow: 0 0 8px #8A2BE2;
}

/* Animation de défilement */
@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 12.5px));
        /* Avance de la moitié de la liste */
    }
}

/* ==========================================================================
   DÉLIMITATION ET ESPACEMENT (CARROUSEL)
   ========================================================================== */

.main-footer {
    width: 100%;
    background-color: #0b0813 !important;
    /* Force le fond sombre pour bloquer la vidéo */
    border-top: 2px solid rgba(138, 43, 226, 0.4);
    margin-top: 50px;
    padding: 40px 0;
}

/* Ligne néon fine avec dégradé transparent sur les côtés */
.carousel-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(138, 43, 226, 0) 0%, rgba(138, 43, 226, 0.6) 50%, rgba(138, 43, 226, 0) 100%);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    margin-bottom: 45px;
    /* Grand espace entre la ligne et le titre */
    margin-top: 20px;
    /* Espace entre les playlists du dessus et la ligne */
}

/* Styles propres pour le titre centré */
.carousel-title-block {
    margin-bottom: 30px;
    justify-content: center;
    width: 100%;
}

.carousel-main-title {
    font-size: 1.8rem;
    margin: 0 15px;
    color: #ffffff;
    text-align: center;
    font-weight: 800;
}

.star-icon {
    color: #ffff00;
    /* Un beau jaune comme ton footer */
    font-size: 1.5rem;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.6);
    /* Petit effet lueur néon sur l'étoile */
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes purple-glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(138, 43, 226, 0.6), 0 0 20px rgba(138, 43, 226, 0.3);
        border-color: #1a56db;
    }

    50% {
        box-shadow: 0 0 25px rgba(138, 43, 226, 0.9), 0 0 40px rgba(168, 85, 247, 0.5);
        border-color: #a855f7;
    }
}

@keyframes widget-glow {
    0% {
        transform: scale(1);
        opacity: 0.6;
        filter: blur(2px);
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
        filter: blur(6px);
    }

    100% {
        transform: scale(1);
        opacity: 0;
        filter: blur(2px);
    }
}

@keyframes cloud-travel {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(-40px, -25px) rotate(4deg);
    }

    40% {
        transform: translate(35px, 15px) rotate(-5deg);
    }

    60% {
        transform: translate(-25px, -35px) rotate(6deg);
    }

    80% {
        transform: translate(45px, 10px) rotate(-4deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 968px) {

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-visual {
        display: none;
    }

    .cta-buttons {
        justify-content: center;
    }

    .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {

    .story-preview-card,
    .modal-top-row {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .about-specialties {
        grid-template-columns: 1fr;
    }
}