/* 91风格 - 简约现代设计 - 高级版 */

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

/* CSS变量 */
:root {
    --primary-color: #6366f1;
    --secondary-color: #f1f5f9;
    --accent-color: #ec4899;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 16px;
    --radius-large: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --backdrop-blur: blur(24px);
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Display', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 动态背景效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(255, 255, 255, 0.03) 100px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 98px,
            rgba(255, 255, 255, 0.03) 100px
        );
    pointer-events: none;
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.3; transform: translateX(0px) translateY(0px); }
    50% { opacity: 0.6; transform: translateX(20px) translateY(10px); }
}

/* 容器 */
.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px;
    min-height: 100vh;
    position: relative;
}

/* 主内容区 */
.profile-container {
    position: relative;
    border-radius: var(--radius-large);
    padding: 48px 44px;
    box-shadow: var(--shadow-heavy);
    margin: 24px 0 120px 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   🖼️ 背景图片设置 - 现在由后台管理系统控制
   ========================================
   📍 背景图片现在通过后台管理系统上传和管理
   📍 默认使用渐变背景，如果没有上传背景图片
   ======================================== */
.profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    z-index: -2;
    border-radius: var(--radius-large);
}

/* ========================================
   🎨 背景透明度设置 - 修改指南 7️⃣ (桌面端)
   ========================================
   📍 调整背景图片的透明度效果
   📍 数值说明：
   - 0.05 = 5% 透明（几乎完全透明，背景很清晰）
   - 0.15 = 15% 透明（当前设置，较清晰）
   - 0.25 = 25% 透明（适中）
   - 0.50 = 50% 透明（半透明）
   - 0.80 = 80% 透明（大部分遮挡，背景朦胧）
   📍 建议桌面端范围：0.10-0.20
   ======================================== */
.profile-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);  /* ← 修改这里：调整透明度数值 */
    z-index: -1;
    border-radius: var(--radius-large);
}

/* 主容器顶部光效 */
.profile-container .shimmer-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 头像区域 */
.profile-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 8px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

/* 头像悬浮效果 */
.avatar-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
    animation: pulseGlow 4s ease-in-out infinite;
}

.avatar-container:hover::before {
    opacity: 0.6;
}

.avatar-container:hover .avatar {
    transform: scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 0 12px rgba(255, 255, 255, 0.15);
}

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

/* 名称和简介 */
.profile-name {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.025em; color: #000;
   
    
    
}

.profile-bio {
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #f5576c 75%, 
        #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    font-size: 1.1rem;
    margin-bottom: 32px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    position: relative;
    animation: gradientShift 4s ease-in-out infinite alternate;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
    }
    25% {
        background-position: 50% 0%;
        filter: drop-shadow(0 2px 12px rgba(240, 147, 251, 0.4));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 2px 10px rgba(245, 87, 108, 0.35));
    }
    75% {
        background-position: 50% 100%;
        filter: drop-shadow(0 2px 14px rgba(79, 172, 254, 0.4));
    }
    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 2px 8px rgba(118, 75, 162, 0.3));
    }
}

.profile-bio::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.2), 
        rgba(240, 147, 251, 0.2), 
        rgba(245, 87, 108, 0.2), 
        rgba(79, 172, 254, 0.2));
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: borderGlow 3s ease-in-out infinite;
}

