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

:root {
    --primary: #e94560;
    --primary-dark: #c73650;
    --bg-dark: #0f0f23;
    --bg-card: #1a1a2e;
    --bg-card2: #16213e;
    --bg-input: #1e2a45;
    --text-main: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6c6c80;
    --border: rgba(255,255,255,0.1);
    --success: #4caf50;
    --warning: #ff9800;
    --danger: #f44336;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

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

/* ========== 导航栏 ========== */
.navbar {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
    background: rgba(233, 69, 96, 0.15);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 通知铃铛 */
/* VIP按钮 */
.nav-vip-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #f59e0b;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}
.nav-vip-btn:hover {
    background: rgba(245,158,11,0.2);
    color: #f59e0b;
    transform: translateY(-1px);
}
.nav-vip-btn.is-vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: none;
}
.nav-vip-btn.is-vip:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
}
.nav-vip-btn i {
    font-size: 12px;
}

/* 头像VIP皇冠 */
.nav-avatar-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-vip-crown {
    position: absolute;
    top: -3px;
    left: -4px;
    font-size: 8px;
    color: #f59e0b;
    background: var(--bg-dark);
    border-radius: 50%;
    padding: 1px;
    line-height: 1;
    filter: drop-shadow(0 0 3px rgba(245,158,11,0.6));
}

.nav-notify-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}
.nav-notify-bell:hover {
    color: var(--primary);
    background: rgba(255,77,109,0.1);
}
.bell-tooltip {
    display: none;
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #e2e8f0;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
    pointer-events: none;
}
.bell-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1e293b;
}
.nav-notify-bell:hover .bell-tooltip {
    display: block;
}
/* 铃铛悬浮面板 */
.nav-notify-wrap {
    position: relative;
}
.bell-hover-panel {
    display: none;
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 14px 16px;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 200;
    text-align: center;
}
.bell-hover-panel::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1e293b;
}
.nav-notify-wrap:hover .bell-hover-panel {
    display: block;
}
.nav-notify-wrap:hover .bell-tooltip {
    display: none;
}
.bell-readall-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.bell-readall-btn:hover {
    background: rgba(34,197,94,0.15);
    border-color: rgba(34,197,94,0.4);
    color: #22c55e;
}
.notify-badge {
    position: absolute;
    top: 2px;
    right: 0px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #fff;
    background: var(--primary);
    border-radius: 10px;
    pointer-events: none;
}

.user-menu {
    position: relative;
}

.user-name {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    transition: background 0.3s;
}

.user-name:hover {
    background: rgba(255,255,255,0.1);
}

.user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 160px;
    padding: 8px 0;
    box-shadow: var(--shadow);
    z-index: 100;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s;
}

.user-dropdown a:hover {
    background: rgba(233, 69, 96, 0.15);
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 20px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 64px;
    right: -60%;
    width: 55%;
    bottom: 0;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    padding: 10px 0;
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover {
    color: var(--text-main);
    background: rgba(233, 69, 96, 0.1);
}

.mobile-menu a i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    font-size: 13px;
}

