/* ============================================
   元响音乐网站 - 全局样式
   设计风格：暗色霓虹 + 卡通感
   ============================================ */

/* CSS变量定义 */
:root {
    /* 主色调 */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-elevated: #1a1a25;
    --bg-card: #1e1e2e;
    
    /* 强调色 - 霓虹色系 */
    --accent-pink: #ff3366;
    --accent-purple: #8b5cf6;
    --accent-cyan: #00d4aa;
    --accent-orange: #f59e0b;
    --accent-blue: #3b82f6;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #ff3366 0%, #8b5cf6 100%);
    --gradient-cyan: linear-gradient(135deg, #00d4aa 0%, #3b82f6 100%);
    --gradient-orange: linear-gradient(135deg, #f59e0b 0%, #ff3366 100%);
    
    /* 文字 */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    
    /* 圆角 - 卡通感 */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(255,51,102,0.3);
    
    /* 动画 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-pink);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.logo i {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255,51,102,0.5));
}

.logo:hover {
    transform: scale(1.05);
}

/* 搜索框 */
.search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 48px 12px 20px;
    background: var(--bg-elevated);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-normal);
}

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

.search-box input:focus {
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(255,51,102,0.2);
}

.search-box button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-box button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(255,51,102,0.5);
}

/* 小搜索框 */
.search-box-small {
    width: 160px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.search-box-small input {
    width: 100%;
    padding: 10px 36px 10px 16px;
    background: var(--bg-elevated);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: var(--transition-normal);
    cursor: pointer;
}

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

.search-box-small:hover input {
    border-color: var(--accent-pink);
}

.search-box-small button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box-small button i {
    font-size: 12px;
}

/* 头部导航链接 */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.nav-link {
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: var(--transition-fast);
    white-space: nowrap;
}

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

.nav-link.active {
    background: var(--gradient-primary);
    color: white;
}

/* 导航右侧 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* VIP导航按钮 */
.btn-vip-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ff6600 100%);
    border: none;
    border-radius: var(--radius-xl);
    color: #1a0a00;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255,170,0,0.3);
}

.btn-vip-nav i {
    font-size: 14px;
}

.btn-vip-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,170,0,0.4);
}

.btn-icon:hover {
    background: var(--accent-pink);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255,51,102,0.4);
}

.btn-login, .btn-signup {
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--bg-elevated);
}

.btn-login:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.btn-signup {
    background: var(--gradient-primary);
    color: white;
}

.btn-signup:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* 导航栏用户信息 */
.nav-auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px 6px 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    transition: var(--transition-fast);
}

.nav-user-info:hover {
    background: var(--bg-card);
    transform: scale(1.02);
}

.nav-username {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-pink);
}

/* ============================================
   主内容区
   ============================================ */
.main-content {
    padding-top: 45px;
    padding-bottom: 40px;
}

/* 通用标题样式 */
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

