/* 全局变量与重置 */
:root {
    --bg-paper: #f4ebd9;
            --bg-paper-dark: #e6d8c3;
            --text-dark: #3b2f2f;
            --text-brown: #8b5a2b;
            --text-light: #ffffff;
            --overlay-tan: rgba(195, 160, 120, 0.85);
            --font-serif: 'Georgia', 'Times New Roman', 'Songti SC', 'SimSun', serif;
            font-family: 'Itim', cursive;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

a:link {color:#fff}
a:visited {color:#fff}
a:hover {color:#875620}
a:active {color:#fff}

button {
    background:transparent;
    border:none;
    cursor:pointer;
    color:#fff;
    font-size:28px;
    font-family: 'Irish Grover', cursive;
        }

button:hover {background-color: #875620;}
button:active {background-color: #fff;}

        body {
            font-family: var(--font-serif);
            background-color: var(--bg-paper);
            color: #875620;
            line-height: 1.6;
            background-image: radial-gradient(#e8dccb 1px, transparent 1px);
            background-size: 20px 20px;
            font-family: 'Itim', cursive;
        }

        /* 导航栏 */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    z-index: 10;
    font-size: 28px;
    font-family: 'Irish Grover', cursive;
    }

.nav-left, .nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
        }

.nav-right .btn-signup .btn-Login{
    background-color: transparent;
            border: 1px solid var(--text-light);
            color: #fff;
            padding: 5px 15px;
            cursor: pointer;
            font-family: var(--font-serif);
        }

        /* 首屏区域 (Hero) */
        .hero {
            position: relative;
            height: 100vh;
            min-height: 600px;
            background-color: #1a1a1a;
            background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790178439/page1_zhenggebeij.webp');
            background-size: cover;
            background-position: center;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
        }

        .hero-content {
            position: relative;
            width: 400px;
            height: 500px;
            background-color: var(--overlay-tan);
            background: url('https://res.cloudinary.com/imej4dva/image/upload/v1790178442/page1_kapian.webp') center/cover no-repeat;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;
            padding: 20px;
            text-align: center;
            box-shadow: 0 50px 30px rgba(0,0,0,0.5);
        }

        .hero-content p {
            font-size: 28px;
            color: #fff;
            margin-bottom: 20px;
            font-family: 'Itim', cursive;
        }

        .scroll-down {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            color: var(--text-light);
            font-size: 28px;
            font-family: 'Irish Grover', cursive;
        }

        .scroll-down span {
            display: block;
            font-size: 32px;
            margin-bottom: 5px;
        }

        /* 通用区块样式 */
        section {
            padding: 80px 10%;
            position: relative;
        }

        .section-title {
            font-size: 32px;
            color: #875620;
            text-align: center;
            margin-bottom: 40px;
            font-weight: normal;
            font-family: 'Irish Grover', cursive;
        }

        .section-title.white {
            color: #fff;
            font-weight: bold;
        }

        /* 前言区域 */
        .foreword {
            background-image:url('https://res.cloudinary.com/imej4dva/image/upload/v1790178438/zishan_beijing.webp');
            background-color:#fff;
            text-align: center;
        }

        .foreword h2 {
            font-size: 36px;
            text-shadow: 7px 7px 3px rgba(0,0,0,0.3);
            display: inline-block;
            border-bottom: 2px solid #A7784A;
            padding-bottom: 10px;
            font-family: 'Irish Grover', cursive;
        }

        .foreword p {
            font-family: 'Itim', cursive;
            max-width: 800px;
            margin: 0 auto 20px;
            font-size: 18px;
            text-align: left;
            text-indent: 0em;
            font-family: 'Itim', cursive;
        }

        .btn-continue {
            background-color: #A07749;
            color: #fff;
            border: none;
            padding: 10px 30px;
            font-family: var(--font-serif);
            font-size: 18px;
            margin-top: 15px;
            cursor: pointer;
            float: right;
            margin-right: 15%;
            font-family: 'Irish Grover', cursive;
        }

        /* 古城遗迹区域 */
        .ancient-city {
            background-image:url('https://res.cloudinary.com/imej4dva/image/upload/v1790178438/zishan_beijing.webp');
            background-size:contain;
            background-position:center;
            display: flex;
            align-items: center;
            gap: 50px;
            padding: 100px 10%;
        }

        .ancient-city-text {
            flex: 1;
        }

        .ancient-city-text a {
            color:#fff;
            margin-bottom: 20px;
            font-size: 28px;
            font-family: 'Irish Grover', cursive;
        }

        .ancient-city-image {
            flex: 1;
            height: 400px;
            background-color: #d2b48c; 
            background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790178442/page3_ditu.webp');
            background-size: cover;
            background-position: center;
            border: 5px solid var(--bg-paper-dark);
            box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
        }

        /* 历史遗迹布局网格 */

    
        .layout-section {
            padding: 80px 10%;
            background-color: var(--bg-paper-dark);
            background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790178441/page4_ditubeijing.webp');
            background-size: cover;
            background-position: center;

        }

        .layout-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 40px;
            padding-top: 15px;
        }

        .grid-item {
            color:#fff;
            font-size: 20px;
            font-weight: bold;
            display: flex;
            flex-direction: column;
            align-items: center;
            font-family: 'Itim', cursive;
        }

        .grid-img {
            width: 100%;
            aspect-ratio: 3/4;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            margin-bottom: 15px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .yuelu-academy {
            padding: 0;
            height: 500px;
            background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790178444/page5_yulubeijing.webp');
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .yuelu-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 10%;
            color: var(--text-light);
            font-family: 'Irish Grover', cursive;
        }

        .yuelu-overlay h2 {
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--text-light);
            font-family: 'Irish Grover', cursive;
        }

        .yuelu-overlay p {
            max-width: 600px;
            font-size: 15px;
            font-family: 'Itim', cursive;
        }

        /* 历史时间轴 */
        .history-section {
            background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790178447/shan_beijing.webp');
            padding: 80px 5%;
            text-align: center;
        }

        .history-btn {
            display: inline-block;
            background-color: #BC9E79;
            color: #fff;
            padding: 10px 40px;
            font-size: 20px;
            margin-bottom: 60px;
            font-family: 'Irish Grover', cursive;
        }

        .timeline {
            display: flex;
            justify-content: space-between;
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .timeline::before {
            content: '';
            position: absolute;
            top: 200px; 
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--text-brown);
            z-index: 1;
        }

        .timeline-item {
            flex: 1;
            position: relative;
            z-index: 2;
            padding: 0 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .timeline-text {
            font-size: 13px;
            margin-bottom: 30px;
            text-align: center;
            font-family: 'Itim', cursive;
        }

        .timeline-circle {
            width: 16px;
            height: 16px;
            background-color: var(--bg-paper);
            border: 2px solid var(--text-brown);
            border-radius: 50%;
            margin-bottom: 30px;
        }

        .ma-wangdui{
            background-image:url('https://res.cloudinary.com/imej4dva/image/upload/v1790178447/shan_beijing.webp');
            text-align: center;
            margin-bottom: 20px;
            animation: fadeInDown 1s ease-out;
        }

        .section-kicker h3 {
            font-size: 24px;
            color: #875620;
            text-align: right;
            margin: 0 0 5px 0;
            letter-spacing: 1px;
            font-family: 'Irish Grover', cursive;
        }

        .section p.subtitle {
            font-size: 14px;
            color: #664C2F;
            margin: 0;
            font-style: italic;
            font-family: 'Itim', cursive;
        }

        .dome-container {
            position: relative;
            width: 100%;
            height: 340px;
            margin-top: 30px;
            margin-bottom: 50px;
        }

        .semi-circle {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%) scale(1);
            width: 85%;
            max-width: 560px;
            height: 260px;
            background-color: #d3bea5;
            background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790178444/page7_banyuan.webp');
            background-size: cover;
            opacity: 0.7;
            border-radius: 50% 50% 0 0 / 100% 100% 0 0;
            z-index: 1;
            box-shadow: inset 0 -10px 20px rgba(255, 255, 255, 0.4);
            animation: breathe 6s infinite alternate ease-in-out;
        }

        .artifact-item {
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: center;
            z-index: 10;
            text-align: center;
            width: 130px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease-out forwards;
        }


        .artifact-img {
            font-size: 2.2rem;
            background:none;
            margin-bottom: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100px;
            transition: transform 0.3s ease;
        }

        /* 悬浮动效 */
        .artifact-item:hover .artifact-img {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
        }

        .artifact-label {
            font-size: 0.75rem;
            color: #4a2e1b;
            background-color: rgba(255, 255, 255, 0.9);
            padding: 4px 8px;
            border-radius: 4px;
            line-height: 1.3;
            border: 1px solid rgba(184, 155, 124, 0.5);
        }

        /* 精准还原每个元素的位置（对应原图） */
        .item-owner { top: 0; left: 45%; transform: translateX(-50%); animation-delay: 0.2s; }
        .item-pedal { top: 150px; left: 25%; transform: translateX(-50%); animation-delay: 0.4s; }
        .item-fei-niao { left: 8%; top: 70%; animation-delay: 0.6s; }
        .item-liuniao { right: 20%; top: 38%; animation-delay: 0.8s; }
        .item-leopard { right: 5%; top: 70%; animation-delay: 1.0s; }

        .ma-wangdui-cards {
            background-color:#BC9E79;
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        /* ================= 中间双栏卡片 ================= */
        .cards-container {
            display: flex;
            gap: 25px;
            margin-bottom: 50px;
        }

        .card {
            flex: 1;
            background-color: rgba(252, 248, 240, 0.9);
            border: 1px dashed #c2b297; /* 外层虚线框 */
            border-radius: 8px;
            padding: 25px;
            position: relative;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeIn 1.2s ease-out backwards;
        }

        .card:nth-child(1) { animation-delay: 1.2s; }
        .card:nth-child(2) { animation-delay: 1.4s; }

        /* 卡片悬浮动效 */
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        }

        /* 内层实线框 */
        .card::before {
            content: '';
            position: absolute;
            top: 8px; left: 8px; right: 8px; bottom: 8px;
            border: 1px solid rgba(194, 178, 151, 0.4);
            border-radius: 5px;
            pointer-events: none;
        }

        .card-1.title h3 {
            font-size: 1.3rem;
            color: #8c410c;
            margin-top: 0;
            margin-bottom: 15px;
            font-weight: normal;
            font-family: 'Irish Grover', cursive;
        }

        .card-1.text p {
            margin-left: 50px;
            font-size: 0.85rem;
            line-height: 1.6;
            color: #664d38;
            margin-bottom: 15px;
            font-family: 'Itim', cursive;
        }

        .card-1.inner.img {
            background-repeat: no-repeat;
            flex-direction: column;
            gap: 15px;
            margin-top: -25%;
            margin-left: 30%;
        }

        .card-1.inner p {
            margin: 0;
            font-size: 0.8rem;
            color: #7a614a;
            border-left: 3px solid #c2b297;
            padding-left: 12px;
            font-family: 'Itim', cursive;
        }

.card-2.title h3 {
            font-size: 1.3rem;
            color: #8c410c;
            margin-top: 0;
            margin-bottom: 15px;
            font-weight: normal;
            font-family: 'Irish Grover', cursive;
        }

        .card-2.text p {
            margin-left: 50px;
            font-size: 0.85rem;
            line-height: 1.6;
            color: #664d38;
            margin-bottom: 15px;
            font-family: 'Itim', cursive;
        }

.card-2.inner.img {
            background-repeat: no-repeat;
            flex-direction: column;
            gap: 15px;
            margin-top: 25px;
            margin-left: 30%;
        }

.tianxin-pavilion{
    background-image:url('https://res.cloudinary.com/imej4dva/image/upload/v1790178446/page9_beijing.webp');
    background-repeat:no-repeat;
    background-size:cover;
            /* 模拟地图边缘的阴影 */
            box-shadow: inset 0 0 40px rgba(90, 70, 50, 0.3);
        }



        /* 天心阁图片卡片 */
        .pavilion-image-card {
            position: relative;
            z-index: 2;
            background-color: #e8dcc8;
            padding: 12px;
            /* 增强立体感的阴影 */
            box-shadow: 
                0 6px 15px rgba(0,0,0,0.3),
                0 1px 3px rgba(0,0,0,0.2);
            max-width: 480px;
            margin: 0 auto;
            transform: rotate(-1.5deg); /* 稍微增加倾斜角度 */
            border: 1px solid #d4c4a8;
        }

        .pavilion-image-card img {
            width: 100%;
            height: auto;
            display: block;
            filter: sepia(0.7) contrast(1.1) brightness(0.95); /* 增强做旧效果 */
            border: 1px solid #a09078;
        }

        .pavilion-title {
            font-family: 'Georgia', serif;
            font-size: 1.9rem;
            color: #8b3a1a; /* 暗红色 */
            position: absolute;
            top: 25px;
            left: 25px;
            z-index: 3;
            /* 添加细微的白色描边或阴影，使其从背景中凸显 */
            text-shadow: 
                1px 1px 0px rgba(255,255,255,0.7),
                2px 2px 3px rgba(0,0,0,0.3);
            letter-spacing: 1px;
            pointer-events: none;
        }
        /* ================= 底部天心阁区域 ================= */
        
        .wenxi-section {
            background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790181011/page10_beijing.webp');
            background-repeat: no-repeat;
            background-size: cover;
            text-align: left;
            position: relative;
            animation: fadeIn 1.5s ease-out backwards;
            animation-delay: 1.6s;
        }

        .section h2 {
            font-size: 1.6rem;
            color: #7a4b2a;
            margin-bottom: 15px;
            font-family: Georgia, serif;
            font-weight: normal;
            font-family: 'Irish Grover', cursive;
        }

        /* 模拟底部地图纹理背景 */
        .map-bg {
            position: relative;
            padding: 20px;
            background-image: 
                linear-gradient(rgba(194, 178, 151, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(194, 178, 151, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            border-radius: 8px;
        }

        /* 照片外框 */
        .photo-wrapper {
            background-color: #fff;
            padding: 12px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            border-radius: 4px;
            max-width: 600px;
            position: relative;
            z-index: 2;
            border: 1px solid #d1c1a7;
            transition: transform 0.3s ease;
        }

        .photo-wrapper:hover {
            transform: scale(1.02);
        }

        .photo-wrapper img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 2px;
            /* 原图自带老照片泛黄滤镜 */
            filter: sepia(0.5) contrast(1.1) brightness(0.95);
        }


  /* 中间区块：文字与图片交错 */
.content-block {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.content-block:last-child { margin-bottom: 0; }

.col-left { width: 40%; }
.col-right { width: 40%; }

.col-left img, .col-right img {
    width: 50%;
    height: auto;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    margin-bottom: 15px;
}

.col-right p, .col-left p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a3b2a;
    font-family: 'Itim', cursive;
}



.small-img-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.small-img-group img { margin-bottom: 0; }

.orange-island {
    background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790178437/zi_beijing.webp');
    background-color: #fdfbf7;
    border-top: 8px solid #d2b48c;
}

.orange.title-1{
    display: block;
    position: absolute;
    top: 20%;
}

.orange-title {
    font-size: 3.5rem;
    color: #a0522d;
    line-height: 1.2;
    margin-bottom: 40px;
    position: relative;
    font-family: 'Georgia', serif;
}

.orange-title span {
    font-style: italic;
    position: relative;
    font-family: 'Irish Grover', cursive;
}

  /* 标题圈圈装饰 */
.orange-title span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    width: 120%;
    height: 120%;
    border: 2px solid #a0522d;
    border-radius: 50%;
    opacity: 0.6;
}

.orange-img-wrap {
    position: relative;
    width: 60%;
    margin-left: auto;
}

.orange-img {
    width: 50%;
    height: auto;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    margin-right: 20px;
    z-index: 2;
}

  /* 几何线条装饰 */
.line-deco {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60%;
    height: 120%;
    border: 1px solid #666;
}

.next-btn {
    margin-top: 20px;
    padding: 15px 40px;
    background-color: #a0522d;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    width: fit-content;
    font-family: 'Irish Grover', cursive;
}

.next-btn:hover { background-color: #8b4513; }

  /* 页码样式 */
.page-num {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 0.9rem;
    color: rgba(0,0,0,0.4);
    font-family: monospace;
}

.juzizhou {
    background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790189508/page12_beijing.webp');
    background-size: contain;
}

.content-wrap{
            display:grid;
            grid-template-columns: 1fr 1fr 1fr;
            align-items:center;
            margin-top:120px;
            gap:30px;
        }

.left-text p{
            line-height:1.6;
            font-size:16px;
            margin-left: 15%;
            margin-right: 50%;
            margin-bottom: 0;
}

.center-circle{
            text-align:center;
}

.circle-bg{
            width:260px;
            height:260px;
            background-color: #e8d7bc;
            border-radius:50%;
            margin:0 auto;
            margin-left: -35%;
            margin-bottom: 20%;
}

.center-title{
            font-size:36px;
            margin: top 50px;
            font-family: 'Irish Grover', cursive;
}

.right-img-group{
            display:flex;
            gap:12px;
}

.right-img-group img{
    width:200px;
    height:260px;
}
        
.right-text{
    margin-top:15px;
    line-height:1.5;
    margin-left: 0%;
    margin-right: 10%;
}

        /* 底部古风宣纸板块 */
        .bottom-section{
            background-color: #f2ece0;
            background-image: url('https://res.cloudinary.com/imej4dva/image/upload/v1790178440/page13_beijing.webp');
            background-size:cover;
            padding:100px 40px;
            display:grid;
            grid-template-columns: 1fr 1fr;
            align-items: end;
        }
        .menu-group{
            display:grid;
            grid-template-columns: repeat(3,1fr);
            gap:20px;
        }
        .menu-column p{
            margin-top: 20%;
            margin-bottom: 10%;
            font-family: 'Itim', cursive;
        }
        .mountain-pic{
            text-align:right;
        }
        .mountain-pic img{
            width:520px;
        }
        .welcome-text{
            text-align:right;
            margin-top:10px;
            font-size:18px;
        }


        /* ================= 动画定义 ================= */
        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes breathe {
            0% { transform: translateX(-50%) scale(1); }
            100% { transform: translateX(-50%) scale(1.03); }
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(184, 155, 124, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(184, 155, 124, 0); }
            100% { box-shadow: 0 0 0 0 rgba(184, 155, 124, 0); }
        }

/* ================= 响应式：手机端 + 电脑端 ================= */

/* 图片、视频等默认自适应 */
.img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- 中等屏幕（平板 / 小笔记本） ---------- */
@media (max-width: 1024px) {

    header {
        padding: 15px 25px;
        font-size: 22px;
    }

    section {
        padding: 60px 6%;
    }

    .hero-content {
        width: 340px;
        height: 440px;
    }

    .hero-content p {
        font-size: 22px;
    }

    .scroll-down {
        font-size: 22px;
    }

    .section-title {
        font-size: 28px;
    }

    .foreword h2 {
        font-size: 30px;
    }

    .foreword p {
        font-size: 16px;
    }

    .ancient-city {
        gap: 30px;
    }

    .ancient-city-text a {
        font-size: 22px;
    }

    .layout-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .grid-item {
        font-size: 16px;
    }

    .yuelu-academy {
        height: 420px;
    }

    .yuelu-overlay h3 {
        font-size: 28px;
    }

    .yuelu-overlay p {
        font-size: 14px;
    }

    .history-btn {
        font-size: 18px;
    }

    .timeline-text {
        font-size: 12px;
    }

    .section-kicker h3 {
        font-size: 20px;
    }

    .cards-container {
        flex-direction: column;
        gap: 20px;
    }

    .card-1.text p,
    .card-2.text p {
        margin-left: 0;
        font-size: 14px;
    }

    .card-1.inner.img,
    .card-2.inner.img {
        margin-left: 0;
        margin-top: 15px;
    }

    .content-block {
        flex-direction: column;
        gap: 25px;
    }

    .col-left,
    .col-right {
        width: 100%;
    }

    .col-left img,
    .col-right img {
        width: 100%;
    }

    .orange-title {
        font-size: 2.5rem;
    }

    .orange-img-wrap {
        width: 100%;
        margin-left: 0;
    }

    .orange-img {
        width: 100%;
        max-width: 400px;
    }

    .content-wrap {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        margin-top: 80px;
    }

    .circle-bg {
        width: 200px;
        height: 200px;
    }

    .center-title {
        font-size: 28px;
    }

    .right-img-group img {
        width: 150px;
        height: 200px;
    }

    .bottom-section {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 60px 30px;
    }

    .mountain-pic img {
        width: 360px;
    }
}

/* ---------- 手机端（竖屏） ---------- */
@media (max-width: 768px) {

    header {
        padding: 12px 15px;
        font-size: 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-left,
    .nav-right {
        gap: 10px;
    }

    .nav-left a,
    .nav-right button {
        font-size: 15px;
    }

    section {
        padding: 40px 5%;
    }

    /* Hero */
    .hero {
        min-height: 500px;
        height: 100vh;
    }

    .hero-content {
        width: 85%;
        max-width: 320px;
        height: auto;
        min-height: 360px;
        padding: 15px;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .scroll-down {
        font-size: 16px;
        bottom: 20px;
    }

    .scroll-down span {
        font-size: 24px;
    }

    /* 通用标题 */
    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    /* 前言 */
    .foreword h2 {
        font-size: 24px;
        padding-bottom: 6px;
    }

    .foreword p {
        font-size: 14px;
        line-height: 1.7;
        text-align: left;
    }

    .btn-continue {
        float: none;
        display: block;
        margin: 20px auto 0;
        width: fit-content;
        font-size: 15px;
        padding: 8px 22px;
    }

    /* 古城遗迹 */
    .ancient-city {
        flex-direction: column;
        gap: 25px;
        padding: 50px 5%;
    }

    .ancient-city-text h2 {
        font-size: 22px !important;
    }

    .ancient-city-text a {
        font-size: 18px;
    }

    .ancient-city-image {
        height: 200px;
        width: 100%;
    }

    /* 网格布局 */
    .layout-section {
        padding: 50px 5%;
    }

    .layout-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .grid-item {
        font-size: 13px;
    }

    .grid-img {
        margin-bottom: 8px;
    }

    /* 岳麓书院 */
    .yuelu-academy {
        height: 320px;
    }

    .yuelu-overlay {
        padding: 0 8%;
    }

    .yuelu-overlay h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .yuelu-overlay p {
        font-size: 13px;
        line-height: 1.6;
    }

    /* 时间轴 */
    .history-section {
        padding: 50px 5%;
    }

    .history-btn {
        font-size: 18px;
        padding: 8px 30px;
        margin-bottom: 35px;
    }

    .timeline {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        padding: 0 0 25px 0;
        margin-left: 10px;
        border-left: 2px solid var(--text-brown);
        text-align: left;
    }

    .timeline-item:last-child {
        border-left-color: transparent;
    }

    .timeline-text {
        font-size: 13px;
        margin-bottom: 0;
        text-align: left;
        flex: 1;
        order: 2;
    }

    .timeline-circle {
        width: 14px;
        height: 14px;
        margin: 4px 0 0 -8px;
        flex-shrink: 0;
        order: 1;
    }

    /* 马王堆 */
    .ma-wangdui {
        padding: 50px 5%;
    }

    .section-kicker h3 {
        font-size: 20px;
        text-align: center;
    }

    .section p.subtitle {
        text-align: center;
        font-size: 13px;
    }

    .dome-container {
        height: auto;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 25px;
    }

    .semi-circle {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 90%;
        max-width: 340px;
        height: 150px;
        margin-bottom: 20px;
    }

    /* 文物条目改为流式列表 */
    .artifact-item {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 300px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin: 10px auto;
        padding: 8px 14px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 30px;
        animation-delay: 0s !important;
    }

    .artifact-img {
        width: 50px;
        flex-shrink: 0;
    }

    .artifact-label {
        font-size: 12px;
        text-align: left;
        flex: 1;
    }

    /* 马王堆卡片 */
    .ma-wangdui-cards {
        padding: 40px 5%;
    }

    .cards-container {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .card {
        padding: 18px;
    }

    .card-1.title h3,
    .card-2.title h3 {
        font-size: 18px;
    }

    .card-1.text p,
    .card-2.text p {
        margin-left: 0;
        font-size: 13px;
    }

    .card-1.inner.img,
    .card-2.inner.img {
        margin-top: 15px;
        margin-left: 0;
        align-items: center;
    }

    .card-1.inner p {
        font-size: 12px;
    }

    /* 天心阁 */
    .tianxin-pavilion {
        padding: 50px 5%;
    }

    .pavilion-image-card {
        transform: rotate(-1deg);
        padding: 10px;
    }

    .pavilion-title {
        font-size: 20px;
        top: 18px;
        left: 18px;
    }

    /* 文夕大火 */
    .wenxi-section {
        padding: 50px 5%;
    }

    .content-block {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 35px;
    }

    .col-left,
    .col-right {
        width: 100%;
    }

    .col-left img,
    .col-right img {
        width: 100%;
        max-width: 100%;
    }

    .col-right p,
    .col-left p {
        font-size: 14px;
    }

    .page-num {
        position: static;
        margin-top: 20px;
        text-align: right;
    }

    /* 橘子洲 */
    .orange-island {
        padding: 50px 5%;
    }

    .orange-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .orange-img-wrap {
        width: 100%;
        margin-left: 0;
    }

    .line-deco {
        display: none;
    }

    .orange-img {
        width: 100%;
        max-width: 100%;
    }

    .next-btn {
        margin-top: 30px;
        font-size: 16px;
        padding: 12px 28px;
    }

    /* 底部双栏 */
    .top-section {
        padding: 50px 5%;
    }

    .header-row {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .content-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .left-text {
        text-align: center;
        font-size: 14px;
    }

    .circle-bg {
        width: 180px;
        height: 180px;
    }

    .center-title {
        font-size: 26px;
    }

    .right-img-group {
        justify-content: center;
    }

    .right-img-group img {
        width: 45%;
        max-width: 150px;
        height: auto;
    }

    .right-text {
        text-align: center;
        font-size: 14px;
    }

    /* 底部宣纸菜单 */
    .bottom-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 50px 5%;
    }

    .menu-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .menu-column p {
        font-size: 14px;
    }

    .mountain-pic {
        text-align: center;
    }

    .mountain-pic img {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .welcome-text {
        text-align: center;
        font-size: 15px;
    }
}

/* ---------- 超小屏（小手机） ---------- */
@media (max-width: 380px) {

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .foreword h2 {
        font-size: 22px;
    }

    .foreword p {
        font-size: 13px;
    }

    .layout-grid {
        grid-template-columns: 1fr;
    }

    .menu-group {
        grid-template-columns: 1fr;
    }

    .orange-title {
        font-size: 24px;
    }

    .history-btn {
        font-size: 16px;
        padding: 7px 24px;
    }
}        /* ================= 响应式（手机端） ================= */