/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
/*手机端适配*/
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    .nav {
        min-width: 100%;
        margin: 0 auto;
    }
    .nav-links {
        gap: 8px;
        font-size: 12px;
        justify-content: center;
    }
    .nav-links a {
        padding: 6px 1px; /* 减小内边距，适配小屏 */
    }
    .avatar {
        width: 100px;
        height: 100px;
        flex: 0 0 200px;
    }
    .nav-container{
        width: 100%;
    }
    .card-container h1{
        font-size: 50px !important;
    }

    .card-container p {
        font-size: 12px !important;
    }
}
@media (max-height: 768px) {
    .avatar {
        display: none;
    }
    .card-container h1{
        font-size: 56px !important;
    }

    .card-container p {
        font-size: 24px !important;
    }
}
html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    background: transparent;
    align-items: center;
    overflow: hidden;
}

.bg-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://api.kori.moe/img") no-repeat center center;
    background-size: cover;
    filter: blur(5px);
    transform: scale(1.1);
    z-index: -1;

}

.main-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 50px;
    gap: 50px;
}

.card-container {
    flex: 1;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: none;
}

.card-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.card-container h1 {
    font-size: 80px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.card-container p {
    font-size: 36px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    flex: 0 0 300px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 70px;
    background-color: #87cfeb80;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    z-index: 999;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    white-space: nowrap;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    position: relative;
}
.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8be0fa;
    transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #8be0fa;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

#archives, #websites, #contact{
    width: 400px;
    height: 400px;
    background-color: rgba(135, 207, 235, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
#archives a, #contact a{
    list-style: none;
    text-decoration: none;
    color: #fff;
    margin-top: 10px;
}
#archives a:hover{
    color: #8be0fa;
}

.contact-list ,.website-list{
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item ,.archive-item,.website-item{
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .5rem;
    background-color: rgba(248, 249, 250, 0.6);
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.contact-item:hover, .archive-item:hover ,.website-item:hover{
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.contact-type {
    font-weight: 600;
    min-width: 80px;
    color: #2c3e50;
}

.contact-value {
    flex: 1;
}

.contact-value a {
    color: #3498db;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

/* 适配 meting-js 固定属性 */
meting-js {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 9999 !important;
}