:root {
    --netease-red: #ec4141;
    --netease-dark-red: #c73e3e;
    --netease-bg: #242424;
    --netease-sidebar: #1e1e1e;
    --netease-content: #2a2a2a;
    --netease-border: #3a3a3a;
    --netease-text: #ffffff;
    --netease-text-secondary: #b3b3b3;
    --netease-text-muted: #888888;
    --netease-hover: #333333;
    --netease-active: #404040;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--netease-bg);
    min-height: 100vh;
    padding: 0;
    color: var(--netease-text);
    font-size: 14px;
    line-height: 1.5;
}

.container {
    max-width: 100%;
    margin: 0;
    background: var(--netease-bg);
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 100vh;
}

.header {
    background: var(--netease-red);
    padding: 16px 24px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--netease-border);
    position: relative;
    z-index: 1;
}

.header h1 {
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header p {
    color: var(--text-secondary);
    font-size: 1.4rem;
    font-weight: 600;
}

.nav-tabs {
    border: none;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-tabs .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: var(--shadow-light);
}

.nav-tabs .nav-link:hover:not(.active) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.tab-content {
    padding: 1rem 0;
}

/* 主要内容区域 - 网易云风格布局 */
.main-content {
    display: flex;
    min-height: calc(100vh - 60px);
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

/* 确保在所有设备上都显示播放器 */
@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
    }
    
    .local-music-section {
        height: auto;
        min-height: 60vh;
        border-right: none;
        border-bottom: 1px solid var(--netease-border);
        order: 1;
    }
    
    .netease-music-section {
        width: 100%;
        height: auto;
        min-height: 40vh;
        order: 2;
    }
}

.local-music-section {
    flex: 1;
    background: var(--netease-content);
    border-right: 1px solid var(--netease-border);
    overflow-y: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
}

.netease-music-section {
    width: 400px;
    background: var(--netease-sidebar);
    overflow-y: auto;
    flex-shrink: 0;
    height: calc(100vh - 60px);
}

.section-header {
    background: var(--netease-hover);
    padding: 12px 16px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--netease-border);
    text-align: left;
}

