/* =========================================
   全局变量与基础设置
========================================= */
:root {
    --bg-color: #000000;
    --accent-color: #ff9933; /* 南孚橙 */
    --text-white: #ffffff;
    --dim-text: rgba(255, 255, 255, 0.6);
}

/* 强制干掉全局的默认鼠标 */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    cursor: none !important; 
}

body { 
    background-color: var(--bg-color); 
    color: var(--text-white); 
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    overflow-x: hidden;
}

/* =========================================
   3D 背景与建模数字网格
========================================= */
.canvas-viewport {
    position: fixed; 
    top: 0; left: 0; 
    width: 100vw; height: 100vh;
    z-index: -1; 
    pointer-events: none; 
    background: radial-gradient(circle at center, #111 0%, #000 70%);
}

/* 新增：数字底盘网格，增加 Blender 建模感 */
.canvas-viewport::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 153, 51, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 153, 51, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.scroll-container, 
.nanfu-nav {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.ui-visible {
    opacity: 1 !important;
    visibility: visible !important;
}

#opening-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #000;
    z-index: 9999; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   自定义积木光标 (十字准星)
========================================= */
#custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-color);
    pointer-events: none; /* 防止挡住下层点击 */
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, transform 0.2s, background-color 0.2s, border-radius 0.2s, filter 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
}
#custom-cursor::after {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent-color);
}
/* 悬停时的“零件扣合”状态 */
#custom-cursor.cursor-hover {
    transform: translate(-50%, -50%) scale(0.65) rotate(45deg);
    background: rgba(255, 153, 51, 0.25);
    border-radius: 4px;
}

/* =========================================
   顶层导航栏
========================================= */
.nanfu-nav {
    position: fixed; top: 0; width: 100%; padding: 30px 6%;
    display: flex; justify-content: space-between; align-items: center; 
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    pointer-events: auto; 
}

.logo { font-weight: 800; letter-spacing: 2px; font-size: 1.1rem; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #fff; text-decoration: none; font-size: 0.85rem; opacity: 0.6; transition: 0.3s; }
.nav-links a:hover { opacity: 1; color: var(--accent-color); }
.btn-join { 
    background: var(--accent-color); color: #000; 
    padding: 10px 25px; border-radius: 30px; 
    font-weight: 600; cursor: pointer; transition: 0.3s; 
}
.btn-join:hover { transform: scale(1.05); }

/* =========================================
   通用页面面板布局
========================================= */
.panel { width: 100vw; height: 100vh; position: relative; pointer-events: auto; }
.hero-layout { display: flex; height: 100vh; width: 100%; align-items: center; padding: 0 8%; }

/* --- 第一页：首页文案排版 --- */
.hero-visual { flex: 0.8; } 
.hero-text { flex: 1.2; padding-left: 40px; }
.main-title { font-size: 3.5rem; line-height: 1.2; margin: 15px 0 25px 0; font-weight: 800; }
.tagline { color: var(--accent-color); letter-spacing: 4px; font-size: 1rem; }
.description { color: var(--dim-text); max-width: 650px; line-height: 1.8; text-align: justify; }
.description p { margin-bottom: 15px; }

/* --- 第二页：三大理由 --- */
.reasons-right { flex: 1.2; padding-left: 5%; }
.reasons-main-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 40px; }
.reasons-main-title .highlight { color: var(--accent-color); }
.reason-item { margin-bottom: 35px; opacity: 0; transform: translateY(30px); }
.reason-item h3 { font-size: 1.4rem; color: var(--accent-color); margin-bottom: 10px; }
.reason-item p { font-size: 0.95rem; line-height: 1.6; color: #fff; max-width: 500px; }

/* --- 第三页：横向滚动拆解区域 --- */
.horizontal-section { overflow: hidden; background: transparent; }
.horizontal-wrapper { display: flex; width: 300vw; height: 100vh; }
.full-card { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; }
.card-inner { text-align: center; max-width: 600px; }
.card-num { font-size: 6rem; font-weight: 900; opacity: 0.1; display: block; margin-bottom: -30px;}
.card-inner h3 { font-size: 3.5rem; margin-bottom: 20px; }
.card-inner p { font-size: 1.2rem; color: var(--dim-text); }

/* 底部粒子进度条 */
.particle-progress-container { 
    position: absolute; bottom: 10%; left: 50%; transform: translateX(-50%); 
    width: 300px; text-align: center; pointer-events: none;
}
.progress-track { width: 100%; height: 2px; background: rgba(255,255,255,0.1); }
.progress-bar-active { 
    position: absolute; top: 0; left: 0; width: 0%; height: 2px; 
    background: var(--accent-color); box-shadow: 0 0 10px var(--accent-color); 
}
.particle-dots { display: flex; justify-content: space-between; margin-top: 15px; }
.dot { width: 6px; height: 6px; background: #333; border-radius: 50%; transition: 0.3s; }
.dot.active { background: var(--accent-color); transform: scale(1.5); }

/* --- 第四页：核心培养体系 --- */
#panel-products {
    min-height: 100vh; padding: 120px 8%;
    display: flex; align-items: center; background-color: transparent;
}
.products-container { width: 100%; max-width: 1400px; margin: 0 auto; }
.products-container .section-title { font-size: 4rem; font-weight: 800; margin-bottom: 60px; color: #fff; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.nanfu-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* 设置一个初始背景色，并添加过渡效果 */
    background-color: rgba(0, 0, 0, 0); 
    transition: background-color 0.4s ease, transform 0.4s ease, z-index 0s;
    
    /* 其他原有属性保持不变... */
    border-radius: 8px;
    aspect-ratio: 4 / 5;
    position: relative;
    padding: 40px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* 【新增】为三个不同的卡片分别设置不同的本地图片 */
#card-1 {
    background-image: url('探索.png'); /* 替换为你的第一张图片文件名 */
}

#card-2 {
    background-image: url('成长.png'); /* 替换为你的第二张图片文件名 */
}