.profile-bio:hover::before {
    opacity: 1;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.profile-bio:hover {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation-duration: 2s;
}

/* 统计数据 - 升级版璀璨星空背景 */
.profile-stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, 
        rgba(16, 20, 33, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 30%,
        rgba(99, 102, 241, 0.15) 60%,
        rgba(236, 72, 153, 0.1) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px 20px;
    margin-bottom: 32px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.25),
        0 4px 16px rgba(236, 72, 153, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
    animation: statsGlow 4s ease-in-out infinite alternate;
}

@keyframes statsGlow {
    0% {
        box-shadow: 
            0 8px 32px rgba(99, 102, 241, 0.25),
            0 4px 16px rgba(236, 72, 153, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 12px 48px rgba(99, 102, 241, 0.35),
            0 6px 24px rgba(236, 72, 153, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.profile-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.25) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 35%),
        linear-gradient(45deg, 
            rgba(99, 102, 241, 0.05) 0%, 
            transparent 50%, 
            rgba(236, 72, 153, 0.05) 100%);
    pointer-events: none;
    animation: starField 8s linear infinite;
}

@keyframes starField {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(2deg) scale(1.02);
        opacity: 1;
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
}

.profile-stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(1px 1px at 10px 15px, #fff, transparent),
        radial-gradient(1px 1px at 40px 35px, #fff, transparent),
        radial-gradient(1px 1px at 80px 20px, #fff, transparent),
        radial-gradient(1px 1px at 120px 45px, #fff, transparent),
        radial-gradient(1px 1px at 160px 25px, #fff, transparent);
    opacity: 0.6;
    pointer-events: none;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.stat-item {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    padding: 14px 18px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(99, 102, 241, 0.15) 50%,
        rgba(236, 72, 153, 0.1) 100%);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.3),
        0 4px 12px rgba(236, 72, 153, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-item:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 12px;
    opacity: 0;
    animation: pulseGlow 0.6s ease-out forwards;
}

@keyframes pulseGlow {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.7; transform: scale(1); }
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 30%, #c7d2fe 70%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 30%, #fde68a 70%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* 统计区域的额外装饰特效 */
.stat-item::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(99, 102, 241, 0.3), 
        transparent, 
        rgba(236, 72, 153, 0.3), 
        transparent);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderRotate 3s linear infinite;
}

.stat-item:hover::after {
    opacity: 1;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 数据变化时的闪烁效果 */
.stat-number.updating {
    animation: dataFlash 0.6s ease-in-out;
}

@keyframes dataFlash {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1));
        transform: scale(1.15);
    }
}

/* 统计区域的背景粒子效果 */
.profile-stats .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle 4s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

/* 鼠标悬停时的彩虹光波效果 */
.profile-stats:hover::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.4) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.35) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 35%),
        radial-gradient(circle at 30% 80%, rgba(168, 85, 247, 0.25) 0%, transparent 40%),
        linear-gradient(45deg, 
            rgba(99, 102, 241, 0.08) 0%, 
            transparent 50%, 
            rgba(236, 72, 153, 0.08) 100%);
    animation: enhancedStarField 6s linear infinite;
}

@keyframes enhancedStarField {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: rotate(1deg) scale(1.01);
        opacity: 1;
    }
    66% {
        transform: rotate(-1deg) scale(1.02);
        opacity: 0.9;
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
}

