@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

body {
    background-color: #f8fafc; /* 白底/浅灰蓝底色 */
    overflow-x: hidden;
    cursor: none; /* 隐藏默认光标以启用自定义光标 */
}

/* 全局噪点质感（极浅） */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.02;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* WebGL 背景容器 */
#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* 自定义蓝色光标 */
#cursor, #cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
}
#cursor {
    width: 8px;
    height: 8px;
    background-color: #3b82f6; /* 品牌蓝 */
}
#cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}
.hover-active #cursor-follower {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(2px);
}

/* 4栏位下拉加载白蓝色 */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: 10000;
    pointer-events: none;
}
.loader-col {
    flex: 1;
    height: 100%;
    background-color: #eff6ff; /* 浅蓝背景幕布 */
    border-right: 1px solid rgba(255,255,255,0.5);
    transform-origin: top;
}

/* 玻璃拟态 (白底高光) */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

/* 图片液态遮罩框 */
.liquid-image-container {
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.liquid-image-container img {
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.liquid-image-container:hover img {
    transform: scale(1.05);
}

/* 垂直浅色参考线 */
.guide-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
    padding: 0 5vw;
    opacity: 0.5;
}
.guide-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.1), transparent);
}

/* 字体设定 */
h1, h2, h3, .serif-text {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
}

/* 滚动动画指示器 */
@keyframes scroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
.animate-scroll {
    animation: scroll 2s ease-in-out infinite;
}