/* --- 苹果排版与全局复位 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    /* 彻底透明底色，绝不遮挡视频 */
    background-color: transparent; 
    overflow: hidden; 
}

/* --- 视频绝对定位层（彻底解决遮挡问题） --- */
.video-layer {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 1; /* 图层定为 1 */
}

#bg-video {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* 光学毛玻璃（加深晨曦对比度，让白字极其清晰） */
.optical-glass {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(5,10,20,0.2) 0%, rgba(5,10,20,0.4) 50%, rgba(5,10,20,0.6) 100%);
    backdrop-filter: blur(2px);
    z-index: 2; /* 覆盖在视频上方 */
}

/* --- 悬浮内容层 --- */
.content-layer {
    position: relative;
    z-index: 10; /* 图层拔高到 10，绝对在视频上面 */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    perspective: 1200px; /* 激活 JS 的 3D 透视空间 */
}

/* --- 高级冷峻 3D 字体厚度 --- */
.text-3d {
    font-weight: 900;
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 2rem;
    cursor: default;
    /* 钛金属冷灰阴影层叠，拉出极简 3D 厚度 */
    text-shadow: 
        0px 1px 0px #e0e0e0,
        0px 2px 0px #c0c0c0,
        0px 3px 0px #a0a0a0,
        0px 4px 0px #808080,
        0px 8px 15px rgba(0,0,0,0.4),
        0px 15px 30px rgba(0,0,0,0.3);
    transition: transform 0.1s linear; /* 配合 JS 追踪 */
}

.subtitle-3d {
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-top: 3rem;
    text-shadow: 
        0px 1px 0px #e0e0e0,
        0px 2px 0px #c0c0c0,
        0px 3px 0px #a0a0a0,
        0px 6px 15px rgba(0,0,0,0.4);
    transition: transform 0.1s linear;
}

/* --- 使命宣言 (高雅且有呼吸感) --- */
.mission-text {
    font-family: "New York", "Georgia", serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 800px;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.9);
}

/* --- 物理动画：水面浮标 (上下微动) --- */
.ripple-main { animation: floatMain 6s ease-in-out infinite; }
@keyframes floatMain {
    0%, 100% { margin-top: 0px; }
    50% { margin-top: -12px; }
}

.ripple-subtle { animation: floatSubtle 8s ease-in-out infinite; }
@keyframes floatSubtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* --- 极简页脚 --- */
.apple-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.footer-box {
    display: flex;
    gap: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-family: monospace;
}

.footer-box a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
}
/* --- 1. 彻底移除压暗遮罩，让视频展现原始光感 --- */
.optical-glass {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* 移除掉背景遮罩，或者仅保留极淡的白色光感 */
    background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 80%);
    backdrop-filter: none; 
    z-index: 2;
}

/* --- 2. 强化字体的高光（让它在亮背景下更醒目） --- */
.text-3d {
    font-weight: 900;
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 2rem;
    cursor: default;
    
    /* 核心修改：利用“多层白光叠加”来对抗亮背景，而不是依赖深色阴影 */
    text-shadow: 
        0px 0px 20px rgba(255,255,255,0.8), /* 字体本身的柔和光晕 */
        0px 2px 0px #cccccc,                /* 浅灰侧边增强立体感 */
        0px 5px 15px rgba(0,0,0,0.2);       /* 极轻的底部投射，防止字体浮空感太假 */
    transition: transform 0.1s linear;
}

/* --- 3. 增强遮挡光斑的透明度 (方案一) --- */
.gemini-blocker {
    position: absolute;
    bottom: 10px;
    right: 88px;
    width: 100px;
    height: 100px;
    /* 改为极淡的白色光晕，融入日出余晖，而不是遮挡 */
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 80%);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    z-index: 5;
    pointer-events: none;
}

.pulse { color: #5f5; animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
/* 📱 手机端优雅换行 */
@media (max-width: 768px) {
    .footer-box {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .divider { display: none; }
    .content-layer {
        justify-content: flex-start; /* 让内容在手机上稍微靠上一点点 */
        padding-top: 22vh; /* 顶部留出 10% 的空隙，不再紧贴导航栏，也不压在中间 */
    }
    .mission-text { 
        margin-bottom: 25px; /* 这个数值越大，两者距离越远，你可以根据视觉效果微调 */
    }
}