/* ===========================
   TEJIX MUSIC - STYLES PRINCIPAUX
   Version optimisée et complète
   =========================== */

/* Variables CSS */
:root {
    --deep-blue: #26408b;
    --mid-blue: #2B4C9E;
    --light-blue: #4A5D7A;
    --cream: #FFF8F0;
    --soft-gray: #E8E8E8;
}

/* Reset et Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: "venice-blvd", sans-serif;
    font-weight: 400;
    font-style: normal;
    background: var(--cream);
    color: var(--deep-blue);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--cream);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--cream);
    font-family: "venice-blvd", sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo {
    width: 150px;
    color: var(--deep-blue);
}

.logo-text {
    color: var(--deep-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--deep-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--deep-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: transparent;
    border: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--deep-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* Animation hamburger -> X */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    bottom: 0;
    width: 95%;
    height: 100%;
    background: var(--cream);
    overflow: hidden;
    z-index: 0;
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    pointer-events: none;
}

.main-logo {
    display: block;
    width: 800px;
    max-width: 90vw;
    margin: 0 auto;
    object-fit: contain;
    /* Forcer la transparence du fond noir sur tous les navigateurs */
    mix-blend-mode: screen;
    -webkit-mix-blend-mode: screen;
    /* Isolation pour Safari */
    isolation: isolate;
}

.typo-logo {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    max-width: 40vw;
    z-index: 3;
    pointer-events: none;
}

.fallback-logo {
    width: 100%;
    max-width: 300px;
}

/* Fix spécifique pour Safari - forcer la composition GPU */
@supports (-webkit-touch-callout: none) {
    .main-logo {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
        /* Alternative au mix-blend-mode pour Safari si nécessaire */
        -webkit-mask-composite: source-in;
        mask-composite: intersect;
    }

    .hero-logo {
        isolation: isolate;
        -webkit-transform: translate(-50%, -50%) translateZ(0);
        transform: translate(-50%, -50%) translateZ(0);
        /* Forcer un nouveau contexte de stacking pour Safari */
        position: absolute;
        z-index: 3;
    }
}

/* Alternative: utiliser un filtre pour supprimer le noir sur Safari */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) and (stroke-color:transparent) {
        .main-logo {
            /* Safari uniquement */
            filter:
                brightness(1.2)
                contrast(1.5)
                drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
            mix-blend-mode: lighten;
        }
    }
}

.video-container {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-accueil {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Assurer la cohérence du rendu vidéo sur tous les navigateurs */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari uniquement */
    .page-accueil {
        height: 100%;
        min-height: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        width: 100%;
        height: 100px;
        padding: 0;
    }

    .hero-background {
        position: fixed;
        width: 375%;
        margin-left: 25px;
    }

    .video-container {
        pointer-events: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }

    .page-accueil {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .nav-toggle {
        display: flex;
    }

    .typo-logo {
        width: 75px;
        top: 12%;
    }

    .main-logo {
        width: 400px;
        margin-top: 0;
    }

    .hero-logo {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .fallback-logo {
        max-width: 120px;
    }

    .hero-footer-bottom {
        font-size: 0.5rem;
        padding: 5px 0;
    }
}

.main-logo img {
    height: 100%;
    object-fit: contain;
}

.hero-sun {
    width: 100%;
    height: 100%;
}

.hero-title {
    font-family: "venice-blvd", sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 1rem;
    color: var(--deep-blue);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--deep-blue);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "venice-blvd", sans-serif;
    background: var(--deep-blue);
    color: var(--cream);
}

.cta-button.primary {
    background: var(--deep-blue);
    color: var(--cream);
    box-shadow: 0 8px 25px var(--mid-blue);
}

.cta-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--mid-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--cream);
    border-radius: 20px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--cream);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ===========================
   SECTIONS
   =========================== */
.releases,
.members {
    padding: 20px 20px;
    position: relative;
    margin-bottom: 60px;
}

.section-title {
    font-family: "venice-blvd", sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--cream);
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--deep-blue);
}

/* ===========================
   RELEASES GRID
   =========================== */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    align-items: center;
}

.release-card {
    background: var(--mid-blue);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 2rem;
    max-width: 500px;

}

.release-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.release-cover {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 100%; /* Ratio 1:1 carré */
}

.cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-blue);
    opacity: 0;
    transition: all 0.3s ease;
}

