:root {
    --bg: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.7);
    --primary: #007aff;
    --text: #1d1d1f;
    --text-sub: #6e6e73;
    --accent-gradient: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg);
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(96, 165, 250, 0.05) 0px, transparent 50%);
    color: var(--text);
    font-family: "SF Pro Display", "PingFang SC", sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 主容器 */
.glass-card {
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    padding: 40px 28px;
    text-align: center;
    animation: cardShow 1s var(--ease);
}

/* 头像效果 */
.avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
}
.avatar-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--accent-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.2;
    filter: blur(8px);
}
.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}

.name { 
    font-size: 24px; 
    font-weight: 600; 
    letter-spacing: -0.5px; 
    margin-bottom: 8px; 
}

.bio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0,0,0,0.04);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 30px;
}

/* 折叠按钮触发器 */
.fold-trigger {
    width: 100%;
    background: #fff;
    border: none;
    padding: 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s var(--ease);
}
.fold-trigger:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.06); 
}

/* 统一重置所有 Remix 字体图标的大小 */
.fold-trigger i {
    font-size: 18px !important;
    width: 18px !important;
    height: auto !important;
}

/* 针对箭头平滑旋转的修正 */
.arrow-icon {
    margin-left: 4px;
    display: inline-block !important; 
    transition: transform 0.4s var(--ease) !important;
}

/* 按钮点击后箭头的旋转类 */
#arrow.rotate { 
    transform: rotate(180deg) !important; 
}

/* 丝滑 Grid 折叠面板核心核心 */
.fold-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease);
}
.fold-content.active { 
    grid-template-rows: 1fr; 
}
.fold-inner { 
    overflow: hidden; 
}

.fold-list-container {
    padding-bottom: 0px;
}
.fold-content.active .fold-list-container {
    padding-bottom: 1px;
}

.id-item {
    margin-top: 12px;
    background: rgba(255,255,255,0.4);
    padding: 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.02);
    transition: 0.3s;
}
.id-item:hover { 
    background: #fff; 
    transform: scale(1.02); 
}

.id-info { 
    text-align: left; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

/* 列表内图标统一大小颜色 */
.id-info i { 
    color: var(--primary); 
    font-size: 18px !important;
    width: 20px !important; 
    height: auto !important;
    display: inline-flex;
    justify-content: center;
}
.id-info h4 { 
    font-size: 14px; 
    font-weight: 600; 
}
.id-info p { 
    font-size: 11px; 
    color: var(--text-sub); 
}

.btn-go {
    padding: 6px 12px;
    border-radius: 10px;
    background: var(--text);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: 0.3s;
}
.btn-go:hover { 
    opacity: 0.8; 
}
.hidden { 
    display: none !important; 
}

/* 社交媒体栏 */
.social-group {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: center;
    gap: 20px;
}
.social-link {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    transition: all 0.4s var(--ease);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
}
.social-link i {
    font-size: 20px !important;
    height: auto !important;
    width: auto !important;
}
.social-link:hover {
    transform: translateY(-5px);
    color: #fff;
}
.social-link.dy:hover { background: #000; }
.social-link.ks:hover { background: #ff7d00; }
.social-link.bili:hover { background: #fb7299; }

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