:root {
    --primary-color: #ffcc00;
    --secondary-color: #000;
    --text-color: #fff;
    --bg-color: #000;
    --header-bg: rgba(0, 0, 0, 0.8);
    /* Suggestion: Spécifiez les propriétés pour la transition au lieu de 'all' pour de meilleures performances */
    /* Exemple: --transition: opacity 0.3s ease, transform 0.3s ease; */
    --transition: all 0.3s ease; 
    --font-main: "Montserrat", sans-serif;
    --font-heading: "Playfair Display", serif;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
    --focus-outline-color: var(--primary-color); /* Pour les indicateurs de focus */
}

/* ===== BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}
html.js .loader { /* Style initial du loader si JS est activé (peut être masqué plus tard) */
    /* Vous pouvez ajouter des styles spécifiques ici si nécessaire avant que JS ne prenne le relais */
}


body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* Espace pour le header fixe */
    padding-bottom: 70px; /* Espace pour le mini-player. Ajustez si la hauteur du mini-player change. */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; /* Pour Firefox */
}

/* Suggestion Accessibilité: Styles de focus visibles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: 3px solid var(--focus-outline-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(255, 204, 0, 0.3); /* Optionnel pour plus de visibilité */
}
/* Pour les navigateurs ne supportant pas :focus-visible, utilisez :focus */
/* Mais cela peut être trop intrusif pour les clics souris. :focus-visible est préférable. */


/* Classe utilitaire pour lecteurs d'écran seulement */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


/* ===== LOADER ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    flex-direction: column; /* Pour aligner le spinner et le texte sr-only */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease; /* Transition plus spécifique */
}

.loader-spinner {
    border: 5px solid rgba(255, 204, 0, 0.3);
    border-radius: 50%;
    border-top: 5px solid var(--primary-color);
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    /* Le padding est géré par JS actuellement. Si vous passez à une classe CSS .scrolled : */
    /* padding: var(--header-default-padding, 1rem 5%); */
    padding: 1rem 5%; /* Valeur par défaut si JS ne modifie pas */
    display: flex;
    justify-content: space-between; /* S'il y a un logo à gauche et le menu à droite */
    align-items: center;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: padding 0.3s ease; /* Transition pour le padding si géré par JS ou classe */
}
/* Si vous utilisez une classe .scrolled pour le header:
header.scrolled {
    padding: var(--header-scrolled-padding, 0.5rem 5%);
}
*/

/* Styles pour un logo si vous en ajoutez un dans le HTML avec la classe .logo */
.logo img {
    height: var(--logo-height, 50px); /* var(--logo-height) n'est pas défini globalement */
    transition: height 0.3s ease;
}
/* header.scrolled .logo img { height: var(--logo-scrolled-height, 40px); } */


/* ===== MENU BURGER ===== */
.burger-menu { /* Conteneur pour le bouton burger et la nav sur mobile */
    display: flex; /* Reste flex pour aligner le bouton à droite si besoin */
    margin-left: auto; /* Pousse le menu à droite */
    align-items: center;
}

.burger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: none; /* Affiché via media query pour mobile */
    flex-direction: column;
    justify-content: space-around; /* Espace mieux les lignes */
    width: 25px;
    height: 20px; /* Légèrement plus haut pour un meilleur espacement */
    padding: 0;
    position: relative; /* Pour z-index si besoin par rapport à d'autres éléments du header */
    z-index: 1005; /* Au-dessus du main-nav et de l'overlay */
}

.burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: transform 0.3s ease, opacity 0.3s ease; /* transitions spécifiques */
    transform-origin: center;
}

.main-nav {
    z-index: 1004; /* Sous le bouton burger mais au-dessus de l'overlay de base */
}
.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease; /* transition pour la couleur */
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover, .main-nav a:focus-visible {
    color: var(--primary-color); /* Changement de couleur au survol/focus */
}
.main-nav a:hover::after, .main-nav a:focus-visible::after {
    width: 100%;
}

/* État ouvert du menu burger */
.burger-btn[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg); /* Ajusté pour height de 20px */
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}
.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg); /* Ajusté */
}

/* Overlay pour le menu mobile, créé par JS */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1003; /* Sous le menu et le bouton burger */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("images/background.webp") no-repeat center center/cover; /* center center pour être sûr */
    padding: 2rem 5%;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Un peu plus grand sur les grands écrans */
    color: var(--text-color); /* Assurer la couleur du texte */
    margin-bottom: 1rem;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Optionnel: lisibilité */
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}
#countdown { /* Pour s'assurer qu'il est bien stylé */
    display: inline-block; /* Pour éviter des sauts de ligne inattendus */
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition); /* Utilise la variable globale */
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent; /* Pour éviter le décalage au survol si une bordure apparaît */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-preorder {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn:hover, .btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}
.btn-preorder:hover, .btn-preorder:focus-visible {
    background: #e6b800; /* Couleur légèrement plus foncée au survol */
    border-color: #e6b800;
}

