/* 小凉音乐 - 科幻炫酷蓝色主题 */
:root {
    /* 科幻蓝色主题变量 - 保留蓝色样式 */
    --primary: #0066ff;
    --primary-light: #3399ff;
    --primary-dark: #0052cc;
    --secondary: #00ccff;
    --secondary-light: #66e0ff;
    --secondary-dark: #00a3cc;
    
    /* 背景与文本 - 深灰色主题 */
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2a2a2a;
    --bg-card: rgba(30, 30, 30, 0.9);
    --bg-overlay: rgba(0, 0, 0, 0.8);
    
    --text-primary: #ffffff;
    --text-secondary: #b3c7ff;
    --text-muted: #a0a0c0;
    --text-disabled: #707090;
    
    /* 边框与阴影 - 适配深灰色背景 */
    --border-color: rgba(0, 102, 255, 0.2);
    --border-light: rgba(0, 204, 255, 0.15);
    --border-active: rgba(0, 204, 255, 0.5);
    
    --shadow-light: 0 4px 12px rgba(0, 102, 255, 0.1);
    --shadow-medium: 0 8px 24px rgba(0, 102, 255, 0.2);
    --shadow-heavy: 0 12px 36px rgba(0, 102, 255, 0.25);
    --glow: 0 0 15px rgba(0, 204, 255, 0.4);
    
    /* 状态颜色 */
    --success: #00ff99;
    --warning: #ffcc00;
    --error: #ff3366;
    --info: #00ccff;
    
    /* 尺寸 */
    --sidebar-width: 240px;
    --top-bar-height: 64px;
    --player-bar-height: 80px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
}

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

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 移动端适配 - 安卓网页端优化 */
@media (max-width: 768px) {
    :root {
        --top-bar-height: 56px;
        --player-bar-height: 70px;
        --sidebar-width: 0px;
    }

    .container {
        height: 100vh;
        overflow: hidden;
    }

    /* 顶部栏优化 */
    .top-bar {
        padding: 0 16px;
        height: var(--top-bar-height);
        justify-content: flex-start;
        gap: 12px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-icon img {
        width: 28px;
        height: 28px;
    }

    /* 搜索框占据剩余空间 */
    .search-box {
        flex: 1;
        width: auto;
        max-width: none;
        margin-left: auto;
    }

    .search-input {
        font-size: 16px; /* 提高可读性 */
        padding: 10px;
    }

    /* 主内容区调整：隐藏侧边栏，内容全宽 */
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        width: 100%;
        background: rgba(30, 30, 30, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        border-right: none;
        padding: 0;
        z-index: 1000;
        align-items: center;
        justify-content: space-around;
    }



    .nav-item {
        flex-direction: column;
        gap: 6px;
        padding: 8px 12px;
        border-radius: var(--border-radius-sm);
        font-size: 12px;
        color: var(--text-muted);
        transition: all 0.3s ease;
        flex: 1;
        text-align: center;
        margin: 0;
        border-left: none;
        background: transparent;
    }

    .nav-item i {
        font-size: 20px;
        width: auto;
    }

    .nav-item.active {
        color: var(--secondary);
        background: rgba(0, 102, 255, 0.2);
        border-left: none;
        box-shadow: none;
    }

    .nav-item:hover {
        transform: none;
        background: rgba(0, 102, 255, 0.1);
    }

    /* 内容区域全宽，减少内边距 */
    .content-area {
        padding: 16px;
        padding-bottom: 80px; /* 为底部导航和播放器留出空间 */
        overflow-y: auto;
        height: calc(100vh - var(--top-bar-height) - var(--player-bar-height) - 60px);
    }

    /* 播放器栏优化 */
    .player-bar {
        height: var(--player-bar-height);
        padding: 0 16px;
        position: fixed;
        bottom: 60px; /* 位于底部导航上方 */
        left: 0;
        right: 0;
        border-top: 1px solid var(--border-color);
        border-bottom: none;
        background: rgba(30, 30, 30, 0.95);
        z-index: 999;
    }

    .now-playing {
        width: auto;
        max-width: 180px;
        gap: 10px;
    }

    .now-playing-art {
        width: 48px;
        height: 48px;
    }

    .now-playing-title {
        font-size: 14px;
    }

    .now-playing-artist {
        font-size: 12px;
    }

    .player-controls {
        max-width: none;
        flex: 1;
    }

    .control-buttons {
        gap: 12px;
    }

    .player-btn {
        width: 36px;
        height: 36px;
    }

    .player-btn.play {
        width: 44px;
        height: 44px;
    }

    .volume-control {
        display: none; /* 移动端隐藏音量控制 */
    }

    /* 进度条调整 */
    .progress-container {
        gap: 8px;
    }

    .time {
        font-size: 11px;
        min-width: 35px;
    }

    /* 歌曲列表调整 */
    .songs-list-container {
        max-height: none;
        border-radius: var(--border-radius);
    }

    .song-item {
        padding: 14px 12px;
    }

    .song-number {
        width: 24px;
        font-size: 13px;
    }

    .song-title {
        font-size: 15px;
    }

    .song-details {
        font-size: 11px;
    }

    .song-controls {
        opacity: 1; /* 移动端始终显示控制按钮 */
        gap: 6px;
    }

    .song-control-btn {
        width: 36px;
        height: 36px;
    }

    /* 推荐页面网格调整为单列 */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .category-card {
        padding: 16px;
    }

    .category-icon {
        width: 40px;
        height: 40px;
    }

    .category-name {
        font-size: 15px;
    }

    .category-desc {
        font-size: 11px;
    }

    /* 搜索历史调整 */
    .search-history {
        padding: 16px;
        margin-bottom: 16px;
    }

    .history-tags {
        gap: 6px;
    }

    .history-tag {
        padding: 5px 10px;
        font-size: 11px;
    }

    /* 结果头部调整 */
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 16px;
    }

    .results-count {
        font-size: 18px;
    }

    .play-all-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    /* 歌词页面优化 */
    .lyrics-content-container {
        padding: 16px;
    }

    .lyrics-content {
        font-size: 16px;
        line-height: 1.8;
    }

    .lyrics-line.active {
        font-size: 18px;
    }

    /* Toast提示位置调整 */
    .toast {
        bottom: 140px; /* 避免与底部控件重叠 */
        left: 16px;
        right: 16px;
        transform: translateX(0) translateY(20px);
        width: auto;
    }

    .toast.show {
        transform: translateX(0) translateY(0);
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    :root {
        --top-bar-height: 52px;
        --player-bar-height: 65px;
    }

    .top-bar {
        padding: 0 12px;
    }

    .logo-text {
        font-size: 18px;
    }

    .content-area {
        padding: 12px;
        padding-bottom: 80px;
    }

    .song-item {
        padding: 12px 10px;
    }

    .song-title {
        font-size: 14px;
    }

    .player-btn {
        width: 32px;
        height: 32px;
    }

    .player-btn.play {
        width: 40px;
        height: 40px;
    }

    .control-buttons {
        gap: 8px;
    }
}


/* PC端容器 */
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

/* 深灰色背景效果 */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(100, 100, 120, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(80, 120, 160, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 顶部栏 */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: var(--top-bar-height);
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 100;
}

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

.logo-icon img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px var(--secondary));
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 204, 255, 0.5);
}

