/* --- 1. 字体定义区域 --- */
@font-face {
    font-family: 'MyDreamFont';
    src: url('assets/font/dream.ttf');
}

@font-face {
    font-family: 'ContentArtFont';
    /* 强制浏览器重新加载，不准用缓存 */
    src: url('assets/font/dream_art.OTF?v=final_test'); 
    font-display: block;
}

/* --- 2. 全局基础设置 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, "Microsoft YaHei", sans-serif;
}

body {
    background-color: #150520;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- 3. 顶部视差背景区域 --- */
.parallax-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax-section img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

#bg { object-fit: cover; z-index: 1; }
#moon {
    width: 200px !important; height: 200px !important;
    top: 10% !important; left: 50% !important;
    transform: translateX(-50%);
    object-fit: contain; z-index: 2;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
}
#mountain { object-fit: cover; z-index: 3; top: 50px; }
#road { object-fit: cover; z-index: 20; transform: scale(1.05); top: 0; }

#hero-text {
    position: absolute;
    top: 42%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    transition: opacity 0.1s ease-out;
}

.title {
    font-family: 'MyDreamFont', serif; 
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px; 
    margin-bottom: 30px;
    text-shadow: 0 0 40px rgba(189, 0, 255, 0.9); 
}

.btn-explore {
    display: inline-block;
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff !important;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
    letter-spacing: 2px;
}
.btn-explore:hover {
    background: #fff;
    color: #150520 !important;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

/* --- 4. 你的核心修改区域 --- */

.content-section {
    position: relative;
    z-index: 30; 
    margin-top: -150px; 
    padding: 300px 50px 100px 50px; /* 保持向下移动 */
    background: linear-gradient(to bottom, rgba(21, 5, 32, 0) 0%, rgba(21, 5, 32, 0.8) 30%, #150520 100%);
    backdrop-filter: blur(5px); 
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 
   重点在这里：我们直接使用你在 HTML 里加的新名字 .art-text
   !important 意思是“必须要听我的，谁来也不好使”
*/
.art-text {
    font-family: 'ContentArtFont', serif !important;
    color: #d68aff; 
    text-shadow: 0 0 10px rgba(189, 0, 255, 0.3);
}

/* 针对标题单独调大一点 */
h2.art-text {
    letter-spacing: 2.2px;
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: #e0aaff;
}

/* 针对段落调小一点 */
p.art-text {
    font-size: 2rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2.2px;
}