/* ========================================
   VIP专区页面样式 - 独特创意设计
   ======================================== */

/* ========================================
   VIP英雄区头部 - 独特创意设计
   ======================================== */
.vip-hero {
    position: relative;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* 波浪背景动画 */
.vip-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translateX(-50%);
    border-radius: 45%;
    opacity: 0.1;
}

.wave-1 {
    background: linear-gradient(135deg, #FFD93D, #F5A623);
    animation: wave-rotate 8s linear infinite;
}

.wave-2 {
    background: linear-gradient(135deg, #2DD4A0, #4ECDC4);
    animation: wave-rotate 12s linear infinite reverse;
    opacity: 0.08;
}

.wave-3 {
    background: linear-gradient(135deg, #FF6B6B, #FFE66D);
    animation: wave-rotate 16s linear infinite;
    opacity: 0.05;
}

@keyframes wave-rotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* 内容区域 */
.vip-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 40px 60px;
}

/* 左侧唱片设计 */
.vip-hero-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vip-disc-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.vip-disc {
    position: relative;
    width: 200px;
    height: 200px;
}

.vip-disc-vinyl {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    border-radius: 50%;
    position: relative;
    animation: vinyl-spin 4s linear infinite;
    box-shadow: 0 0 0 4px rgba(255, 217, 61, 0.3), 0 10px 40px rgba(0,0,0,0.5);
}

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

.vinyl-groove {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.vinyl-groove:nth-child(1) { width: 85%; height: 85%; }
.vinyl-groove:nth-child(2) { width: 70%; height: 70%; }
.vinyl-groove:nth-child(3) { width: 55%; height: 55%; }

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 35%;
    background: linear-gradient(135deg, #FFD93D 0%, #F5A623 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 217, 61, 0.5);
}

.center-text {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: 2px;
}

.vip-disc-needle {
    position: absolute;
    top: -30px;
    right: -20px;
    width: 80px;
    height: 8px;
    background: linear-gradient(90deg, #888 0%, #ccc 50%, #888 100%);
    border-radius: 4px;
    transform-origin: right center;
    transform: rotate(-30deg);
    animation: needle-move 2s ease-in-out infinite alternate;
}

.vip-disc-needle::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #666;
    border-radius: 50%;
}

@keyframes needle-move {
    0% { transform: rotate(-35deg); }
    100% { transform: rotate(-25deg); }
}

/* 音乐波形 */
.vip-music-waves {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
}

.wave-bar {
    width: 8px;
    background: linear-gradient(to top, #FFD93D, #F5A623);
    border-radius: 4px;
    animation: wave-dance 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 70%; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 40%; animation-delay: 0.4s; }

@keyframes wave-dance {
    0%, 100% { transform: scaleY(1); opacity: 0.8; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

/* 右侧文字 */
.vip-hero-right {
    max-width: 480px;
}

.vip-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 217, 61, 0.15);
    border: 1px solid rgba(255, 217, 61, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    font-size: 13px;
    color: #FFD93D;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #FFD93D;
    border-radius: 50%;
    animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.vip-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.title-line {
    color: rgba(255, 255, 255, 0.9);
}

.title-highlight {
    background: linear-gradient(135deg, #FFD93D 0%, #FFE66D 50%, #F5A623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-hero-desc {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.desc-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.desc-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 217, 61, 0.3);
    color: #FFD93D;
}

.vip-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.vip-status-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    background: rgba(255, 217, 61, 0.1);
    border: 1px solid rgba(255, 217, 61, 0.3);
    border-radius: var(--radius-full);
    letter-spacing: 2px;
}

/* 浮动音符 */
.vip-floating-notes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.float-note {
    position: absolute;
    font-size: 24px;
    opacity: 0.15;
    animation: float-around 8s ease-in-out infinite;
}

.n1 { top: 15%; left: 10%; animation-delay: 0s; }
.n2 { top: 25%; right: 15%; animation-delay: 1.5s; }
.n3 { bottom: 20%; left: 20%; animation-delay: 3s; }
.n4 { top: 60%; right: 8%; animation-delay: 4.5s; }
.n5 { bottom: 35%; right: 25%; animation-delay: 6s; }

@keyframes float-around {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.15;
    }
    25% { 
        transform: translate(10px, -20px) rotate(10deg);
        opacity: 0.25;
    }
    50% { 
        transform: translate(-5px, -10px) rotate(-5deg);
        opacity: 0.2;
    }
    75% { 
        transform: translate(15px, 5px) rotate(15deg);
        opacity: 0.3;
    }
}

/* ========================================
   分类标签
   ======================================== */
.vip-categories {
    margin-bottom: 32px;
}

.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.category-tab:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.category-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 区块 */
.vip-section {
    margin-bottom: 48px;
}

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

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-more {
    font-size: 14px;
    color: var(--text-tertiary);
}

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

.sort-tabs {
    display: flex;
    gap: 16px;
}

.sort-tab {
    font-size: 14px;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.sort-tab:hover {
    color: var(--text-secondary);
}

.sort-tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* VIP精选歌单 */
.vip-playlist-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.vip-playlist-card {
    cursor: pointer;
}

.vip-playlist-cover {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 10px;
}

.vip-playlist-cover img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.vip-playlist-card:hover .vip-playlist-cover img {
    transform: scale(1.05);
}

.vip-playlist-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FFD93D 0%, #F5A623 100%);
    color: #3D3229;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.vip-playlist-play {
    position: absolute;
    inset: 0;
    background: rgba(45, 212, 160, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.vip-playlist-card:hover .vip-playlist-play {
    opacity: 1;
}

.vip-playlist-play svg {
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.vip-playlist-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.vip-playlist-count {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* VIP歌曲列表 */
.vip-song-list {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.vip-song-item {
    display: grid;
    grid-template-columns: 60px 60px 1fr 200px 80px 60px;
    gap: 16px;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.vip-song-item:hover {
    background: var(--bg-hover);
}

.vip-song-index {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-align: center;
}

.vip-song-cover {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.vip-song-info {
    min-width: 0;
}

.vip-song-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.vip-song-name span:first-child {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.vip-tag {
    padding: 2px 6px;
    background: linear-gradient(135deg, #FFD93D 0%, #F5A623 100%);
    color: #3D3229;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

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

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

.vip-song-duration {
    font-size: 13px;
    color: var(--text-tertiary);
}

.vip-song-play {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: all var(--transition-fast);
}

.vip-song-item:hover .vip-song-play {
    opacity: 1;
}

.vip-song-play:hover {
    background: var(--primary-color);
    color: white;
}

/* 加载更多 */
.load-more-btn {
    text-align: center;
    margin-top: 24px;
}

.load-more-btn button {
    padding: 12px 48px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.load-more-btn button:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 响应式 */
@media (max-width: 1024px) {
    .vip-hero {
        height: auto;
        min-height: 500px;
    }
    
    .vip-hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 40px;
    }
    
    .vip-disc {
        width: 180px;
        height: 180px;
    }
    
    .vip-disc-icon {
        font-size: 56px;
    }
    
    .vip-hero-title {
        font-size: 36px;
    }
    
    .vip-hero-desc {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .vip-hero-actions {
        flex-direction: column;
        gap: 16px;
    }
    
    .vip-playlist-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .vip-song-item {
        grid-template-columns: 50px 50px 1fr 80px 50px;
    }
    
    .vip-song-album {
        display: none;
    }
}

@media (max-width: 768px) {
    .vip-hero {
        min-height: auto;
    }
    
    .vip-hero-content {
        padding: 32px 20px;
    }
    
    .vip-disc {
        width: 150px;
        height: 150px;
    }
    
    .vip-disc-icon {
        font-size: 48px;
    }
    
    .vip-hero-title {
        font-size: 28px;
        align-items: center;
    }
    
    .vip-hero-desc {
        gap: 10px;
    }
    
    .desc-item {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .vip-cta-btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .vip-price-tag strong {
        font-size: 22px;
    }
    
    .vip-playlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .vip-song-item {
        grid-template-columns: 40px 48px 1fr 60px;
        gap: 12px;
        padding: 10px 12px;
    }
    
    .vip-song-index {
        font-size: 12px;
    }
    
    .vip-song-cover {
        width: 48px;
        height: 48px;
    }
    
    .vip-song-duration {
        display: none;
    }
}