.mobile-menu-section {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-section:last-child {
    border-bottom: none;
}

.mobile-menu-section a {
    border-bottom: none;
}

.mobile-menu-label {
    font-size: 11px;
    color: var(--text-muted);
    padding: 4px 20px 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 移动端菜单遮罩层 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

.mobile-menu-overlay.show {
    display: block;
}

/* ========== 按钮 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    line-height: 1.5;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-success {
    background: var(--success);
    color: #fff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-warning {
    background: var(--warning);
    color: #fff;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ========== 主内容区 ========== */
.main-content {
    margin-top: 64px;
    min-height: calc(100vh - 64px - 200px);
}

/* ========== 首页英雄区 ========== */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 30%, #16213e 60%, #0f3460 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(233, 69, 96, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(15, 52, 96, 0.3) 0%, transparent 50%);
}
.hero-bg::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 30, 120, 0.45) 0%, rgba(160, 20, 100, 0.2) 35%, transparent 70%);
    animation: breathGlow1 5s ease-in-out infinite;
    pointer-events: none;
}
.hero-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 40, 200, 0.4) 0%, rgba(100, 30, 180, 0.15) 35%, transparent 70%);
    animation: breathGlow2 6s ease-in-out infinite 1.5s;
    pointer-events: none;
}
@keyframes breathGlow1 {
    0%, 100% {
        opacity: 0.35;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}
@keyframes breathGlow2 {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.85);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.25);
    }
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero-glow-1 {
    top: 20%;
    left: 15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.4) 0%, rgba(233, 30, 99, 0.12) 40%, transparent 70%);
    animation: breathGlow3 7s ease-in-out infinite;
}
.hero-glow-2 {
    top: 60%;
    right: 10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.38) 0%, rgba(156, 39, 176, 0.1) 40%, transparent 70%);
    animation: breathGlow3 5s ease-in-out infinite 2.5s;
}
.hero-glow-3 {
    top: 35%;
    left: 55%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(244, 67, 54, 0.3) 0%, rgba(244, 67, 54, 0.08) 40%, transparent 70%);
    animation: breathGlow3 8s ease-in-out infinite 4s;
}
@keyframes breathGlow3 {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.75);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #e94560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ========== 首页搜索框 ========== */
.hero-search {
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-search-form {
    display: flex;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.hero-search-form:focus-within {
    border-color: var(--primary);
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 24px;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

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

.hero-search-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 14px 28px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.hero-search-btn:hover {
    background: var(--primary-dark);
}

/* ========== 分类区域 ========== */
.section {
    padding: 60px 0;
}

.categories-section {
    padding: 30px 0;
}

.categories-section .section-title {
    margin-bottom: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.categories-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.category-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(233, 69, 96, 0.1);
}

.category-tag i {
    font-size: 12px;
    color: var(--primary);
}

/* 保留旧的分类卡片样式以免其他页面用到 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    color: var(--text-secondary);
    font-size: 14px;
}

.category-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.2);
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

/* ========== 歌曲卡片 ========== */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.song-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.today-recommend-badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background: linear-gradient(135deg, #ff6b35, #f7c948);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(45deg);
    z-index: 5;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    letter-spacing: 1px;
    white-space: nowrap;
}

.today-recommend-badge i {
    font-size: 10px;
    margin-right: 2px;
}

.new-upload-badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(45deg);
    z-index: 5;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    letter-spacing: 1px;
    white-space: nowrap;
}

.new-upload-badge i {
    font-size: 10px;
    margin-right: 2px;
}

.song-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border-color: rgba(233, 69, 96, 0.3);
}

.song-cover {
    height: 120px;
    background: linear-gradient(135deg, var(--bg-card2), var(--bg-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.song-cover > i {
    font-size: 40px;
    color: rgba(233, 69, 96, 0.3);
}

.song-play-btn {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
    color: #fff;
    font-size: 20px;
}

.song-card:hover .song-play-btn {
    opacity: 1;
    transform: scale(1);
}

.song-play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.song-info {
    padding: 16px;
}

.song-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-title a {
    color: var(--text-main);
}

.song-title a:hover {
    color: var(--primary);
}

.song-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.song-category {
    background: rgba(233, 69, 96, 0.15);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
}

.song-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo span {
    font-size: 18px;
    font-weight: 700;
}

.logo-img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

/* 组合模式LOGO */
.logo-combo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    max-width: 200px;
}

.logo-cn-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    display: inline-flex;
    white-space: nowrap;
}

.logo-en-text {
    font-size: 9px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transform: scale(0.9);
    transform-origin: left center;
}

/* 渐变色文字 */
.logo-cn-text.gradient-text .wave-char {
    background: inherit;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-en-text.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========== 表单样式 ========== */
.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--primary);
}

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

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-error {
    font-size: 12px;
    color: var(--danger);
    margin-top: 4px;
}

/* ========== 页面容器 ========== */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* ========== 卡片 ========== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

/* ========== 提示信息 ========== */
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.alert-error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.alert-warning {
    background: rgba(255, 152, 0, 0.15);
    border: 1px solid rgba(255, 152, 0, 0.3);
    color: #ff9800;
}

.alert-info {
    background: rgba(33, 150, 243, 0.15);
    border: 1px solid rgba(33, 150, 243, 0.3);
    color: #2196f3;
}

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

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.3;
}

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

/* ========== 音频播放器 ========== */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 12px 0;
    z-index: 1000;
}

.player-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.player-info {
    min-width: 200px;
}

.player-title {
    font-size: 14px;
    font-weight: 500;
}

.player-notice {
    font-size: 11px;
    color: var(--text-muted);
}

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

.player-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-shrink: 0;
}

.player-btn:hover {
    background: var(--primary-dark);
}

.player-progress {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.player-time {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 90px;
    text-align: right;
}

/* ========== 表格 ========== */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

table th {
    color: var(--text-secondary);
    font-weight: 500;
    background: rgba(255,255,255,0.03);
}

table tr:hover {
    background: rgba(255,255,255,0.03);
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-section p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-section a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--primary);
}

.footer-bottom p {
    margin: 4px 0;
}

/* ========== 登录/注册页面 ========== */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 40px 20px;
}

.auth-box {
    width: 420px;
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 16px;
}

.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-family: inherit;
}

.social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.social-btn.qq {
    color: #12b7f5;
    border-color: rgba(18, 183, 245, 0.3);
}

