body {
    background: linear-gradient(180deg, #529e43 0%, #054403 100%);
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
}

.container {
    padding: 2rem 0;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.audio-player {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.current-track {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.current-track h3 {
    color: #529e43;
    margin-bottom: 0.5rem;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    background: #529e43;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.control-btn:hover {
    background: #054403;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.control-btn.play-pause {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
}

.progress-container {
    margin-bottom: 1rem;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    cursor: pointer;
}

.progress-bar {
    background: linear-gradient(90deg, #ffe920, #0d9c00);
    border-radius: 4px;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6c757d;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.volume-slider {
    width: 100px;
}

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

.musics-grid {
    display: grid;
    grid-template-areas: "music-cards music-lyrics-card music-lyrics-card";
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.lyrics-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(5px);
    grid-area: music-lyrics-card;
    min-width: 40rem;
}

.music-cards {
    grid-area: music-cards;
    display: grid;
    gap: 1rem;
}

.track-card,
.music-card,
.tab-card,
.savePlaylistBtn,
.importPlaylistBtn {
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    backdrop-filter: blur(5px);
    align-items: center;
    flex-direction: column;
}


.track-card:hover,
.tab-card:hover,
.music-card:hover,
.savePlaylistBtn:hover,
.importPlaylistBtn:hover,
.playlist-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #529e43;
}

.track-card.active,
.tab-card.active,
.music-card.active {
    background: linear-gradient(135deg, #529e43, #054403);
    color: white;
    border-color: #fff;
}

.track-card h5,
.tab-card h5,
.music-card h5,
.lyrics-card h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.track-card .track-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #529e43;
}

.track-card.active .track-icon {
    color: white;
}

.loading {
    display: none;
    text-align: center;
    color: #6c757d;
    margin-bottom: 4px;
    margin-left: 2rem;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .tracks-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .controls {
        flex-wrap: wrap;
    }
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.tab-card {
    background: rgba(197, 255, 214, 0.9);
}

.track-card.active {
    background: linear-gradient(135deg, #529e43, #054403);
    color: white;
    border-color: #fff;
}

.add-to-playlist-btn {
    border: none;
    position: absolute;
    right: 17px;
    background: #529e43;
    color: white;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.add-to-playlist-btn:hover,
.move-up:hover,
.move-down:hover,
.remove-block:hover {
    background: #054403;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}

.move-up,
.move-down,
.remove-block {
    border: none;
    right: 17px;
    background: #529e43;
    color: white;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.playlist-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);

}

.playlist-block.active {
    border-color: #529e43;
    box-shadow: 0 0 6px rgba(43, 136, 136, 0.2);
    color: white;
    background: linear-gradient(135deg, #529e43, #054403);
}

.block-icon {
    margin-right: 8px;
}
.block-meta {
    display: flex;
    width: 200px;
    justify-content: space-between;
}

.wait-seconds {
    padding: 3px;
}