.view-all {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.view-all:hover {
    color: var(--accent-pink);
    gap: 10px;
}

/* ============================================
   3D轮播图
   ============================================ */
.carousel-section {
    padding: 40px 24px;
    overflow: hidden;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.carousel-3d {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.carousel-item {
    position: absolute;
    width: 320px;
    height: 420px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.carousel-card {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.carousel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.carousel-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(255,51,102,0.5);
}

.carousel-item.active .carousel-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.carousel-item.active .carousel-card:hover img {
    transform: scale(1.1);
}

/* 3D位置效果 */
.carousel-item[data-index="0"] {
    transform: translateX(-420px) scale(0.75) rotateY(25deg);
    opacity: 0.5;
    z-index: 1;
}

.carousel-item[data-index="1"] {
    transform: translateX(-220px) scale(0.85) rotateY(15deg);
    opacity: 0.7;
    z-index: 2;
}

.carousel-item[data-index="2"] {
    transform: translateX(0) scale(1) rotateY(0);
    opacity: 1;
    z-index: 5;
}

.carousel-item[data-index="2"] .carousel-card {
    box-shadow: 0 20px 60px rgba(255,51,102,0.3), 0 0 0 2px rgba(255,51,102,0.2);
}

.carousel-item[data-index="3"] {
    transform: translateX(220px) scale(0.85) rotateY(-15deg);
    opacity: 0.7;
    z-index: 2;
}

.carousel-item[data-index="4"] {
    transform: translateX(420px) scale(0.75) rotateY(-25deg);
    opacity: 0.5;
    z-index: 1;
}

/* 轮播指示器 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--bg-elevated);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.dot:hover {
    background: var(--accent-pink);
    transform: scale(1.2);
}

.dot.active {
    background: var(--gradient-primary);
    border-color: rgba(255,255,255,0.3);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255,51,102,0.5);
}

/* ============================================
   分类推荐区
   ============================================ */
.category-section {
    padding: 40px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

.category-bg {
    position: absolute;
    inset: 0;
    background: var(--card-color);
    opacity: 0.3;
    transition: var(--transition-normal);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    z-index: 2;
}

.category-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

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

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px var(--card-color);
}

.category-card:hover .category-bg {
    opacity: 0.5;
}

.category-card:hover img {
    transform: scale(1.1);
}

/* ============================================
   MV网格
   ============================================ */
.mv-section {
    padding: 40px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.mv-card {
    cursor: pointer;
    transition: var(--transition-normal);
}

.mv-thumbnail {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
}

.mv-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.mv-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.play-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(255,51,102,0.5);
}

.mv-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.8);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.mv-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.mv-info {
    padding: 12px 4px;
}

.mv-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mv-info p {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dot-separator {
    margin: 0 6px;
}

.mv-card:hover {
    transform: translateY(-8px);
}

.mv-card:hover .mv-thumbnail {
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 2px var(--accent-pink);
}

.mv-card:hover .mv-thumbnail img {
    transform: scale(1.1);
}

.mv-card:hover .mv-overlay {
    opacity: 1;
}

.mv-card:hover .play-icon {
    transform: scale(1);
}

/* ============================================
   MV榜单区
   ============================================ */
.chart-section {
    padding: 40px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.chart-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.chart-tab {
    padding: 10px 24px;
    background: var(--bg-elevated);
    border: none;
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chart-tab:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.chart-tab.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255,51,102,0.3);
}

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

.chart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.chart-item:hover {
    background: var(--bg-card);
    border-color: rgba(255,51,102,0.2);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.chart-rank {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.chart-rank.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.chart-rank.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(192,192,192,0.3);
}

.chart-rank.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(205,127,50,0.3);
}

.chart-cover {
    position: relative;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.chart-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: var(--transition-fast);
}

.chart-item:hover .chart-play {
    opacity: 1;
}

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

.chart-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.chart-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.chart-hot {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chart-hot i {
    color: var(--accent-pink);
}

.chart-trend {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chart-trend.up {
    color: #00d4aa;
    background: rgba(0,212,170,0.1);
}

.chart-trend.down {
    color: #ff3366;
    background: rgba(255,51,102,0.1);
}

.chart-trend.same {
    color: var(--text-muted);
    background: var(--bg-elevated);
}

.chart-trend.new {
    color: var(--accent-orange);
    background: rgba(245,158,11,0.1);
}

/* ============================================
   歌手推荐区
   ============================================ */
.artist-section {
    padding: 40px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.artist-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 4px 20px;
    scrollbar-width: thin;
}

.artist-card {
    flex-shrink: 0;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.artist-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    background: var(--bg-card);
}

.artist-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: var(--transition-normal);
}

.artist-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.artist-card:hover {
    transform: translateY(-5px);
}

.artist-card:hover .artist-avatar::before {
    opacity: 1;
}

.artist-card:hover .artist-avatar img {
    border-color: var(--accent-pink);
    transform: scale(1.05);
}

/* ============================================
   底部页脚样式
   ============================================ */
.footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #0d0d14 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 50px 24px 30px;
    margin-top: 60px;
}

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

/* 公司信息区域 */
.footer-company {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-logo i {
    font-size: 36px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

/* 联系信息 */
.footer-contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-item i {
    width: 20px;
    color: var(--accent-pink);
    font-size: 14px;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-icp {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-icp a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-icp a:hover {
    color: var(--accent-pink);
}

.footer-icp .divider {
    margin: 0 12px;
}

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

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1200px) {
    .mv-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-company {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand {
        flex: none;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-desc {
        max-width: 100%;
    }
    
    .footer-contact {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 16px;
    }
    
    .search-box {
        display: none;
    }
    
    .carousel-3d {
        height: 350px;
    }
    
    .carousel-item {
        width: 260px;
        height: 340px;
    }
    
    .carousel-item[data-index="0"] {
        transform: translateX(-300px) scale(0.7) rotateY(30deg);
    }
    
    .carousel-item[data-index="1"] {
        transform: translateX(-160px) scale(0.8) rotateY(20deg);
    }
    
    .carousel-item[data-index="3"] {
        transform: translateX(160px) scale(0.8) rotateY(-20deg);
    }
    
    .carousel-item[data-index="4"] {
        transform: translateX(300px) scale(0.7) rotateY(-30deg);
    }
    
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .footer {
        padding: 40px 16px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-group h4 {
        margin-bottom: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-icp {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-icp .divider {
        display: none;
    }
    
    .modal-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .chart-item {
        padding: 10px 16px;
    }
    
    .chart-cover {
        width: 60px;
        height: 45px;
    }
    
    .chart-info h4 {
        font-size: 14px;
    }
    
    .chart-stats {
        flex-direction: column;
        gap: 8px;
        align-items: flex-end;
    }
    
    .chart-hot {
        font-size: 12px;
    }
    
    .chart-tabs {
        flex-wrap: wrap;
    }
    
    .chart-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ============================================
   登录注册弹窗样式
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--accent-pink);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-logo {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 40px rgba(255,51,102,0.4);
}

.modal-logo i {
    font-size: 32px;
    color: white;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.modal-form {
    margin-bottom: 24px;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

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

.form-group input:focus {
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(255,51,102,0.15);
}

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

.btn-toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-toggle-password:hover {
    color: var(--accent-pink);
}

/* 验证码样式 */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-group input {
    flex: 1;
}

.captcha-group canvas {
    width: 100px;
    height: 40px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.captcha-group canvas:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 0 15px rgba(255,51,102,0.3);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-pink);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--accent-pink);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: var(--accent-pink);
    text-decoration: none;
    transition: var(--transition-fast);
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 10px 30px rgba(255,51,102,0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255,51,102,0.4);
}

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

.modal-divider::before,
.modal-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

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

.social-login {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-elevated);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.social-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.social-btn.wechat:hover {
    background: #07c160;
    box-shadow: 0 10px 30px rgba(7,193,96,0.3);
}

.social-btn.qq:hover {
    background: #12b7f5;
    box-shadow: 0 10px 30px rgba(18,183,245,0.3);
}

.social-btn.weibo:hover {
    background: #e6162d;
    box-shadow: 0 10px 30px rgba(230,22,45,0.3);
}

.modal-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-footer a {
    color: var(--accent-pink);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* ============================================
   动画关键帧
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255,51,102,0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(255,51,102,0.6);
    }
}

/* 入场动画 */
.mv-card, .category-card, .artist-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.mv-card:nth-child(1) { animation-delay: 0.05s; }
.mv-card:nth-child(2) { animation-delay: 0.1s; }
.mv-card:nth-child(3) { animation-delay: 0.15s; }
.mv-card:nth-child(4) { animation-delay: 0.2s; }
.mv-card:nth-child(5) { animation-delay: 0.25s; }
.mv-card:nth-child(6) { animation-delay: 0.3s; }
.mv-card:nth-child(7) { animation-delay: 0.35s; }
.mv-card:nth-child(8) { animation-delay: 0.4s; }
.mv-card:nth-child(9) { animation-delay: 0.45s; }
.mv-card:nth-child(10) { animation-delay: 0.5s; }
