/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #45b7d1;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #2c3e50;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --z-header: 100;
    --z-modal: 200;
    --z-floating: 300;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* 背景粒子效果 */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#particles-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(78, 205, 196, 0.2) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 状态提示区域 */
.status-area {
    position: relative;
    min-height: 60px;
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 搜索区域 */
.search-section {
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: var(--transition);
}

.search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

#searchInput {
    flex: 1;
    padding: 20px 25px;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}

#searchInput::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.search-btn {
    padding: 20px 25px;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: #ff5252;
    transform: scale(1.05);
}

.search-btn i {
    font-size: 1.2rem;
}

/* 搜索建议 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

.search-suggestions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.suggestion-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* 搜索结果展示区域 */
.search-results-section {
    display: none;
    margin: 30px 0;
    padding: 0 20px;
}

.search-results-section.show {
    display: block;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.results-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-results {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.close-results:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: scale(1.1);
}


/* 方格布局 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.result-card.playing {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.1));
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #ff6b6b, #4ecdc4);
    opacity: 0;
    transition: var(--transition);
}

.result-card:hover::before {
    opacity: 1;
}

.result-card.playing::before {
    opacity: 1;
}

.result-cover {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.result-card:hover .result-cover {
    transform: scale(1.05);
}

.result-info {
    text-align: center;
}

.result-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-artist {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 5px 0;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-album {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.result-card:hover .result-actions {
    opacity: 1;
}

.result-play-btn {
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.result-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.result-play-btn:active {
    transform: scale(0.95);
}

.results-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.results-loading .loading-spinner {
    margin-bottom: 15px;
}

.results-loading span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .result-card {
        padding: 15px;
    }
    
    .result-cover {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .results-header h2 {
        font-size: 1.3rem;
    }
}

.suggestion-item:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.loading.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading p {
    color: white;
    font-size: 1.1rem;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 错误提示 */
.error-message {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
    display: none;
    animation: shake 0.5s ease-in-out;
}

.error-message.show {
    display: block;
}

.error-message i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.error-message p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* 音乐详情页面 */
.music-detail-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    display: block;
}

