* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    overflow-x: hidden;
}

/* 动态光晕效果 */
body::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08), transparent 70%);
    animation: drift 20s infinite alternate;
    pointer-events: none;
}

@keyframes drift {
    0% { transform: translate(-10%, -10%); opacity: 0.4; }
    100% { transform: translate(10%, 10%); opacity: 1; }
}

/* 毛玻璃卡片 */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 2rem 1.8rem;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
    animation: fadeUp 0.8s ease-out;
    z-index: 1;
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 头像区域 */
.avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #ff8c00, #e52e71);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 500;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.avatar:hover {
    transform: scale(1.02);
}

h1 {
    font-size: 2rem;
    text-align: center;
    background: linear-gradient(120deg, #fff, #e0e0ff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    letter-spacing: 0.3px;
}

/* 统计信息栏 */
.stats {
    display: flex;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2rem;
    padding: 0.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.stat-item {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffb347;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 简介 */
.bio {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding: 0 0.2rem;
}

/* 链接按钮组 */
.link-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.7rem 1.4rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(100deg, #ff8c00, #e52e71);
    border: none;
    box-shadow: 0 5px 15px rgba(229, 46, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 46, 113, 0.4);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* API 响应区域 */
.api-box {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 1.2rem;
    padding: 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    color: #aaa;
    transition: all 0.2s;
}

.api-box.active {
    background: rgba(0, 0, 0, 0.5);
    color: #ffb347;
}

/* 页脚 */
.footer {
    margin-top: 1.8rem;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
}

@media (max-width: 480px) {
    .glass-card {
        padding: 1.5rem;
    }
    h1 {
        font-size: 1.6rem;
    }
    .link-grid {
        gap: 0.7rem;
    }
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
}