@import url('https://api.fontshare.com/v2/css?f[]=satoshivariable@400;500;600;700&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=generalsans@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #2d4a2d;
}

:root {
    --landing-heading-spacing: 0.02em;
    --landing-body-spacing: 0em;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    letter-spacing: var(--landing-body-spacing);
    background-color: #2d4a2d;
    min-height: 100vh;
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* 顶部导航栏 */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1rem 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 滚动时隐藏导航栏 */
body.landing-dismissed .top-navbar.navbar-scrolled {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none !important;
    font-family: 'Dancing Script', 'Caveat', cursive;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    transform: rotate(-2deg);
    border-bottom: none !important;
}

.nav-logo::before {
    content: '✨';
    position: absolute;
    left: -1.2rem;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 0.8rem;
    opacity: 0.8;
    animation: twinkle 2s ease-in-out infinite;
}

.nav-logo::after {
    content: '✨';
    position: absolute;
    right: -1.2rem;
    top: 50%;
    transform: translateY(-50%) rotate(15deg);
    font-size: 0.8rem;
    opacity: 0.8;
    animation: twinkle 2s ease-in-out infinite 0.5s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1) rotate(var(--rotation, 0deg));
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2) rotate(var(--rotation, 0deg));
    }
}

.nav-logo:hover {
    transform: rotate(0deg) scale(1.1);
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nav-logo:hover::before,
.nav-logo:hover::after {
    animation-duration: 1s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none !important;
    border-bottom: none !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    transition: opacity 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nav-link:hover {
    opacity: 0.7;
    text-decoration: none !important;
    border-bottom: none !important;
}

.nav-link.active {
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: none !important;
}

@media (max-width: 768px) {
    .top-navbar {
        padding: 0.75rem 0;
    }
    
    .nav-container {
        padding: 0 1.5rem;
        flex-wrap: nowrap;
    }
    
    .nav-logo {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    
    .nav-logo::before,
    .nav-logo::after {
        font-size: 0.7rem;
        left: -1rem;
        right: -1rem;
    }
    
    .nav-menu {
        gap: 1.2rem;
        flex-shrink: 0;
    }
    
    .nav-link {
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* 项目页面导航栏移动端 */
    body.landing-dismissed .top-navbar {
        padding: 0.4rem 0;
    }
}

.content {
    width: 100%;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .content {
        min-height: auto;
        height: auto;
    }
}

.pages {
    width: 100%;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .pages {
        min-height: auto;
        height: auto;
    }
}

.page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
}

.backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #a8c5a0;
    background-image: url('../../assets/figures/lvse.jpg');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    z-index: 0;
    overflow: hidden;
    filter: brightness(0.7) contrast(1.1);
}

@keyframes horizontalFlow {
    0% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 0% 25%;
    }
    50% {
        background-position: 0% 50%;
    }
    75% {
        background-position: 0% 75%;
    }
    100% {
        background-position: 0% 100%;
    }
}

/* 垂直条纹流动效果 */
/* 毛玻璃特效层 */
.backdrop::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes horizontalStreak {
    0% {
        background-position: 0% 0%;
    }
    20% {
        background-position: 0% 20%;
    }
    40% {
        background-position: 0% 40%;
    }
    60% {
        background-position: 0% 60%;
    }
    80% {
        background-position: 0% 80%;
    }
    100% {
        background-position: 0% 100%;
    }
}

@keyframes noise {
    0%, 100% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-2%, -1%);
    }
    20% {
        transform: translate(1%, 2%);
    }
    30% {
        transform: translate(-1%, 1%);
    }
    40% {
        transform: translate(2%, -2%);
    }
    50% {
        transform: translate(-2%, 2%);
    }
    60% {
        transform: translate(1%, -1%);
    }
    70% {
        transform: translate(-1%, -2%);
    }
    80% {
        transform: translate(2%, 1%);
    }
    90% {
        transform: translate(-2%, -1%);
    }
}

@keyframes noiseMove {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }
    25% {
        background-position: 1px 0px, 0px 1px, 0.5px 0.5px;
    }
    50% {
        background-position: 0px 1px, 1px 0px, 1px 1px;
    }
    75% {
        background-position: 1px 1px, 0.5px 0.5px, 0px 1px;
    }
    100% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }
}