#card-3 {
    background-image: url('合作.png'); /* 替换为你的第三张图片文件名 */
}

/* 2. 悬停样式：通过混合模式让图片变暗 */
.nanfu-card:hover { 
    /* 【核心修改】设置悬停时的背景颜色（颜色越深，背景图就越暗） */
    background-color: rgba(0, 0, 0, 0.6); 
    
    /* 【核心修改】使用正片叠底模式，将背景图与上面的黑色混合 */
    /* 这样只会让背景图变暗，卡片里的文字和模型依然保持 100% 亮度 */
    background-blend-mode: multiply;

    /* 删掉之前的 filter: brightness(0.6)，因为它会导致文字也变暗 */
    filter: none; 

    /* 保持位移效果 */
    transform: translateY(-10px); 
    z-index: 10; 
}
.card-number { font-size: 2.5rem; font-weight: 800; color: #000000; transition: color 0.4s ease; }
.nanfu-card:hover .card-number { color: #ffffff; }
.card-bottom {
    position: relative; 
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
    z-index: 2; /* 确保文字在底层 */
}
.card-title { font-size: 1.8rem; font-weight: 800; color: #000000; margin: 0; transition: color 0.4s ease; }
.nanfu-card:hover .card-title { color: #ffffff; }

.card-desc {
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}
.nanfu-card:hover .card-desc { max-height: 250px; opacity: 1; margin-top: 15px; }
.card-desc p { font-size: 0.95rem; line-height: 1.7; color: #e60012; font-weight: 500; }

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: 1fr; }
    .nanfu-card { aspect-ratio: auto; min-height: 350px; }
    .card-bottom { margin-top: 40px;}
}

/* --- 第五页：作品展厅 --- */
#panel-gallery { padding: 120px 8%; display: flex; align-items: center; }
.gallery-container { width: 100%; max-width: 1400px; margin: 0 auto; }
.gallery-container .section-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 50px; color: #fff; }
.gallery-grid { 
    display: flex; 
    gap: 15px; /* 减小间距增强块状感 */
    height: 600px;
    width:100%;
}
.gallery-item {
    flex: 1; position: relative; border-radius: 20px; overflow: hidden; pointer-events: auto;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover { flex: 4; }
.gallery-bg {
    position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-bg { transform: scale(1.05); }
.gallery-overlay {
    position: absolute; 
    bottom: 0; left: 0; width: 100%;
    padding: 40px 30px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, rgba(0,0,0,0) 100%);
    z-index: 4;
    pointer-events: none;
    opacity: 0; transform: translateY(30px); transition: all 0.5s ease 0.1s;
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); opacity: 1; }
.gallery-overlay h3 { 
    color: var(--accent-color); 
    font-size: 2rem; 
    margin-bottom: 10px; 
    white-space: nowrap; 
}
.gallery-overlay p { 
    color: #fff; 
    font-size: 0.95rem; 
    color: rgba(255,255,255,0.7); 
    line-height: 1.8; 
    min-width: 350px; 
}

/* 创意无界板块 - 科技积木风格增强 */
.tech-header {
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
}
.tech-tag {
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent-color);
    letter-spacing: 2px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.gallery-item.block-style {
    flex: 1;
    position: relative;
    /* 1. 半透明化背景，让卡片更具科技透视感 */
    background: rgba(10, 10, 10, 0.4) !important; 
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: 12px;
    overflow: hidden; 
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease,
                background 0.4s ease;
    will-change: flex; 
}
.gallery-item.block-style:hover {
    flex: 3; 
    background: rgba(255, 153, 51, 0.1) !important; /* 整体变亮变橙 */
    border-color: rgba(255, 153, 51, 0.8);
    box-shadow: inset 0 0 50px rgba(255, 153, 51, 0.2);
}

/* 积木装饰：卡片角落的机械感 */
.block-decoration {
    position: absolute;
    top: 10px; right: 10px;
    width: 30px; height: 30px;
    background-image: radial-gradient(var(--accent-color) 20%, transparent 20%);
    background-size: 10px 10px; /* 模拟积木底座凸点 */
    opacity: 0.5;
}

/* 3D 模型容器 */
.gallery-model-slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* 模型和几何体放在更上层 */
    pointer-events: none; 
}

.gallery-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.2);
}