/* ===== MUSIC SECTION ===== */
.music-section {
    padding: 4rem 5%;
}
.music-section h2 { /* Style pour le titre de section */
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Taille min un peu plus grande */
    gap: 2rem; /* Un peu plus d'espace */
}

.track-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, background-color 0.3s ease; /* transitions spécifiques */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer le contenu de la carte */
    text-align: center;
}

.track-card:hover, .track-card:focus-within { /* focus-within pour quand le bouton intérieur a le focus */
    transform: translateY(-5px) scale(1.02); /* Ajout d'un léger scale */
    background: rgba(255, 255, 255, 0.1);
}
.track-card .track-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.track-card h3 {
    font-family: var(--font-main);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.track-card .play-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.7rem 1.8rem; /* Ajustement du padding */
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease; /* transitions spécifiques */
    margin-top: auto; /* Pousse le bouton en bas si la carte a une hauteur variable */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.track-card .play-btn:hover, .track-card .play-btn:focus-visible {
    opacity: 0.85;
    transform: scale(1.05);
}


/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 5rem 5%;
    background: linear-gradient(to bottom, #0a0a0a, #1a1a1a); /* Légèrement différent pour le dégradé */
    position: relative;
    overflow: hidden; /* Important pour les éléments positionnés absolument */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.artist-photo-wrapper {
    position: relative;
    flex: 1;
    max-width: 400px; /* Garder une taille max */
}

.artist-photo {
    width: 100%;
    border-radius: 15px; /* Conserver */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6); /* Ombre plus prononcée */
    position: relative;
    z-index: 2;
    border: 3px solid var(--primary-color);
    transform: rotate(-3deg);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Transition plus personnalisée */
}

.artist-photo:hover, .artist-photo-wrapper:focus-within .artist-photo { /* Effet au survol ou focus dans le wrapper */
    transform: rotate(0deg) scale(1.03);
}

.photo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(255, 204, 0, 0.25) 0%, /* Légèrement plus visible */
        rgba(255, 204, 0, 0) 70%
    );
    top: 50%; /* Centrer la lueur */
    left: 50%;
    transform: translate(-50%, -50%); /* Centrer la lueur */
    border-radius: 15px;
    animation: pulse 3s infinite alternate ease-in-out; /* Animation plus douce */
    z-index: 1; /* Derrière la photo */
}

.about-content {
    flex: 1.2; /* Donner un peu plus d'espace au contenu */
    color: white;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.gold-divider {
    width: 100px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem 0 1.5rem; /* Espacement ajusté */
}

.artist-origin {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.bio-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.bio-text strong {
    color: var(--primary-color);
    font-weight: 700; /* S'assurer qu'il est bien en gras */
}

.cultural-pattern {
    margin-top: 2rem;
    height: 10px;
    background: repeating-linear-gradient(
        45deg, /* Angle pour le motif */
        var(--primary-color),
        var(--primary-color) 10px,
        transparent 10px,
        transparent 20px
    );
    opacity: 0.7;
}

/* ===== FOOTER ===== */
footer {
    background: #050505; /* Noir un peu moins profond pour le footer */
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255,204,0,0.1); /* Fine ligne de séparation */
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Augmenter un peu l'espace */
    margin-bottom: 1.5rem; /* Plus de marge en bas */
}

.social-links a { /* Pour les styles de focus sur les liens d'icônes */
    display: inline-block; /* Permet transform et outline correct */
    border-radius: 50%; /* Pour un effet de focus circulaire si souhaité */
}
.social-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* transitions spécifiques */
}

.social-links a:hover img, .social-links a:focus-visible img {
    transform: scale(1.15); /* Agrandissement plus marqué */
    opacity: 0.8;
}

.copyright {
    font-size: 0.85rem; /* Légèrement plus grand */
    opacity: 0.7;
}

/* --- MINI LECTEUR PERSISTANT --- */
.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Vous pouvez ajuster la hauteur ici si vous rendez la pochette plus grande */
    height: 70px; 
    background: rgba(10, 10, 10, 0.95); /* Fond légèrement différent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem; /* Padding horizontal */
    border-top: 1px solid var(--primary-color);
    transition: opacity 0.4s ease, transform 0.4s ease; /* Ajout de transform pour l'apparition */
    opacity: 0;
    transform: translateY(100%); /* Initialement caché en bas */
    pointer-events: none;
    cursor: pointer;
}

.mini-player.active {
    opacity: 1;
    transform: translateY(0); /* Apparaît en glissant vers le haut */
    pointer-events: all;
}