/* 高噪点磨砂效果 + 垂直条纹 */
/* 移除纹理效果，直接使用图片 */
.backdrop::after {
    display: none;
}

@keyframes horizontalLines {
    0% {
        background-position: 0% 0%, 0% 0%;
    }
    100% {
        background-position: 0% 4px, 0% 6px;
    }
}

@keyframes floatGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.75;
    }
}

/* 图标浮动动画 */
@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* 淡入上移动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* More按钮脉冲动画 */
@keyframes morePulse {
    0%, 100% {
        opacity: 0.85;
    }
    50% {
        opacity: 1;
    }
}

.backdrop-contents {
    width: 100%;
    height: 100%;
}

/* 烟花特效 */
.fireworks {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0;
}

.firework:nth-child(1) {
    left: 20%;
    top: 20%;
    background: #ff6b6b;
    animation: firework1 3s ease-in-out infinite;
    animation-delay: 0s;
}

.firework:nth-child(2) {
    left: 80%;
    top: 30%;
    background: #4ecdc4;
    animation: firework2 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.firework:nth-child(3) {
    left: 50%;
    top: 15%;
    background: #ffe66d;
    animation: firework3 3s ease-in-out infinite;
    animation-delay: 1s;
}

.firework:nth-child(4) {
    left: 15%;
    top: 70%;
    background: #a8e6cf;
    animation: firework4 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.firework:nth-child(5) {
    left: 85%;
    top: 75%;
    background: #ff8b94;
    animation: firework5 3s ease-in-out infinite;
    animation-delay: 2s;
}

.firework:nth-child(6) {
    left: 60%;
    top: 60%;
    background: #95e1d3;
    animation: firework6 3s ease-in-out infinite;
    animation-delay: 2.5s;
}

@keyframes firework1 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
        box-shadow: 
            0 0 0 0 #ff6b6b,
            0 0 0 0 #ff6b6b,
            0 0 0 0 #ff6b6b,
            0 0 0 0 #ff6b6b;
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translate(0, 0) scale(1);
        box-shadow: 
            -50px -30px 0 -2px #ff6b6b,
            50px -30px 0 -2px #ff6b6b,
            -30px 50px 0 -2px #ff6b6b,
            30px 50px 0 -2px #ff6b6b;
    }
    50% {
        transform: translate(0, 0) scale(1.2);
        box-shadow: 
            -80px -50px 0 -3px rgba(255, 107, 107, 0.8),
            80px -50px 0 -3px rgba(255, 107, 107, 0.8),
            -50px 80px 0 -3px rgba(255, 107, 107, 0.8),
            50px 80px 0 -3px rgba(255, 107, 107, 0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
        box-shadow: 
            -100px -60px 0 -4px transparent,
            100px -60px 0 -4px transparent,
            -60px 100px 0 -4px transparent,
            60px 100px 0 -4px transparent;
    }
}

@keyframes firework2 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
        box-shadow: 
            0 0 0 0 #4ecdc4,
            0 0 0 0 #4ecdc4,
            0 0 0 0 #4ecdc4,
            0 0 0 0 #4ecdc4;
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translate(0, 0) scale(1);
        box-shadow: 
            -40px -40px 0 -2px #4ecdc4,
            40px -40px 0 -2px #4ecdc4,
            -40px 40px 0 -2px #4ecdc4,
            40px 40px 0 -2px #4ecdc4;
    }
    50% {
        transform: translate(0, 0) scale(1.2);
        box-shadow: 
            -70px -70px 0 -3px rgba(78, 205, 196, 0.8),
            70px -70px 0 -3px rgba(78, 205, 196, 0.8),
            -70px 70px 0 -3px rgba(78, 205, 196, 0.8),
            70px 70px 0 -3px rgba(78, 205, 196, 0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
        box-shadow: 
            -90px -90px 0 -4px transparent,
            90px -90px 0 -4px transparent,
            -90px 90px 0 -4px transparent,
            90px 90px 0 -4px transparent;
    }
}