.gallery-item:hover h3 {
    text-shadow: 0 0 10px var(--accent-color);
}
/* 积木底板纹理 (暗色网格) */
.gallery-item.block-style::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
}

/* 积木凸点装饰 */
.block-studs {
    position: absolute;
    top: 15px; right: 15px;
    width: 40px; height: 40px;
    background-image: radial-gradient(rgba(255,153,51,0.4) 30%, transparent 35%);
    background-size: 10px 10px;
    z-index: 3;
    opacity: 0.6;
}

/* 几何动画层 & 模型层 */
.card-bg-canvas, .gallery-model-slot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 事件穿透 */
}
.card-bg-canvas { z-index: 1; opacity: 0.5; }

/* 卡片技术ID样式 */
.card-tech-id {
    display: inline-block;
    font-family: 'Courier New', monospace;
    color: #ff9933;
    font-size: 12px;
    letter-spacing: 2px;
    border-bottom: 1px solid #ff9933;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .gallery-grid { flex-direction: column; height: 800px; }
    .gallery-item:hover { flex: 3; }
}

/* --- 第六页：营地数据 --- */
#panel-stats { display: flex; align-items: center; justify-content: center; background: transparent; }
.stats-container { display: flex; justify-content: space-around; width: 100%; max-width: 1200px; padding: 0 8%; }
.stat-box { text-align: center; }
.stat-number { font-size: 5rem; font-weight: 900; color: var(--accent-color); font-family: sans-serif; margin-bottom: 10px; }
.stat-label { font-size: 1.2rem; color: var(--text-white); letter-spacing: 2px; opacity: 0.8; }

/* --- 第七页：终极召唤 --- */
#panel-cta { display: flex; align-items: center; justify-content: center; text-align: center; }
.cta-content { max-width: 800px; padding: 0 20px; z-index: 10; pointer-events: auto; }
.cta-title { font-size: 4rem; font-weight: 900; line-height: 1.2; margin-bottom: 30px; }
.cta-desc { font-size: 1.2rem; color: var(--dim-text); line-height: 1.8; margin-bottom: 50px; }