.section-header h2 {
    color: var(--netease-text);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 网易云播放器样式 */
.modern-player {
    background: var(--netease-content);
    padding: 20px;
    margin: 0;
    border-bottom: 1px solid var(--netease-border);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 12px;
}

.album-art {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* 改为圆形 */
    background: var(--netease-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 播放时的旋转动画 */
.album-art.playing {
    animation: rotate 3s linear infinite;
}

/* 旋转关键帧 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 添加唱片纹理效果 */
.album-art::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.album-art::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.song-info h3 {
    color: var(--netease-text);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.song-info p {
    color: var(--netease-text-secondary);
    font-size: 12px;
    font-weight: 400;
}

.player-stats {
    display: flex;
    gap: 12px;
    color: var(--netease-text-muted);
    font-size: 12px;
    font-weight: 400;
}

.visualizer {
    position: relative;
    height: 60px;
    margin: 1rem 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(79, 172, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveform-container {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveform-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(79, 172, 254, 0.8);
}

.wave-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #4facfe;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(79, 172, 254, 0.6);
    transform: translateY(0);
    transition: all 0.1s ease;
    animation: none; /* 默认不播放动画 */
}

.wave-point:nth-child(1) { left: 5%; }
.wave-point:nth-child(2) { left: 15%; }
.wave-point:nth-child(3) { left: 25%; }
.wave-point:nth-child(4) { left: 35%; }
.wave-point:nth-child(5) { left: 45%; }
.wave-point:nth-child(6) { left: 55%; }
.wave-point:nth-child(7) { left: 65%; }
.wave-point:nth-child(8) { left: 75%; }
.wave-point:nth-child(9) { left: 85%; }
.wave-point:nth-child(10) { left: 95%; }

/* 只有播放时才启用动画 */
.visualizer.playing .wave-point {
    animation: wave-move 1.5s ease-in-out infinite;
}

.visualizer.playing .wave-point:nth-child(1) { animation-delay: 0s; }
.visualizer.playing .wave-point:nth-child(2) { animation-delay: 0.1s; }
.visualizer.playing .wave-point:nth-child(3) { animation-delay: 0.2s; }
.visualizer.playing .wave-point:nth-child(4) { animation-delay: 0.3s; }
.visualizer.playing .wave-point:nth-child(5) { animation-delay: 0.4s; }
.visualizer.playing .wave-point:nth-child(6) { animation-delay: 0.5s; }
.visualizer.playing .wave-point:nth-child(7) { animation-delay: 0.6s; }
.visualizer.playing .wave-point:nth-child(8) { animation-delay: 0.7s; }
.visualizer.playing .wave-point:nth-child(9) { animation-delay: 0.8s; }
.visualizer.playing .wave-point:nth-child(10) { animation-delay: 0.9s; }

@keyframes wave-move {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
    }
    25% {
        transform: translateY(-30px);
        box-shadow: 0 0 16px rgba(0, 242, 254, 1);
    }
    50% {
        transform: translateY(0);
        box-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
    }
    75% {
        transform: translateY(30px);
        box-shadow: 0 0 16px rgba(0, 242, 254, 1);
    }
}

/* 播放时的线条增强效果 */
.visualizer.playing .waveform-line {
    box-shadow: 0 0 10px rgba(79, 172, 254, 1);
    background: linear-gradient(90deg, #ff6b6b 0%, #4facfe 25%, #00f2fe 50%, #4facfe 75%, #ff6b6b 100%);
}

/* 暂停时保持静止状态 */
.visualizer:not(.playing) .wave-point {
    transform: translateY(0) !important;
    background: #4facfe !important;
    box-shadow: 0 0 6px rgba(79, 172, 254, 0.6) !important;
    animation: none !important;
}

.progress-section {
    margin: 12px 0;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--netease-border);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--netease-red);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 2px solid var(--netease-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease, left 0.1s linear;
}

.progress-bar:hover .progress-thumb,
.progress-bar.dragging .progress-thumb {
    opacity: 1;
}

.progress-thumb:active {
    cursor: grabbing;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--netease-text-muted);
    font-size: 11px;
    font-weight: 400;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.control-btn {
    background: #3c3c3c;
    border: none;
    color: #cccccc;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    line-height: 1;
    user-select: none;
}

.control-btn:hover {
    background: #4c4c4c;
    color: #ffffff;
    transform: scale(1.05);
}

.control-btn:active {
    background: #2c2c2c;
    transform: scale(0.95);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.control-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 65, 65, 0.3);
}

.control-btn.play-btn {
    width: 44px;
    height: 44px;
    background: #3c3c3c;
    border: none;
    color: #ffffff;
    font-size: 18px;
}

.control-btn.play-btn:hover {
    background: #4c4c4c;
    color: #ffffff;
}

.control-btn.active {
    background: var(--netease-red);
    border-color: var(--netease-red);
    color: white;
}

.control-btn.active:hover {
    background: var(--netease-dark-red);
    border-color: var(--netease-dark-red);
}

.volume-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.volume-slider {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin: 8px 0;
}

.volume-fill {
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 3px;
    width: 70%;
    position: relative;
}

/* 音量拖拽圆点 */
.volume-thumb {
    position: absolute;
    top: 50%;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 2px solid #4facfe;
    border-radius: 50%;
    transform: translateY(-50%);
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    z-index: 10;
}

.volume-thumb:hover {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.5);
    border-color: #00f2fe;
}

.volume-thumb:active {
    cursor: grabbing;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.7);
}

/* 增加音量滑块的可点击区域 */
.volume-slider::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    cursor: pointer;
}

/* 网易云播放列表样式 */
.playlist-container {
    background: var(--netease-content);
    padding: 0;
    border: none;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.playlist-header {
    margin-bottom: 0;
    padding: 16px 20px;
    border-bottom: 1px solid var(--netease-border);
    background: var(--netease-hover);
    display: flex;
    justify-content: center;
    align-items: center;
}

.playlist-header h3 {
    color: var(--netease-text);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.playlist-controls {
    display: flex;
    gap: 0.5rem;
}

.playlist-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.playlist-btn:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.playlist-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(79, 172, 254, 0.2);
}

.playlist-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.4);
}

.playlist-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.playlist-btn:active::before {
    animation: ripple-effect 0.4s ease-out;
}

@keyframes ripple-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

.song-list {
    list-style: none;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.song-list::-webkit-scrollbar {
    width: 8px;
}

.song-list::-webkit-scrollbar-track {
    background: var(--netease-content);
}

.song-list::-webkit-scrollbar-thumb {
    background: var(--netease-border);
    border-radius: 4px;
}

.song-item {
    background: transparent;
    margin-bottom: 0;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    user-select: none;
    position: relative;
}

.song-item:hover {
    background: var(--netease-hover);
    transform: translateX(4px);
}

.song-item:active {
    background: var(--netease-active);
    transform: translateX(2px);
}

.song-item.active {
    background: var(--netease-red);
    color: white;
    box-shadow: 0 2px 8px rgba(236, 65, 65, 0.3);
}

.song-item.active:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(236, 65, 65, 0.4);
}

.song-item.active .song-name,
.song-item.active .song-meta,
.song-item.active .song-duration {
    color: white;
}

.song-number {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 12px;
    flex-shrink: 0;
    color: var(--netease-text-muted);
}

.song-details {
    flex: 1;
    min-width: 0;
}