/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
    width: 400px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 8px 16px;
    transition: all 0.3s ease;
    position: relative;
}

.search-box.has-input {
    border-color: var(--secondary);
    box-shadow: var(--glow);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    padding: 8px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    color: var(--secondary);
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.search-icon:hover {
    color: var(--secondary-light);
    transform: scale(1.1);
}

.clear-search {
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    display: none;
    transition: all 0.3s ease;
}

.clear-search:hover {
    color: var(--text-primary);
}

.search-box.has-input .clear-search {
    display: flex;
}

/* 主内容区 */
.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* 侧边栏 */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--border-color);
    padding: 24px 0;
}

.nav-section {
    padding: 0 16px;
}

.nav-title {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding: 0 8px;
}

.nav-list {
    list-style: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.nav-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.nav-item:hover {
    background: rgba(0, 102, 255, 0.2);
    color: var(--text-primary);
    transform: translateX(4px);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.3), rgba(0, 204, 255, 0.2));
    color: var(--secondary);
    border-left: 3px solid var(--secondary);
    box-shadow: var(--shadow-light);
}

/* 内容区域 */
.content-area {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.view-container {
    display: none;
    animation: fadeIn 0.3s ease;
}

.view-container.active {
    display: block;
}

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

/* 搜索历史 */
.search-history {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.history-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.clear-history {
    background: rgba(255, 51, 102, 0.2);
    color: var(--error);
    border: 1px solid var(--error);
    border-radius: var(--border-radius-sm);
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-history:hover {
    background: rgba(255, 51, 102, 0.3);
    transform: scale(1.05);
}

.history-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.history-tag {
    background: rgba(0, 102, 255, 0.2);
    color: var(--secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-tag:hover {
    background: rgba(0, 102, 255, 0.3);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* 结果头部 */
.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.results-count {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 700;
}

.results-count-compact {
    color: var(--text-secondary);
    font-size: 14px;
}

.play-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.play-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.play-all-btn i {
    font-size: 12px;
}

/* 歌曲列表 */
.songs-list-container {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    border-radius: var(--border-radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.pc-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.pc-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 102, 255, 0.1);
    border-radius: 4px;
}

.pc-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

.pc-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--secondary-light));
}

.songs-list {
    padding: 4px;
}

.song-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.song-item:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: translateX(4px);
}

.song-item.active {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.3), rgba(0, 204, 255, 0.2));
    border-left: 3px solid var(--secondary);
    box-shadow: var(--shadow-light);
    animation: glow-cyber 2s infinite;
}

