/* ===== 全局重置与基础变量 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* 深色渐变背景，衬托毛玻璃的透亮感 */
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
    padding-bottom: 60px;
}

/* ===== 滚动条美化和平滑滚动 ===== */
html {
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
    background: #4a47a3;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b68c6;
}

/* ===== 导航栏（毛玻璃高级版） ===== */
.nav {
    position: sticky;
    top: 20px;
    z-index: 100;
    max-width: 1000px;
    margin: 20px auto;
    /* 毛玻璃核心配方 */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.header {
    font-size: 1.6rem; /* 稍微调大一点更显眼 */
    font-weight: 800;
    
    /* 1. 增加一个渐变色 */
    background: linear-gradient(90deg, #fbc2eb, #a6c1ee, #fbc2eb);
    background-size: 300% 100%; /* 放大背景，让流动有空间 */
    
    /* 2. 文字透明，背景显现 */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* 3. 动画核心：让背景位置无限循环 */
    animation: flowText 4s linear infinite;
}

/* 定义流动动画 */
@keyframes flowText {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.content {
    display: flex;
    gap: 25px;
}

.navItem a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.navItem a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* ===== 顶级板块标题 ===== */
.SectionOne, .SectionTwo, .SectionThree {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

/* ===== SectionOne：前往游玩（大号毛玻璃卡片） ===== */
.sectionOneHeader h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #a18cd1, #fbc2eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sectionOneContent {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sectionOneContent h3 {
    font-size: 1.5rem;
}
.sectionOneContent b {
    font-size: 1.8rem;
    color: #9ae6b4; /* 清爽的薄荷绿，突出IP */
    letter-spacing: 2px;
}
.comment {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 0.95rem;
}

/* ===== SectionTwo：玩法介绍（毛玻璃网格布局） ===== */
.sectionTwoHeader h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #43e97b, #38f9d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 清理掉你原本的散乱结构，使用 CSS Grid 将其自动排版 */
.SectionTwo {
    display: flex;
    flex-direction: column;
}

.bedwars, .sectionTwoBridgeWars {
    display: block;
    margin-bottom: 40px;
}

.bedwars > div, .sectionTwoBridgeWars > div {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bedwars > div:hover, .sectionTwoBridgeWars > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.bedwars h4, .sectionTwoBridgeWars h4 {
    font-size: 1.6rem;
    display: inline-block;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
    margin-bottom: 15px;
    /* 现代 UI 小点缀：一个颜色块 */
    position: relative;
    padding-left: 10px;
}
.bedwars h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ff9a9e;
    border-radius: 2px;
}
.sectionTwoBridgeWars h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #43e97b;
    border-radius: 2px;
}

.bedwars p, .sectionTwoBridgeWars p {
    opacity: 0.85;
    margin-bottom: 20px;
}

/* 由于图片没上传，给占位图框做个漂亮的样式 */
.sectionTwoBedwarsContentExperiementModeImage,
.sectionTwoBedwarsContentClassicModeImage,
.sectionTwoBridgeWarsContentPlayingImageOne,
.sectionTwoBridgeWarsContentPlayingImageTwo {
    width: 100%;
    min-height: 150px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin-top: 10px;
}

.sectionTwoBedwarsContentExperiementModeImage img,
.sectionTwoBedwarsContentClassicModeImage img,
.sectionTwoBridgeWarsContentPlayingImageOne img,
.sectionTwoBridgeWarsContentPlayingImageTwo img {
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* ===== SectionThree 风景欣赏 ===== */
.SectionThree h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #ffecd2, #fcb69f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.SectionThreeContent {
    display: flex;
    justify-content: center;
}
.SectionThreeContent img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    min-height: 200px;
    width: 100%;
    object-fit: contain;
}

/* ===== 移动端适配 ===== */
@media screen and (max-width: 600px) {
    .nav {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        top: 0;
        border-radius: 0 0 20px 20px;
        margin: 0;
    }
    .content {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .header {
        text-align: center;
    }
}