/* 深色主题下的统计区域优化 */
.dark-theme .profile-stats {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%,
        rgba(15, 23, 42, 0.85) 30%,
        rgba(99, 102, 241, 0.2) 60%,
        rgba(236, 72, 153, 0.15) 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.dark-theme .stat-number {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 30%, #e2e8f0 70%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
}

.dark-theme .stat-item:hover .stat-number {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 30%, #f59e0b 70%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 深色主题下的个人简介优化 */
.dark-theme .profile-bio {
    background: linear-gradient(135deg, 
        #60a5fa 0%, 
        #a78bfa 25%, 
        #f472b6 50%, 
        #fb7185 75%, 
        #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(96, 165, 250, 0.4));
    text-shadow: 0 0 25px rgba(96, 165, 250, 0.5);
}

.dark-theme .profile-bio::before {
    background: linear-gradient(45deg, 
        rgba(96, 165, 250, 0.3), 
        rgba(167, 139, 250, 0.3), 
        rgba(244, 114, 182, 0.3), 
        rgba(52, 211, 153, 0.3));
}

/* 链接区域 */
.links-section {
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.main-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.main-link b{font-size: 10px;line-height: 1.5; font-weight: 400; margin-right: 5px;}
.main-link { position: relative;
    display: flex;
    align-items: center;
    padding: 22px 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* 链接悬浮效果 */
.main-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.main-link:hover::before {
    left: 100%;
}

.main-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: rgba(255, 255, 255, 0.4);
}

.main-link span:first-child,
.main-link i:first-child {
    margin-right: 5px;
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.main-link span:nth-child(2) {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

.arrow {
    opacity: 0.6;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.main-link:hover .arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* 渐变样式升级 */
.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 新增链接样式 */
.gradient-4 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gradient-5 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #666;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.gradient-6 {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gradient-7 {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gradient-8 {
    background: linear-gradient(135deg, #fad0c4 0%, #ffd1ff 100%);
    color: #666;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.gradient-9 {
    background: linear-gradient(135deg, #ff8a80 0%, #ff5722 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gradient-10 {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gradient-11 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.gradient-12 {
    background: linear-gradient(135deg, #c471ed 0%, #f64f59 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 深色主题样式 */
.gradient-dark-1 {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gradient-dark-2 {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gradient-dark-3 {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 玻璃质感样式 */
.gradient-glass-1 {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.gradient-glass-2 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.gradient-glass-3 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* 二维码区域 */
.qr-section {
    text-align: center;
    position: relative;
    z-index: 1;
}

.qr-container {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding:15px 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(99, 102, 241, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: containerGlow 5s ease-in-out infinite;
}

@keyframes containerGlow {
    0%, 100% { 
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.12),
            0 4px 16px rgba(99, 102, 241, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% { 
        box-shadow: 
            0 12px 40px rgba(0, 0, 0, 0.15),
            0 6px 24px rgba(99, 102, 241, 0.15),
            0 2px 8px rgba(236, 72, 153, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

/* 二维码容器光效 */
.qr-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color), 
        var(--accent-color), 
        #00f2fe);
    border-radius: 20px;
    opacity: 0.2;
    animation: borderPulse 3s ease-in-out infinite;
    transition: var(--transition);
    z-index: -1;
}

.qr-container:hover::before {
    opacity: 0.4;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.02); opacity: 0.5; }
}

.qr-container:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 二维码图片样式 */
.qr-code {
    position: relative;
    display: inline-block;
    padding: 14px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 14px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(37, 99, 235, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    transition: var(--transition);
    animation: qrGlow 4s ease-in-out infinite;
}

@keyframes qrGlow {
    0%, 100% { 
        box-shadow: 
            inset 0 2px 4px rgba(0, 0, 0, 0.05),
            0 4px 12px rgba(37, 99, 235, 0.15),
            0 2px 8px rgba(0, 0, 0, 0.05);
        border-color: rgba(37, 99, 235, 0.1);
    }
    50% { 
        box-shadow: 
            inset 0 2px 4px rgba(0, 0, 0, 0.08),
            0 6px 20px rgba(37, 99, 235, 0.25),
            0 4px 12px rgba(37, 99, 235, 0.1);
        border-color: rgba(37, 99, 235, 0.2);
    }
}

.qr-code:hover {
    transform: scale(1.05);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(37, 99, 235, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.1);
    animation: qrGlow 2s ease-in-out infinite;
}

.qr-code canvas {
    border-radius: 10px;
    transition: var(--transition);
    display: block;
}

.qr-text {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
    position: relative;
}

/* 添加装饰性小图标 */
.qr-text::before {
    content: '📱';
    margin-right: 8px;
    font-size: 1rem;
}

/* 二维码描述文字 - 优化显眼度 */
.qr-description {
    font-size: 0.95rem;
    color: var(--primary-color);
    opacity: 1;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 8px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* 添加装饰性图标 */
.qr-description::after {
    content: '📚';
    margin-left: 8px;
    font-size: 1em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.qr-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.qr-description:hover {
    transform: translateY(-2px);
    letter-spacing: 1px;
}

.qr-description:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* 隐蔽的管理后台入口 */
.admin-secret-entry {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.admin-secret-entry i {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    pointer-events: none;
}

.admin-secret-entry:hover {
    opacity: 0.8;
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.admin-secret-entry:hover i {
    color: #6366f1;
    font-size: 10px;
    transform: rotate(90deg);
}

.admin-secret-entry:active {
    transform: scale(0.95);
    background: rgba(99, 102, 241, 0.3);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .admin-secret-entry {
        width: 24px;
        height: 24px;
        top: -10px;
        right: -10px;
        opacity: 0.4;
    }
    
    .admin-secret-entry i {
        font-size: 10px;
    }
    
    .admin-secret-entry:hover i,
    .admin-secret-entry:active i {
        font-size: 12px;
    }
}

/* 增加头像容器的层级 */
.avatar-container {
    position: relative;
    z-index: 5;
}

/* 工具栏升级 */
.toolbar {
    position: fixed;
    bottom: 20px;
    right: 0px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--backdrop-blur);
    padding: 0 5px;
    border-radius: 10px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tool-btn {
    background: none;
    border: none;
    padding: 12px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.tool-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
    border-radius: 20px;
}

.tool-btn:hover::before {
    opacity: 0.1;
}

.tool-btn:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.tool-btn i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.tool-btn span {
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* 模态框升级 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--backdrop-blur);
    border-radius: var(--radius-large);
    padding: 36px;
    max-width: 420px;
    width: 90%;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

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

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 8px;
    border-radius: 12px;
    transition: var(--transition);
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.share-url {
    display: flex;
    gap: 12px;
}

.share-url input {
    flex: 1;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.share-url input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.copy-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--shadow-light);
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* 中等屏幕响应式 */
@media (max-width: 640px) {
    .container {
        max-width: 480px;
    }
    
    .profile-container {
        padding: 44px 40px;
    }
    
    .main-link {
        padding: 21px 26px;
    }
    
    .qr-container {
        padding: 34px;
    }
}

/* 小屏幕响应式 */
@media (max-width: 580px) {
    .container {
        max-width: 420px;
        padding: 16px;
    }
    
    .profile-container {
        padding: 32px 28px;
        margin-bottom: 100px;
    }
    
    /* 🎨 移动端背景透明度 - 修改指南 7️⃣ (移动端)
       📍 建议移动端范围：0.20-0.30 */
    .profile-container::after {
        background: rgba(255, 255, 255, 0.25);  /* ← 修改这里：移动端透明度 */
    }
    
    .toolbar {
        bottom: 16px;
        padding: 12px 16px;
    }
    
    .profile-stats {
        flex-direction: row;
        gap: 8px;
        padding: 16px 14px;
        margin-bottom: 20px;
        animation: none; /* 移动端禁用动画以节省性能 */
        background: linear-gradient(135deg, 
            rgba(16, 20, 33, 0.9) 0%,
            rgba(30, 41, 59, 0.85) 30%,
            rgba(99, 102, 241, 0.12) 60%,
            rgba(236, 72, 153, 0.08) 100%);
    }
    
    .profile-stats::before {
        animation: none;
        opacity: 0.7;
    }
    
    .profile-stats::after {
        opacity: 0.3; /* 降低星星亮度以提升性能 */
        animation: twinkle 4s ease-in-out infinite; /* 延长动画时间 */
    }
    
    .stat-item {
        padding: 12px 6px;
        flex: 1;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .stat-item:hover {
        transform: translateY(-2px) scale(1.02); /* 减少移动端的变形幅度 */
        box-shadow: 
            0 6px 20px rgba(99, 102, 241, 0.25),
            0 3px 8px rgba(236, 72, 153, 0.15);
    }
    
    .stat-number {
        font-size: 1.2rem;
        margin-bottom: 2px;
        line-height: 1.1;
        text-shadow: 0 1px 4px rgba(99, 102, 241, 0.2);
    }
    
    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.4px;
        color: rgba(255, 255, 255, 0.85);
    }
    
    .main-link {
        padding: 20px 24px;
    }
    
    /* 移动端个人简介优化 */
    .profile-bio {
        font-size: 1rem;
        letter-spacing: 0.3px;
        animation-duration: 6s; /* 移动端动画稍慢一些 */
        margin-bottom: 24px;
    }
    
    .profile-bio:hover {
        transform: translateY(-1px) scale(1.01); /* 减少移动端变形幅度 */
    }
    
    .modal-content {
        padding: 28px;
        margin: 20px;
    }
    
    .qr-container {
        padding: 28px;
        border-radius: 16px;
    }
    
    .qr-container:hover {
        transform: translateY(-2px) scale(1.01);
    }
    
    .qr-code {
        padding: 10px;
        margin-bottom: 18px;
        border-radius: 12px;
    }
    
    /* 移动端二维码描述优化 */
    .qr-description {
        font-size: 0.9rem;
        padding: 6px 12px;
        margin-top: 6px;
        letter-spacing: 0.3px;
        font-weight: 700;
    }
    
    .qr-description:hover {
        letter-spacing: 0.8px;
        transform: translateY(-1px);
    }
}

/* 滚动条升级 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 选中文本样式 */
::selection {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

/* 全局动画优化 */
* {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-container {
    animation: fadeInUp 0.8s ease-out;
} 