﻿
/*自我介绍单独调整*/
.profile {

    background: rgba(255, 255, 255, 0.3); /* 默认极浅 */
}

/* =========================================
               社交图标颜色
   ========================================= */

.link-bilibili img {
    filter: invert(58%) sepia(45%) saturate(2132%) hue-rotate(311deg) brightness(101%) contrast(97%);
}

.link-email img {
    filter: invert(51%) sepia(89%) saturate(1475%) hue-rotate(186deg) brightness(103%) contrast(101%);
}

.link-github img, .link-x img {
    filter: brightness(0);
}

/* =========================================
            头像磨砂框 & 社交图标
   ========================================= */

.avatar-container img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    /* 磨砂质感核心：厚实的半透明边框 + 模糊 */
    border: 8px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.social-icons a {
    font-size: 2.5rem;
    margin: 0;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}

.social-icons {
    display: flex;
    justify-content: center; /* 居中 */
    flex-wrap: wrap; /* 关键：屏幕太窄时自动换行，防止撑破 */
    gap: 40px; /* 关键：设置图标之间的间距，而不是 margin */
}

    .social-icons a:hover {
        transform: scale(1.1);
        opacity: 0.8;
    }