/* ============================================
   我音乐 - 高级深色主题样式
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-deep: #050505;
    --bg-base: #0a0a0a;
    --bg-card: rgba(255,255,255,0.03);
    --bg-glass: rgba(20,20,20,0.6);
    --bg-glass-hover: rgba(30,30,30,0.7);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text-primary: #f0f0f0;
    --text-secondary: #999;
    --text-muted: #666;
    --accent: #e0e0e0;
    --accent-glow: rgba(220,220,220,0.15);
    --player-height: 76px;
    --nav-height: 60px;
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
    --font-sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    --font-display: "Georgia", "Times New Roman", serif;
    --font-mono: "SF Mono", "Consolas", monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
button { background: none; border: none; color: inherit; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }

/* --- Ambient Background --- */
.bg-ambient {
    position: fixed; inset: 0; z-index: -2;
    background: var(--bg-deep);
}
.bg-glow {
    position: absolute; inset: -20%;
    background: radial-gradient(ellipse 60% 50% at 70% 30%, rgba(40,40,40,0.4), transparent 70%);
    filter: blur(60px);
    transition: background 1.5s ease, opacity 1s ease;
    opacity: 0.5;
}
.bg-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(5,5,5,0.5) 100%);
}

/* --- Navigation --- */
.topnav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 100;
    background: rgba(8,8,8,0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.nav-inner {
    max-width: 1400px; height: 100%;
    margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px; font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}
.nav-logo-icon { opacity: 0.7; }
.nav-logo span { font-family: var(--font-display); }
.nav-links {
    display: flex; list-style: none; gap: 36px;
}
.nav-links a {
    font-size: 13px; color: var(--text-secondary);
    letter-spacing: 0.3px; position: relative;
    padding: 4px 0;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--accent);
}
.nav-toggle {
    display: none; flex-direction: column; gap: 4px;
    padding: 8px;
}
.nav-toggle span {
    width: 20px; height: 1.5px; background: var(--text-primary);
    transition: var(--transition);
}

/* --- Main Content --- */
.main-content {
    padding-top: var(--nav-height);
    min-height: 100vh;
}

/* --- Hero (Index) --- */
.hero {
    min-height: calc(100vh - var(--nav-height));
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 64px;
    gap: 40px;
    position: relative;
}
.hero-left { z-index: 2; }
.hero-title-en {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.hero-title-cn {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.hero-desc {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.8; max-width: 400px;
}
.hero-right {
    display: flex; justify-content: center; align-items: center;
    z-index: 2;
}
.hero-disc {
    position: relative;
    width: clamp(260px, 35vw, 440px);
    height: clamp(260px, 35vw, 440px);
}
.hero-disc-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 80px rgba(80,80,80,0.15);
    animation: float 6s ease-in-out infinite;
}
.hero-disc.playing .hero-disc-img {
    animation: spin 20s linear infinite, float 6s ease-in-out infinite;
}
.hero-disc-ring {
    position: absolute; inset: -2px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    pointer-events: none;
}
.hero-disc-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 30%; height: 30%;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1a1a 0%, #050505 100%);
    border: 1px solid rgba(255,255,255,0.05);
}
.hero-disc-center::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px; border-radius: 50%;
    background: #333;
}

/* --- Section common --- */
.section {
    padding: 80px 64px;
    max-width: 1400px; margin: 0 auto;
}
.section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 48px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.section-title {
    font-size: 22px; font-weight: 400;
    letter-spacing: 0.5px;
}
.section-title small {
    font-size: 12px; color: var(--text-muted);
    margin-left: 12px; font-weight: 300;
}

