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

body {
    font-family: Arial, sans-serif;
    background: #1a1a1a;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    max-width: 200px;
}

/* Seletor de Estações */
.station-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.station-btn {
    padding: 10px 30px;
    border: none;
    border-radius: 25px;
    background: #333;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.station-btn.active {
    background: #63625a;
}

.station-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.station-btn:hover:not(.disabled) {
    background: #b6b4a9;
    opacity: 0.8;
}

/* Player Principal */
.player {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover-art {
    width: 400px;
    height: 400px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    position: relative;
}

.cover-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.song-info {
    margin-top: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.song-info h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.song-info h3 {
    font-size: 20px;
    color: #999;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #0066cc;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    transform: scale(1.1);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

#volumeSlider {
    width: 100px;
}

/* Últimas Tocadas */
.recent-tracks {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recent-tracks h3 {
    margin-bottom: 20px;
    text-align: center;
}

.tracks-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.track-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 15px;
    padding: 8px 12px;
    background: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.track-item img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.track-info h4 {
    margin-bottom: 5px;
}

.track-info p {
    color: #999;
    font-size: 14px;
}

.track-time {
    color: #999;
    font-size: 14px;
}

.progress-container {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

.progress-bar-bg {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.progress-bar {
    background: linear-gradient(90deg, #0066cc, #0088ff);
    border-radius: 4px;
}

.time-display {
    font-size: 14px;
    color: #999;
}

.next-songs {
    display: none;
}

.music-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
    margin-bottom: 30px;
    padding: 20px;
}

.slide {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.previous-song, .music-slider .next-song {
    opacity: 0.7;
    transform: scale(0.9);
}

.slide .cover-art {
    width: 300px;
    height: 300px;
    margin-bottom: 10px;
}

.slide .song-info {
    text-align: center;
    width: 100%;
}

.previous-song .song-info, .music-slider .next-song .song-info {
    font-size: 0.8em;
}

.previous-song .song-info h3, .music-slider .next-song .song-info h3 {
    margin-bottom: 4px;
    color: #ccc;
}

.previous-song .song-info p, .music-slider .next-song .song-info p {
    font-size: 14px;
    color: #888;
}

/* Música atual */
.current-song {
    transform: scale(1.05);
    z-index: 2;
}

.current-song .cover-art {
    width: 300px;
    height: 300px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.current-song .song-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.current-song .song-info p {
    font-size: 18px;
}

/* Overlay das capas */
.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cover-overlay span {
    color: white;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    padding: 12px 20px;
}

/* Remove estilos específicos anteriores */
.previous-song .cover-overlay span,
.current-song .cover-overlay span,
.next-song .cover-overlay span {
    background: none;
    border: none;
}

/* Simplifica o hover */
.slide:hover {
    transform: none;
}

/* Simplifica o hover do overlay */
.slide:hover .cover-overlay {
    opacity: 1;
}

/* Remove transformação da imagem */
.slide:hover .cover-art img {
    transform: none;
}

/* Mostra sempre antes de carregar a imagem */
.cover-art img:not([src]), 
.cover-art img[src=""] {
    display: none;
}

.cover-art img:not([src]) + .cover-overlay,
.cover-art img[src=""] + .cover-overlay {
    opacity: 1;
}

/* Animações para transição de músicas */
@keyframes slideToLeft {
    0% {
        transform: translateX(0) scale(0.9);
        opacity: 0.7;
    }
    100% {
        transform: translateX(-100%) scale(0.9);
        opacity: 0;
    }
}

@keyframes slideFromRight {
    0% {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(0.9);
        opacity: 0.7;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Classes para animação */
.slide-transition {
    transition: all 0.5s ease-in-out;
}

.slide-out {
    animation: slideToLeft 0.5s forwards;
}

.slide-in {
    animation: slideFromRight 0.5s forwards;
}

.slide-down {
    animation: slideDown 0.5s forwards;
}

/* Estilo do botão Carregar Mais */
.load-more-btn {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: #0066cc;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.load-more-btn:active {
    transform: translateY(0);
}

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

/* Estilo para as ações (horário e botão do YouTube) */
.track-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Estilo do botão do YouTube */
.youtube-btn {
    background: none;
    border: none;
    color: #ff0000;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.youtube-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Efeito hover no item da lista */
.track-item:hover {
    background: #444;
}

/* Ajuste do ícone do YouTube */
.youtube-btn i {
    display: block;
}

/* Estilo para os botões de streaming */
.streaming-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 20px;
}

/* Estilos base para todos os botões de streaming */
.streaming-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0.6;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.streaming-btn:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Cores específicas para cada serviço */
.spotify-btn {
    color: #1DB954;
}

.deezer-btn {
    color: #FF0092;
}

.apple-music-btn {
    color: #FC3C44;
}

.youtube-music-btn {
    color: #FF0000;
} 