
html {
    margin: 0;
    padding: 0;
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    height: 100%;
    scrollbar-width: none;
}
/*隐藏滑块*/
::-webkit-scrollbar{
    display: none;
}
/*背景*/
#WHO_AM_I {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    background: linear-gradient(to bottom, #D9ED92, #B5E48C,#99D98C,#76C893);
}
#NEXT {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #76C893, #52B69A,#34A0A4,#168AAD);
}
.frame {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 5rem 2.5rem 5rem 2.5rem;

    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(82, 182, 154, 0.3);  /* #52B69A */
    box-shadow:
            0 30px 40px -10px rgba(52, 160, 164, 0.3),
            0 0 0 1px rgba(217, 237, 146, 0.2) inset,
            0 0 60px rgba(34, 138, 173, 0.2);
    padding: 3.5rem 2.8rem;
}
.bounce-stage {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.2rem 0.15rem;
    max-width: 860px;
}
@keyframes yBounce {
    0% {
        transform: translateY(0);
    }
    80% {

    }
    100% {
        transform: translateY(-26px);
    }
}
@media (max-width: 550px) {
    .frame {
        padding: 2rem 1.2rem;
        border-radius: 3rem 1.5rem 3rem 1.5rem;
    }
    .bounce-char {
        font-size: clamp(2.5rem, 12vw, 4.2rem);
        border-radius: 20px 8px 20px 8px;
    }
    @keyframes yBounce {
        100% { transform: translateY(-16px); }
    }
}
.bounce-char {
    font-family: "Ranchers", sans-serif;
    font-size: clamp(3.2rem, 14vw, 6.5rem);
    font-weight: 400;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.2em 0.25em;
    min-width: 1.3em;
    border-radius: 30px 12px 30px 12px;
    transform: translateY(0);
    transition: box-shadow 0.2s, background 0.3s;
    animation: yBounce 0.7s infinite alternate ease-in-out;
    will-change: transform, text-shadow, background;
}
.footnote {
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
    letter-spacing: 4px;
    font-weight: 300;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 40px;
    backdrop-filter: blur(4px);
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}
.navbar {
    background: white;
    padding: 0 32px;
    box-shadow: 0 20px 100px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo{
    font-family: "Ranchers", sans-serif;
    font-weight: 600;
    font-size: 2em;
    margin-right: auto;
    white-space: nowrap;
}
.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.nav-item {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.nav-item i {
    font-size: 16px;
    width: 16px;
    color: #64748b;
}
/*自适应导航栏*/
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    .nav-links {
        gap: 4px;
    }
    .nav-item {
        padding: 6px 12px;
        font-size: 13px;
    }
    .nav-item span {
        display: inline;
    }
}
@media screen and (max-width: 576px) {
    .navbar {
        padding: 0 16px;
    }
    .nav-content {
        height: 56px;
    }
    .logo {
        font-size: 1.5em;
    }
    .nav-links {
        gap: 2px;
    }
    .nav-item {
        padding: 6px 10px;
    }
    .nav-item span {
        display: none;
    }
    .nav-item i {
        font-size: 18px;
        width: auto;
    }
}
@media screen and (max-width: 375px) {
    .nav-item {
        padding: 8px;
    }
    .nav-item i {
        font-size: 16px;
    }
}
@media screen and (min-width: 1400px) {
    .nav-content {
        max-width: 1400px;
    }
    .nav-item {
        padding: 10px 20px;
        font-size: 16px;
    }
}
/*鼠标事件*/
.nav-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.nav-item:hover i {
    color: #3b82f6;
}
.nav-item.active {
    background: #eef2ff;
    color: #3b82f6;
}
.nav-item.active i {
    color: #3b82f6;
}

#NEXT h2 {
    font-size: 4em;
    font-family: "Ranchers", sans-serif;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.03);
}
#NEXT p {
    font-size: 1.5em;
    color: #2c3e50;
}