.mini-player .track-info {
    display: flex; /* Ajouté pour aligner image et texte */
    align-items: center; /* Centrer verticalement */
    flex-grow: 1;
    gap: 10px;
    overflow: hidden; /* Pour que le text-overflow fonctionne */
}

.mini-player .track-cover {
    /* Ajustez width et height ici pour la taille de la pochette dans le mini-lecteur */
    width: 50px; 
    height: 50px;
    border-radius: 4px; /* Rayon de bordure plus doux */
    object-fit: cover; /* Assure que l'image couvre sans déformation */
    flex-shrink: 0; /* Empêche l'image de rétrécir */
}

.mini-player .track-info div { /* Conteneur pour titre et artiste */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrer le texte verticalement */
    overflow: hidden; /* Pour text-overflow sur le titre */
}

.mini-player h4 {
    margin: 0;
    font-size: 0.9em;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* max-width: 150px;  Retiré, flex gérera mieux la largeur */
}

.mini-player p {
    margin: 0;
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.7); /* Opacité ajustée */
    white-space: nowrap;
}

.mini-player .play-pause-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    margin-left: 1rem; /* Espace à gauche du bouton */
    padding: 0.5rem; /* Zone de clic plus grande */
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1; /* Assurer l'alignement vertical du texte du bouton */
}

.mini-player .play-pause-btn:hover, .mini-player .play-pause-btn:focus-visible {
    transform: scale(1.1);
    color: #fff; /* Changement de couleur au survol */
}


/* --- LECTEUR COMPLET STYLE SPOTIFY --- */
.spotify-player {
    position: fixed;
    top: 0; /* Couvre tout l'écran dès le début */
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97); /* Fond très opaque */
    backdrop-filter: blur(20px); /* Flou plus prononcé */
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem; /* Padding global */
    z-index: 1003;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out; /* Transition pour l'apparition */
    opacity: 0;
    transform: scale(1.1); /* Effet de zoom pour l'apparition */
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spotify-player.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.spotify-player .player-content {
    max-width: 500px; /* Largeur max du contenu du lecteur */
    width: 90%; /* Prend 90% de la largeur disponible */
    background: rgba(20, 20, 20, 0.5); /* Léger fond pour le contenu */
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    position: relative; /* Pour le bouton de fermeture */
}

.spotify-player .close-player {
    background: none;
    border: none;
    color: white;
    font-size: 2.2rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 10; /* Au-dessus du reste du contenu du lecteur */
    padding: 0.5rem; /* Zone de clic plus grande */
    line-height: 1;
}

.spotify-player .close-player:hover, .spotify-player .close-player:focus-visible {
    color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
}

.spotify-player .track-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem; /* Espace réduit */
    text-align: center;
}

.spotify-player .track-cover {
    /* Ajustez width et height ici pour la taille de la pochette dans le lecteur complet */
    width: 1500px; 
    height: 1500px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); /* Ombre ajustée */
    object-fit: cover; /* Assure que l'image couvre sans déformation */
    margin-bottom: 1rem; /* Espace sous la pochette */
}

.spotify-player .track-info h3 { /* Titre de la piste */
    font-size: clamp(1.5rem, 4vw, 2em);
    margin-top: 0; /* Pas de marge en haut, gérée par le gap */
    color: var(--text-color);
}

.spotify-player .track-info p { /* Artiste */
    font-size: clamp(1rem, 3vw, 1.2em);
    color: rgba(255, 255, 255, 0.8);
    margin-top: -0.5rem; /* Rapprocher de titre */
}

#playerAudio { /* La balise audio elle-même, sera invisible grâce aux styles suivants */
    width: 100%;
    max-width: 400px; /* Largeur max si visible */
    margin-top: 1rem;
    /* filter: invert(1); Retiré car les contrôles sont cachés */
}

/* Cache les contrôles audio natifs */
#playerAudio::-webkit-media-controls-panel,
#playerAudio::-webkit-media-controls-enclosure,
#playerAudio::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}
/* Pour Firefox et autres si besoin */
/* #playerAudio::-moz-media-controls { display: none !important; } */


.spotify-player .player-controls {
    display: flex;
    justify-content: center;
    align-items: center; /* Centrer verticalement les boutons */
    gap: 2rem; /* Espace entre les boutons (prev, play, next) */
    margin-top: 1rem; /* Espace au-dessus des contrôles */
    width: 100%;
}

.spotify-player .control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem; /* Taille des boutons prev/next */
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0.5rem; /* Zone de clic */
    line-height: 1;
}
.spotify-player .control-btn:hover, .spotify-player .control-btn:focus-visible {
    color: var(--primary-color);
}