/* --- Music Grid --- */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.music-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}
.music-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.music-card-cover {
    position: relative; aspect-ratio: 1; overflow: hidden;
}
.music-card-cover img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.music-card:hover .music-card-cover img { transform: scale(1.05); }
.music-card-play {
    position: absolute; bottom: 12px; right: 12px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(8px);
    transition: all var(--transition);
}
.music-card:hover .music-card-play { opacity: 1; transform: translateY(0); }
.music-card-play svg { width: 18px; height: 18px; fill: #fff; }
.music-card-info { padding: 14px 16px; }
.music-card-title {
    font-size: 14px; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 4px;
}
.music-card-artist {
    font-size: 12px; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.music-card.playing {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 0 20px rgba(200,200,200,0.08);
}
.music-card.playing .music-card-title { color: var(--accent); }

/* --- Filter Bar --- */
.filter-bar {
    display: flex; gap: 12px; align-items: center;
    margin-bottom: 32px; flex-wrap: wrap;
}
.search-box {
    flex: 1; min-width: 200px; position: relative;
}
.search-box input {
    width: 100%; padding: 10px 16px 10px 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary); font-size: 14px;
    transition: border-color var(--transition);
}
.search-box input:focus { border-color: var(--border-hover); }
.search-box svg {
    position: absolute; left: 12px; top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
}
.filter-select {
    padding: 10px 16px; background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary); font-size: 13px;
    cursor: pointer; min-width: 120px;
}
.filter-select option { background: var(--bg-base); }

/* --- Album Section --- */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px;
}
.album-card {
    cursor: pointer;
    transition: transform var(--transition);
}
.album-card:hover { transform: translateY(-4px); }
.album-card-cover {
    position: relative; aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.album-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-card-cover::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
}
.album-card-name {
    font-size: 15px; font-weight: 500; margin-bottom: 4px;
}
.album-card-artist { font-size: 13px; color: var(--text-muted); }
.album-card-meta {
    font-size: 11px; color: var(--text-muted);
    margin-top: 6px; display: flex; gap: 12px;
}

