:root {
    --primary-gradient: linear-gradient(135deg, #1e1b3a 0%, #2d2a54 30%, #3d3a6b 70%, #4a4780 100%);
    --secondary-gradient: linear-gradient(145deg, #2d2a54, #4a4780);
    --tertiary-gradient: linear-gradient(145deg, #3d3a6b, #5a5496);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --shadow-primary: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-secondary: 0 10px 30px rgba(45, 42, 84, 0.3);
    --border-radius: 20px;
    --font-family-heading: 'Cinzel', serif;
    --font-family-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    background: var(--primary-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.spinner {
    font-size: 4rem;
    animation: spin 2s linear infinite, pulse 2s ease-in-out infinite alternate;
    margin-bottom: 2rem;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #f093fb);
    animation: loading 2s ease-in-out infinite;
}

.language-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.lang-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.lang-btn:hover,
.lang-btn.active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.main-content {
    opacity: 0;
}

.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-family: var(--font-family-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 600;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ffffff, #8b7fd6, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.photo-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.photo-frame {
    position: relative;
    display: inline-block;
}

.hero-photo {
    width: 280px;
    height: 280px;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: var(--shadow-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-photo:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius);
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-photo:hover + .photo-overlay {
    opacity: 1;
}

.hero-subtitle {
    font-family: var(--font-family-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: #8b7fd6;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    font-size: 1.5rem;
    opacity: 0.5;
}

.section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--font-family-heading);
}

.section-icon {
    font-size: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.modern-title {
    color: white;
    position: relative;
}

.modern-sparkle {
    display: inline-block;
}

.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.modern-card {
    padding: 2.5rem;
    border-radius: 16px;
    color: white;
    box-shadow: 0 12px 35px rgba(45, 55, 72, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, #2d3748 0%, #3c4452 50%, #805ad5 100%);
}

.modern-card.double-platinum {
    background: linear-gradient(135deg, #9ca3af 0%, #add8e6 50%, #d1d5db 100%);
    color: #1f2937;
    border: 2px solid #87ceeb;
}

.modern-card.gold {
    background: linear-gradient(135deg, #9e8e39 0%, #ffed4e 50%, #fbbf24 100%);
    color: #92400e;
    border: 2px solid #fbbf24;
}

.modern-card.double-platinum .stat-item {
    background: rgba(31, 41, 55, 0.1);
    color: #1f2937;
}

.modern-card.gold .stat-item {
    background: rgba(146, 64, 14, 0.1);
    color: #92400e;
}

.modern-card .stat-item {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(45, 55, 72, 0.5);
}

.modern-card-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    min-height: 261px;
}

.certification-plaque {
    position: relative;
    display: flex; /* Changé de inline-block à flex pour aligner texte et icône */
    align-items: center;
    gap: 0.5rem; /* Espacement entre texte et icône */
    padding: 1rem 1.5rem; /* Ajusté pour accueillir l'icône */
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certification-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none; /* Pas de soulignement par défaut */
    color: inherit; /* Hérite de la couleur de .certification-plaque */
    width: 100%;
}

.certification-link:hover {
    text-decoration: none;
}

.certification-icon {
    width: 16px;
    height: 16px;
    fill: #1e1b3a86;
    flex-shrink: 0;
    transition: fill 0.3s ease;
}

@media (max-width: 768px) {
    .certification-plaque {
        font-size: 0.8rem;
        padding: 0.8rem 1.2rem; /* Réduit légèrement pour mobile */
        gap: 0.4rem;
    }

    .certification-icon {
        width: 14px; /* Réduit légèrement sur mobile */
        height: 14px;
    }
}

.gold-plaque {
    background: linear-gradient(145deg, #ffd700, #ffed4e, #fbbf24);
    color: #92400e;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    border: 2px solid #fbbf24;
}

.double-platinum-plaque {
    background: linear-gradient(145deg, #e5e7eb, #f3f4f6, #d1d5db);
    color: #374151;
    box-shadow: 0 8px 25px rgba(209, 213, 219, 0.4);
    border: 2px solid #d1d5db;
}

.certification-badge {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.modern-track-title {
    font-family: var(--font-family-heading);
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.track-artist-name {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: 500;
}

.certification-text {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    color: #8b7fd6;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(221px, 1fr)); /* Trois boutons de même taille sur une ligne */
    gap: 1rem;
    margin: 1.8rem 0;
}

.stat-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15), rgba(236, 72, 153, 0.1));
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.stat-link {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Icône à gauche, texte au centre, lien externe à droite */
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* Permet au texte de prendre l'espace central */
}

.stat-icon-svg {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon-svg {
    transform: scale(1.1);
}

.youtube-icon {
    fill: #ff0033;
}

.youtube-music-stat .stat-icon-svg {
    fill: #ff0000;
}

.external-link-icon {
    width: 16px;
    height: 16px;
    fill: #ffffff; /* Couleur blanche pour le SVG */
    transition: transform 0.3s ease;
}

.stat-link:hover .external-link-icon {
    transform: scale(1.2);
}

.stat-item .stat-number {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.2rem; /* Espace entre label et nombre */
}

.stat-item .stat-label {
    font-size: 0.85rem;
    opacity: 0.85;
}

.spotify-embed-container {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.spotify-player {
    border-radius: 12px;
    filter: brightness(1.1);
}

/* Styles pour l'intégration Apple Music */
.apple-music-embed-container {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
}
.apple-music-player {
    border-radius: 12px;
    filter: brightness(1.1);
    width: 100%;
    height: 175px;
}
/* Styles pour gérer plusieurs plaques de certification */
.certification-plaque-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}
/* Styles pour l'icône de lien externe */
.external-link-icon {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}
.stat-link:hover .external-link-icon {
    transform: scale(1.2);
}
/* Styles pour le bouton YouTube Music */
.youtube-music-stat .stat-icon-svg {
    fill: #ff0000; /* Rouge YouTube Music */
}
@media (max-width: 768px) {
    .apple-music-embed-container {
        margin: 1rem 0;
    }
    .apple-music-player {
        height: 160px;
    }
    .certification-plaque {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
    }
    /* Ajuster la grille pour mobile */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.youtube-music-stat .stat-icon-svg {
    fill: #ff0000;
    width: 36px;
    height: 36px;
}

.track-card {
    background: var(--secondary-gradient);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    color: white;
    box-shadow: var(--shadow-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.track-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.track-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(61, 58, 107, 0.4);
}

.track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.track-certification {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.track-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.track-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.track-stat {
    font-size: 1.1rem;
}

.track-year {
    opacity: 0.8;
    font-weight: 500;
}

.modern-card.double-platinum .stat-item {
    background: rgba(31, 41, 55, 0.1);
    color: #1f2937;
}

.modern-card.gold .stat-item {
    background: rgba(146, 64, 14, 0.1);
    color: #92400e;
}

.modern-card .stat-item {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.bio-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 4rem;
    align-items: stretch;
}

.bio-content {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: var(--border-radius);
    flex: 2;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.bio-text p {
    margin-bottom: 1.5rem;
}

.bio-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.15);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #8b7fd6;
}

.highlight-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.modern-collaborations {
    padding: 2rem;
}

.modern-collab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.collaborations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.modern-collab-card {
    background: linear-gradient(145deg, #805ad5, #9f4c8c, #3c4452);
    padding: 2rem;
    border-radius: 14px;
    color: white;
    box-shadow: 0 12px 35px rgba(128, 90, 213, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modern-collab-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(128, 90, 213, 0.35);
}

.modern-collab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.modern-avatar {
    position: relative;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Styles conservés pour .modern-collab-badge, .modern-artist-name, .modern-track-name, .collab-stat-item */
.modern-collab-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #805ad5;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-artist-name {
    font-family: var(--font-family-heading);
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modern-track-name {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 500;
}

.collab-stat-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.collab-stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
}

.collab-stat-item .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.collab-stat-item .stat-number {
    font-size: 1.1rem;
    font-weight: 600;
}

.collab-stat-item .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Styles mis à jour pour .compositions-section et .compositions-table-container */
.compositions-section {
    padding: 2rem;
}

.compositions-table-container {
    max-width: 100%; /* Remplace max-width: 1000px pour s'adapter à l'écran */
    margin: 0 auto;
    background: rgba(45, 55, 72, 0.8);
    border-radius: 16px;
    padding: 1.5rem; /* Réduit légèrement le padding */
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto; /* Permet le défilement horizontal si nécessaire */
}

.compositions-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
    font-family: var(--font-family-body);
    min-width: 600px; /* Définit une largeur minimale pour éviter l'écrasement */
}

.compositions-table thead {
    background: linear-gradient(135deg, #805ad5, #9f4c8c);
}

.compositions-table th {
    padding: 1rem 0.8rem; /* Réduit le padding pour mobile */
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem; /* Légère réduction de la taille de la police */
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.sortable {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease; /* Simplification de la transition */
}

.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #c876d9;
}

.sort-icon {
    margin-left: 6px; /* Réduit légèrement l'espacement */
    opacity: 0.6;
    font-size: 0.75rem; /* Réduit la taille de l'icône */
}

.sortable:hover .sort-icon {
    opacity: 1;
}

.composition-row {
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.composition-row:hover {
    background: rgba(128, 90, 213, 0.15);
    transform: translateX(3px); /* Réduit l'effet pour mobile */
}

.compositions-table td {
    padding: 0.8rem 0.6rem; /* Réduit le padding */
    font-size: 0.9rem; /* Réduit la taille de la police */
}

.composition-title {
    font-weight: 600;
    color: #c876d9;
}

.composition-artist {
    color: rgba(255, 255, 255, 0.9);
}

.composition-year {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.composition-genre {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.cert-badge-gold {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #92400e;
    box-shadow: 0 3px 10px rgba(251, 191, 36, 0.3);
}

.cert-badge-platinum {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #9ca3af, #d1d5db);
    color: #1f2937;
    box-shadow: 0 3px 10px rgba(156, 163, 175, 0.3);
}

.cert-badge-diamond {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #add8e6, #87ceeb);
    color: #1f2937;
    box-shadow: 0 3px 10px rgba(173, 216, 230, 0.3);
}

/* Media queries pour mobile */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr; /* Empiler les boutons sur mobile */
        gap: 0.8rem; /* Réduit encore l'espacement */
    }

    .apple-music-embed-container {
        margin: 1rem 0;
    }

    .apple-music-player {
        height: 160px;
    }

    .certification-plaque {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
    }

    .compositions-table-container {
        padding: 1rem; /* Réduit davantage le padding */
        border-radius: 12px; /* Légère réduction du border-radius */
    }

    .compositions-table {
        font-size: 0.8rem;
        min-width: 500px;
    }

    .compositions-table th,
    .compositions-table td {
        padding: 0.6rem 0.4rem;
    }

    .compositions-table th:nth-child(4),
    .compositions-table td:nth-child(4) {
        display: none;
    }

    .stat-item {
        padding: 0.6rem; /* Réduit davantage sur mobile */
    }
}

@media (max-width: 480px) {
    .compositions-table {
        min-width: 360px; /* Réduit encore la largeur minimale */
        font-size: 0.75rem; /* Taille de police encore plus petite */
        justify-self: center;
    }

    .compositions-table th,
    .compositions-table td {
        padding: 0.5rem 0.3rem; /* Padding minimal */
    }

    /* Ajustement des largeurs des colonnes restantes */
    .compositions-table th:nth-child(1),
    .compositions-table td:nth-child(1) {
        width: 50%; /* Titre */
    }

    .compositions-table th:nth-child(2),
    .compositions-table td:nth-child(2) {
        width: 30%; /* Artiste */
    }

    .compositions-table th:nth-child(3),
    .compositions-table td:nth-child(3) {
        width: 20%; /* Année */
    }
}




.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.email-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    width: 100%;
    max-width: 400px;
    max-height: 80px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.email-container:hover {
    transform: translateY(-3px);
}

.email-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    margin-right: 2px;
}

.email-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: white;
}

.contact-text {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.copy-email-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.copy-email-btn .icon {
    width: 24px;
    height: 24px;
}

.copy-email-btn .copy-icon {
    display: block;
}

.copy-email-btn .check-icon {
    display: none;
}

.copy-email-btn.copied .copy-icon {
    display: none;
}

.copy-email-btn.copied .check-icon {
    display: block;
}

.copy-email-btn:hover {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}




.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-top: 1rem;
    opacity: 0.7;
    font-style: italic;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    33% { transform: translateY(-10px); }
    66% { transform: translateY(5px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200px); }
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shimmer {
    0%, 100% { 
        background-position: -200% center;
    }
    50% { 
        background-position: 200% center;
    }
}

@media (max-width: 1024px) {
    .bio-container {
        display: block;
    }

    .modern-card-header {
        min-height: unset !important;
    }
        
    .bio-highlights {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .highlight-card {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .language-toggle {
        top: 20px;
        right: 10px;
        display: inline-grid;
    }
    
    .lang-btn {
        padding: 10px 12px;
        font-size: 1rem;
    }
    
    .hero-photo {
        width: 220px;
        height: 220px;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .tracks-grid,
    .collaborations-grid {
        grid-template-columns: 1fr;
    }
    
    .track-card,
    .collab-card {
        padding: 2rem;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .bio-content {
        padding: 2rem;
    }
    
    .bio-highlights {
        flex-direction: column;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .hero-photo {
        width: 180px;
        height: 180px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .track-actions {
        flex-direction: column;
    }
    
    .track-card,
    .collab-card {
        padding: 1.5rem;
    }

    .certification-plaque {
        font-size: 0.8rem;
    }
}

@media print {
    .loading-screen,
    .language-toggle {
        display: none;
    }
    
    .main-content {
        display: block !important;
        opacity: 1 !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-section,
    .track-card,
    .collab-card,
    .bio-content,
    .highlight-card,
    .contact-item {
        background: white;
        border: 1px solid #ddd;
        color: black;
    }
}

/* Quick Facts Specific Styling */
.quick-facts-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.4);
    padding: 2.7rem;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.quick-facts-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    pointer-events: none;
}

.quick-facts-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139,92,246,0.6);
    box-shadow: 0 15px 40px rgba(139,92,246,0.3);
}

.quick-facts-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #8B5CF6;
    position: relative;
    z-index: 1;
}

.facts-list {
    position: relative;
    z-index: 1;
}

.fact-item {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 0.8rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fact-item::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.1), transparent);
    transition: left 0.5s ease;
}

.fact-item:hover {
    background: rgba(139,92,246,0.1);
    border-color: rgba(139,92,246,0.3);
    transform: translateX(5px);
}

.fact-item:hover::before {
    left: 100%;
}

.fact-item:last-child {
    margin-bottom: 0;
}

.fact-icon {
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #F093FB);
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(139,92,246,0.3);
}

.fact-icon svg {
    width: 16px;
    height: 16px;
}

.fact-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

.fact-content strong {
    color: #F093FB;
    font-weight: 600;
    margin-right: 0.5rem;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Mobile responsive for Quick Facts */
@media (max-width: 768px) {
    .quick-facts-card {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .quick-facts-title {
        font-size: 1.1rem;
    }
    
    .fact-item {
        padding: 0.6rem;
    }
    
    .fact-icon {
        width: 28px;
        height: 28px;
        margin-right: 0.8rem;
    }
    
    .fact-content {
        font-size: 0.9rem;
    }
}

/* Social Media Section Styling */
.social-section {
    padding: 2rem;
    max-width: 615px;
    margin: 0 auto;
    margin-top: -60px;
}

.social-container {
    max-width: 550px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-secondary);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    align-items: center;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    padding: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    /*transform: translateY(-5px) scale(1.05);*/
    background: rgba(255, 255, 255, 0.15);
    /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);*/
    border-radius: 20px;
}

.social-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.social-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
}

/* Mobile responsive for Social Media Section */
@media (max-width: 768px) {
    .social-container {
        padding: 1.5rem;
    }

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

    .social-link {
        padding: 0.8rem;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .social-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .social-link {
        padding: 0.6rem;
    }

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

    .social-label {
        font-size: 0.75rem;
    }
}

/* IMDb and Genius Icon Styling */
.imdb-icon, .genius-icon {
    width: 32px;
    height: 16px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.stat-link:hover .imdb-icon, .stat-link:hover .genius-icon {
    transform: scale(1.1);
}

/* Ensure consistent styling for stat items with links */
.stat-item .stat-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

.stat-item .stat-link:hover {
    color: #8b7fd6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .imdb-icon, .genius-icon {
        width: 28px;
        height: 14px;
    }

    .hero-stats {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .imdb-icon, .genius-icon {
        width: 24px;
        height: 12px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}






/* Musical Notation Styling */
.musical-notation {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.5rem;
    margin-top: -10px;
}

.staff {
    display: inline-block;
    vertical-align: middle;
    overflow: visible;
}

.note {
    font-size: 15px;
    fill: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.note.active {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .musical-notation {
        margin-left: 0.3rem;
    }

    .staff {
        width: 40px;
        height: 16px;
    }

    .note {
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .staff {
        width: 30px;
        height: 12px;
    }

    .note {
        font-size: 25px;
    }
}