@keyframes firework3 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0) rotate(0deg);
        box-shadow: 
            0 0 0 0 #ffe66d,
            0 0 0 0 #ffe66d,
            0 0 0 0 #ffe66d,
            0 0 0 0 #ffe66d,
            0 0 0 0 #ffe66d,
            0 0 0 0 #ffe66d;
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        box-shadow: 
            0 -45px 0 -2px #ffe66d,
            39px -14px 0 -2px #ffe66d,
            39px 14px 0 -2px #ffe66d,
            0 45px 0 -2px #ffe66d,
            -39px 14px 0 -2px #ffe66d,
            -39px -14px 0 -2px #ffe66d;
    }
    50% {
        transform: translate(0, 0) scale(1.2) rotate(180deg);
        box-shadow: 
            0 -70px 0 -3px rgba(255, 230, 109, 0.8),
            60px -20px 0 -3px rgba(255, 230, 109, 0.8),
            60px 20px 0 -3px rgba(255, 230, 109, 0.8),
            0 70px 0 -3px rgba(255, 230, 109, 0.8),
            -60px 20px 0 -3px rgba(255, 230, 109, 0.8),
            -60px -20px 0 -3px rgba(255, 230, 109, 0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0) rotate(360deg);
        box-shadow: 
            0 -90px 0 -4px transparent,
            80px -25px 0 -4px transparent,
            80px 25px 0 -4px transparent,
            0 90px 0 -4px transparent,
            -80px 25px 0 -4px transparent,
            -80px -25px 0 -4px transparent;
    }
}

@keyframes firework4 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
        box-shadow: 
            0 0 0 0 #a8e6cf,
            0 0 0 0 #a8e6cf,
            0 0 0 0 #a8e6cf,
            0 0 0 0 #a8e6cf;
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translate(0, 0) scale(1);
        box-shadow: 
            -35px -35px 0 -2px #a8e6cf,
            35px -35px 0 -2px #a8e6cf,
            -35px 35px 0 -2px #a8e6cf,
            35px 35px 0 -2px #a8e6cf;
    }
    50% {
        transform: translate(0, 0) scale(1.2);
        box-shadow: 
            -65px -65px 0 -3px rgba(168, 230, 207, 0.8),
            65px -65px 0 -3px rgba(168, 230, 207, 0.8),
            -65px 65px 0 -3px rgba(168, 230, 207, 0.8),
            65px 65px 0 -3px rgba(168, 230, 207, 0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
        box-shadow: 
            -85px -85px 0 -4px transparent,
            85px -85px 0 -4px transparent,
            -85px 85px 0 -4px transparent,
            85px 85px 0 -4px transparent;
    }
}

@keyframes firework5 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
        box-shadow: 
            0 0 0 0 #ff8b94,
            0 0 0 0 #ff8b94,
            0 0 0 0 #ff8b94,
            0 0 0 0 #ff8b94;
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translate(0, 0) scale(1);
        box-shadow: 
            -45px -25px 0 -2px #ff8b94,
            45px -25px 0 -2px #ff8b94,
            -25px 45px 0 -2px #ff8b94,
            25px 45px 0 -2px #ff8b94;
    }
    50% {
        transform: translate(0, 0) scale(1.2);
        box-shadow: 
            -75px -40px 0 -3px rgba(255, 139, 148, 0.8),
            75px -40px 0 -3px rgba(255, 139, 148, 0.8),
            -40px 75px 0 -3px rgba(255, 139, 148, 0.8),
            40px 75px 0 -3px rgba(255, 139, 148, 0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
        box-shadow: 
            -95px -50px 0 -4px transparent,
            95px -50px 0 -4px transparent,
            -50px 95px 0 -4px transparent,
            50px 95px 0 -4px transparent;
    }
}

@keyframes firework6 {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0) rotate(0deg);
        box-shadow: 
            0 0 0 0 #95e1d3,
            0 0 0 0 #95e1d3,
            0 0 0 0 #95e1d3,
            0 0 0 0 #95e1d3,
            0 0 0 0 #95e1d3,
            0 0 0 0 #95e1d3;
    }
    10% {
        opacity: 1;
    }
    20% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        box-shadow: 
            0 -50px 0 -2px #95e1d3,
            43px -25px 0 -2px #95e1d3,
            43px 25px 0 -2px #95e1d3,
            0 50px 0 -2px #95e1d3,
            -43px 25px 0 -2px #95e1d3,
            -43px -25px 0 -2px #95e1d3;
    }
    50% {
        transform: translate(0, 0) scale(1.2) rotate(180deg);
        box-shadow: 
            0 -75px 0 -3px rgba(149, 225, 211, 0.8),
            65px -35px 0 -3px rgba(149, 225, 211, 0.8),
            65px 35px 0 -3px rgba(149, 225, 211, 0.8),
            0 75px 0 -3px rgba(149, 225, 211, 0.8),
            -65px 35px 0 -3px rgba(149, 225, 211, 0.8),
            -65px -35px 0 -3px rgba(149, 225, 211, 0.8);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0) rotate(360deg);
        box-shadow: 
            0 -95px 0 -4px transparent,
            85px -45px 0 -4px transparent,
            85px 45px 0 -4px transparent,
            0 95px 0 -4px transparent,
            -85px 45px 0 -4px transparent,
            -85px -45px 0 -4px transparent;
    }
}