.release-card:hover .play-button {
    opacity: 1;
    transform: scale(1.1);
}

.release-info {
    padding: 1.5rem;
}

.release-info h3 {
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.release-info p {
    color: var(--cream);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.release-date {
    color: var(--cream);
    font-size: 0.9rem;
}

.release-genre, .release-duration {
    color: var(--cream);
    font-size: 0.9rem;
}

/* ===========================
   memberS GRID
   =========================== */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.member-card {
    background: var(--mid-blue);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    color: var(--cream);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-card:hover {
    transform: translateY(-10px);
    background: var(--light-blue);
    color: var(--cream);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: visible;
    flex-shrink: 0;
    position: relative;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    overflow: hidden;
}


.member-card h3 {
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.member-card p {
    color: var(--cream);
    opacity: 0.8;
}

.member-stats-card {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.member-stats-card .stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--cream);
    font-size: 0.85rem;
    opacity: 0.9;
}

.member-stats-card .stat-item svg {
    opacity: 0.7;
    width: 16px;
    height: 16px;
}

.member-stats-card .stat-value {
    font-weight: 600;
    color: var(--cream);
}

.member-stats-card .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: normal;
}

.member-country {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.member-role {
    margin-bottom: 0.5rem;
}

.member-genre {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* ======================= */
/* MODALE DÉTAILS memberE  */
/* ======================= */

.member-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}
        
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}
        
.modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
        
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
        
.modal-close:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: rotate(90deg);
}
        
.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
}
        
.modal-body {
    padding: 2rem;
}

.member-modal.show {
    opacity: 1;
}

.member-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.member-photo-large {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.member-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-header-info h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--cream);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-role-large {
    color: var(--cream);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.member-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    margin-bottom: 1rem;
}

.member-location svg {
    width: 18px;
    height: 18px;
}

.member-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.member-stats span {
    color: #fff;
    font-weight: 600;
}

.member-bio {
    margin-bottom: 2rem;
}

.member-bio h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.member-bio p {
    color: #ccc;
    line-height: 1.6;
}

.member-social h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .filters-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .member-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .member-photo-large {
        width: 150px;
        height: 150px;
    }
    
    .member-header-info h2 {
        font-size: 2rem;
    }
    
    .member-stats {
        justify-content: center;
    }
}

/* ===========================
   AUDIO PLAYER
   =========================== */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 32, 64, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    z-index: 999;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Lecteur visible quand il a une piste chargée (pages autres que home) */
body:not(.home-page) .audio-player.has-track.show {
    transform: translateY(0);
}

/* Comportement sur la page home - caché par défaut, apparition au scroll */
body.home-page .audio-player {
    transform: translateY(100%);
    padding-bottom: 0px;
}

body.home-page .audio-player.has-track.show {
    transform: translateY(0);
    padding-bottom: 80px;
}

.player-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    pointer-events: auto;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.player-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--cream);
}

.player-text h4 {
    color: var(--cream);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.player-text p {
    color: var(--cream);
    opacity: 0.8;
    font-size: 0.8rem;
}

.player-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.control-btn.play.playing svg path {
    d: path("M6 5h4v14H6zm8 0h4v14h-4z");
}

.player-progress {
    pointer-events: auto;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--deep-blue);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

#audioPlayer,
#audioPlayer * {
    pointer-events: auto;
}

.control-btn:hover {
    color: var(--cream);
    transform: scale(1.1);
}

.control-btn svg {
    width: 24px;
    height: 24px;
}