.song-number {
    width: 30px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.song-info {
    flex: 1;
    margin: 0 16px;
}

.song-title {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-details {
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.song-artist {
    color: var(--secondary);
}

.song-album {
    color: var(--text-disabled);
}

.song-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.song-item:hover .song-controls {
    opacity: 1;
}

.song-control-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid var(--border-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.song-control-btn:hover {
    background: rgba(0, 102, 255, 0.3);
    border-color: var(--secondary);
    transform: scale(1.1);
    box-shadow: var(--shadow-light);
}

.song-control-btn.like.liked {
    background: rgba(255, 51, 102, 0.2);
    border-color: var(--error);
    color: var(--error);
}

.song-control-btn.like.liked:hover {
    background: rgba(255, 51, 102, 0.3);
}

.song-control-btn.play:hover {
    background: var(--primary);
    color: white;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--secondary);
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 8px;
}

.empty-state .hint {
    font-size: 12px;
    color: var(--text-disabled);
}

/* 推荐页面 */
.recommend-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.recommend-title {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.recommend-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.category-tag {
    background: rgba(0, 102, 255, 0.2);
    color: var(--secondary);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: rgba(0, 102, 255, 0.3);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.category-tag.active {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-medium);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.category-icon i {
    font-size: 20px;
    color: white;
}

.category-name {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-desc {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}

/* 播放器栏 */
.player-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--player-bar-height);
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 0 32px;
    position: relative;
    z-index: 100;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 280px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.now-playing:hover {
    background: rgba(0, 102, 255, 0.2);
}

.now-playing-art {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-light);
}

.now-playing-info {
    flex: 1;
}

.now-playing-title {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.now-playing-artist {
    color: var(--text-secondary);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 播放器控制 */
.player-controls {
    flex: 1;
    max-width: 600px;
}

.control-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.player-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid var(--border-light);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-btn:hover {
    background: rgba(0, 102, 255, 0.3);
    border-color: var(--secondary);
    transform: scale(1.1);
    box-shadow: var(--shadow-light);
}

.player-btn.play {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.5);
    animation: pulse 2s infinite;
}

.player-btn.play:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.8);
    animation: pulse 1s infinite;
}

.player-btn.shuffle.active,
.player-btn.lyrics.active {
    background: var(--primary);
    color: white;
    border-color: transparent;
}

.player-btn.liked {
    background: var(--error);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.5);
}

.player-btn.download.has-url {
    background: var(--success);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.5);
}

/* 进度条 */
.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time {
    color: var(--text-muted);
    font-size: 12px;
    min-width: 40px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(0, 102, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

/* 音量控制 */
.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 160px;
}

.volume-icon {
    color: var(--secondary);
    font-size: 16px;
}

.volume-slider {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(0, 102, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: var(--secondary-light);
    box-shadow: var(--glow);
}

/* 歌词页面 */
.lyrics-view {
    display: none;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.content-area.lyrics-active .lyrics-view {
    display: block;
}

.content-area.lyrics-active .view-container {
    display: none;
}

.lyrics-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lyrics-content-container {
    height: calc(100% - 73px);
    padding: 24px;
    overflow-y: auto;
}

.lyrics-content {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 2;
    text-align: center;
    font-family: 'Microsoft YaHei', sans-serif;
}

.lyrics-line {
    opacity: 0.5;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.lyrics-line.active {
    opacity: 1;
    color: var(--secondary);
    font-size: 22px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
    transform: scale(1.05);
}

/* Toast提示 */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-heavy);
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    border-top-color: var(--secondary);
    animation: spin 1s linear infinite;
}

 @keyframes spin {
     to { transform: rotate(360deg); }
 }
 
  @keyframes pulse {
      0% {
          box-shadow: 0 0 0 0 rgba(0, 204, 255, 0.7);
          transform: scale(1);
      }
      70% {
          box-shadow: 0 0 0 15px rgba(0, 204, 255, 0);
          transform: scale(1.05);
      }
      100% {
          box-shadow: 0 0 0 0 rgba(0, 204, 255, 0);
          transform: scale(1);
      }
  }

  @keyframes glow-cyber {
      0% {
          box-shadow: 0 0 10px rgba(0, 102, 255, 0.7), 0 0 20px rgba(0, 204, 255, 0.5), inset 0 0 10px rgba(0, 102, 255, 0.3);
          border-left-color: #0066ff;
      }
      50% {
          box-shadow: 0 0 20px rgba(0, 204, 255, 0.9), 0 0 40px rgba(0, 204, 255, 0.7), inset 0 0 15px rgba(0, 204, 255, 0.5);
          border-left-color: #00ccff;
      }
      100% {
          box-shadow: 0 0 10px rgba(0, 102, 255, 0.7), 0 0 20px rgba(0, 204, 255, 0.5), inset 0 0 10px rgba(0, 102, 255, 0.3);
          border-left-color: #0066ff;
      }
  }

/* 响应式设计 - 仅针对窗口大小调整 */
@media (max-width: 1200px) {
    .search-box {
        width: 300px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 200px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 900px) {
    .search-box {
        width: 250px;
    }
    
    .volume-control {
        width: 120px;
    }
}

