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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}

.logo i {
    margin-right: 10px;
    color: #4ecca3;
}

.user-action .admin-btn {
    background: #4ecca3;
    color: #1a1a2e;
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-action .admin-btn:hover {
    background: #3db593;
    transform: translateY(-2px);
}

main {
    padding: 30px;
}

.player-container {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
}

.now-playing {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.album-art {
    margin-right: 20px;
}

.vinyl {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #232323 0%, #151515 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: rotate 20s linear infinite;
    animation-play-state: paused;
}

.vinyl.playing {
    animation-play-state: running;
}

.vinyl-inner {
    width: 40px;
    height: 40px;
    background: #4ecca3;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1a1a2e;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.song-info h2 {
    font-size: 22px;
    margin-bottom: 5px;
    text-align: left;
}

.song-info p {
    color: #9f9f9f;
    text-align: left;
}

.progress-container {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: #4ecca3;
    width: 0%;
    border-radius: 10px;
    transition: width 0.1s linear;
}

.time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #9f9f9f;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.control-btn, .play-pause {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    margin: 0 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.control-btn:hover, .play-pause:hover {
    opacity: 1;
    transform: scale(1.1);
}

.play-pause {
    width: 60px;
    height: 60px;
    background: #4ecca3;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.play-pause i {
    color: #1a1a2e;
    font-size: 20px;
}

.volume-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-container i {
    margin-right: 10px;
    opacity: 0.7;
}

#volume {
    width: 100px;
    -webkit-appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
}

#volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #4ecca3;
    cursor: pointer;
}

.ad-container {
    margin-bottom: 25px;
}

.ad-placeholder {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #9f9f9f;
}

.playlist-container h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    padding-left: 45px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.playlist {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
}

.playlist::-webkit-scrollbar {
    width: 5px;
}

.playlist::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.playlist::-webkit-scrollbar-thumb {
    background: #4ecca3;
    border-radius: 10px;
}

.playlist li {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.playlist li:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.playlist li.playing {
    background: rgba(78, 204, 163, 0.2);
    border-left: 4px solid #4ecca3;
}

.song-details {
    flex: 1;
}

.song-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.song-details p {
    font-size: 12px;
    color: #9f9f9f;
}

.song-duration {
    font-size: 14px;
    color: #9f9f9f;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    color: #9f9f9f;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .now-playing {
        flex-direction: column;
        text-align: center;
    }
    
    .album-art {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .song-info h2, .song-info p {
        text-align: center;
    }
    
    .controls {
        margin-bottom: 15px;
    }
    
    .control-btn {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    main {
        padding: 15px;
    }
    
    .player-container {
        padding: 15px;
    }
}