/* ============================================================
   全局与基础重置
   ============================================================ */
* {
    box-sizing: border-box;
}

body {
    background-color: #ECEDEA;
    font-family: 'Nunito Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ============================================================
   首屏分层入场（纯CSS animation）
   ============================================================ */
.text-box .subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1) 0.1s forwards;
}

.text-box h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1) 0.25s forwards;
}

.text-box .description {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1) 0.4s forwards;
}

.text-box .start-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.9, 0.4, 1) 0.55s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 首屏图片：入场 + 缓慢浮动 */
.image-box img {
    opacity: 0;
    transform: translateX(40px) scale(0.96);
    animation: fadeInRight 1s cubic-bezier(0.2, 0.9, 0.4, 1) 0.7s forwards,
               floatImage 4s ease-in-out 1.7s infinite alternate;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes floatImage {
    0%   { transform: translateY(0) scale(1); }
    100% { transform: translateY(-8px) scale(1.005); }
}

/* ============================================================
   章节标签滑入
   ============================================================ */
.chapter {
    opacity: 0;
    transform: translateX(40px);
    animation: slideInRight 0.7s ease-out 0.2s forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================
   段落滚动淡入（animation-timeline: view()）
   ============================================================ */
@supports (animation-timeline: view()) {
    .fade-section {
        opacity: 0;
        transform: translateY(24px);
        animation: scrollFadeIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 40%;
    }

    @keyframes scrollFadeIn {
        from {
            opacity: 0;
            transform: translateY(24px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@supports not (animation-timeline: view()) {
    .fade-section {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   信息卡片区悬停跳跃
   ============================================================ */
.info-nav img {
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.info-nav li:hover img {
    transform: translateY(-6px) rotate(4deg);
}

.info-nav .num {
    transition: color 0.3s ease;
}

.info-nav li:hover .num {
    color: #cf3f78;
}

/* ============================================================
   图文分栏图片悬停
   ============================================================ */
.four-image img,
.five-image img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.four-image img:hover,
.five-image img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* ============================================================
   角落小图标呼吸
   ============================================================ */
.corner-icon {
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50%      { transform: scale(1.08); opacity: 1; }
}

/* ============================================================
   文物九宫格交错渐显
   ============================================================ */
@supports (animation-timeline: view()) {
    .eight-item {
        opacity: 0;
        transform: translateY(30px);
        animation: itemFadeIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }

    @keyframes itemFadeIn {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@supports not (animation-timeline: view()) {
    .eight-item {
        opacity: 1;
        transform: translateY(0);
    }
}

.eight-item img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.eight-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0.2) brightness(1.03);
}

.eight-item p {
    transition: color 0.3s ease;
}

.eight-item:hover p {
    color: #cf3f78;
}

/* ============================================================
   轮播悬停暂停
   ============================================================ */
.nine-track {
    animation: nineScroll 12s ease-in-out infinite;
}

.nine-carousel:hover .nine-track {
    animation-play-state: paused;
}

@keyframes nineScroll {
    0%, 25%   { transform: translateX(0); }
    33%, 58%  { transform: translateX(-100%); }
    66%, 91%  { transform: translateX(-200%); }
    100%      { transform: translateX(0); }
}

/* ============================================================
   卡片翻转入场
   ============================================================ */
@supports (animation-timeline: view()) {
    .card {
        opacity: 0;
        transform: rotateY(25deg) translateY(20px);
        animation: cardFlipIn linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
        perspective: 600px;
    }

    @keyframes cardFlipIn {
        from {
            opacity: 0;
            transform: rotateY(25deg) translateY(20px);
        }
        to {
            opacity: 1;
            transform: rotateY(0deg) translateY(0);
        }
    }
}

@supports not (animation-timeline: view()) {
    .card {
        opacity: 1;
        transform: none;
    }
}

.card img {
    transition: transform 0.3s ease;
}

.card img:hover {
    transform: scale(1.05);
}

/* ============================================================
   文物详情图片悬停
   ============================================================ */
.relic-row img,
.relic-full-img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.relic-row img:hover,
.relic-full-img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* ============================================================
   页脚链接下划线生长
   ============================================================ */
.footer-col a {
    position: relative;
    display: inline-block;
}

.footer-col a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: #cf3f78;
    transition: width 0.3s ease;
}

.footer-col a:hover::after {
    width: 100%;
}

.footer-col a:hover {
    color: #cf3f78;
}

/* ============================================================
   导航栏
   ============================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ECEDEA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 80px;
    z-index: 999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header:hover {
    background-color: rgba(236, 237, 234, 0.98);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

header li {
    margin-right: 30px;
}

header a {
    text-decoration: none;
    color: #000000;
    background-color: transparent;
    font-weight: bold;
    transition: color 0.2s ease;
}

header a:hover,
header a:focus-visible,
header a:active,
header a.active,
header a[aria-current="page"] {
    color: #cf3f78;
    background-color: transparent;
}

header button {
    color: #000000;
    background-color: #ffffff;
    padding: 12px 24px;
    border-radius: 5px;
    border: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

header button:hover,
header button:focus-visible {
    color: #cf3f78;
    background-color: #ffffff;
}

header button:active,
header button.active {
    color: #ffffff;
    background-color: #cf3f78;
}

header .home-btn {
    padding: 10px 20px;
}

header .join-btn {
    padding: 12px 24px;
}

/* ============================================================
   布局
   ============================================================ */
.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    padding-left: 80px;
}

main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 120px;
    gap: 40px;
    overflow: visible;
}

.text-box {
    width: 50%;
}

.subtitle {
    font-size: 32px;
    color: #333;
    font-family: 'Frank Ruhl Libre', serif;
}

h1 {
    font-size: 60px;
    font-family: 'Headland One', serif;
    margin: 15px 0 20px 0;
    line-height: 1.1;
}

.description {
    font-size: 30px;
    font-weight: bolder;
    line-height: 1.5;
    margin-bottom: 55px;
}

.start-btn {
    background-color: #cf3f78;
    color: #ffffff;
    border: 2px solid #cf3f78;
    padding: 16px 32px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 28px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.start-btn:hover {
    background-color: #b40048;
    border-color: #b40048;
    color: #ffffff;
}

.start-btn:active {
    background-color: #7a0030;
    border-color: #7a0030;
    color: #ffffff;
}

/* ============================================================
   首屏图片：修复显示不全的关键
   ============================================================ */
.image-box {
    width: 45%;
    height: auto;
    overflow: visible;
    flex-shrink: 0;
}

.image-box img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
}

/* ============================================================
   后续页面样式
   ============================================================ */
.page-two {
    width: 100%;
    height: auto;
    padding-top: 150px;
    padding-bottom: 150px;
    position: relative;
}

.page-two .chapter {
    position: absolute;
    top: 25px;
    right: 0;
    font-size: 24px;
    color: #b40048;
}

.page-two .chapter span {
    color: #c20078;
    margin-left: 12px;
}

.page-two h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 48px;
    margin: 0 0 40px 0;
    line-height: 1.2;
    font-weight: normal;
}

.page-two h3 {
    font-size: 30px;
    font-weight: bold;
    margin: 0 0 25px 0;
}

.page-two p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 26px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 40px;
    width: 90%;
}

.page-three {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: url('https://res.cloudinary.com/l0avwlx9/image/upload/v1790077370/beijingtu3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
}

.page-three h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 40px;
    margin: 0 0 80px 0;
    line-height: 1.2;
    font-weight: normal;
    color: #1a1a1a;
}

.info-nav {
    width: 100%;
    position: relative;
    z-index: 1;
}

.info-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.info-nav li {
    width: 23%;
    display: flex;
    flex-direction: column;
}

.info-nav a {
    text-decoration: none;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-nav img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.info-nav .num {
    font-size: 32px;
    font-family: 'Headland One', serif;
    text-align: center;
    color: #555;
    font-weight: normal;
    height: 50px;
    line-height: 50px;
    margin: 0 0 20px 0;
}

.info-nav h3 {
    font-size: 30px;
    font-family: 'Frank Ruhl Libre', serif;
    text-align: center;
    font-weight: bold;
    height: 50px;
    line-height: 50px;
    margin: 0 0 20px 0;
}

.info-nav p {
    font-family: 'Hind Guntur', sans-serif;
    font-size: 19px;
    line-height: 1.5;
    color: #444;
    text-align: left;
    margin: 0;
}

.page-four {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 100px;
    gap: 80px;
}

.corner-icon {
    position: absolute;
    top: 40px;
    right: 60px;
    width: 60px;
    height: auto;
}

.four-image {
    width: 40%;
}

.four-image img {
    width: 80%;
    height: auto;
    display: block;
}

.four-text {
    width: 50%;
}

.four-text h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 40px 0;
    color: #1a1a1a;
}

.four-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.page-five {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 100px;
    gap: 80px;
}

.five-text {
    width: 50%;
}

.five-text h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 40px 0;
    color: #1a1a1a;
}

.five-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.five-image {
    width: 40%;
}

.five-image img {
    width: 80%;
    height: auto;
    display: block;
}

.page-six {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 100px;
}

.page-six h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 40px 0;
    color: #1a1a1a;
    width: 100%;
    max-width: 800px;
}

.six-image {
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}

.six-image img {
    width: 90%;
    height: auto;
    display: block;
}

.page-six p {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    width: 100%;
    max-width: 800px;
}

.page-seven {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 120px;
    position: relative;
}

.seven-media-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
}

.media-box {
    width: 48%;
}

.media-box video {
    width: 100%;
    height: auto;
    display: block;
}

.seven-text-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.seven-text-left {
    width: 35%;
}

.seven-text-left h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
    color: #1a1a1a;
}

