
.main-content {
    background: var(--bg-primary);
    min-height: 100vh;
    padding-bottom: 100px;
}

/* Style de l'en-tête de la chanson */
.song-header {
    position: relative;
    padding: 60px 0;
    color: var(--text-color);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

/* Effet de fond flou */
.song-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(50px);
    transform: scale(1.1);
    z-index: -1;
}

/* Overlay sombre */
.song-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        var(--song-header-bg1) 0%,
        var(--song-header-bg2) 100%
    );
    z-index: -1;
}

/* Contenu principal */
.song-header .container {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.song-cover-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
}

.song-cover {
    width: 100%;
    height: 300px; /* Hauteur fixe */
    display: block;
    object-fit: cover; /* Coupe l’image pour remplir le cadre sans déformation */
    transition: transform 0.3s ease;
}


.song-cover:hover {
    transform: scale(1.02);
}

.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.song-cover-container:hover .play-button-large {
    opacity: 1;
}

/* Informations de la chanson */
.song-info {
    padding: 20px;
}

.song-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.song-artist {
    margin-bottom: 15px;
}

.artist-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.artist-link:hover {
    color: var(--accent-color);
}

.song-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.song-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    padding: 8px 12px;
    border-radius: 20px;
}

.song-meta i {
    color: var(--accent-color);
}

/* Statistiques de la chanson */
.song-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    background: var(--card-bg);
    padding: 8px 16px;
    border-radius: 20px;
}

.stat-item i {
    color: var(--accent-color);
}

/* Actions de la chanson */
.song-actions {
    margin-top: 20px;
}

.song-actions .btn {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    border: none;
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-color-light);
    transform: scale(1.02);
}

.btn-outline-light {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    background: rgba(0, 0, 0, 0.3);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
}

/* Section des titres similaires */
.recommended-section {
    padding: 5px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    color: var(--accent-color);
}

.section-title h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.see-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.see-more:hover {
    color: var(--accent-color);
}

/* Cartes des chansons similaires */
.card {
    background: var(--card-bg);
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 1rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-color);
}

.card-text {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Media Queries */
@media (max-width: 768px) {
    .song-header {
        padding: 40px 0;
    }

    .song-info h1 {
        font-size: 2rem;
    }

    .song-meta {
        flex-wrap: wrap;
    }

    .song-stats {
        flex-wrap: wrap;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .song-header {
        padding: 30px 0;
    }

    .song-info h1 {
        font-size: 1.75rem;
    }

    .song-cover-container {
        max-width: 250px;
    }

    .song-actions .btn {
        padding: 10px;
    }
}
