body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(180deg, #232323, #121212);
    color: #ffffff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    transition: all 1.3s ease-in-out;
}

.player-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки */
    grid-template-rows: 1fr; /* Одна строка */
    width: 90%;
    max-width: 1200px;
    height: 90%;
    max-height: 800px;
    background: #2c2c2c;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 3.3s ease;
}

.dashboard {
    background: linear-gradient(0deg, #3c3c3c, #2c2c2c);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 25px 25px 25px 25px;
    transition: all 5.3s ease-in-out;
}

.playlist {
    background: linear-gradient(145deg, #2c2c2c, #1e1e1e);
    overflow-y: auto;
    padding: 20px;
    border-radius: 0 20px 20px 0;
    transition: all 1.3s ease-in-out;
}

@media (orientation: portrait) {
    .player-container {
        grid-template-columns: 1fr; /* Одна колонка */
        grid-template-rows: 1fr 1fr; /* Две строки */
        transition: all 3.3s ease-in-out;
    }
    .dashboard {
        border-radius: 20px 20px 0 0;
        transition: all 3.3s ease-in-out;
    }
    .playlist {
        border-radius: 0 0 20px 20px;
    }
}

.cover img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    transition: transform 3.3s ease, box-shadow 3.3s ease;
}

.cover img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.controls button {
    background: rgba(0, 123, 255, 0);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: background 3.3s ease, transform 3.3s ease, box-shadow 3.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.controls button:hover {
    border-radius: 50%;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.controls button:active {
    transform: scale(0.9);
}
.fas {
    font-size: 24px;
}
#stationName {
    margin-top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 3.3s ease-in-out;
}

.group {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #e9eff6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.playlist-item {
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    transition: background 1.3s ease, transform 1.3s ease, box-shadow 1.3s ease;
    border-radius: 10px;
    margin-bottom: 10px;
}

.playlist-item:hover {
    background: #3c3c3c;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.playlist-item.selected {
    background: #ec1f55;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.playlist-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    transition: transform 1.3s ease;
}

.playlist-item:hover img {
    transform: scale(1.1);
}

.playlist-item span {
    font-size: 18px;
    font-weight: 500;
}

/* Стили для скроллбара */
.playlist::-webkit-scrollbar {
    width: 8px;
}

.playlist::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0);
    border-radius: 4px;
}

.playlist::-webkit-scrollbar-thumb {
    background: rgba(0, 123, 255, 0);
    border-radius: 4px;
}

.playlist::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 86, 179, 0);
}