/* Styles pour la page des artistes */

/* Container principal */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 70px);
    background-color: var(--primary-color);
}

/* Section des artistes */
.recommended-section {
    margin-bottom: 0rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background-color: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title i {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.section-title:hover i {
    transform: scale(1.1);
}

.section-title h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.back-button {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.back-button:hover {
    opacity: 1;
    transform: translateX(-3px);
}

/* Grille des artistes */
#artists-container {
    margin: 0 -0.75rem;
}

/* Carte d'artiste */
.artist-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.2);
}

.artist-card-link {
    text-decoration: none;
    color: var(--text-color);
    display: block;
    height: 100%;
}

.artist-card-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: linear-gradient(45deg, var(--accent-color), transparent);
}

.artist-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artist-card:hover .artist-card-image img {
    transform: scale(1.1);
}

.artist-card-content {
    padding: 1.2rem 1rem;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
}

.artist-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.artist-card:hover .artist-card-title {
    color: var(--accent-color);
}

.artist-card-listeners {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.artist-card-listeners I {
    font-size: 0.8rem;
    color: var(--accent-color);
}

/* Pagination */
.pagination {
    margin: 2.5rem 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-item {
    margin: 0 2px;
}

.page-link {
    color: var(--text-color);
    background-color: var(--bg-secondary);
    border: 1px solid rgba(138, 43, 226, 0.2);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    color: var(--accent-color);
    background-color: rgba(138, 43, 226, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.3);
}

.page-item.disabled .page-link {
    color: var(--text-muted);
    background-color: var(--bg-secondary);
    border-color: rgba(138, 43, 226, 0.1);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .artist-card-title {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .section-header {
        padding: 0.8rem 1.2rem;
    }
    
    .artist-card-content {
        padding: 1rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 1.5rem 0;
    }

    .section-title h4 {
        font-size: 1.1rem;
    }

    .artist-card-title {
        font-size: 0.9rem;
    }

    .artist-card-listeners {
        font-size: 0.8rem;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .page-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 1rem 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
        padding: 0.8rem 1rem;
    }

    .section-title {
        gap: 10px;
    }

    .section-title i {
        font-size: 1.2rem;
    }

    .section-title h4 {
        font-size: 1rem;
    }

    .artist-card {
        margin-bottom: 1rem;
    }

    .artist-card-content {
        padding: 0.8rem;
    }

    .pagination {
        margin: 1.5rem 0;
    }

    .page-link {
        padding: 0.4rem 0.7rem;
        min-width: 35px;
    }
}

/* Styles pour la page artiste individuel */
.artist-header {
    position: relative;
    padding: 6rem 0 3rem;
    color: #fff;
    overflow: hidden;
    margin-bottom: 2rem;
}

.artist-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.1);
    z-index: 0;
}

.artist-header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9));
}

.artist-profile {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.artist-profile-img-container {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.artist-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artist-profile-img:hover {
    transform: scale(1.1);
}

.artist-info {
    flex-grow: 1;
}

.artist-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.artist-info .lead {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.artist-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.stat-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.artist-actions {
    display: flex;
    gap: 1rem;
}

.artist-actions .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.artist-actions .btn-primary {
    background-color: var(--accent-color);
    border: none;
}

.artist-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.artist-actions .btn-outline-light {
    border: 2px solid #fff;
}

.artist-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Player Bar Styles */
.player-bar {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(138, 43, 226, 0.2);
}

.player-track-info {
    display: flex;
    align-items: center;
}

.player-track-cover {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

.track-details {
    margin-left: 1rem;
}

.track-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.track-artist {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.control-buttons .btn-link {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.control-buttons .btn-link:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.play-button {
    color: var(--accent-color) !important;
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.progress {
    height: 4px;
    background-color: rgba(138, 43, 226, 0.1);
    cursor: pointer;
}

.progress-bar {
    background-color: var(--accent-color);
    transition: width 0.1s linear;
}

.volume-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-slider {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Responsive Design pour la page artiste */
@media (max-width: 992px) {
    .artist-header {
        padding: 4rem 0 2rem;
    }

    .artist-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .artist-profile-img-container {
        width: 150px;
        height: 150px;
    }

    .artist-info h1 {
        font-size: 2.5rem;
    }

    .artist-stats {
        justify-content: center;
    }

    .artist-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .artist-header {
        padding: 3rem 0 2rem;
    }

    .artist-info h1 {
        font-size: 2rem;
    }

    .artist-info .lead {
        font-size: 1rem;
    }

    .artist-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .player-bar .row {
        flex-direction: column;
        gap: 1rem;
    }

    .player-track-info, .player-controls, .volume-controls {
        justify-content: center;
    }

    .volume-controls {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .artist-profile-img-container {
        width: 120px;
        height: 120px;
    }

    .artist-actions {
        flex-direction: column;
        width: 100%;
    }

    .artist-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .control-buttons {
        gap: 0.5rem;
    }

    .control-buttons .btn-link {
        padding: 0.5rem;
    }
} 

