body {
    overflow: hidden; 
    margin: 0;                 
    min-height: 100vh;         
    display: flex;
    align-items: center;       
    justify-content: center;   
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../pictures/background.png'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    transform: scale(1);
    transition: transform 1.2s ease-out;
}

.bg.bigger {
    transform: scale(1.2);
}

/* 主卡片 */
.main-card {
    display: flex;
    flex-direction: column;      
    align-items: center;
    position: relative;
    width: 90%;              
    max-width: 330px;        
    min-width: 260px;
    padding: 60px 0px 0px;
    background: rgba(255, 255, 255, 0); 
    backdrop-filter: blur(10px);        
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 32px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: visible;            
    text-align: center; 
    /* 主卡片毛玻璃背景渐变*/
    background-image: linear-gradient(to top right, #a1c4fd4D, #c2e9fb4D);
    user-select: none;
}

.avatar {
    position: absolute;
    top: -50px;       
    left: 50%;
    transform: translateX(-50%);/* 偏移向上5成 */
    transition: transform 1.0s ease;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: url('../pictures/Avatar.png') no-repeat center center; 
    background-size: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.avatar:hover {
    transform: translateX(-50%) rotate(360deg);/* 转起来~ */
}

.name {
    font-family: Noto serif sc;
    margin: 0px;
    font-size: 26px;
    user-select: none; 
}
/* 打字机相关 */
.typewriter {
    display: inline-block;       
    user-select: none;            
    cursor: default;              
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    color: black;
    overflow: hidden;
    border-right: 2px solid darkgrey;
    white-space: nowrap;
    animation: blink-cursor 0.75s step-end infinite;
    margin: 0;  
    opacity: 0;     
}

@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: darkgrey; }
}

.bar{
    width: 240px;                    
    background-color: rgba(255, 255, 255, 1); 
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;              
    padding: 8px 16px;
    margin: 10px auto;                
    backdrop-filter: blur(4px);       
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    text-align: center;                                  
    transition: opacity 0.3s ease;     
}

/* 标签样式 */
.tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-family: 'Noto Serif SC', serif;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #000;
}

/*主卡片底部链接按钮部分*/
.footer-links {
    display: flex;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    background: transparent;
}

.footer-btn {
    flex: 1;
    display: flex;
    flex-direction: column;    
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 0;
    background: inherit;       
    backdrop-filter: inherit;  
    color: rgba(47, 47, 47, 0.8);
    text-decoration: none;
    font-size: 14px;
    border: none;
    transition: all 0.15s ease;
    cursor: pointer;
    outline: none;
}
/*分割线and圆角*/
.footer-btn:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-btn:first-child {
    border-bottom-left-radius: 16px;   
}

.footer-btn:last-child {
    border-bottom-right-radius: 16px;
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: rgb(32, 32, 32);
}
/*按下浮雕*/
.footer-btn:active {
    background: rgba(0, 0, 0, 0.15);       
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
    color: rgba(255, 255, 255, 0.9);
}

.footer-btn i,
.footer-btn .footer-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.footer-btn .footer-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-btn span {
    font-size: 15px;
    font-weight: bolder;
    letter-spacing: 0.5px;
    font-family: Noto serif sc;
}

/* 版权区域部分 */
.copyright {
    position: fixed;
    bottom: 12px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-family: Noto serif sc;
    color: rgba(60, 60, 60, 0.4);
    pointer-events: none;      
    z-index: 100;
    user-select: none;
    line-height: 1.6;
}

.copyright a {
    pointer-events: auto;       
    color: inherit;             
    text-decoration: none;      
}

.copyright-links {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 0px 0px;
}

.copyright-links .travel-link {
    display: flex;
    align-items: center;
    color: #E8B600;              
    text-decoration: none;
}

.copyright-links .travel-link img {
    width: 22px;
    height: 22px;
    margin-right: 4px;
}

.copyright-links .separator {
    color: #E8B600;
    margin: 0 0.3em;
}

.copyright-links .icp-link {
    color: #E8B600;
    text-decoration: none;
}

.uptime-line {
    margin: 6px 0 4px 0;
    text-align: center;
    letter-spacing: 0.3px;
}
.uptime-line .uptime {
    display: inline-block;
    color: #B8A37D;
    font-size: 12px;
    background: rgba(255, 245, 220, 0.3);
    padding: 2px 10px;
    border-radius: 40px;
    font-weight: 500;
    backdrop-filter: blur(2px);
}

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px) scale(0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    color: #333;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-family: 'Noto Serif SC', serif;
    font-weight: 500;
    z-index: 99999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    visibility: hidden;
    min-width: 200px;
    text-align: center;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.copy-toast::before {
    content: '✓';
    display: inline-block;
    margin-right: 10px;
    color: #4CAF50;
    font-weight: bold;
    font-size: 18px;
    background: #4CAF50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
}

.copy-toast:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(-50%) translateY(0) scale(1.02);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .copy-toast {
        top: 20px;
        padding: 12px 24px;
        font-size: 14px;
        min-width: 180px;
    }
    
    .copy-toast::before {
        width: 20px;
        height: 20px;
        font-size: 14px;
        line-height: 20px;
        margin-right: 8px;
    }
}