/* --- Album Detail --- */
.album-detail {
    display: flex; gap: 48px; padding: 48px 64px;
    max-width: 1400px; margin: 0 auto;
    align-items: flex-start;
}
.album-detail-cover {
    width: 280px; height: 280px; flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.album-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-detail-info { flex: 1; padding-top: 16px; }
.album-detail-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.album-detail-name { font-size: 32px; font-weight: 400; margin-bottom: 8px; }
.album-detail-artist { font-size: 16px; color: var(--text-secondary); margin-bottom: 16px; }
.album-detail-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 20px; margin-bottom: 20px; }
.album-detail-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 600px; margin-bottom: 24px; }
.album-play-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 14px; font-weight: 500;
    transition: all var(--transition);
}
.album-play-btn:hover { background: rgba(255,255,255,0.14); }
.album-play-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* --- Song List (table style) --- */
.song-list { list-style: none; }
.song-item {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 80px 60px 60px;
    gap: 16px; align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-fast);
    cursor: pointer;
}
.song-item:hover { background: var(--bg-card); }
.song-item.playing { background: rgba(255,255,255,0.04); }
.song-item.playing .song-title { color: var(--accent); }
.song-index {
    font-size: 13px; color: var(--text-muted);
    text-align: center; font-variant-numeric: tabular-nums;
}
.song-item:hover .song-index { color: var(--text-primary); }
.song-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-artist, .song-album {
    font-size: 13px; color: var(--text-secondary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.song-duration { font-size: 13px; color: var(--text-muted); text-align: right; font-variant-numeric: tabular-nums; }
.song-actions { display: flex; gap: 8px; justify-content: center; }
.song-actions button { padding: 4px; opacity: 0.5; transition: opacity var(--transition-fast); }
.song-actions button:hover { opacity: 1; }
.song-actions button svg { width: 16px; height: 16px; fill: currentColor; }
.song-actions .fav-active svg { fill: #e0a0a0; }
.song-item-header {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-muted); border-bottom: 1px solid var(--border) !important;
    cursor: default;
}
.song-item-header:hover { background: transparent !important; }

/* --- Playlist Section --- */
.playlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.playlist-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}
.playlist-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.playlist-card-cover {
    aspect-ratio: 16/9; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    display: flex; align-items: center; justify-content: center;
}
.playlist-card-cover .pl-icon {
    width: 48px; height: 48px; opacity: 0.3;
}
.playlist-card-cover .pl-icon svg { width: 100%; height: 100%; fill: #fff; }
.playlist-card-info { padding: 20px; }
.playlist-card-name { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.playlist-card-meta { font-size: 12px; color: var(--text-muted); }

/* --- About Page --- */
.about-hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center; padding: 0 32px;
}
.about-avatar {
    width: 120px; height: 120px; border-radius: 50%;
    overflow: hidden; margin-bottom: 32px;
    border: 1px solid var(--border);
    box-shadow: 0 0 40px rgba(100,100,100,0.1);
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-nickname { font-size: 28px; font-weight: 400; margin-bottom: 12px; }
.about-bio {
    font-size: 15px; color: var(--text-secondary);
    max-width: 500px; line-height: 1.8; margin-bottom: 48px;
}
.about-quote {
    font-family: var(--font-display); font-size: 16px;
    color: var(--text-muted); font-style: italic;
    max-width: 600px; line-height: 1.8;
}
.about-stats {
    display: flex; gap: 64px; margin-top: 48px;
}
.about-stat { text-align: center; }
.about-stat-num {
    font-size: 36px; font-weight: 300;
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
}
.about-stat-label { font-size: 13px; color: var(--text-muted); }

/* --- Player --- */
.player {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: var(--player-height);
    z-index: 200;
    background: rgba(8,8,8,0.82);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--border);
    transition: transform var(--transition);
}
.player-bg-glow {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s ease;
    pointer-events: none;
}
.player.active .player-bg-glow { opacity: 0.04; }
.player-inner {
    max-width: 1400px; height: 100%;
    margin: 0 auto; padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr 200px;
    align-items: center; gap: 24px;
}
.player-info { display: flex; align-items: center; gap: 14px; overflow: hidden; }
.player-cover {
    position: relative; width: 50px; height: 50px;
    flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden;
}
.player-cover img { width: 100%; height: 100%; object-fit: cover; }
.player-cover-ring {
    position: absolute; inset: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    pointer-events: none;
}
.player-text { overflow: hidden; }
.player-title {
    font-size: 13px; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 2px;
}
.player-artist {
    font-size: 12px; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.player-center { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.player-controls { display: flex; align-items: center; gap: 8px; }
.ctrl-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 6px; opacity: 0.55;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    border-radius: 50%;
}
.ctrl-btn:hover { opacity: 1; transform: scale(1.08); }
.ctrl-btn.ctrl-play {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    opacity: 0.9;
}
.ctrl-btn.ctrl-play:hover { background: rgba(255,255,255,0.14); }
.ctrl-btn.active { opacity: 1; color: var(--accent); }

.player-progress {
    display: flex; align-items: center; gap: 12px;
    width: 100%; max-width: 560px;
}
.time-current, .time-total {
    font-size: 11px; color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 38px; text-align: center;
}
.progress-bar {
    flex: 1; height: 4px; position: relative;
    background: rgba(255,255,255,0.06);
    border-radius: 2px; cursor: pointer;
    transition: height var(--transition-fast);
}
.progress-bar:hover { height: 6px; }
.progress-fill {
    height: 100%; width: 0%;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    transition: width 0.1s linear;
}
.progress-thumb {
    position: absolute; top: 50%;
    width: 12px; height: 12px; border-radius: 50%;
    background: #ddd; transform: translate(-50%, -50%) scale(0);
    transition: transform var(--transition-fast);
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}
.progress-bar:hover .progress-thumb { transform: translate(-50%, -50%) scale(1); }

.player-right { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }

/* Mobile-only controls (hidden on desktop) */
.player-mobile-controls { display: none; }
.player-progress-mobile { display: none; }

.volume-bar {
    width: 80px; height: 4px; position: relative;
    background: rgba(255,255,255,0.06);
    border-radius: 2px; cursor: pointer;
    transition: height var(--transition-fast);
}
.volume-bar:hover { height: 6px; }
.volume-fill {
    height: 100%; width: 80%;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    transition: width var(--transition-fast);
}

/* --- Playlist Drawer --- */
.playlist-drawer {
    position: fixed; top: 0; right: 0; bottom: var(--player-height);
    width: 400px; max-width: 90vw;
    background: rgba(12,12,12,0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    z-index: 300;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex; flex-direction: column;
}
.playlist-drawer.open { transform: translateX(0); }
.drawer-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    font-size: 15px; font-weight: 500;
}
.drawer-close { font-size: 22px; opacity: 0.5; transition: opacity var(--transition-fast); }
.drawer-close:hover { opacity: 1; }
.drawer-body { flex: 1; overflow-y: auto; }
.drawer-song {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 24px; cursor: pointer;
    transition: background var(--transition-fast);
}
.drawer-song:hover { background: var(--bg-card); }
.drawer-song.playing { background: rgba(255,255,255,0.04); }
.drawer-song img {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    object-fit: cover; flex-shrink: 0;
}
.drawer-song-info { flex: 1; overflow: hidden; }
.drawer-song-title { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-song-artist { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-song.playing .drawer-song-title { color: var(--accent); }
.drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 250;
    opacity: 0; pointer-events: none;
    transition: opacity var(--transition);
}
.drawer-overlay.show { opacity: 1; pointer-events: auto; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; border-radius: var(--radius);
    font-size: 14px; font-weight: 500;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all var(--transition);
}
.btn:hover { background: var(--bg-glass-hover); border-color: var(--border-hover); }
.btn-primary {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.12);
}
.btn-primary:hover { background: rgba(255,255,255,0.16); }
.btn-danger { color: #e06060; }
.btn-danger:hover { background: rgba(224,96,96,0.1); border-color: rgba(224,96,96,0.2); }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 10px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary); font-size: 14px;
    transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: rgba(255,255,255,0.2); }
.form-textarea { resize: vertical; min-height: 80px; }

/* --- Admin Layout --- */
.admin-body { background: var(--bg-deep); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 220px; flex-shrink: 0;
    background: rgba(8,8,8,0.9);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    padding: 24px 0; position: sticky; top: 0;
    height: 100vh; overflow-y: auto;
}
.admin-logo {
    padding: 0 24px 24px; font-size: 16px; font-weight: 500;
    border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.admin-nav { list-style: none; }
.admin-nav li a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 24px; font-size: 13px; color: var(--text-secondary);
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
}
.admin-nav li a:hover { color: var(--text-primary); background: var(--bg-card); }
.admin-nav li a.active { color: var(--text-primary); border-left-color: var(--accent); background: var(--bg-card); }
.admin-content { flex: 1; padding: 32px; min-width: 0; }
.admin-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.admin-header h1 { font-size: 22px; font-weight: 400; }

.admin-table {
    width: 100%; border-collapse: collapse;
}
.admin-table th {
    text-align: left; padding: 12px 16px;
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 14px 16px; border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.admin-table tr:hover td { background: var(--bg-card); }
.admin-table img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; }

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px; margin-bottom: 24px;
}
.admin-stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px; margin-bottom: 32px;
}
.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.admin-stat-num { font-size: 32px; font-weight: 300; margin-bottom: 4px; }
.admin-stat-label { font-size: 13px; color: var(--text-muted); }

