/* ============================================
   JokerMusic - 统一样式表 v2.0
   紫蓝渐变主题 (#667eea → #764ba2)
   ============================================ */
:root {
    --jm-primary: #667eea;
    --jm-secondary: #764ba2;
    --jm-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --jm-bg-hover: linear-gradient(135deg, #7b8ff0 0%, #8a5db3 100%);
    --jm-glass: rgba(255, 255, 255, 0.1);
    --jm-glass-border: rgba(255, 255, 255, 0.2);
    --jm-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    --jm-radius: 16px;
    --jm-radius-lg: 24px;
    --jm-radius-full: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #0f0f1a;
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--jm-primary);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--jm-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 45px;
    width: auto;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo img {
    height: 45px;
    width: auto;
}

.navbar-logo span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

/* 导航菜单 */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-menu a {
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 移动端菜单按钮（默认隐藏） */
.navbar-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
}
.navbar-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}
.navbar-menu-btn.active {
    background: var(--jm-primary, #e94560);
    border-color: var(--jm-primary, #e94560);
}
.navbar-menu-btn .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}
.navbar-menu-btn .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}
.navbar-menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.navbar-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}
.navbar-menu-btn.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 搜索框 */
.navbar-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    width: 280px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.search-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* 用户区域 */
.navbar-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-link {
    display: flex;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.user-avatar-link:hover {
    border-color: #fff;
    transform: scale(1.1);
}

.user-avatar-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    border-color: #fff;
    transform: scale(1.05);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 登录/注册按钮 */
.btn-auth {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background: #fff;
    color: var(--jm-primary);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--jm-primary);
    border-radius: var(--jm-radius);
    color: var(--jm-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--jm-primary);
    color: #fff;
}

.back-home {
    text-align: center;
    margin-top: 20px;
}

.back-home a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.back-home a:hover {
    color: var(--jm-primary);
}

