:root {
    /* --- [Core Palette] 核心色板 --- */
    --bg-deep: #05020a;
    --bg-body: #0a0514;
    
    --text-primary: #ffffff;
    --text-secondary: #d4bbff;
    --text-tertiary: #806898;

    /* --- [Brand Colors] --- */
    --color-brand-main: #9d4edd;
    --color-brand-light: #e0aaff;
    --color-brand-dark: #3c096c;
    --color-accent: #00f3ff;       /* 赛博青：用于最高优先级的 CTA */
    --color-danger: #ff0055;       /* 故障红：用于紧迫状态 */

    /* --- [VIP Exclusive Colors] VIP尊享色板 (新增) --- */
    --vip-gold: #ffd700;           /* 纯金 */
    --vip-gold-dark: #b8860b;      /* 暗金 */
    --vip-holo-blue: #00f0ff;      /* 全息蓝 */
    --vip-black-bg: #0a0a0a;       /* 尊贵黑 */
    
    /* VIP 渐变 */
    --grad-vip-gold: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    --grad-vip-holo: linear-gradient(135deg, #00f0ff 0%, #0066ff 100%);
    --grad-vip-card: linear-gradient(145deg, rgba(20,20,20,0.95), rgba(40,35,10,0.9));

    /* --- [Gradients] --- */
    --grad-starter: linear-gradient(135deg, rgba(36, 0, 70, 0.9) 0%, rgba(60, 9, 108, 0.9) 100%);
    --grad-premium: linear-gradient(135deg, #5a189a 0%, #9d4edd 100%);
    --grad-luxury: linear-gradient(135deg, #7b2cbf 0%, #f72585 50%, #e0aaff 100%);
    
    --grad-btn-action: linear-gradient(90deg, #00f3ff, #0066ff); 
    --grad-btn-danger: linear-gradient(90deg, #ff0055, #ff5500);

    /* --- [Effects] --- */
    --glass-bg: rgba(25, 15, 40, 0.65);
    --glass-blur: 24px;
    --glass-border: rgba(180, 130, 255, 0.15);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);

    --texture-pattern: radial-gradient(rgba(157, 78, 221, 0.15) 1px, transparent 1px);
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    background-image: var(--texture-pattern);
    background-size: 20px 20px;
}

/* 沉浸式环境背景 */
.ambient-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: #05020a; overflow: hidden;
}
.light-orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5;
    mix-blend-mode: screen; animation: pulseGlow 8s infinite alternate ease-in-out;
}
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, #3c096c, transparent); }
.orb-2 { bottom: 0%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, #240046, transparent); animation-delay: 2s; }
.orb-3 { top: 30%; left: 40%; width: 40vw; height: 40vw; background: radial-gradient(circle, #7209b7, transparent); opacity: 0.2; animation-duration: 12s; }

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.1); opacity: 0.6; }
}

/* [新增] 骨架屏核心动画 */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-loading {
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0.03) 25%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
    display: inline-block;
}

/* [新增] 呼吸脉冲动画 - 用于 CTA 按钮 */
@keyframes pulse-cyan {
    0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* 装饰 */
.floating-deco {
    position: fixed; top: 50%; margin-top: -130px; width: 260px; height: 320px;
    background-size: contain; background-repeat: no-repeat; z-index: 0;
    pointer-events: none; opacity: 0.9; animation: floatVertical 3s ease-in-out infinite;
}
.deco-left { left: 2%; background-image: url("images/gift-box.png"); animation-delay: 0s; }
.deco-right { right: 2%; background-image: url("images/vip-card.png"); animation-delay: 1.5s; animation-name: floatVertical; }
@keyframes floatVertical { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@media (max-width: 1450px) { .floating-deco { display: none; } }

.main-container { max-width: 1100px; margin: 0 auto; padding: 20px; padding-top: 90px; position: relative; z-index: 1; }

.glass-morphism {
    background: var(--glass-bg); backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border); border-top: 1px solid var(--glass-highlight);
    box-shadow: var(--glass-shadow);
    box-shadow: inset 0 0 20px rgba(110, 40, 200, 0.05);
}

.main-header {
    position: fixed; top: 0; left: 0; right: 0; height: 72px; z-index: 100;
    display: flex; justify-content: space-between; align-items: center; padding: 0 24px;
    background: rgba(5, 2, 10, 0.8); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(157, 78, 221, 0.1);
}
.header-left { display: flex; align-items: center; gap: 16px; }
.btn-home { 
    width: 36px; height: 36px; border-radius: 12px;
    background: rgba(255,255,255,0.05); color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.3s;
    border: 1px solid transparent;
}
.btn-home:hover { background: rgba(157, 78, 221, 0.2); color: #fff; border-color: var(--color-brand-main); box-shadow: 0 0 10px rgba(157, 78, 221, 0.3); }

.brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; letter-spacing: 1px; }
.brand-icon { color: var(--color-brand-light); font-size: 24px; filter: drop-shadow(0 0 5px var(--color-brand-main)); }
.brand-text { background: linear-gradient(90deg, #fff, #e0aaff); -webkit-background-clip: text; color: transparent; }

.user-status { display: flex; align-items: center; gap: 12px; }
.user-text { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.username { font-size: 14px; font-weight: 600; color: #fff; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-badge { font-size: 10px; background: rgba(157, 78, 221, 0.15); padding: 2px 8px; border-radius: 4px; color: var(--color-brand-light); border: 1px solid rgba(157, 78, 221, 0.3); }
.avatar-container { position: relative; width: 40px; height: 40px; }
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.1); }
.avatar-ring { position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--color-brand-light); opacity: 0.7; box-shadow: 0 0 10px var(--color-brand-main); }
button { cursor: pointer; border: none; font-family: inherit; }