.btn-huge {
    display: inline-block; background: var(--accent-color); color: #000; font-size: 1.2rem; font-weight: 800;
    padding: 15px 50px; border-radius: 40px; transition: all 0.3s ease; box-shadow: 0 0 20px rgba(255, 153, 51, 0.2);
}
.btn-huge:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 10px 30px rgba(255, 153, 51, 0.5); }

/* 新增：行动召唤区毛玻璃背景与过渡动画 */
.cta-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* 1. 半透明背景：使用 rgba，最后一个参数 0.3 是透明度 */
    background-color: rgba(255, 255, 255, 0.4); 
    
    /* 2. 毛玻璃核心：让元素背后的内容模糊 */
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%); /* 兼容 Safari */
    
    /* 3. 确保它在最底层，但在 3D 画布之上 */
    z-index: 1; 
    
    /* 初始透明度为 0，由 JS 控制淡入 */
    opacity: 0; 
    pointer-events: none;
}

/* 确保原有 inline z-index 样式的 canvas 和内容保持正确层级 */
#cta-bg-canvas { z-index: 1; }

@media (max-width: 1024px) {
    .stats-container { flex-direction: column; gap: 60px; }
    .stat-number { font-size: 4rem; }
    .cta-title { font-size: 2.5rem; }
}

/* 加载器内部 */
.loader-content { text-align: center; z-index: 10000; }
.loader-logo { font-size: 3rem; letter-spacing: 10px; margin-bottom: 20px; color: #fff; }
.loader-bar-container { width: 200px; height: 2px; background: rgba(255, 255, 255, 0.2); margin: 0 auto; position: relative; overflow: hidden; }
.loader-bar { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--accent-color); box-shadow: 0 0 15px var(--accent-color); }

/* --- 确保模型容器在卡片中心 --- */
.model-slot {
    width: 100%;
    height: 200px; /* 给模型预留足够的操作空间 */
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5; /* 确保在背景之上 */
    pointer-events: none; /* 让鼠标悬停事件可以穿透模型，稳定触发给外层卡片 */
    
    /* 【关键修改 3】添加平滑的物理弹簧过渡效果 */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); 
}

.nanfu-card:hover .model-slot {
    transform: translateY(-140px) scale(1.25); /* 向上移动 140px 并稍微放大 */
    z-index: 100; /* 悬浮时置于最顶层 */
}

/* 调整卡片内文字位置，避免与升起的模型重叠 */
.card-bottom {
    position: relative; /* 改为 relative 布局更稳健 */
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
}

#particle-gesture-container {
    position: relative;
    width: 90%;
    height: 80%;
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: 20px;
    overflow: hidden;
    cursor: crosshair !important; /* 覆盖全局的 cursor:none */
    z-index: 1;
}
#particle-gesture-canvas {
    position: absolute; /* 绝对定位，脱离文档流 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* 处于背景(1)之上，文字(10)之下 */
    background: transparent !important; /* 关键：必须透明，否则会遮挡背景色 */
}

.gesture-instruction {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 5;
    pointer-events: none; /* 建议添加，防止文字干扰鼠标/手势交互 */
    color: #ffffff;
}

.step-tag {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.input_video {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 160px;
    height: 120px;
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    transform: scaleX(-1); /* 镜像 */
    opacity: 0.6;
    display: block !important;
    z-index: 5;
}
/* 确保容器本身有层级上下文 */
.particle-gesture-container {
    position: relative;
    width: 90%;
    height: 80%;
    background: transparent; /* 容器本身透明 */
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: 20px;
    overflow: hidden;
    z-index: 10; /* 提升整个容器的层级 */
}

/* 新增的遮罩样式 */
.particle-bg-shield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 把纯色 #111/#000 改为 rgba 并调整最后一位透明度（0=全透，1=不透） */
    background: radial-gradient(circle at center, rgba(17, 17, 17, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    /* 若要完全透明，直接写：background: transparent; */
    z-index: 0;
    pointer-events: none;
}

/* 确保粒子 Canvas 在遮罩之上 */
.particle-gesture-container canvas {
    position: relative;
    z-index: 2; 
}

/* --- 在 style.css 末尾添加以下样式 --- */
.particle-model-preview {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 320px;
    height: 240px;
    background: rgba(255, 255, 255, 0.05); /* 半透明背景 */
    border: 1px solid rgba(255, 153, 51, 0.3); /* 橙色微光边框 */
    border-radius: 12px;
    overflow: hidden;
    z-index: 6; /* 确保在遮罩层(0)和粒子Canvas(2)之上 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* 增加悬浮感 */
    animation: previewFloat 4s ease-in-out infinite;
}

/* 悬停时的增强效果 */
.particle-model-preview:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 153, 51, 0.8);
    box-shadow: 0 15px 40px rgba(255, 153, 51, 0.2);
}