.music-detail-page.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 详情页面头部 */
.detail-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: var(--z-header);
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.back-btn:hover {
    background: #ff5252;
    transform: translateX(-2px);
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 音乐卡片 */
.music-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 30px;
    margin: 20px;
    display: block;
    animation: slideInUp 0.6s ease-out;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 音乐信息 */
.music-info {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.album-cover {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.album-cover:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* 封面播放器叠加层 */
.cover-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
    transition: var(--transition);
    border-radius: var(--border-radius);
    padding: 20px;
}

.album-cover:hover .cover-player-overlay {
    opacity: 1;
}

/* 封面标题 */
.cover-title {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 215, 0, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.title-left {
    text-align: left;
}

.title-right {
    text-align: right;
}

/* 主播放按钮 */
.cover-play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-medium);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.cover-play-btn:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.cover-play-btn i {
    margin-left: 3px; /* 调整播放图标位置 */
}

/* 艺术家信息 */
.cover-artist {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 215, 0, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* 控制按钮组 */
.cover-controls {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cover-control-btn {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.cover-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.cover-control-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.4);
}

/* 进度条 */
.cover-progress {
    position: absolute;
    bottom: 140px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cover-progress-bar {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.cover-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.cover-progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid #ffd700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cover-progress-bar:hover .cover-progress-handle {
    opacity: 1;
}

.cover-time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* 音量控制 */
.cover-volume-control {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
    display: none;
    animation: slideInUp 0.3s ease-out;
    z-index: 100;
    min-width: 120px;
}

.cover-volume-control.show {
    display: block;
}

.volume-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cover-mute-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.cover-mute-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.volume-percentage {
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
}

.cover-volume-bar {
    position: relative;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.cover-volume-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
    width: 80%;
    transition: width 0.1s ease;
}

.cover-volume-handle {
    position: absolute;
    top: 50%;
    left: 80%;
    width: 10px;
    height: 10px;
    background: white;
    border: 1px solid #ffd700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cover-volume-bar:hover .cover-volume-handle {
    opacity: 1;
}


.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

.album-cover:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 3rem;
    color: white;
}

.music-details {
    flex: 1;
}

.song-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.song-artist {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.song-album {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.music-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-item i {
    color: var(--accent-color);
}


/* 歌词区域 */
.lyrics-section {
    margin-bottom: 30px;
}

.lyrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-secondary);
}

.lyrics-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.lyrics-header i {
    color: var(--secondary-color);
}

.lyrics-controls {
    display: flex;
    gap: 10px;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.control-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.lyrics-content {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-primary);
    position: relative;
}

.lyrics-content::-webkit-scrollbar {
    width: 8px;
}

.lyrics-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.lyrics-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.lyrics-content::-webkit-scrollbar-thumb:hover {
    background: #ff5252;
}

.lyrics-line {
    margin-bottom: 8px;
    padding: 5px 0;
    transition: var(--transition);
    border-radius: 4px;
    padding-left: 10px;
}

.lyrics-line:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateX(5px);
}

.lyrics-line.time-stamp {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.lyrics-line.lyric-text {
    color: var(--text-primary);
    font-size: 1.05rem;
}

.lyrics-line.production-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}


/* 制作信息 */
.production-info {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 25px;
}

.production-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.production-info i {
    color: var(--secondary-color);
}

.production-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.production-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.production-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.production-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.production-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 特色功能区域 */
.features-section {
    margin-top: 60px;
    text-align: center;
}

.features-section h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 浮动播放器 */
.floating-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    backdrop-filter: blur(20px);
    z-index: 1000;
    min-width: 350px;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-player.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-info img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.player-details {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.player-details span:first-child {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 4px;
}

.player-details span:last-child {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.player-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.player-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.player-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.player-btn:last-child {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.player-btn:last-child:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.15);
}

.player-btn.main-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
}

.player-btn.main-btn:hover {
    background: #ff5252;
    transform: scale(1.15);
}

.player-btn.active {
    background: var(--secondary-color);
    color: white;
}

/* 播放进度条 */
.player-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    position: relative;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* 音量控制 */
.volume-control {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
    display: none;
    animation: slideInUp 0.3s ease-out;
}

.volume-control.show {
    display: block;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.volume-bar {
    position: relative;
    width: 100px;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.volume-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 3px;
    width: 80%;
    transition: width 0.1s ease;
}

.volume-handle {
    position: absolute;
    top: 50%;
    left: 80%;
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.volume-bar:hover .volume-handle {
    opacity: 1;
}

/* 提示消息 */
.toast {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    animation: slideInRight 0.3s ease-out;
}

.toast.show {
    display: flex;
}

.toast i {
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .music-info {
        flex-direction: column;
        text-align: center;
    }
    
    .album-cover {
        width: 150px;
        height: 150px;
    }
    
    .album-cover img {
        width: 100%;
        height: 100%;
    }
    
    .cover-player-overlay {
        padding: 15px;
    }
    
    .cover-title {
        top: 5px;
        font-size: 0.8rem;
        padding: 0 15px;
    }
    
    .cover-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .cover-artist {
        bottom: 80px;
        font-size: 0.7rem;
    }
    
    .cover-progress {
        bottom: 110px;
        left: 15px;
        right: 15px;
    }
    
    .cover-controls {
        bottom: 5px;
        gap: 10px;
    }
    
    .cover-control-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    
    .song-title {
        font-size: 1.8rem;
    }
    
    .song-artist {
        font-size: 1.1rem;
    }
    
    .music-stats {
        justify-content: center;
    }
    
    .embedded-player {
        padding: 15px;
    }
    
    .player-controls-main {
        gap: 10px;
    }
    
    .player-btn-main {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .player-btn-main.main-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .volume-control-main {
        right: 20px;
        left: 20px;
        width: auto;
    }
    
    .volume-bar-main {
        width: 100px;
    }
    
    .lyrics-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .lyrics-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .production-details {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .floating-player {
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 15px;
        min-width: auto;
        max-width: none;
    }
    
    .player-controls {
        gap: 8px;
    }
    
    .player-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .player-btn.main-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .volume-control {
        right: 20px;
        left: 20px;
        width: auto;
    }
    
    .volume-bar {
        width: 80px;
    }
    
    .toast {
        top: 20px;
        right: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-btn {
        justify-content: center;
    }
    
    .music-card {
        padding: 20px;
    }
    
    .lyrics-content {
        padding: 20px;
        max-height: 300px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff5252;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: white;
}

/* 焦点样式 */
button:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 加载动画 */
.loading-dots::after {
    content: '';
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* 增强的搜索结果卡片样式 */
.result-cover-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.result-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.result-card:hover .result-overlay {
    opacity: 1;
}

/* 歌曲序号徽章 */
.song-number-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.result-card:hover .song-number-badge {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.result-play-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.result-play-btn:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.result-quality {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.result-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-artist,
.result-album {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.result-artist i,
.result-album i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.8rem;
}

.result-duration {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.result-duration i {
    color: var(--accent-color);
}

.result-lyrics-status {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.result-lyrics-status.has-lyrics {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.result-lyrics-status.no-lyrics {
    background: rgba(158, 158, 158, 0.1);
    color: #9e9e9e;
}

.result-actions {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.result-action-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.8rem;
}

.result-action-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.result-action-btn i {
    font-size: 0.9rem;
}


/* 版权信息样式 */
.copyright-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 20px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright-info h3 {
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.copyright-info h3 i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.copyright-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.copyright-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.copyright-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.copyright-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.copyright-text p {
    margin: 0 0 15px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.copyright-details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.copyright-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.copyright-item i {
    color: var(--accent-color);
    font-size: 0.8rem;
}


.copyright-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.copyright-disclaimer {
    margin: 0 0 15px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.copyright-disclaimer i {
    color: var(--accent-color);
    font-size: 0.9rem;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .copyright-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright-details {
        justify-content: center;
    }
    
}
