:root {
    /* 核心：把卡片底色改为极淡的白色，接近透明 */
    --card-bg: rgba(255, 255, 255, 0.15); 
    --text-main: #1d1d1f;
    --text-dim: #515154;
    --accent: #5e5ce6;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    /* 核心修改：使用高对比度的深色极光背景 */
    background-color: #1a1a1c; /* 底色改为深灰色 */
    background-image: 
        radial-gradient(at 0% 0%, #3a3ab9 0px, transparent 55%), /* 左上角紫色 */
        radial-gradient(at 100% 100%, #1e8f8f 0px, transparent 55%), /* 右下角青色 */
        radial-gradient(at 80% 20%, #ff6b6b 0px, transparent 40%); /* 右上角加一点淡红点缀 */
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased; /* 让文字在深色背景下更清晰 */
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 140px);
    grid-auto-rows: 140px;
    gap: 16px;
    padding: 20px;
}

.bento-item {
    background: var(--card-bg);
    border-radius: 28px;
    /* 增强毛玻璃：增加模糊度和饱和度 */
    backdrop-filter: blur(40px) saturate(220%);
    -webkit-backdrop-filter: blur(40px) saturate(220%);
    /* 细微的边框，像吸了背景色一样 */
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white; /* 整体文字改为白色，提升对比度 */
}

/* 布局逻辑与之前一致 */
.profile-card { grid-column: span 2; grid-row: span 2; align-items: center; text-align: center; }
.about-card { grid-column: span 1; grid-row: span 1; }
.link-card { grid-column: span 1; grid-row: span 1; align-items: center; }
.status-card { grid-column: span 3; grid-row: span 0.5; flex-direction: row; align-items: center; height: 60px; justify-content: flex-start; }

/* 内部细节修正 */
.avatar { width: 68px; height: 68px; background: #6c5ce7; color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 28px; font-weight: bold; margin-bottom: 15px; border: 2px solid rgba(255, 255, 255, 0.3); }
h1 { font-size: 1.4rem; margin: 0; color: white; }
h3 { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 10px; letter-spacing: 1px; }
p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin: 0; line-height: 1.5; }

/* 图标样式控制 */
.link-card a { text-decoration: none; color: white; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.8rem; }
.icon { 
    stroke: white; /* 图标改为白色 */
    width: 26px; height: 26px; 
    stroke-width: 1.5;
}

.dot { width: 10px; height: 10px; background: #34c759; border-radius: 50%; margin-right: 12px; box-shadow: 0 0 15px #34c759; }

/* 适配手机端：保持 2 列 */
@media (max-width: 480px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        width: 92vw;
    }
    .profile-card { grid-column: span 2; }
    .status-card { grid-column: span 2; }
}