.player-progress {
    flex: 2;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--cream);
    width: 0%;
    transition: width 0.1s linear;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--deep-blue);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cream);
    font-family: "venice-blvd", sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.footer-logo .logo {
    width: 50px;
    height: 50px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    color: var(--cream);
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.info-card {
    background: var(--mid-blue);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    color: var(--cream);
}

/* ===========================
   HERO FOOTER
   =========================== */
.hero-footer-bottom {
    text-align: center;
    color: var(--deep-blue);
    font-size: 0.9rem;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px 0;
}

.hero-footer-bottom p {
    margin: 0;
}

/* ===========================
   RESPONSIVE DESIGN - MOBILE
   =========================== */

/* Tablettes et petits écrans */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .releases-grid,
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Smartphones en mode paysage et petites tablettes */
@media (max-width: 768px) {
    /* Navigation mobile */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        transform: translateY(-100%);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid var(--soft-gray);
        animation: slideInFromRight 0.3s ease forwards;
        opacity: 0;
    }
    
    /* Animation d'apparition des liens un par un */
    .nav-links.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-links.active .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-links.active .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-links.active .nav-link:nth-child(5) { animation-delay: 0.5s; }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    @keyframes slideInFromRight {
        from {
            transform: translateX(50px);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    /* Hero section */
    .hero {
        padding: 100px 20px 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
    }
    
    /* Sections */
    .releases,
    .members {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Grilles */
    .releases-grid,
    .members-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cartes */
    .release-card,
    .member-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    /* Audio Player */
    .audio-player {
        padding: 1rem;
    }

    .player-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .player-info {
        width: 100%;
    }
    
    .player-controls {
        justify-content: center;
    }
    
    .player-progress {
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Page headers */
    .page-header {
        padding: 100px 15px 40px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    /* Filtres */
    .filters-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-tabs {
        width: 100%;
        justify-content: center;
    }
    
    .search-box {
        max-width: 100%;
        width: 100%;
    }
    
    /* Modales */
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .member-header,
    .event-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .member-photo-large,
    .event-poster-large {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    
    .member-header-info h2,
    .event-header-info h2 {
        font-size: 2rem;
    }
    
    .member-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .lineup-list {
        grid-template-columns: 1fr;
    }
}

/* Smartphones en mode portrait */
@media (max-width: 480px) {
    /* Navigation */
    .nav-logo {
        font-size: 1rem;
    }

    .logo {
        width: 120px;
        height: auto;
    }

    /* Hero */
    .hero {
        padding: 80px 15px 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Cartes */
    .release-info h3,
    .member-card h3 {
        font-size: 1.1rem;
    }
    
    .release-info p,
    .member-card p {
        font-size: 0.9rem;
    }
    
    /* Audio Player */
    .audio-player {
        padding: 0.75rem;
    }
    
    .player-cover {
        width: 40px;
        height: 40px;
    }
    
    .player-text h4 {
        font-size: 0.85rem;
    }
    
    .player-text p {
        font-size: 0.75rem;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
    }
    
    /* Page headers */
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Filtres */
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Modales */
    .modal-body {
        padding: 1.5rem 1rem;
    }
    
    .member-header-info h2,
    .event-header-info h2 {
        font-size: 1.5rem;
    }
    
    .member-bio h3,
    .event-description h3,
    .event-lineup-full h3 {
        font-size: 1.25rem;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stats */
    .stat-large {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .nav-logo {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .filter-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ===========================
   NORMALISATION CROSS-BROWSER & CROSS-DEVICE
   =========================== */

/* Reset pour garantir la cohérence entre navigateurs */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Forcer la cohérence des vidéos sur tous les navigateurs */
video {
    display: block;
    object-fit: cover;
    pointer-events: none;
}

video:not(.player-cover) {
    max-width: none;
    max-height: none;
    pointer-events: none;
}

/* ===========================
   RELEASES DANS MODALE memberE
   =========================== */
.member-stats .stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.95rem;
    margin-right: 0.5rem;
}

.member-stats .stat-badge svg {
    width: 20px;
    height: 20px;
}

.member-releases {
    margin-top: 2rem;
}

.member-releases h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding: 0 2rem;
}

.releases-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 2rem;
}

.release-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.release-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.release-cover-mini {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.release-cover-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-item-info {
    flex: 1;
}

.release-item-info h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.release-item-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Styles manquants pour la modale membere */
.member-genre-large {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--cream);
    color: var(--deep-blue);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-stats-large {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-large {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-social-links h3 {
    color: var(--cream);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.social-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    transform: translateY(-2px);
}

.social-link-icon {
    width: 24px;
    height: 24px;
}

@media screen and (max-width: 768px) {
    .release-card {
        width: 80%;
    }
}

/* Styles pour événements annulés (affichage public) - GLOBAL */ 
.event-card.cancelled {
    opacity: 0.65;
    border-color: rgba(239, 68, 68, 0.25);
}

.event-card.cancelled .event-poster .cancelled-overlay,
.event-card.cancelled .poster-placeholder .cancelled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    color: #ef4444;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: none;
}

.event-status.cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-weight: 700;
    display: inline-block;
}