/* ==================== 全局样式与变量 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主题色彩 - 现代紫色渐变 */
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --primary-glow: rgba(139, 92, 246, 0.3);
    
    /* 功能色 */
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* 背景色 - 深色主题 */
    --bg-dark: #0a0a0f;
    --bg-primary: #12121a;
    --bg-secondary: #1a1a24;
    --bg-tertiary: #252532;
    --bg-card: #1e1e2a;
    --bg-hover: #2a2a3a;
    
    /* 文字色 */
    --text-primary: #ffffff;
    --text-secondary: #b4b4c0;
    --text-muted: #6b6b7a;
    --text-dim: #4a4a58;
    
    /* 边框 */
    --border: #2a2a3a;
    --border-light: #3a3a4a;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--primary-glow);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* 动画 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景装饰 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== 顶部导航栏 ==================== */
.header {
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    font-size: 36px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 8px var(--primary-glow)); }
    50% { filter: drop-shadow(0 0 16px var(--primary-glow)); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 8px;
    align-items: center;
    background: var(--bg-secondary);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon {
    font-size: 18px;
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* 用户区域 */
.user-section {
    margin-left: auto;
    padding-left: 12px;
    border-left: 1px solid var(--border);
}

.auth-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.auth-buttons .btn {
    padding: 8px 16px;
    font-size: 13px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.user-avatar {
    font-size: 20px;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.btn-small {
    padding: 6px 12px !important;
    font-size: 12px !important;
}

/* ==================== 主内容区 ==================== */
.main-content {
    padding: 48px 0 160px;
    min-height: calc(100vh - 200px);
}

.tab-content {
    display: none;
    animation: fadeSlideIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

/* ==================== 搜索区域 ==================== */
.search-section {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.search-header {
    margin-bottom: 32px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.search-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.search-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 16px;
    transition: all var(--transition-normal);
    outline: none;
}

.input-group input::placeholder {
    color: var(--text-dim);
}

.input-group input:focus {
    border-color: var(--primary);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-tips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 20px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.tip-badge {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
}

.tip-text {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    outline: none;
    white-space: nowrap;
}

.btn-icon {
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-large {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
    color: var(--primary-light);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-icon-only {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
}

/* ==================== 搜索结果 ==================== */
.results-section {
    margin-top: 48px;
}

.results-header {
    margin-bottom: 24px;
}

.results-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.result-count {
    color: var(--text-muted);
    font-weight: 400;
}

.music-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.music-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--transition-normal);
}

.music-item:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.music-index {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
}

.music-item:hover .music-index {
    background: var(--primary);
    color: white;
}

.music-cover {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.music-info {
    flex: 1;
    min-width: 0;
}

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

.music-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.music-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.music-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.score-badge {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==================== 加载动画 ==================== */
.loading {
    text-align: center;
    padding: 80px 20px;
}

.spinner-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.spinner-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    z-index: 2;
}

.spinner-ring {
    width: 100%;
    height: 100%;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ==================== 曲库页面 ==================== */
.library-section {
    min-height: 400px;
}

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

.library-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px dashed var(--border);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-hint {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==================== 播放器 ==================== */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 26, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 12px 0;
    z-index: 1000;
    transform: translateY(0);
    transition: transform var(--transition-normal);
}

.player-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 24px;
    align-items: center;
}

/* 歌曲信息 */
.player-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.album-cover {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.album-cover.playing {
    animation: rotate-album 8s linear infinite;
}

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

.album-icon {
    font-size: 28px;
}

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

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

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

/* 播放控制 */
.player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

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

.control-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.control-btn:hover {
    background: var(--bg-hover);
    transform: scale(1.1);
}

.control-btn-main {
    width: 48px;
    height: 48px;
    background: var(--primary);
    font-size: 22px;
    box-shadow: var(--shadow-glow);
}

.control-btn-main:hover {
    background: var(--primary-dark);
    transform: scale(1.08);
}

/* 进度条 */
.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 500px;
}

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

.progress-bar-container {
    flex: 1;
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    position: relative;
    overflow: visible;
}

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

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 12px;
    height: 12px;
    background: var(--primary-light);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    box-shadow: 0 0 8px var(--primary-glow);
}

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

.progress-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* 音量控制 */
.player-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider-container {
    width: 80px;
}

.volume-slider {
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* ==================== 通知提示 ==================== */
.notification {
    position: fixed;
    top: 80px;
    right: 24px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform var(--transition-normal);
    z-index: 2000;
    max-width: 360px;
    font-size: 14px;
    line-height: 1.5;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: var(--success);
    background: linear-gradient(135deg, var(--bg-card), rgba(16, 185, 129, 0.1));
}

.notification.error {
    border-left-color: var(--danger);
    background: linear-gradient(135deg, var(--bg-card), rgba(239, 68, 68, 0.1));
}

.notification.info {
    border-left-color: var(--info);
    background: linear-gradient(135deg, var(--bg-card), rgba(59, 130, 246, 0.1));
}

/* ==================== 关于页面 ==================== */
.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero 区域 */
.about-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.05));
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate-slow 20s linear infinite;
}

.about-icon-large {
    font-size: 72px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px var(--primary-glow));
    animation: pulse-glow 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.about-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.about-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* 故事内容区 */
.about-story {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    margin-bottom: 32px;
    line-height: 2;
}

.story-paragraph {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    text-indent: 2em;
    line-height: 2.2;
    text-align: justify;
}

.story-paragraph strong {
    color: var(--primary-light);
    font-weight: 600;
}

.story-paragraph em {
    color: var(--text-primary);
    font-style: normal;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.1));
    padding: 2px 8px;
    border-radius: 4px;
}

/* 高亮引用区 */
.story-highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.08));
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 40px 0;
    text-align: center;
    position: relative;
}

.highlight-icon {
    font-size: 36px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 12px var(--primary-glow));
}

.highlight-text {
    font-size: 17px;
    line-height: 2;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

.highlight-text strong {
    color: var(--primary-light);
    font-size: 18px;
    font-weight: 700;
}

/* 结尾段落 */
.story-ending {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* 签名 */
.story-signature {
    text-align: right;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.story-signature p {
    color: var(--text-muted);
    font-size: 15px;
    font-style: italic;
    margin: 4px 0;
}

.signature-date {
    color: var(--text-dim);
    font-size: 13px;
}

/* 技术区 */
.about-tech {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.tech-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tech-tag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-md);
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tech-tag:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(124, 58, 237, 0.15));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.tech-note {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* 旧样式兼容 */
.about-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 48px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

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

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

.tech-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.tech-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

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

.tech-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.tech-value {
    color: var(--text-muted);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav {
        width: 100%;
        justify-content: center;
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        padding: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .player-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 16px;
    }
    
    .player-info {
        display: none;
    }
    
    .player-right {
        position: absolute;
        top: 12px;
        right: 16px;
    }
    
    .player-center {
        width: 100%;
    }
    
    .music-item {
        flex-wrap: wrap;
    }
    
    .music-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 8px;
    }
    
    .music-index {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .main-content {
        padding: 32px 0 180px;
    }
    
    .search-tips {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-large {
        padding: 14px 24px;
    }
}
