/* =========================================
   ✨ 基础设定 & 蒙版背景 ✨
   ========================================= */
body {
    background-color: #fdf8f9; 
    background-image: linear-gradient(-45deg, #fff0f5, #ffe4e1, #ffd1df, #fff0f5); 
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite; 
    font-family: 'Nunito', 'TsukuBRdGothic-Regular', 'Yuanti SC', 'YouYuan', 'PingFang SC', sans-serif;
    margin: 0; padding: 0; color: #4a4a4a; min-height: 100vh; line-height: 1.8; overflow-x: hidden;
}

.bg-mask {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.45); 
    z-index: -1; pointer-events: none;
}

h1, h2, h3, .sp-title, strong {
    font-family: 'Nunito', 'TsukuBRdGothic-Regular', 'Yuanti SC', 'YouYuan', 'PingFang SC', sans-serif;
    color: #2c2c2c; 
}

@keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ffb8d1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #ff9cbd; }

/* =========================================
   ✨ 导航栏 (智能吸顶消失特效) ✨
   ========================================= */
.nav-wrapper { 
    position: sticky; top: 0; z-index: 100;
    background: rgba(253, 248, 249, 0.85); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 10px 5%; display: flex; justify-content: space-between; align-items: center; 
    border-bottom: 1px solid rgba(216, 112, 147, 0.1);
    transition: transform 0.4s cubic-bezier(0.3, 0, 0.2, 1);
}

.nav-hidden { transform: translateY(-100%); }

.site-logo { height: 55px; object-fit: contain; cursor: pointer; transition: transform 0.3s ease; }
.site-logo:hover { transform: scale(1.05); }

.top-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.top-nav span { color: #666; font-size: 15px; font-weight: 700; cursor: pointer; transition: 0.2s; position: relative; }
.top-nav span:hover { color: #d87093; }

.lang-switch { background-color: #f0eaec; border-radius: 12px; padding: 4px; display: inline-flex; align-items: center; gap: 2px; margin-left: 10px; }
.lang-btn { font-size: 12px; color: #888; cursor: pointer; padding: 6px 14px; border-radius: 10px; font-weight: 700; transition: 0.3s; }
.lang-btn:hover { color: #d87093; }
.lang-btn.active { color: #d87093; background-color: #ffffff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* =========================================
   ✨ 主容器 (变宽 1000px，无框框设计) ✨
   ========================================= */
.page-container { 
    width: 95%; max-width: 1000px; margin: 20px auto 60px auto; 
    background: transparent; box-shadow: none; border: none; padding: 0;
}

.sub-page { display: none; opacity: 0; }
.active-page { display: block; animation: fadeUpIn 0.5s ease forwards; }
@keyframes fadeUpIn { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }

.content-area, .header-content, .sponsor-section {
    background: transparent; box-shadow: none; border: none;
    padding: 20px 0; margin-bottom: 30px;
}

/* --- 列表与文本排版 --- */
.header-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; border-bottom: 1px dashed rgba(216, 112, 147, 0.3); padding-bottom: 30px; }
img.avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; transition: 0.4s; }
img.avatar:hover { transform: scale(1.05) rotate(3deg); }
.header-name { margin: 0 0 10px 0; font-size: 36px; font-weight: 900; }
.header-subname { font-weight: 700; font-size: 18px; color: #d87093; margin-left: 8px; }
.header-intro { color: #555; max-width: 800px; font-size: 15px; }

.site-links { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-bottom: 20px; }
.site-links a { 
    background-color: #fff; color: #d87093; padding: 8px 20px; 
    font-size: 14px; font-weight: 700; border-radius: 25px; 
    transition: 0.2s; text-decoration: none; border: 1px solid rgba(216,112,147,0.2);
}
.site-links a:hover { background-color: #d87093; color: white; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(216, 112, 147, 0.2); }

.content-area h2 { color: #d87093; margin-bottom: 20px; font-size: 24px; font-weight: 800; border-left: 5px solid #d87093; padding-left: 15px; }
.content-area p { margin-bottom: 12px; font-size: 15px; }
        
/* 🌟 百科文本列表排版 🌟 */
.info-list { padding-left: 20px; color: #555; font-size: 15px; line-height: 1.8; }
.info-list li { margin-bottom: 12px; }
.info-list strong { color: #d87093; }

.design-link { color: #d87093; font-weight: 800; cursor: pointer; text-decoration: none; border-bottom: 2px solid #ffb8d1; transition: 0.2s; padding-bottom: 2px; }
.design-link:hover { color: #ff8fb8; border-bottom-color: #ff8fb8; }
.design-full-img { width: 100%; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); display: block; margin: 0 auto; }

/* --- 赞助页 --- */
.sp-title { font-size: 26px; color: #333; font-weight: 900; margin-top: 30px; margin-bottom: 20px; text-transform: uppercase; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; display: inline-block;}
.sp-btn { display: inline-block; background-color: #fff; color: #4a5568 !important; padding: 12px 35px; font-size: 15px; font-weight: 700; border-radius: 25px; margin: 8px 5px; text-decoration: none; transition: 0.2s; border: 2px solid #e2e8f0; }
.sp-btn:hover { background-color: #4a5568; color: #fff !important; border-color: #4a5568; transform: translateY(-3px); }
.sp-desc { color: #777; font-size: 14px; margin-top: 10px; margin-bottom: 40px; }
        
.rules-banner { background-color: #fff; color: #d87093; padding: 15px 20px; border-radius: 12px; font-size: 16px; font-weight: 800; border-left: 5px solid #d87093; margin: 0 auto 15px auto; width: 100%; box-sizing: border-box; text-align: left; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.rules-list { text-align: left; width: 95%; margin: 0 auto 40px auto; color: #555; font-size: 15px; line-height: 1.9; }
.disclaimer-box { background-color: #fff; padding: 20px; border-radius: 12px; border-top: 4px solid #ff9cbd; font-size: 14px; color: #666; margin-top: 30px; line-height: 1.8; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }

/* --- 手机端适配 --- */
@media (max-width: 768px) {
    .nav-wrapper { flex-direction: column; padding: 15px 5%; align-items: center; gap: 5px; }
    .site-logo { height: 50px; margin-bottom: 5px; } 
    .top-nav { justify-content: center; gap: 10px; }
    .top-nav span { padding: 4px 5px; font-size: 14px; }
    .lang-switch { margin-left: 0; margin-top: 8px; }
    .header-content { align-items: center; text-align: center; }
    .site-links { justify-content: center; }
    .sp-btn { width: 80%; box-sizing: border-box; }
    .info-list { padding-left: 15px; }
}
