/* --- STYLE DE L'OVERLAY AKR (INCHANGÉ) --- */
#akr-overlay {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: #000000;
    z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    pointer-events: auto; 
}

#scene {
    position: relative; width: 100vw; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; 
}

/* BOUTON */
#start-btn {
    position: absolute; z-index: 10000;
    padding: 15px 40px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px; color: white; background: transparent;
    border: 2px solid white; cursor: pointer; transition: all 0.3s;
    text-transform: uppercase; letter-spacing: 4px;
}
#start-btn:hover { background: white; color: black; box-shadow: 0 0 20px rgba(255,255,255,0.5); }

/* GRAPHISMES */
#new-logo-group {
    position: absolute; z-index: 20;
    width: 600px; height: 600px;
    display: flex; align-items: center; justify-content: center;
}

#new-logo-img {
    position: absolute; z-index: 2;
    width: 100%; height: 100%; object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.8));
    opacity: 0; 
}

#black-hole {
    position: absolute; z-index: 1;
    width: 98%; height: 98%;
    background-color: #000; border-radius: 50%;
    opacity: 0; transform: scale(1);
}

#old-logo-wrapper {
    position: absolute; z-index: 10;
    width: 600px; height: 600px;
    display: flex; align-items: center; justify-content: center;
}

#white-backing {
    position: absolute; z-index: 1;
    width: 90%; height: 90%;
    background-color: #ffffff; border-radius: 50%;
}

#old-logo-img {
    position: absolute; z-index: 2;
    width: 108%; height: 108%; object-fit: cover;
}


/* --- NOUVEAU LECTEUR AUDIO (Nom: akr-player-bar) --- */
#akr-player-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 9999;
    font-family: 'Helvetica', sans-serif;
    opacity: 0; /* Caché au départ, géré par JS */
    transition: opacity 1s ease;
    display: none; /* Sécurité : caché tant que JS ne l'active pas */
}

.akr-controls { display: flex; align-items: center; gap: 15px; flex: 1; }

.akr-btn {
    background: none; border: none; color: #ccc;
    cursor: pointer; padding: 0; width: 24px; height: 24px;
    transition: color 0.2s, transform 0.1s;
    outline: none; /* SUPPRIME LE CARRÉ BLEU PERSISTANT */
}
.akr-btn:hover { color: white; }
.akr-btn:active { transform: scale(0.95); }
.akr-btn:focus { outline: none; } /* Double sécurité */

.akr-btn.big-btn { width: 32px; height: 32px; color: white; }

.akr-track-info {
    flex: 2; text-align: center; font-size: 14px; font-weight: 500;
    position: relative; cursor: pointer;
}
/* CHANGEMENT COULEUR : Bleu clair au lieu de vert */
.akr-track-info:hover { color: #29b6f6; } 

/* Popup Playlist */
#playlist-popup {
    position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
    width: 250px; max-height: 300px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #333; border-radius: 8px;
    overflow-y: auto; display: none;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}
#playlist-popup.show { display: block; }
#playlist-list { list-style: none; margin: 0; padding: 0; }
#playlist-list li {
    padding: 10px 15px; border-bottom: 1px solid #333;
    font-size: 13px; text-align: left; cursor: pointer;
    transition: background 0.2s;
}
#playlist-list li:hover { background: #333; }
/* CHANGEMENT COULEUR : Bleu clair pour le titre actif */
#playlist-list li.active { color: #29b6f6; font-weight: bold; }

/* VOLUME SLIDER (Personnalisation complète pour visibilité) */
.akr-volume { display: flex; align-items: center; gap: 10px; flex: 1; justify-content: flex-end; }

#volume-slider {
    -webkit-appearance: none; /* Enlève le style par défaut du navigateur */
    width: 80px;
    height: 4px; /* Barre fine */
    background: #555; /* Fond de la barre gris foncé */
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

/* Le rond (Thumb) pour Chrome, Safari, Edge */
#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff; /* Rond bien blanc */
    cursor: pointer;
    margin-top: -5px; /* Pour centrer sur la barre */
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* Le rond (Thumb) pour Firefox */
#volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

@media (max-width: 600px) {
    .akr-track-info { font-size: 12px; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #volume-slider { width: 50px; }
}

/* --- LISTE DES CONCERTS (Design Final Validé) --- */

/* 1. CADRE PRINCIPAL */
#akr-concerts-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Helvetica', sans-serif;
    
    background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 2. LA LIGNE (PC) */
.akr-concert-row {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}
.akr-concert-row:last-child { border-bottom: none; }

/* --- STYLE SPÉCIAL TRIO --- */
.akr-concert-row.is-trio {
    border-left: 3px solid #ff9800; /* Barre fine orange */
    background: rgba(255, 152, 0, 0.05); /* Fond subtil */
}

/* Badge TRIO */
.akr-badge-trio {
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    color: #000;
    background-color: #ff9800;
    padding: 2px 5px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
}

/* 3. LA DATE (PC) */
.akr-date-box {
    flex: 0 0 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.akr-date-weekday { font-size: 10px; text-transform: uppercase; color: #aaa; margin-bottom: 0px; letter-spacing: 1px; }

/* La date reste TOUJOURS bleue */
.akr-date-day { font-size: 26px; font-weight: bold; color: #29b6f6; line-height: 1.1; }

.akr-date-year-row { font-size: 11px; text-transform: uppercase; color: #fff; font-weight: bold; }

/* 4. INFOS (PC) */
.akr-concert-info {
    flex-grow: 1; text-align: left; padding-right: 15px;
}
.akr-concert-place { font-size: 18px; font-weight: bold; color: white; display: block; }
.akr-concert-city { font-size: 15px; color: #ddd; }

.akr-concert-extra { 
    display: block; 
    font-size: 15px; 
    font-style: italic; 
    color: #29b6f6; 
    margin-top: 4px; 
}

/* 5. BOUTON (PC) */
.akr-concert-action { flex: 0 0 auto; text-align: right; }
.akr-concert-btn {
    display: inline-block; padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff; text-decoration: none; font-size: 11px; text-transform: uppercase;
    border-radius: 50px; transition: all 0.3s; white-space: nowrap;
}
.akr-concert-btn:hover { background: #29b6f6; border-color: #29b6f6; color: #000; }

#akr-show-more-btn {
    display: block; margin: 20px auto 0 auto; background: transparent; border: none;
    color: #aaa; font-size: 13px; cursor: pointer; text-decoration: underline;
}
#akr-show-more-btn:hover { color: white; }

/* --- MOBILE (< 650px) --- */
@media (max-width: 650px) {
    .akr-concert-row { flex-direction: column; align-items: flex-start; padding: 15px; }
    
    .akr-date-box {
        width: 100%; flex: 0 0 auto; flex-direction: row; justify-content: flex-start; gap: 15px;
        margin-right: 0; margin-bottom: 10px; padding: 5px 15px; background: rgba(255, 255, 255, 0.08);
    }
    .akr-date-day { font-size: 20px; }
    .akr-date-weekday, .akr-date-year-row { font-size: 12px; margin: 0; align-self: center; }
    .akr-concert-info { padding-right: 0; width: 100%; margin-bottom: 12px; }
    .akr-concert-action { width: 100%; text-align: center; }
    .akr-concert-btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }
}