.alert {
    padding: 12px 20px;
    border-radius: var(--jm-radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: rgba(255, 82, 82, 0.2);
    border: 1px solid rgba(255, 82, 82, 0.5);
    color: #ff5252;
}

.section-box {
    background: var(--jm-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius-lg);
    padding: 30px;
}

.section-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 5px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-link img {
    height: 50px;
}

/* 主内容区域 */
.main-content {
    padding-top: 70px;
    min-height: calc(100vh - 70px);
}

/* 轮播图 */
.banner {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.banner-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 80px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

/* 内容区域 */
.content-section {
    padding: 60px 40px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 5px;
    height: 30px;
    background: var(--jm-bg);
    border-radius: 3px;
}

.section-more {
    color: var(--jm-primary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.section-more:hover {
    color: #fff;
    gap: 10px;
}

/* 音乐卡片网格 */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.music-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.music-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.music-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.music-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-card:hover .music-cover img {
    transform: scale(1.1);
}

.music-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-card:hover .music-play-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--jm-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.music-card:hover .play-btn {
    transform: scale(1);
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.music-info {
    padding: 16px;
}

.music-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-artist {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.song-artist {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.player-artist {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* MV卡片 */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mv-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.mv-cover {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.mv-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.mv-info {
    padding: 16px;
}

.mv-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.mv-artist {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* 排行榜列表 */
.rank-list {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
    cursor: pointer;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rank-number {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    width: 40px;
    text-align: center;
}

.rank-number.top-1 { color: #ffd700; }
.rank-number.top-2 { color: #c0c0c0; }
.rank-number.top-3 { color: #cd7f32; }

.rank-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.rank-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-info {
    flex: 1;
    min-width: 0;
}

.rank-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-artist {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== 底部 ========== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--jm-primary);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== 登录页面 ========== */
.login-wrapper {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-form {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius-lg);
    padding: 50px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--jm-shadow);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header img {
    margin-bottom: 20px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--jm-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.login-form .form-group input[type="text"],
.login-form .form-group input[type="password"],
.login-form .form-group input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--jm-radius);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.login-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.login-form .form-group input:focus {
    outline: none;
    border-color: var(--jm-primary);
    background: rgba(102, 126, 234, 0.1);
}

.login-form .btn-primary {
    width: 100%;
    padding: 16px;
    background: var(--jm-bg);
    border: none;
    border-radius: var(--jm-radius);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-form .btn-primary:hover {
    background: var(--jm-bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--jm-shadow);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--jm-primary);
}

.checkbox-label a {
    color: var(--jm-primary);
}

.login-footer {
    margin-top: 25px;
    text-align: center;
}

.login-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 8px;
}

.login-footer a {
    color: var(--jm-primary);
    font-weight: 600;
}

/* ========== 用户页面 ========== */
.user-profile {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.user-header {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--jm-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
}

.user-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--jm-primary);
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-badge {
    font-size: 12px;
    padding: 4px 12px;
    background: var(--jm-bg);
    border-radius: 20px;
}

.user-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.user-stat {
    text-align: center;
}

.user-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--jm-primary);
}

.user-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.user-bio {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-top: 15px;
}

/* ========== 播放器页面 ========== */
.player-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.player-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--jm-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius-lg);
    padding: 40px;
}

.player-cover {
    aspect-ratio: 1;
    border-radius: var(--jm-radius);
    overflow: hidden;
    box-shadow: var(--jm-shadow);
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.player-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.player-artist {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.player-album {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
}

.player-controls {
    margin-top: auto;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    width: 35%;
    height: 100%;
    background: var(--jm-primary);
    border-radius: 3px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.play-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.control-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.control-btn.play-btn {
    width: 60px;
    height: 60px;
    background: var(--jm-primary);
    font-size: 24px;
}

.control-btn.play-btn:hover {
    background: var(--jm-bg-hover);
}

.audio-player {
    width: 100%;
    margin-top: 20px;
}

.audio-player audio {
    width: 100%;
    height: 50px;
    border-radius: var(--jm-radius);
}

.audio-player audio {
    width: 100%;
    height: 50px;
    border-radius: var(--jm-radius);
}

/* ========== 歌词显示 ========== */
.lyrics-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--jm-radius);
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lyrics-container::-webkit-scrollbar {
    display: none;
}

.lyric-scroll {
    padding: 20px 0;
}

.lyric-scroll {
    padding: 20px 0;
}

.lyric-line {
    padding: 12px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.lyric-line:hover {
    color: rgba(255, 255, 255, 0.8);
}

.lyric-line.active {
    color: var(--jm-primary);
    font-size: 20px;
    font-weight: 600;
}

/* ========== 全屏歌词按钮 ========== */
.lyrics-section {
    position: relative;
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.lyrics-container {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--jm-radius);
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lyrics-fullscreen-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    align-self: flex-start;
}

.lyrics-fullscreen-btn:hover {
    background: var(--jm-primary);
    color: #fff;
}

/* ========== 全屏歌词覆盖层 ========== */
.lyrics-fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lyrics-fullscreen-overlay.show {
    display: flex;
    opacity: 1;
}

.lyrics-fullscreen-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 40px 40px;
}

.lyrics-fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lyrics-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lyrics-fullscreen-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.lyrics-fullscreen-box {
    flex: 1;
    width: 100%;
    max-width: 800px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
}

.lyrics-fullscreen-box .lyric-scroll {
    padding: 20px 0;
}

.lyrics-fullscreen-box .lyric-line {
    font-size: 22px;
    padding: 16px;
}

.lyrics-fullscreen-box .lyric-line.active {
    font-size: 32px;
    font-weight: 700;
}

/* ========== 关于页面 ========== */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-hero {
    text-align: center;
    padding: 60px 20px;
    background: var(--jm-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius-lg);
    margin-bottom: 40px;
}

.about-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--jm-primary);
}

.about-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.about-section {
    background: var(--jm-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
}

.about-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--jm-primary);
}

.about-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-section ul li:last-child {
    border-bottom: none;
}

.about-section ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--jm-primary);
    border-radius: 50%;
}

/* ========== 协议页面 ========== */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.terms-header {
    text-align: center;
    margin-bottom: 40px;
}

.terms-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.terms-content {
    background: var(--jm-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius-lg);
    padding: 50px;
}

.terms-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--jm-primary);
    margin: 30px 0 15px;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.terms-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.terms-content ul li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--jm-primary);
}

/* ========== 歌手介绍页面 ========== */
.artist-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.artist-card {
    text-align: center;
    padding: 20px;
    background: var(--jm-glass);
    border-radius: var(--jm-radius);
    transition: all 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.artist-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.artist-card h3 {
    font-size: 16px;
    color: #fff;
}

.artist-header {
    display: flex;
    gap: 40px;
    background: var(--jm-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
}

.artist-avatar {
    width: 200px;
    height: 200px;
    border-radius: var(--jm-radius);
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--jm-primary);
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-info h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.artist-name-cn {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.artist-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.artist-meta span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.artist-bio {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* ========== MV播放页面 ========== */
.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.mv-player-wrapper {
    background: #000;
    border-radius: var(--jm-radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--jm-shadow);
}

.mv-player {
    width: 100%;
    display: block;
}

.mv-info {
    background: var(--jm-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius);
    padding: 30px;
}

.mv-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mv-artist {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.mv-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.mv-credit {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== 通用列表 ========== */
.song-list {
    background: var(--jm-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jm-glass-border);
    border-radius: var(--jm-radius-lg);
    overflow: hidden;
}

.song-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
    cursor: pointer;
}

.song-item:last-child {
    border-bottom: none;
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.song-number {
    width: 40px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
}

.song-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 16px;
    flex-shrink: 0;
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song-artist {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.song-duration {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 20px;
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* ========== 加载状态 ========== */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--jm-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   响应式适配 - 多设备屏幕
   ============================================ */

/* 平板 (1024px 以下) */
@media (max-width: 1200px) {
    .content-section { padding: 50px 30px; }
    .music-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .mv-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 平板竖屏 / 大手机 (1024px) */
@media (max-width: 1024px) {
    .navbar { padding: 0 20px; }
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 20, 25, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 15px;
        gap: 5px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .navbar-menu.show { display: flex; }
    .navbar-menu a {
        padding: 12px 16px;
        border-radius: 8px;
        text-align: center;
    }
    .navbar-menu-btn { display: flex; }
    .search-input { width: 200px; }
    .banner { height: 350px; }
    .banner-title { font-size: 36px; }
    .player-main { grid-template-columns: 1fr; }
    .artist-header { flex-direction: column; text-align: center; }
    .artist-avatar { width: 150px; height: 150px; margin: 0 auto; }
    .content-section { padding: 40px 25px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .music-grid { grid-template-columns: repeat(3, 1fr); }
    .user-profile { padding: 30px 20px; }
    .user-header { padding: 30px; gap: 25px; }
}

/* 平板竖屏 (768px - 1024px) */
@media (max-width: 900px) {
    .music-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid { grid-template-columns: 1fr; }
    .banner-overlay { padding: 40px 30px; }
    .player-container { padding: 30px 15px; }
    .player-main { padding: 25px; }
}

/* 手机 (768px 以下) */
@media (max-width: 768px) {
    .navbar { height: 60px; padding: 0 15px; }
    .navbar-brand .brand-logo { height: 35px; }
    .navbar-brand .brand-name { font-size: 16px; }
    .navbar-search { display: none; }
    .btn-auth { padding: 8px 16px; font-size: 13px; }
    .user-avatar { width: 36px; height: 36px; }
    
    .banner { height: 280px; }
    .banner-overlay { padding: 25px 20px; }
    .banner-title { font-size: 24px; }
    .banner-desc { font-size: 14px; max-width: 100%; }
    
    .content-section { padding: 30px 15px; }
    .section-title { font-size: 18px; }
    .section-title::before { height: 20px; }
    .section-more { font-size: 13px; }
    
    .music-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .music-card { border-radius: 12px; }
    .music-info { padding: 12px; }
    .music-name, .music-title { font-size: 14px; }
    .music-artist { font-size: 12px; }
    
    .mv-grid { grid-template-columns: 1fr; gap: 15px; }
    .mv-card { border-radius: 12px; }
    
    .player-container { padding: 20px 12px; }
    .player-main { padding: 20px; border-radius: 16px; }
    .player-title { font-size: 22px; }
    .play-btn { width: 50px; height: 50px; }
    
    .rank-item { padding: 12px 15px; gap: 15px; }
    .rank-cover { width: 50px; height: 50px; }
    .rank-title { font-size: 14px; }
    
    .song-item { padding: 12px 15px; }
    .song-cover { width: 45px; height: 45px; margin-right: 12px; }
    .song-title { font-size: 14px; }
    
    .user-profile { padding: 20px 15px; }
    .user-header { flex-direction: column; text-align: center; padding: 25px; }
    .user-avatar-large { width: 120px; height: 120px; }
    .user-name { font-size: 22px; flex-direction: column; gap: 10px; }
    .user-stats { justify-content: center; gap: 20px; }
    .user-stat-value { font-size: 20px; }
    
    .login-form { padding: 30px 20px; }
    .login-header h2 { font-size: 24px; }
    
    .about-container { padding: 30px 15px; }
    .about-hero { padding: 40px 20px; }
    .about-title { font-size: 28px; }
    .about-section { padding: 25px; }
    
    .lyrics-fullscreen-box { padding: 25px; }
    .lyrics-fullscreen-box .lyric-line { font-size: 18px; padding: 12px; }
    .lyrics-fullscreen-box .lyric-line.active { font-size: 24px; }
    
    .footer { padding: 30px 20px; }
    .footer-links { flex-wrap: wrap; gap: 15px; }
}

/* 小手机 (480px 以下) */
@media (max-width: 480px) {
    .banner { height: 220px; }
    .banner-overlay { padding: 20px 15px; }
    .banner-title { font-size: 20px; margin-bottom: 10px; }
    .banner-desc { font-size: 13px; }
    
    .content-section { padding: 25px 12px; }
    .section-title { font-size: 16px; gap: 8px; }
    
    .music-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .music-cover { aspect-ratio: 1; }
    .play-btn { width: 45px; height: 45px; }
    
    .mv-grid { grid-template-columns: 1fr; }
    .mv-cover { aspect-ratio: 16/10; }
    
    .player-title { font-size: 18px; }
    .player-artist { font-size: 14px; }
    
    .rank-item { padding: 10px 12px; gap: 12px; }
    .rank-number { font-size: 16px; width: 30px; }
    .rank-cover { width: 45px; height: 45px; }
    
    .song-item { padding: 10px 12px; }
    .song-duration { display: none; }
    
    .user-profile { padding: 15px 10px; }
    .user-header { padding: 20px 15px; gap: 15px; }
    .user-avatar-large { width: 100px; height: 100px; }
    .user-name { font-size: 18px; }
    .user-stat-value { font-size: 18px; }
    .user-stat-label { font-size: 12px; }
    
    .login-form { padding: 25px 15px; }
    .login-header h2 { font-size: 22px; }
    
    .about-title { font-size: 24px; }
    .about-section { padding: 20px; }
    .about-section h2 { font-size: 20px; }
    
    .footer { padding: 25px 15px; }
    .footer-links { gap: 12px; }
    .footer-links a { font-size: 13px; }
    .footer-copyright { font-size: 12px; }
}

/* 超小手机 (320px) */
@media (max-width: 320px) {
    .banner { height: 180px; }
    .banner-title { font-size: 18px; }
    .banner-overlay { padding: 15px; }
    .music-grid { grid-template-columns: 1fr; }
    .music-card { border-radius: 8px; }
    .login-form { padding: 20px 12px; }
}

/* 横屏适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .banner { height: 200px; }
    .banner-overlay { padding: 15px 40px; }
    .music-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 高分辨率屏幕 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-logo, .footer-logo { image-rendering: -webkit-optimize-contrast; }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .music-card:hover { transform: none; }
    .music-card:active { transform: scale(0.98); }
    .mv-card:hover { transform: none; }
    .mv-card:active { transform: scale(0.98); }
    .rank-item:hover { background: transparent; }
}