.seven-text-right {
    width: 58%;
}

.seven-text-right p {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.page-eight {
    width: 1200px;
    max-width: 100%;
    min-height: 2000px;
    margin: 0 auto;
    padding: 100px 0;
    background-color: #ffffff;
}

.page-eight h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 36px;
    font-weight: normal;
    text-align: center;
    margin: 0 0 80px 0;
    color: #1a1a1a;
}

.eight-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.eight-column {
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.eight-item {
    width: 100%;
}

.eight-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.eight-item p {
    font-size: 18px;
    color: #1a1a1a;
    text-align: center;
    margin: 20px 0 0 0;
    line-height: 1.5;
}

.page-nine {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
}

.nine-carousel {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.nine-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.nine-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.page-ten {
    width: 1200px;
    max-width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: 100px;
    position: relative;
    background-color: #ECEDEA;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-ten .chapter {
    position: absolute;
    top: 100px;
    right: 100px;
    font-size: 24px;
    color: #b40048;
}

.page-ten .chapter span {
    color: #1a1a1a;
    margin-left: 10px;
}

.page-ten h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 40px 0;
    color: #1a1a1a;
    width: 60%;
}

.page-ten p {
    font-size: 24px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    width: 70%;
}

.ten-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: auto;
}

.page-eleven {
    width: 100%;
    min-height: 100vh;
    background-color: #29222A;
    padding: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 100px;
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.card-row.center {
    justify-content: center;
}

.card-row.bottom {
    align-items: flex-end;
}

.card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.card img {
    width: 380px;
    height: auto;
    display: block;
    cursor: pointer;
}

.card-text {
    color: #ffffff;
    padding-top: 10px;
}

.card-num {
    font-size: 26px;
    margin: 0 0 20px 0;
    color: #ffffff;
    font-family: 'Frank Ruhl Libre', serif;
}

.card-desc {
    font-size: 24px;
    line-height: 1.5;
    color: #d0d0d0;
    margin: 0;
}

.page-twelve {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 120px 100px;
    background-color: #ffffff;
}

.page-twelve h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 36px;
    font-weight: normal;
    margin: 0 0 100px 0;
    color: #1a1a1a;
}