.spotify-player .play-pause-btn {  /* Bouton Play/Pause principal */
    font-size: 3.5rem; /* Taille du bouton Play/Pause */
    color: var(--primary-color);
}
.spotify-player .play-pause-btn:hover, .spotify-player .play-pause-btn:focus-visible {
    transform: scale(1.1); /* Agrandir au survol/focus */
    /* La couleur est déjà var(--primary-color) */
}


/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Hauteur du header mobile si différente */
        padding-bottom: 60px; /* Hauteur du mini-player mobile */
    }

    /* Header mobile */
    header {
        /* Si le padding du header change sur mobile, ajustez ici ou via la classe .scrolled */
    }

    .burger-btn {
        display: flex; /* Afficher le bouton burger */
    }

    .main-nav { /* Styles du menu coulissant */
        position: fixed;
        top: 0;
        right: -100%; /* Initialement hors écran */
        width: min(80vw, 300px); /* Largeur du menu, max 300px */
        height: 100vh;
        background: var(--header-bg); /* Utilise le même fond que le header */
        backdrop-filter: blur(15px); /* Flou plus prononcé pour le menu */
        -webkit-backdrop-filter: blur(15px);
        padding: 6rem 2rem 2rem; /* Espace en haut pour ne pas être sous le header */
        transition: right 0.4s ease-in-out;
        /* z-index déjà défini plus haut */
    }
    .main-nav[aria-hidden="false"] { /* Quand le menu est visible */
        right: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2); /* Ombre pour le menu ouvert */
    }
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start; /* Aligner les liens à gauche */
    }
    .main-nav a {
        font-size: 1.2rem;
        padding: 0.5rem; /* Zone de clic plus grande */
        display: block; /* Pour que le padding s'applique bien */
    }


    /* Hero mobile */
    .hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .subtitle { font-size: clamp(0.9rem, 4vw, 1.1rem); }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; padding: 0.8rem 1.5rem; }

    /* Music section mobile */
    .music-section h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .track-grid { grid-template-columns: 1fr; gap: 1.5rem; } /* Une colonne sur mobile */

    /* About section mobile */
    .about-section { padding: 3rem 5%; }
    .about-container { flex-direction: column; gap: 2.5rem; }
    .artist-photo-wrapper { max-width: 280px; /* Photo un peu plus grande sur mobile */ }
    .about-content { text-align: center; }
    .about-content h2 { font-size: clamp(2rem, 7vw, 2.5rem); }
    .gold-divider { margin: 1rem auto; }

    /* Mini-lecteur mobile */
    .mini-player { height: 60px; padding: 0 0.8rem; }
    .mini-player .track-cover { width: 40px; height: 40px; }
    .mini-player h4 { font-size: 0.8em; }
    .mini-player p { font-size: 0.7em; }
    .mini-player .play-pause-btn { font-size: 1.8rem; }

    /* Lecteur complet mobile */
    .spotify-player { padding: 1rem; } /* Moins de padding sur mobile */
    .spotify-player .player-content { padding: 1.5rem; gap: 1rem; width: 100%; }
    .spotify-player .close-player { font-size: 2rem; top: 0.8rem; right: 0.8rem; }
    .spotify-player .track-cover { width: clamp(120px, 50vw, 180px); height: clamp(120px, 50vw, 180px); }
    .spotify-player .track-info h3 { font-size: clamp(1.3em, 5vw, 1.8em); }
    .spotify-player .track-info p { font-size: clamp(0.9em, 4vw, 1.1em); }
    .spotify-player .player-controls { gap: 1.5rem; margin-top: 1rem; }
    .spotify-player .control-btn { font-size: 1.6rem; }
    .spotify-player .play-pause-btn { font-size: 3rem; }
}

@media (max-width: 480px) {
    body { padding-top: 60px; } /* Ajustement si le header est plus petit */
    .hero { padding-top: 4rem; /* Plus d'espace si le header est fixe */ }
    .hero h1 { letter-spacing: 2px; }

    .about-content h2 { font-size: clamp(1.8rem, 6vw, 2.2rem); }
    .bio-text p { font-size: 0.95rem; }
    .artist-photo-wrapper { max-width: min(220px, 70vw); } /* Encore plus petit */
    .artist-photo { transform: none !important; border-width: 2px; } /* Simplifier l'effet sur très petits écrans */
    .cultural-pattern { height: 5px; }

    /* Optionnel: Cacher la lueur sur les très petits écrans ou si performances iOS sont un souci */
    /* @supports (-webkit-touch-callout: none) or (max-width: 480px) { */
    .photo-glow {
        /* display: none; */ /* Décommentez pour cacher si besoin */
    }
    /* } */
}

/* Keyframes pour animations */
@keyframes pulse {
    0% { opacity: 0.3; transform: scale(0.95); } /* Ajout de scale pour un effet plus subtil */
    50% { opacity: 0.7; transform: scale(1.05); }
    100% { opacity: 0.3; transform: scale(0.95); }
}