.social-btn.google {
    color: #ea4335;
    border-color: rgba(234, 67, 53, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
}

/* ========== 歌曲详情页 ========== */
.song-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.song-detail-center {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
}

.song-detail-center h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.song-detail-center .song-detail-meta {
    justify-content: center;
}

.song-detail-center .song-detail-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.song-detail-center .song-detail-actions {
    justify-content: center;
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.song-detail-center .alert {
    text-align: left;
}

.song-detail-info h1 {
    font-size: 32px;
    margin-bottom: 16px;
}

.song-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.song-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.song-detail-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.song-detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

/* ========== 点赞按钮 ========== */
.like-count-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.like-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 16px;
    padding: 2px 4px;
    transition: transform 0.3s, color 0.3s;
    line-height: 1;
}

.like-btn:hover {
    transform: scale(1.25);
    color: #ff1744;
}

.like-btn.liked {
    animation: likeAnim 0.6s ease;
}

@keyframes likeAnim {
    0% { transform: scale(1); }
    30% { transform: scale(1.5); color: #ff1744; }
    100% { transform: scale(1); }
}

/* ========== 封面黑胶唱片效果 ========== */
.cover-vinyl {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0d0d1a 40%, #1a1a2e 41%, #111125 60%, #1a1a2e 61%, #0f0f20 80%, #1a1a2e 81%, #0a0a18 100%);
    position: relative;
    animation: vinylSpin 8s linear infinite;
    box-shadow: 0 0 40px rgba(233, 69, 96, 0.2), 0 0 80px rgba(0,0,0,0.5);
}

.vinyl-groove {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02),
                0 0 0 20px rgba(255,255,255,0.015),
                0 0 0 40px rgba(255,255,255,0.01),
                0 0 0 60px rgba(255,255,255,0.008),
                0 0 0 80px rgba(255,255,255,0.005);
}

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, var(--primary-dark) 70%, #8b1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.4);
}

.vinyl-label i {
    font-size: 28px;
    color: rgba(255,255,255,0.9);
}

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

.song-detail-cover {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-card2), var(--bg-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 400px;
    overflow: hidden;
}

/* ========== 上传页面 ========== */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary);
    background: rgba(233, 69, 96, 0.05);
}

.upload-area i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 16px;
}

.upload-area p {
    color: var(--text-secondary);
    font-size: 14px;
}

.upload-progress {
    margin-top: 20px;
    display: none;
}

.upload-progress .progress-bar-bg {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.upload-progress .progress-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s;
}

.upload-progress .progress-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: center;
}

/* ========== 后台管理 ========== */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 64px);
}

.admin-sidebar {
    width: 240px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 20px 0;
    flex-shrink: 0;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s;
}

.admin-sidebar a:hover, .admin-sidebar a.active {
    background: rgba(233, 69, 96, 0.15);
    color: var(--primary);
}

.admin-sidebar a i {
    width: 20px;
    text-align: center;
}

.admin-main {
    flex: 1;
    padding: 30px;
    overflow-x: auto;
}

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

.admin-title {
    font-size: 22px;
    font-weight: 600;
}

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

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.admin-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.admin-stat-card .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ========== 文件上传样式 ========== */
.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    margin-top: 10px;
}

.file-info i {
    color: var(--success);
    font-size: 20px;
}

.file-info .file-name {
    flex: 1;
    font-size: 14px;
}

.file-info .file-size {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== 标签 ========== */
.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.tag-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.tag-warning {
    background: rgba(255, 152, 0, 0.15);
    color: #ff9800;
}

.tag-danger {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.tag-info {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
}

/* ========== 工具类 ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* ========== 搜索框 ========== */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-box .form-control {
    flex: 1;
}

/* ========== 筛选栏 ========== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    font-family: inherit;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(233, 69, 96, 0.1);
}

/* ========== 导航栏头像 ========== */
.nav-avatar {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    flex-shrink: 0;
}

.user-name img {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* ========== 个人中心头像 ========== */
.avatar-section {
    display: flex;
    align-items: center;
    gap: 24px;
}

.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 36px;
    color: var(--text-muted);
}

.avatar-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.avatar-upload-btn {
    cursor: pointer;
}

/* ========== 全网作者页 ========== */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    color: var(--text-main);
}

.author-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    color: var(--text-main);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    font-size: 24px;
    color: var(--primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

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

.author-stats i {
    margin-right: 4px;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* 手机端导航栏登录/注册按钮缩小 */
    .nav-right .btn {
        padding: 5px 12px;
        font-size: 12px;
        border-radius: 6px;
    }
    
    .nav-right {
        gap: 6px;
    }
    
    /* 手机端汉堡菜单 */
    .mobile-menu a {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* 手机端隐藏用户名文字，只保留头像 */
    .user-name {
        font-size: 0;
    }
    .user-name .nav-avatar-wrap {
        font-size: 14px;
    }
    .user-name .nav-avatar {
        width: 32px;
        height: 32px;
    }
    .user-name .fa-user-circle {
        font-size: 24px;
    }
    .user-name .nav-vip-crown {
        font-size: 10px;
    }
    
    /* 手机端隐藏电脑端下拉菜单，用汉堡菜单代替 */
    .user-dropdown {
        display: none !important;
    }
    
    /* 手机端VIP按钮缩小 */
    .nav-vip-btn {
        padding: 4px 10px !important;
        font-size: 12px !important;
    }
    .nav-vip-btn span {
        display: none;
    }
    
    /* 手机端通知铃铛缩小 */
    .nav-notify-bell {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .song-detail {
        grid-template-columns: 1fr;
    }
    
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding: 10px;
    }
    
    .admin-sidebar a {
        white-space: nowrap;
        padding: 8px 16px;
    }
    
    .songs-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .player-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .player-info {
        min-width: auto;
        text-align: center;
    }
    
    .auth-box {
        padding: 24px;
    }
    
    .social-login {
        flex-direction: column;
    }
}
