@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/manrope-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/manrope-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/manrope-latin-600-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/manrope-latin-700-normal.woff2') format('woff2');
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Manrope', 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.25);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

@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.18);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.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;
    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;
}

.theme-toggle {
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2A2A2A;
    transition: transform 0.3s ease;
    color: #FFFFFF;
}

.theme-toggle:hover {
    transform: rotate(360deg);
}

@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;
}
