* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #0a0a0a;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Видео фон */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.3), rgba(30, 10, 50, 0.3));
    backdrop-filter: blur(1px);
}

/* Контент */
.content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.radio-card {
    background: rgba(20, 20, 40, 0.85);
    border-radius: 30px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.title {
    font-size: 2.5em;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
}

.subtitle {
    text-align: center;
    color: #b19cd9;
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Обложка альбома */
.album-art {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.vinyl-record {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d1b4e, #1a0f2e);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.vinyl-record.spinning {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a4c93, #9b7ab8);
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.5);
}

/* Информация о треке */
.track-info {
    text-align: center;
    margin: 20px 0;
}

#trackTitle {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 5px;
}

#trackArtist {
    color: #b19cd9;
    font-size: 1em;
}

/* Прогресс бар */
.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px 0 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #9b7ab8, #6a4c93);
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.time-info {
    display: flex;
    justify-content: space-between;
    color: #b19cd9;
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* Управление */
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.control-btn {
    background: rgba(147, 112, 219, 0.2);
    border: 2px solid rgba(147, 112, 219, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #b19cd9;
}

.control-btn:hover {
    background: rgba(147, 112, 219, 0.4);
    border-color: #9b7ab8;
    transform: scale(1.1);
}

.control-btn svg {
    width: 30px;
    height: 30px;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9b7ab8, #6a4c93);
    border-color: #9b7ab8;
}

.play-btn:hover {
    background: linear-gradient(135deg, #b19cd9, #9b7ab8);
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(147, 112, 219, 0.6);
}

.play-btn svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

/* Громкость */
.volume-control {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.volume-icon {
    width: 24px;
    height: 24px;
    color: #b19cd9;
}

#volumeSlider {
    flex: 1;
    height: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9b7ab8, #6a4c93);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

#volumeSlider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9b7ab8, #6a4c93);
    cursor: pointer;
    border: none;
}

#volumeValue {
    color: #b19cd9;
    font-size: 0.9em;
    min-width: 40px;
}

/* Плейлист */
.playlist-section {
    margin-top: 30px;
}

.playlist-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.playlist {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.playlist::-webkit-scrollbar {
    width: 6px;
}

.playlist::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.playlist::-webkit-scrollbar-thumb {
    background: rgba(147, 112, 219, 0.5);
    border-radius: 10px;
}

.playlist-item {
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.playlist-item:hover {
    background: rgba(147, 112, 219, 0.2);
    border-color: rgba(147, 112, 219, 0.3);
    transform: translateX(5px);
}

.playlist-item.active {
    background: rgba(147, 112, 219, 0.3);
    border-color: #9b7ab8;
}

.playlist-item-title {
    color: #fff;
    font-weight: 500;
    margin-bottom: 5px;
}

.playlist-item-artist {
    color: #b19cd9;
    font-size: 0.9em;
}

/* Адаптивность */
@media (max-width: 600px) {
    .radio-card {
        padding: 30px 20px;
    }

    .title {
        font-size: 2em;
    }

    .vinyl-record {
        width: 150px;
        height: 150px;
    }

    .control-btn {
        width: 50px;
        height: 50px;
    }

    .play-btn {
        width: 70px;
        height: 70px;
    }
}
