/* =========================================
   1. 全局变量与核心动效
   ========================================= */
:root {
    --text-main: #8E623C;    /* 用户指定的橡木棕色 */
    --text-strong: #5C3A21;  /* 强调色：深红褐色 */
    --title-green: #1b5e20;  /* 森林绿 */
    --accent-sculk: #00e6e6; /* 交互点缀色：幽匿青 */
}

/* 入场动画 */
@keyframes fadeUpReveal {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* =========================================
   2. 基础设定与物理深度背景
   ========================================= */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main); 
    line-height: 1.6;
    background: url('background.png') no-repeat center center fixed; 
    background-size: cover;
}

/* 背景暗角：增加物理深度感 */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(10, 15, 10, 0.6) 120%);
    z-index: -1;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   3. 导航栏与 Logo (修正版)
   ========================================= */
header { 
    padding: 10px 0; 
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    position: sticky; 
    top: 0; 
    z-index: 100;
}

/* Logo 修正：现在是 div，显式定义样式以保持视觉效果 */
.logo {
    font-family: 'VT323', monospace;
    color: var(--title-green); 
    font-size: 2.2em;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
    display: inline-block;
}

/* =========================================
   4. 紧凑型 Hero 布局 (全站唯一 H1)
   ========================================= */
.hero { 
    text-align: left;
    padding: 25px 30px;
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5); 
    border-radius: 16px;
    opacity: 0; /* 由动画触发 */
    animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero h1 { 
    font-family: 'VT323', monospace;
    color: var(--title-green);
    font-size: 5.5em; /* 极端字号对比 */
    line-height: 0.85; 
    letter-spacing: -3px; 
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

.hero p { 
    font-size: 1.05em; 
    margin-bottom: 15px; 
    max-width: 650px; 
}

.highlight { 
    font-size: 1.3em; 
    color: #d84315; 
    background: rgba(255, 255, 255, 0.5);
    padding: 4px 12px; 
    border-radius: 6px;
    font-family: 'VT323', monospace; 
    display: inline-block;
}

.cta-button {
    background: #4caf50; 
    color: #fff;
    padding: 12px 25px; 
    text-decoration: none;
    font-family: 'VT323', monospace; 
    font-size: 1.6em;
    border: 2px solid #2e7d32; 
    border-radius: 6px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
    display: inline-block; 
    margin-top: 10px;
    transition: transform 0.2s;
}

.cta-button:hover {
    border-color: var(--accent-sculk); 
    box-shadow: 0 0 15px rgba(0, 230, 230, 0.4);
    transform: translateY(-2px);
}

/* =========================================
   5. 内容卡片与 SEO 模块
   ========================================= */
.glass-card {
    background: rgba(255, 255, 255, 0.25); 
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6); 
    border-radius: 16px;
    padding: 30px;
    margin: 25px 0; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 内容标题 H2, H3 */
h2, h3 {
    font-family: 'VT323', monospace;
    color: var(--title-green); 
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5); 
}

/* 延迟入场动画 */
#what-is { animation-delay: 0.3s; }
#platforms { animation-delay: 0.4s; }
#features { animation-delay: 0.5s; }
#trailers { animation-delay: 0.6s; }
#faq { animation-delay: 0.7s; }

.grid { display: flex; gap: 20px; flex-wrap: wrap; }
.card {
    flex: 1; 
    min-width: 250px;
    background: rgba(255, 255, 255, 0.4);
    padding: 20px; 
    border-radius: 12px;
}

/* 视频容器 */
.video-container {
    position: relative; 
    padding-bottom: 56.25%;
    height: 0; 
    overflow: hidden; 
    border-radius: 12px;
    background: #000;
}
.video-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* =========================================
   6. Sitemap & AI 友好链接
   ========================================= */
.sitemap-nav {
    border-top: 1px solid rgba(142, 98, 60, 0.2);
    padding: 60px 0;
    margin-top: 40px;
}
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
}
.sitemap-col h4 {
    font-family: 'VT323', monospace;
    font-size: 1.8em;
    color: var(--title-green);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.sitemap-col a {
    display: block;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95em;
    margin-bottom: 12px;
    transition: color 0.2s;
}
.sitemap-col a:hover { color: var(--accent-sculk); }

.ai-links {
    text-align: center;
    padding: 20px 0;
    opacity: 0.5;
    font-size: 0.8em;
}
.ai-links a {
    color: var(--text-main);
    margin: 0 10px;
    text-decoration: none;
    border: 1px solid rgba(142, 98, 60, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
}
.ai-links a:hover {
    color: var(--accent-sculk);
    border-color: var(--accent-sculk);
}

/* =========================================
   7. Footer 与细节补充
   ========================================= */
footer { 
    text-align: center; 
    padding: 25px 20px; 
    background: rgba(255, 255, 255, 0.5);
    color: #5d4037; 
    font-size: 0.9em;
}

strong { 
    color: var(--text-strong); 
    font-weight: 700; 
}

/* 响应式适配：确保移动端标题不溢出 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5em;
        letter-spacing: -1px;
    }
    .sitemap-grid {
        grid-template-columns: 1fr 1fr;
    }
}