.relic-card {
    position: relative;
    margin-bottom: 140px;
}

.relic-num {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 22px;
    color: #1a1a1a;
    margin: 0;
}

.relic-card h3 {
    font-family: 'Nunito Sans', serif;
    font-size: 28px;
    font-weight: normal;
    text-align: center;
    margin: 0 0 40px 0;
    color: #1a1a1a;
}

.relic-card h3.text-left {
    text-align: left;
}

.relic-row {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.relic-row.reverse {
    flex-direction: row;
}

.relic-row img {
    width: 30%;
    height: auto;
    display: block;
}

.relic-full-img {
    width: 40%;
    display: block;
    margin: 0 auto 40px auto;
}

.relic-text {
    width: 40%;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.relic-text p {
    margin: 0 0 10px 0;
}

.page-thirteen {
    width: 100%;
    background-color: #ffffff;
}

.footer-top {
    background-color: #ECEDEA;
    padding: 120px 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.terms {
    width: 40%;
}

.terms h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 32px;
    font-weight: normal;
    line-height: 1.3;
    letter-spacing: 2px;
    color: #1a1a1a;
    margin: 0;
}

.footer-message {
    width: 50%;
}

.footer-message p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 28px;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0 0 30px 0;
}

.footer-bottom {
    background-color: #29222A;
    padding: 80px 100px 120px 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-col {
    width: 23%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-col a,
.footer-col p {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 15px;
    line-height: 1.5;
    color: #cccccc;
    text-decoration: none;
    margin: 0;
}

/* ============================================================
   第11页文物弹窗
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    position: relative;
    width: min(720px, 100%);
    max-height: 82vh;
    overflow-y: auto;
    background: #F7F3EC;
    color: #29222A;
    border-radius: 12px;
    padding: 48px 44px 44px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.modal-overlay.is-open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #29222A;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    background: #cf3f78;
    transform: rotate(90deg);
}

.modal-num {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cf3f78;
    margin: 0 0 10px 0;
}

.modal-title {
    font-family: 'Headland One', serif;
    font-size: 30px;
    line-height: 1.25;
    margin: 0 0 18px 0;
    color: #1a1a1a;
}

.modal-meta {
    font-size: 13px;
    color: #7a6f78;
    margin: 0 0 22px 0;
    line-height: 1.6;
}

.modal-desc {
    font-size: 17px;
    line-height: 1.75;
    color: #3a3338;
    margin: 0;
}

.modal-img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
    margin: 0 0 26px 0;
    border-radius: 8px;
    background: #e9e2d8;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 900px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    header {
        position: static;
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 10px;
        gap: 6px;
    }

    header ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    header li {
        margin-right: 0;
    }

    header a,
    header button {
        font-size: 12px;
    }

    header .home-btn {
        padding: 5px 10px;
    }

    header .join-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    main {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        margin-bottom: 40px;
        gap: 20px;
    }

    .text-box {
        width: 100%;
    }

    h1 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }

    .description {
        font-size: 13px;
    }

    .start-btn {
        font-size: 15px;
        padding: 10px 20px;
    }

    .image-box {
        width: 90%;
        margin-top: 20px;
    }

    .page-two {
        height: auto;
        padding: 40px 0;
    }

    .page-two .chapter {
        position: static;
        text-align: center;
        margin-bottom: 15px;
        font-size: 14px;
    }

    .page-two h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .page-two h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .page-two p {
        font-size: 13px;
        width: 100%;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .page-three {
        height: auto;
        min-height: 100vh;
        padding: 60px 15px;
    }

    .page-three h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .info-nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .info-nav li {
        width: 100%;
    }

    .info-nav img {
        width: 40px;
        height: 40px;
    }

    .info-nav .num {
        font-size: 18px;
        height: 30px;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .info-nav h3 {
        font-size: 16px;
        height: 30px;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .info-nav p {
        font-size: 13px;
    }

    .page-four,
    .page-five {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        padding: 60px 15px;
        gap: 20px;
    }

    .corner-icon {
        top: 15px;
        right: 15px;
        width: 32px;
    }

    .four-image,
    .five-image {
        width: 100%;
    }

    .four-text,
    .five-text {
        width: 100%;
    }

    .four-text h2,
    .five-text h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .four-text p,
    .five-text p {
        font-size: 13px;
        line-height: 1.5;
    }

    .page-six {
        padding: 60px 15px;
    }

    .page-six h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .six-image {
        margin-bottom: 15px;
    }

    .six-image img {
        width: 100%;
    }

    .page-six p {
        font-size: 13px;
    }

    .page-seven {
        padding: 60px 15px;
    }

    .seven-media-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .media-box {
        width: 100%;
    }

    .seven-text-row {
        flex-direction: column;
        gap: 15px;
    }

    .seven-text-left,
    .seven-text-right {
        width: 100%;
    }

    .seven-text-left h2 {
        font-size: 22px;
    }

    .seven-text-right p {
        font-size: 13px;
    }

    .page-eight {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 40px 10px;
    }

    .page-eight h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .eight-grid {
        flex-direction: column;
        gap: 30px;
    }

    .eight-column {
        width: 100%;
        gap: 30px;
    }

    .eight-item p {
        font-size: 13px;
    }

    .page-nine {
        height: 60vh;
    }

    .page-nine img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .page-ten {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 80px 15px 40px 15px;
    }

    .page-ten .chapter {
        top: 15px;
        right: 15px;
        font-size: 14px;
    }

    .page-ten h2 {
        font-size: 22px;
        width: 100%;
        margin-bottom: 15px;
    }

    .page-ten p {
        font-size: 13px;
        width: 100%;
    }

    .ten-corner {
        width: 140px;
    }

    .page-eleven {
        padding: 40px 15px;
        gap: 40px;
    }

    .card-row {
        flex-direction: column;
        gap: 40px;
    }

    .card-row.bottom {
        align-items: flex-start;
    }

    .card {
        flex-direction: column;
        text-align: left;
        gap: 10px;
    }

    .card img {
        width: 100%;
        max-width: 220px;
    }

    .card-num {
        font-size: 16px;
    }

    .card-desc {
        font-size: 13px;
    }

    .card-text {
        padding-top: 0;
    }

    .page-twelve {
        width: 100%;
        padding: 40px 10px;
    }

    .page-twelve h2 {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .relic-num {
        position: static;
        text-align: right;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .relic-card {
        margin-bottom: 60px;
    }

    .relic-card h3 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .relic-row,
    .relic-row.reverse {
        flex-direction: column;
        gap: 15px;
    }

    .relic-row img,
    .relic-full-img {
        width: 70%;
        margin: 0 auto;
    }

    .relic-card3-img {
        width: 55% !important;
        margin: 0 auto;
        display: block;
    }

    .relic-text {
        width: 100%;
        font-size: 13px;
        line-height: 1.5;
    }

    .footer-top {
        padding: 40px 15px;
        flex-direction: column;
        gap: 20px;
    }

    .terms,
    .footer-message {
        width: 100%;
    }

    .terms h2 {
        font-size: 18px;
    }

    .footer-message p {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .footer-bottom {
        padding: 30px 15px 50px 15px;
        flex-direction: column;
        gap: 25px;
    }

    .footer-col {
        width: 100%;
        gap: 10px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 12px;
    }

    /* 弹窗手机端 */
    .modal-box {
        padding: 36px 22px 30px;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-desc {
        font-size: 15px;
    }
}

/* 手机端 480px */
@media (max-width: 480px) {
    header {
        padding: 8px 4px;
    }

    header ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 2px;
        width: 100%;
    }

    header li {
        margin-right: 0;
        flex: 0 0 auto;
    }

    header a {
        padding: 4px 2px;
        font-size: 10px;
        white-space: nowrap;
    }

    header button {
        padding: 4px 6px;
        font-size: 10px;
        white-space: nowrap;
    }

    /* 首屏图片手机端：完整显示、不裁切 */
    .image-box {
        width: 100%;
        margin-top: 16px;
    }

    .image-box img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 340px;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }

    .eight-item img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 260px;
        object-fit: contain;
        margin: 0 auto;
    }

    .four-image img,
    .five-image img,
    .six-image img,
    .relic-row img,
    .relic-full-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 240px;
        object-fit: contain;
        margin: 0 auto;
    }

    .card img {
        max-width: 180px;
        max-height: 180px;
        object-fit: contain;
    }
}

/* 可访问性：减少动效 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .fade-section,
    .eight-item,
    .card {
        opacity: 1 !important;
        transform: none !important;
    }
}