/* 字体：使用浏览器系统默认（已弃用 Manrope 自托管，woff2 已删） */
*{
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    box-sizing: border-box;
}
body{
    min-height: 100vh;
    background: linear-gradient(135deg, #4A7A68 0%, #5C8D7A 50%, #8FAE9B 100%);
    background-attachment: fixed;
    position: relative;
}

.page{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bg-pattern{
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url('images/bg-pattern.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.55;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.container{
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card{
    width: 90%;
    max-width: 440px;
    color: #FFFFFF;
    text-align: center;
    padding: 50px 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.015);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(6px) saturate(1.05);
    -webkit-backdrop-filter: blur(6px) saturate(1.05);
}

@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.card img.profile-img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.85);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 230, 153, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(255, 230, 153, 0);
    }
}

.card img.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 230, 153, 0.6);
    animation: none;
}

.card h1 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 20px;
    white-space: nowrap;
    color: #FFFFFF;
}

.card h2 {
    font-size: 18px;
    font-weight: 500;
    margin-top: 4px;
    color: #FFFFFF;
}

.card p {
    font-size: 20px;
    margin: 10px auto;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.card .links a {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.card .links a:nth-child(1) { animation-delay: 0.5s; }
.card .links a:nth-child(2) { animation-delay: 0.7s; }
.card .links a:nth-child(3) { animation-delay: 0.9s; }

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.card .links img {
    width: 56px;
    border-radius: 50%;
    margin: 10px 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.card .links img:hover {
    transform: translateY(-5px);
    filter: brightness(1.05);
}

.links a:focus, .btn:focus {
    outline: 2px solid #FF9A6C;
    outline-offset: 2px;
}

.btn {
    text-decoration: none;
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    background: linear-gradient(135deg, #FF9A6C, #FF6B6B);
    color: #FFFFFF;
    padding: 11px 32px;
    border-radius: 30px;
    margin: 26px 0 8px;
    box-shadow: 0 6px 18px rgba(255, 107, 107, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 26px rgba(255, 107, 107, 0.5);
}

.js-tilt-glare {
    border-radius: 20px;
}

.js-tilt-glare-inner {
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%) !important;
}

@media (max-width: 600px) {
    .card {
        max-width: 88%;
        padding: 30px 20px;
    }

    .card img.profile-img {
        width: 155px;
        height: 155px;
    }

    .card h1 {
        font-size: 24px;
    }
}

.site-footer{
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 18px 16px 22px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.site-footer::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.22) 60%, rgba(0, 0, 0, 0.32) 100%);
    pointer-events: none;
}

.site-footer a{
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer a:hover{
    color: #FFFFFF;
    border-bottom-color: #FFFFFF;
}

.site-footer .beian{
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 0.3px;
}

/* 公安备案：图标在前，编号在右 */
.site-footer .beian .psb{
    border-bottom: none;              /* 下划线不画到图标下面 */
}

.site-footer .beian .psb img{
    width: 16px;
    height: 17px;
    vertical-align: -4px;
    margin-right: 4px;
}

/* 下划线只画在编号文字上，与 ICP 那条同一种画法（inline border-bottom） */
.site-footer .beian .psb .psb-text{
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    transition: border-color 0.2s ease;
}

.site-footer .beian .psb:hover{
    color: #FFFFFF;
    border-bottom: none;
}

.site-footer .beian .psb:hover .psb-text{
    border-bottom-color: #FFFFFF;
}

/* 中英双语段落 */
.bilingual{
    text-align: center;
    line-height: 1.7;
    color: rgba(255,255,255,0.90);
}
.bilingual .en{
    color: rgba(255,255,255,1);
    font-style: italic;
}

/* AI 适配：自我介绍文本区（仅供 SEO/AI 读取，页面上不展示） */
.about-section{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.about-heading{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.about-section p{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