.song-name {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--netease-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.song-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--netease-text-muted);
    font-weight: 400;
}

.song-duration {
    color: var(--netease-text-muted);
    font-size: 12px;
    font-weight: 400;
    flex-shrink: 0;
}

.no-music {
    text-align: center;
    color: var(--text-secondary);
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px dashed var(--glass-border);
}

.no-music h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

.no-music p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* 网易云解析样式 */
.netease-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

.search-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-heavy);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--highlight-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(245, 87, 108, 0.4);
    background: linear-gradient(135deg, #e04e63 0%, #e085f2 100%);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 87, 108, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:active::after {
    width: 200px;
    height: 200px;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    transform: none;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.result-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-heavy);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.song-info {
    text-align: center;
    margin-bottom: 2rem;
}

.song-info img {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-heavy);
}

.song-info h3 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.song-info p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 600;
}

.song-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.detail-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.download-link {
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.download-link:hover {
    color: #ffffff;
}

.lyric-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--glass-border);
    margin-top: 1.5rem;
}

.lyric-box h5 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 800;
}

.lyric-box div {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .local-music-section {
        height: auto;
        min-height: 50vh;
        border-right: none;
        border-bottom: 1px solid var(--netease-border);
    }
    
    .netease-music-section {
        width: 100%;
        height: auto;
        min-height: 50vh;
    }
    
    .netease-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 0;
        margin: 0;
    }
    
    .container {
        padding: 0;
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
        width: 100vw;
        max-width: none;
    }
    
    .main-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .local-music-section {
        height: auto;
        min-height: 60vh;
        border-right: none;
        border-bottom: 1px solid var(--netease-border);
        display: flex;
        flex-direction: column;
    }
    
    .netease-music-section {
        width: 100%;
        height: auto;
        min-height: 40vh;
    }
    
    .header {
        margin-bottom: 1rem;
        padding: 1.5rem 1rem;
        border-radius: 0;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .header p {
        font-size: 1.2rem;
    }
    
    .nav-tabs {
        flex-direction: column;
        margin: 0 0 1rem 0;
        border-radius: 0;
    }
    
    .nav-tabs .nav-link {
        font-size: 1rem;
    }
    
    .modern-player {
        border-radius: 0;
        margin-bottom: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .playlist-container {
        border-radius: 0;
        padding: 1.5rem 1rem;
    }
    
    .search-form {
        border-radius: 0;
        padding: 1.5rem 1rem;
    }
    
    .result-card {
        border-radius: 0;
        padding: 1.5rem 1rem;
    }
    
    .player-header {
        flex-direction: column;
        text-align: center;
    }
    
    .song-info h3 {
        font-size: 1.3rem;
    }
    
    .song-info p {
        font-size: 1rem;
    }
    
    .controls {
        gap: 0.75rem;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .control-btn.play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .song-details-grid {
        grid-template-columns: 1fr;
    }
    
    .playlist-header {
        display: block !important;
        text-align: center !important;
        padding: 16px 20px !important;
    }
    
    .playlist-header h3 {
        font-size: 1.6rem !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    .song-item {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .song-name {
        font-size: 1.1rem;
    }
    
    .song-meta {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 1.1rem;
    }
    
    .form-control {
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .btn-primary {
        font-size: 1.1rem;
        border-radius: 8px;
    }
}

/* 加载动画 */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 0.125em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.125em;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
    z-index: 10000;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 按钮点击闪动效果 - 使用更高优先级选择器 */
button.control-btn:active,
.controls .control-btn:active {
    background: #ffffff !important;
    color: #000000 !important;
    transform: scale(0.9) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8) !important;
    animation: button-flash-white 0.3s ease-out !important;
}

button.btn-primary:active,
form button[type="submit"]:active {
    background: #ffffff !important;
    color: #000000 !important;
    transform: scale(0.95) !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.9) !important;
    animation: button-flash-white 0.4s ease-out !important;
}

li.song-item:active,
.song-list .song-item:active {
    background: #ffffff !important;
    color: #000000 !important;
    transform: translateX(5px) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7) !important;
    animation: button-flash-white 0.25s ease-out !important;
}

@keyframes button-flash-white {
    0% {
        background: #ffffff;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
    }
    50% {
        background: #ffffff;
        box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.8);
    }
    100% {
        background: #ffffff;
        box-shadow: 0 0 40px 20px rgba(255, 255, 255, 0);
    }
}

/* 额外的闪动效果 - 确保所有按钮都有效果 */
button:active,
.control-btn:active,
.btn-primary:active,
.song-item:active {
    animation: flash-pulse 0.2s ease-out !important;
}

@keyframes flash-pulse {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(2) contrast(1.5);
    }
    100% {
        filter: brightness(1);
    }
}