/* 简单的上下浮动动画 */
@keyframes previewFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 科技感卡片基础样式 */
.tech-card {
    background: rgba(255, 255, 255, 0.03) !important; /* 半透明背景 */
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    content: "SYSTEM_ACTIVE";
}

/* 移除原本的图片相关背景 */
.tech-card img {
    display: none;
}

/* 悬浮效果：上移并增强发光 */
.tech-card:hover {
    transform: translateY(-15px); /* 上移 */
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(255, 153, 51, 0.15), 
                inset 0 0 20px rgba(255, 153, 51, 0.1);
}

/* 内部文字排版 */
.tech-card .gallery-overlay {
    position: static; /* 取消原来的绝对定位 */
    opacity: 1;
    background: none;
    text-align: left;
    padding: 0;
}

.tech-card .card-header {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 153, 51, 0.2);
    font-family: 'Arial', sans-serif;
    margin-bottom: 10px;
}

.tech-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.tech-card h3 span {
    font-size: 0.9rem;
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.tech-card p small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* 装饰性光效 */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 153, 51, 0.05) 0%, transparent 70%);
    pointer-events: none;
    transition: 0.5s;
}

.tech-card:hover .card-glow {
    background: radial-gradient(circle at center, rgba(255, 153, 51, 0.1) 0%, transparent 70%);
}

/* =========================================
   Step 注释层美化排版
========================================= */
.step-info-overlay {
    position: absolute;
    inset: 0;
    padding: 60px;
    z-index: 5;
    pointer-events: none; /* 确保不挡住 3D 交互 */
    font-family: 'JetBrains Mono', 'PingFang SC', monospace;
}

.info-block {
    position: absolute;
}

.info-block.top-left {
    top: 60px;
    left: 60px;
    border-left: 2px solid var(--accent-color);
    padding-left: 20px;
    top: 120px
}

.info-block.bottom-left {
    bottom: 320px;
    left: 60px;
}

.info-block.bottom-right {
    bottom: 120px;
    right: 60px;
    text-align: right;
}

/* 标签与标题样式 */
.step-info-overlay .tag {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.step-info-overlay h2.title-en {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.step-info-overlay h2.title-zh {
    font-size: 1.2rem;
    color: var(--accent-color);
    letter-spacing: 4px;
    opacity: 0.8;
}

/* 描述文字样式 */
.step-info-overlay .desc-en {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.step-info-overlay .desc-zh {
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* 右下角技术参数 */
.tech-data {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.data-item {
    font-size: 0.75rem;
    margin-bottom: 5px;
}

.data-item span:first-child {
    color: var(--accent-color);
    margin-right: 10px;
}

.data-item span:last-child {
    color: #fff;
    opacity: 0.7;
}

/* 动画：让注释层也有淡入效果 */
.step-info-overlay .info-block {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 当 full-card 进入视图时，通过脚本或全局动画激活 */
.full-card .info-block {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   粒子交互界面 - 右侧打字机风格文字
========================================= */
.right-panel-text {
    position: absolute;
    right: 50px;
    top: 30%;
    transform: translateY(-50%);
    font-family: 'Courier New', monospace;
    color: var(--accent-color);
    font-size: 0.85rem;
    line-height: 2.2; /* 行间距加大 */
    opacity: 0.7;
    text-align: left;
    border-left: 1px dashed rgba(255, 153, 51, 0.4);
    padding-left: 15px;
}