.page-layout {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 0 3rem;
}

.page-content {
    width: 100%;
}

bodycopy {
    display: block;
    width: 100%;
}

column-set {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

column-unit {
    display: block;
}

column-unit[slot="0"] {
    padding-right: 0;
    margin-top: 0;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    column-unit[slot="0"] {
        margin-top: 4rem;
    }
}

@media (max-width: 480px) {
    column-unit[slot="0"] {
        margin-top: 3rem;
    }
}

column-unit[slot="1"] {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    width: 100%;
    text-align: center;
}

.cover {
    display: block;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
}

column-unit[slot="0"] .cover {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    font-family: 'Satoshi Variable', 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    text-align: center;
}

column-unit[slot="0"] .cover i {
    font-style: italic;
    font-weight: 300;
    display: block;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

column-unit[slot="0"] .cover small {
    font-size: 0.75em;
    font-weight: 400;
    opacity: 0.85;
    display: block;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: -1rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.icon-link {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-bottom: none;
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: iconFloat 3s ease-in-out infinite;
    animation-delay: calc(var(--icon-index, 0) * 0.1s);
}

.icon-link:nth-child(1) { --icon-index: 0; }
.icon-link:nth-child(2) { --icon-index: 1; }
.icon-link:nth-child(3) { --icon-index: 2; }
.icon-link:nth-child(4) { --icon-index: 3; }

.icon-link:hover {
    opacity: 1;
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

.icon-link:active {
    opacity: 0.8;
    transform: translateY(-4px) scale(1.1) rotate(-5deg);
}

.icon-link img {
    width: 100%;
    height: 100%;
    align-items: center;
    display: block;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

column-unit[slot="1"] .cover {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.01em;
    text-align: center;
    max-width: 100%;
    padding-left: 0;
    margin-left: 0;
}

/* More按钮样式 */
#more-btn {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    margin-top: -0.5rem;
    padding: 0.5rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.85;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.4),
        0 1px 1px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.5s both, morePulse 2s ease-in-out infinite 1.5s;
    position: relative;
}

#more-btn:hover {
    opacity: 1;
    transform: translateX(8px) scale(1.05);
}

.intro-main {
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1.15;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 0.3rem;
    margin-top: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.intro-main.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.intro-subtitle {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.01em;
    display: block;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.intro-subtitle.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-body {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.75;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.01em;
    display: block;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

a:hover {
    border-bottom-color: #ffffff;
    opacity: 0.8;
}

a:active {
    opacity: 0.6;
}

@media (max-width: 1200px) {
    .page-layout {
        max-width: 1000px;
        padding: 0 2.5rem;
    }
    
    column-set {
        gap: 4rem;
    }
    
    column-unit[slot="0"] .cover {
        font-size: 1.8rem;
    }
    
    column-unit[slot="1"] .cover {
        font-size: 1.2rem;
    }
    
    .intro-main {
        font-size: 2rem;
    }
    
    .intro-subtitle {
        font-size: 1.5rem;
    }
    
    .intro-body {
        font-size: 1.1rem;
    }
}

@media (max-width: 1024px) {
    column-set {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    column-unit[slot="0"],
    column-unit[slot="1"] {
        padding: 0;
    }
    
    column-unit[slot="1"] {
        margin-left: 0 !important;
    }
    
    column-unit[slot="0"] .cover {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    column-unit[slot="1"] .cover {
        font-size: 1.1rem;
    }
    
    .intro-main {
        font-size: 1.8rem;
    }
    
    .intro-subtitle {
        font-size: 1.3rem;
    }
    
    .intro-body {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .landing-section {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y;
    }
    
    .landing-section .content {
        min-height: calc(100vh + 300px);
        padding-bottom: 100px;
    }
    
    .landing-section .pages {
        min-height: calc(100vh + 300px);
    }
    
    .page {
        min-height: calc(100vh + 200px);
        align-items: center;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 3rem;
        height: auto;
    }
    
    .page-layout {
        padding: 0 1.5rem;
    }
    
    .backdrop {
        background-position: center top;
        position: fixed;
        height: 100vh;
        /* 移动端优化：减少动画复杂度 */
        animation: diagonalFlow 50s ease-in-out infinite;
    }
    
    /* 移动端减少背景层动画以提高性能 */
    .backdrop::before {
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        opacity: 0.1;
    }
    
    .backdrop::after {
        /* 移动端减少噪点动画频率 */
        animation: noiseMove 0.6s steps(6) infinite, diagonalStreakNoise 60s ease-in-out infinite;
        opacity: 0.4;
    }
    
    column-set {
        gap: 2rem;
    }
    
    column-unit[slot="0"] {
        margin-top: 0;
    }
    
    column-unit[slot="1"] {
        margin-left: 0 !important;
        width: 100%;
        max-width: 100%;
    }
    
    column-unit[slot="0"] .cover {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    column-unit[slot="1"] .cover {
        font-size: 1rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .intro-main {
        font-size: 2.2rem;
        line-height: 1.2;
        display: block;
        word-wrap: break-word;
        margin-bottom: 0.5rem;
        margin-top: 0;
        text-align: center;
    }
    
    .intro-subtitle {
        font-size: 1.5rem;
        line-height: 1.3;
        display: block;
        word-wrap: break-word;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .intro-body {
        font-size: 1rem;
        line-height: 1.7;
        display: block;
        word-wrap: break-word;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    #more-btn {
        font-size: 0.95rem;
        margin-top: -0.5rem;
    }
    
    .social-icons {
        gap: 0.6rem;
        margin-top: -0.5rem;
        flex-wrap: wrap;
    }
    
    .icon-link {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .page {
        min-height: calc(100vh + 200px);
        align-items: center;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 2.5rem;
        height: auto;
    }
    
    .page-layout {
        padding: 0 1rem;
    }
    
    column-unit[slot="0"] {
        margin-top: 0;
    }
    
    column-unit[slot="1"] {
        margin-left: 0 !important;
        width: 100%;
        max-width: 100%;
    }
    
    column-unit[slot="0"] .cover {
        font-size: 1.3rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    column-unit[slot="1"] .cover {
        font-size: 0.95rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .intro-main {
        font-size: 1.8rem;
        line-height: 1.2;
        display: block;
        word-wrap: break-word;
        margin-bottom: 0.5rem;
        margin-top: 0;
        text-align: center;
    }
    
    .intro-subtitle {
        font-size: 1.3rem;
        line-height: 1.3;
        display: block;
        word-wrap: break-word;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .intro-body {
        font-size: 0.95rem;
        line-height: 1.7;
        display: block;
        word-wrap: break-word;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    #more-btn {
        font-size: 0.85rem;
        margin-top: 0.5rem;
        text-align: center;
        display: block;
    }
    
    .social-icons {
        gap: 0.5rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .icon-link {
        width: 28px;
        height: 28px;
    }
    
    /* 小屏幕进一步优化背景动画 */
    .backdrop::before {
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        opacity: 0.08;
    }
    
    .backdrop::after {
        animation: horizontalLines 0.5s linear infinite;
        opacity: 0.35;
    }
}

.f-f {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

customhtml,
aside#color_picker {
    display: none;
}

div[style*="z-index: -99"] {
    display: none;
}

.backdrop {
    will-change: transform;
    transform: translateZ(0);
}

.page-layout {
    will-change: opacity;
}

@media (prefers-reduced-motion: reduce) {
    *:not(.landing-section):not(.main-content):not(.back-arrow) {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.landing-section {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.6s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .landing-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }
  
  .landing-section .content {
    min-height: calc(100vh + 300px);
    padding-bottom: 100px;
  }
  
  .landing-section .pages {
    min-height: calc(100vh + 300px);
  }
}

body.landing-dismissed .landing-section {
  opacity: 0;
  pointer-events: none;
}

.landing-spacer {
  display: none;
}

.back-arrow {
  display: none !important;
}

.back-arrow {
  display: none !important;
}

/* 项目页面时导航栏样式 */
body.landing-dismissed .top-navbar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

body.landing-dismissed .nav-logo {
  color: #333;
  text-shadow: none;
}

body.landing-dismissed .nav-logo::before,
body.landing-dismissed .nav-logo::after {
  opacity: 0.4;
}

body.landing-dismissed .nav-link {
  color: #333;
  text-shadow: none;
}

body.landing-dismissed .nav-link.active {
  font-weight: 600;
}

.main-content {
  position: fixed;
  inset: 0;
  z-index: 10;
  opacity: 0;
  overflow-y: auto;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 40px;
  font-family: 'Outfit', 'Manrope', 'Segoe UI', Roboto, sans-serif;
  letter-spacing: var(--landing-body-spacing);
  transition: opacity 0.6s ease;
}

body.landing-dismissed .main-content {
  opacity: 1;
}

.projects {
  width: 100%;
  max-width: 1200px;
  padding: 0;
  margin: 0;
}

.projects-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: none !important;
}

.project-card {
  background: #fff;
  border: none;
  overflow: visible;
  transition: opacity 0.3s ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid #e5e5e5;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

.project-card:last-child {
  border-bottom: none;
}

.project-card:hover {
  opacity: 0.7;
}

.project-card img {
  width: 400px;
  height: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.project-content {
  flex: 1;
  padding: 0;
  background: transparent;
}

.project-tags {
  font-size: 0.875rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

.project-content h3 {
  margin: 0 0 1rem 0;
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  color: #111;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.project-content p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  font-weight: 400;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

.project-content p:last-of-type {
  margin-bottom: 1rem;
}

.waha-design-lab {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin: -0.75rem 0 1rem 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

.project-read-more {
  font-size: 0.875rem;
  color: #111;
  font-weight: 500;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s ease;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

.project-read-more:hover {
  gap: 0.5rem;
}

.project-date {
  display: none;
}

.project-card:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.assignments {
  width: 100%;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.assignments-title {
  font-size: 32px;
  font-weight: 700;
  color: #111;
}

.assignment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.assignment-item {
  width: 100%;
}

.assignment-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  color: #111;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.assignment-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.08);
  border-color: rgba(17, 17, 17, 0.3);
}

.assignment-link:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.6);
  outline-offset: 2px;
}

.assignment-name {
  font-size: 20px;
  font-weight: 600;
}

.assignment-icon {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.assignment-link:hover .assignment-icon {
  transform: translateX(4px);
}

.assignment-link:focus-visible .assignment-icon {
  transform: translateX(4px);
}


@media (max-width: 768px) {
  .projects-grid {
    gap: 0;
  }
  
  .main-content {
    padding: 70px 16px 24px;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 100vh;
  }
  
  .project-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.2rem;
    padding: 2rem 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    min-height: auto;
    height: auto;
  }
  
  .project-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    order: 1;
    flex-shrink: 0;
  }
  
  .project-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    order: 2;
    flex: 0 0 auto;
    min-height: auto;
    height: auto;
    display: block;
  }
  
  .project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
  }
  
  .waha-design-lab {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    display: block;
  }
  
  .project-tags {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    word-wrap: break-word;
    display: block;
  }
  
  .project-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
  }
  
  .project-read-more {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    word-break: break-word;
    display: inline-block;
  }

  .assignments {
    margin-top: 32px;
    gap: 12px;
  }

  .assignments-title {
    font-size: 24px;
  }
  .assignment-link {
    padding: 16px 20px;
  }

  .assignment-name,
  .assignment-icon {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 60px 12px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 100vh;
  }
  
  .project-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem;
    padding: 1.5rem 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    min-height: auto;
    height: auto;
  }
  
  .project-card img {
    order: 1;
    flex-shrink: 0;
  }
  
  .project-content {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
    order: 2;
    flex: 0 0 auto;
    min-height: auto;
    height: auto;
    display: block;
  }
  
  .project-content h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
  }
  
  .waha-design-lab {
    font-size: 0.75rem;
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
    word-wrap: break-word;
    display: block;
  }
  
  .project-tags {
    font-size: 0.75rem;
    line-height: 1.4;
    word-wrap: break-word;
    display: block;
  }
  
  .project-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
  }
  
  .project-read-more {
    font-size: 0.8rem;
    word-break: break-word;
    display: inline-block;
  }
} 
