/* 基础配置 */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&family=Inter:wght@400;700;900&family=Noto+Sans+SC:wght@900&display=swap');

body { 
    background-color: #0b1120; 
    color: #f8fafc; 
    font-family: 'Inter', sans-serif; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem 6rem;
}

/* 玻璃拟态与卡片 */
.glass { 
    background: rgba(30, 41, 59, 0.5); 
    backdrop-filter: blur(16px); 
    border: 1px solid rgba(255,255,255,0.08); 
}

.mono { font-family: 'JetBrains Mono', monospace; }

.dashboard-card { 
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%); 
    border: 1px solid #334155; 
}

/* 提示框 */
.toast { 
    position: fixed; 
    top: 24px; 
    left: 50%; 
    transform: translateX(-50%); 
    opacity: 0; 
    transition: all 0.3s; 
    z-index: 100; 
    pointer-events: none; 
}

/* 侧边联系栏 - 优化为点击复制逻辑 */
.side-contact { 
    position: fixed; 
    right: 20px; 
    bottom: 40px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    z-index: 50; 
}

.contact-item { 
    width: 50px; 
    height: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 18px; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    cursor: pointer; 
    position: relative; 
    overflow: hidden; 
    text-decoration: none; 
}

.contact-item i { font-size: 1.3rem; transition: 0.3s; }
.contact-item:hover { width: 180px; }
.contact-item .contact-text { 
    position: absolute; 
    right: -120px; 
    opacity: 0; 
    white-space: nowrap; 
    font-weight: 700; 
    font-size: 0.85rem; 
    transition: all 0.3s; 
}
.contact-item:hover .contact-text { right: 20px; opacity: 1; }
.contact-item:hover i { transform: translateX(-60px); }

.contact-qq { background: rgba(0, 153, 255, 0.1); border: 1px solid rgba(0, 153, 255, 0.3); color: #0099ff; }
.contact-qq:hover { background: #0099ff; color: white; box-shadow: 0 0 20px rgba(0, 153, 255, 0.5); }
.contact-tg { background: rgba(0, 136, 204, 0.1); border: 1px solid rgba(0, 136, 204, 0.3); color: #0088cc; }
.contact-tg:hover { background: #0088cc; color: white; box-shadow: 0 0 20px rgba(0, 136, 204, 0.5); }

/* 动画 */
.fade-in-up { animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden-panel { display: none; opacity: 0; }
.brand-zh { font-family: 'Noto Sans SC', sans-serif; }

@keyframes pulse-soft {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
.hint-pulse { animation: pulse-soft 3s infinite; }