.admin-login-page {
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh; padding: 32px;
}
.admin-login-box {
    width: 100%; max-width: 380px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.admin-login-box h1 {
    font-size: 20px; font-weight: 400; margin-bottom: 8px;
    text-align: center;
}
.admin-login-box p {
    font-size: 13px; color: var(--text-muted);
    text-align: center; margin-bottom: 28px;
}

/* --- Alert / Message --- */
.alert {
    padding: 12px 16px; border-radius: var(--radius);
    font-size: 13px; margin-bottom: 20px;
}
.alert-success { background: rgba(80,180,80,0.1); border: 1px solid rgba(80,180,80,0.2); color: #80c880; }
.alert-error { background: rgba(224,96,96,0.1); border: 1px solid rgba(224,96,96,0.2); color: #e08080; }
.alert-info { background: rgba(100,160,220,0.1); border: 1px solid rgba(100,160,220,0.2); color: #a0c0e0; }

/* --- Empty State --- */
.empty-state {
    text-align: center; padding: 80px 32px;
    color: var(--text-muted);
}
.empty-state svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: 0.2; }
.empty-state p { font-size: 14px; }

/* --- Page Hero (non-index) --- */
.page-hero {
    padding: 48px 64px 32px;
    max-width: 1400px; margin: 0 auto;
}
.page-hero h1 {
    font-size: 32px; font-weight: 400;
    margin-bottom: 8px;
}
.page-hero p { font-size: 14px; color: var(--text-muted); }

/* --- Pagination --- */
.pagination {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 40px;
}
.pagination a {
    padding: 8px 14px; font-size: 13px;
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: all var(--transition-fast);
}
.pagination a:hover { background: var(--bg-card); }
.pagination a.current { background: rgba(255,255,255,0.08); border-color: var(--border-hover); }

/* --- Animations --- */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.4s ease; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero { padding: 0 40px; }
    .section { padding: 60px 40px; }
    .album-detail { padding: 32px 40px; flex-direction: column; }
    .album-detail-cover { width: 220px; height: 220px; }
    .player-inner { grid-template-columns: 220px 1fr 160px; }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --nav-height: 54px; --player-height: 64px; }
    
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: var(--nav-height); left: 0; right: 0;
        flex-direction: column;
        background: rgba(8,8,8,0.95);
        backdrop-filter: blur(20px);
        padding: 16px 32px; gap: 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0; pointer-events: none;
        transition: all var(--transition);
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--border); }
    .nav-links li:last-child { border-bottom: none; }
    
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding: 24px 24px 40px;
        text-align: center;
        gap: 32px;
        min-height: auto;
    }
    .hero-right { order: -1; }
    .hero-desc { margin: 0 auto; }
    .hero-title-en { font-size: 2.2rem; }
    
    .section { padding: 48px 20px; }
    .page-hero { padding: 32px 20px 24px; }
    .album-detail { padding: 24px 20px; }
    
    .music-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
    .album-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
    
    .song-item {
        grid-template-columns: 32px 1fr 50px 40px;
        gap: 8px; padding: 8px 12px;
    }
    .song-album, .song-actions { display: none; }
    .song-artist { display: none; }
    
    .player-inner {
        grid-template-columns: 1fr auto;
        padding: 0 12px;
        gap: 8px;
        grid-template-rows: 1fr;
    }
    .player-info { overflow: hidden; flex: 1; min-width: 0; }
    .player-cover { width: 42px; height: 42px; }
    .player-center { display: none; }
    .player-right { display: none; }
    .player-mobile-controls { display: flex; align-items: center; gap: 2px; }
    .player-mobile-controls .ctrl-btn { padding: 8px; }
    .player-mobile-controls .ctrl-play {
        width: 36px; height: 36px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.08);
    }

    /* Mobile player progress bar at bottom */
    .player-progress-mobile {
        display: block;
        position: absolute; top: 0; left: 0; right: 0;
        height: 2px; background: rgba(255,255,255,0.06);
        z-index: 201;
    }
    .player-progress-mobile-fill {
        height: 100%; width: 0%;
        background: rgba(255,255,255,0.3);
        transition: width 0.1s linear;
    }
    
    .about-stats { gap: 32px; }
    .about-stat-num { font-size: 28px; }
    
    .admin-sidebar { display: none; }
    .admin-content { padding: 20px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-disc { width: 220px; height: 220px; }
    .music-grid { grid-template-columns: 1fr 1fr; }
    .album-grid { grid-template-columns: 1fr 1fr; }
    .about-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
}
