/* 页面内容通用容器，控制内容最大宽度、居中、左右留安全边距，适配移动端 */
.container{
    /* 让整个元素容器居中 */
    width:78%;/* 容器默认占满父元素78%宽度 */
    margin-inline:auto;/* 等价于margin-left/right:auto，实现水平居中 */
    padding-inline:clamp(1rem,4vw,2rem);/* 左右内边距自适应；小屏1rem，随屏幕变大最高到2rem */
    
    /* 让元素容器内部元素水平并排且整体居中 */
    display:flex;
    flex-wrap:wrap;/* 允许子元素换行 */
    justify-content:center;/* 水平居中 */
    align-items:center;/* 垂直居中 */
    text-align:center;/* 文字居中 */
}/* 内容区居中，两边自动留白，手机上留白更小，大屏留白更大 */
/* 页面每一个内容区块（板块）通用样式，控制区块上下间距 + 锚点滚动偏移 */
.section{
    padding-block:clamp(3rem,8vw,6rem);/* 区块上下内边距自适应；最小3rem，最大6rem */
    scroll-margin-top:calc(var(--header-h)+16px);/* 锚点滚动到此区块时，顶部自动留出（头部高度+16px），避免固定导航栏盖住区块标题 */
}/* 板块之间上下有充足、自适应间距；点击锚点跳转时标题不会被顶部导航挡住 */
/* 板块标题组容器（小标题+主标题+描述），标题组居中、限制宽度、底部预留距离给下面内容 */
.section-head{
    max-width:640px;/* 标题区域最大宽度限制640px，不会拉太宽 */
    margin:0 auto clamp(2rem,5vw,3.5rem);/* margin：上面0间距，左右auto居中，底部外边距自适应 */
    text-align:center;/* 内部文字居中 */
}/* 板块标题整组居中，标题组和下方卡片/内容之间有自适应距离 */
/* 小标题/前置标签，常叫眉题、主标题上方的提示小字 */
.eyebrow{
  display:inline-block;/* 行内方块布局，能设置margin，不独占一整行 */
  margin:0 0 0.85rem;/* 底部外边距0.85rem，和下方主标题隔开 */
  font-size:0.78rem;/* 字号偏小 */
  font-weight:800;/* 粗体字 */
  letter-spacing:0.14em;/* 字符间距拉开很大 */
  color:var(--mc-gold);/* 字体颜色 */
}/* 小小的、加粗、大写、字很散、mc金色文字，在主标题上方，醒目精致 */

/* 引导描述文本 */
.lead{
    margin:0;/* 清除默认外边距 */
    font-size:clamp(1rem,1.6vw,1.12rem);/* 自适应字号，比正文略大一点 */
    color:var(--text-muted);/* 次要文字颜色 */
    max-width:62ch;/* 限制一行字符长度，阅读舒适 */
}
/* 渐变文字 */
.grad{
    font-size:3.2rem;/* 稍大字体 */
    background:linear-gradient(180deg, #c7b8b5 0%, #887c79 100%);
    -webkit-background-clip:text;background-clip:text;/* 把背景裁剪到只有文字形状区域 */
    color:transparent;/* 文字本身变透明，才能透出裁剪后的渐变背景 */
    text-shadow:3px 3px 0 #494240, 3px 3px 6px #363130;/* 文字阴影，增加立体感 */
    margin:15px 0 0 0;/* 标题与外方框的间距“上左下右”，让布局更紧凑 */
    text-align:center;/* 内部文字居中 */
    position:relative;/* 相对定位 */
    width:100%;/* 强制标题独占一整行 */ 
}/* 文字是渐变色，不是纯色，很亮眼 */

/* 部分标题 */
.section-title{
    position:relative;/* 相对定位 */
    margin-bottom:15px;/* 部分标题离下个边框15px */
    text-align:center;/* 文本居中 */
    font-size:1.2rem;/* 稍大字体 */
    color:var(--mc-light-green);/* 字体颜色为CSS全局变量mc浅绿 */
    text-shadow:2px 2px 4px rgba(0,0,0,0.5);/* 字体阴影 */
}            
/* 部分标题下面那条绿线 */
.section-title::after{
    content:"";/* 必须设置，即使为空 */
    position:absolute;/* 绝对定位 */
    bottom:-5px;/* 绿线离部分标题5px */
    left:50%;transform:translateX(-50%);/* 使部分标题下面绿线居中 */
    width:60px;height: 3px;/* 绿线大小 */
    background:var(--mc-green);/* 字体颜色为CSS全局变量mc绿色 */
}

/* 特征（网格）展示容器 */
.features-grid{
    width:70%;/* 占网页宽度70% */
    display:grid;/* 将元素设置为网格布局容器 */
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));/* 核心：自适应列数，250px 为元素大小 */
    gap:14px;/* 网格项之间的间距（行+列） */
    margin-bottom:20px;/* 容器底部外边距，与下方元素隔开 */
    margin-inline:auto;/* 等价于margin-left/right:auto，实现水平居中 */
}
/* 特征展示的项 */            
.feature-item {
    font-size:0.8rem;/* 特征展示的项文字大小 */
    background:rgba(50, 50, 50, 0.85);/* 半透明深灰色背景（r,g,b,透明度） */
    padding:10px 5px;/* 内边距：上下15px，左右10px */
    border-radius:6px;/* 圆角6px，让边角更柔和 */
    border-left:5px solid var(--mc-green);/* 左侧4px宽的边框（使用CSS全局颜色变量mc绿色） */
    display:flex;/* 开启弹性布局，让内部图标和文字垂直居中对齐 */
    align-items:center;/* 弹性布局下，子元素垂直居中 */
    transition:all 0.2s ease;/* 所有属性变化都有0.2秒的过渡动画（ease是缓动效果） */
    box-shadow:0 6px 15px rgba(0,0,0,0.4);/* 阴影：x偏移0，y偏移6px，模糊15px，黑色半透明 */
}
/* 鼠标悬停时 */            
.feature-item:hover{
    transform:translateY(-5px);/* 向上平移5px（Y轴负方向）*/
    border-left:6px solid var(--mc-light-green);/* 左侧边框换成mc浅绿*/
    box-shadow:0 10px 20px rgba(0,0,0,0.6);/* 阴影变大、变深，增强悬浮感 */
    background:rgba(60,60,60,0.9);/* 背景色稍亮且更不透明，突出选中状态 */
}
/* 特征图标样式 */       
.feature-icon{
    margin-right:10px;/* 与特征文字间距10px */
    min-width:60px;/* 调整图标最小宽度 */
    transition:all 0.2s ease;/* 跟着特征展示的项一起变 */
}

/* 所有者高亮 */
.owner-highlight{
    color:var(--mc-light-green);/* mc浅绿 */
    font-weight:bold;/* 字体加粗 */
    text-shadow:1px 1px 2px rgba(0,0,0,0.8);/* 字体阴影 */
}

/* 到处乱窜的弹窗 */
.wander-box{
    width:18%;/* 弹窗宽度占整个网页界面宽度18% */
    padding:6px 10px;/* 弹窗大小 */
    background-color:rgb(30,80,30);/* 弹窗背景颜色 */
    border-radius:10px;/* 弹窗圆角 */
    border:2px solid var(--mc-light-green);/* 弹窗边框 */
    font-size:0.66rem;/* 字体大小 */
    cursor:pointer;/* 鼠标悬停时为点击手势 */
    position: fixed;/* 相对可视窗口定位，而不是一整个网页界面body */
    z-index:900;/* 介于所有元素与响应式头部导航栏之间 */
    animation:wander 72s ease infinite;/* 动画：名称 时长 线性 无限循环 */
}
/* 悬停暂停 */
.wander-box:hover{
    width:20%;/* 弹窗宽度占整个网页界面宽度变化 */
    font-size:0.91rem;/* 字体大小 */
    animation-play-state:paused;/* 动画停止，即弹窗停止移动 */
    background-color:rgba(40,100,40,0.8);/* 弹窗背景颜色变色 */
}
.wander-box wenmj:hover{
    color:var(--mc-gold);/* wenmj标签文字变为mc黄色 */
}
.wander-box fry_king:hover{
    color:var(--mc-red);/* fry_king标签文字变为mc红色 */
}
/* 移动轨迹，伪随机 */
@keyframes wander{
    /* 起点：左上角、导航栏下方 */
    0%{
        top:10vh;left:5vw;    
        transform:rotate(0deg) scale(1); 
    }
    10%{ 
        top:22vh;left:55vw;      
        transform:rotate(6deg) scale(1.05); 
    }
    20%{ 
        top:60vh;left:78vw;      
        transform:rotate(-4deg) scale(0.95); 
    }
    30%{ 
        top:40vh;left:30vw;      
        transform:rotate(10deg) scale(1); 
    }
    40%{ 
        top:78vh;left:12vw;
        transform:rotate(-8deg) scale(1.03); 
    }
    50%{ 
        top:30vh;left:65vw;      
        transform:rotate(3deg) scale(0.97); 
    }
    60%{
        top:68vh;left:45vw;      
        transform:rotate(-12deg) scale(1.06); 
    }
    70%{ 
        top:18vh;left:70vw;   
        transform:rotate(5deg) scale(1); 
    }
    80%{
        top:55vh;left:20vw;      
        transform:rotate(-6deg) scale(0.94); 
    }
    90%{ 
        top:45vh;left:50vw;
        transform:rotate(8deg) scale(1.04); 
    }
    100%{ 
        top:10vh;left:5vw;    
        transform:rotate(0deg) scale(1); 
    }
}

/* 轮播图片外壳 */
.carousel-container{
    position:relative;/* 相对定位，方便内部绝对定位的元素（幻灯片、指示点、箭头） */
    width:66%;/* 占父元素66%宽度 */
    margin-inline:auto;/* 等价于margin-left/right:auto，实现水平居中 */
    aspect-ratio:16/10;/* 画面比例，可改成4/3等 */
    border-radius:10px;/* 方框圆角 */
    box-shadow:0 10px 25px rgba(0,0,0,0.4);/* 阴影：x偏移0，y偏移10px，模糊25px，黑色半透明 */
    overflow:hidden;/* 超出部分裁掉 */
}
/* radio按钮隐藏，避免显示在页面上——纯CSS手动轮播图核心 */ 
.carousel-container-manual input{display:none;/* 隐藏单选框，即图片左上角三点 */}
/* 每一张轮播图片：全部叠在一起，默认透明隐藏 */
.carousel-container-manual .carousel-picture{
    position:absolute;/* 绝对定位，脱离文档流，叠在一起，相对于carousel-container定位 */
    /*top:0;left:0;/* 轮播图片起始位置 */
    /*width:100%;/* 占满父元素宽度carousel-picture-container */
    opacity:0;/* 默认透明隐藏 */
    transform:scale(1.04);/* 轻微放大，切换时缩回，有轻微推近感 */
    transition:all 0.6s ease;/* 所有变化过渡0.6秒，动画更丝滑 */
}
/* 文字解说（叠加在图片上）*/
.carousel-font{
    position:absolute;/* 绝对定位，叠加在图片上，相对于carousel-container定位 */
    left:0;right:0;bottom:0;/* 左右铺开位于底部，铺满父元素 */
    padding:1.4rem 1.6rem;/* 内边距：上下1.4rem，左右1.6rem */
    background:linear-gradient(transparent,rgba(0,0,0,.75));/* 底部渐变压暗，保证文字可读 */
}
.carousel-font h3{
    margin:0 0 0.4rem;/* 上右下左，标题与下方文字间距0.4rem */
    font-size:1.25rem;/* 稍大字体 */
    font-weight:700;/* 字体加粗 */
}
.carousel-font p{
    margin:0 0 0.2rem;/* 上右下左，下方文字与下方三点间距 */
    font-size:0.95rem;/* 稍大字体 */
}
/* 底部指示点 */
.dots{
    position:absolute;/* 绝对定位，叠加在图片上，相对于carousel-container定位 */
    left:50%;/* 左边距50%，再用transform居中 */
    transform:translateX(-50%);/* 使指示点整体居中 */
    bottom:10px;/* 底部10px */
    display:flex;/* 弹性布局，让指示点水平排列 */
    gap:10px;/* 指示点之间间距10px */
    z-index:2;/* 介于所有元素与响应式头部导航栏之间 */
}
.dots label{
    width:8px;height:8px;/* 指示点大小 */
    border-radius:50%;/* 这样会成圆形 */
    background:rgba(255,255,255,0.5);/* 半透明白色 */
    cursor:pointer;/* 鼠标悬停时为点击手势 */
    transition:all 0.2s ease;/* 所有变化过渡0.2秒，动画更丝滑 */
}

/* 选中状态：显示对应幻灯片 */
#manual-a1:checked ~ .carousel-picture-container .carousel-picture:nth-child(1),
#manual-a2:checked ~ .carousel-picture-container .carousel-picture:nth-child(2),
#manual-a3:checked ~ .carousel-picture-container .carousel-picture:nth-child(3){
    opacity:1;/* 1即100%，变为不透明即显示 */
    transform:scale(1);/* 缩回到原始大小 */
    z-index:1;/* 选中状态的幻灯片在最上层，避免被其他幻灯片遮挡 */
}
/* 当前选中的点：变白、放大 */
#manual-a1:checked ~ .dots label[for="manual-a1"],
#manual-a2:checked ~ .dots label[for="manual-a2"],
#manual-a3:checked ~ .dots label[for="manual-a3"]{
    background:rgb(255,255,255);/* 白色显现 */
    transform:scale(1.4);/* 放大1.4倍 */
}
/* 选中状态：显示对应幻灯片 */
#manual-b1:checked ~ .carousel-picture-container .carousel-picture:nth-child(1),
#manual-b2:checked ~ .carousel-picture-container .carousel-picture:nth-child(2),
#manual-b3:checked ~ .carousel-picture-container .carousel-picture:nth-child(3),
#manual-b4:checked ~ .carousel-picture-container .carousel-picture:nth-child(4),
#manual-b5:checked ~ .carousel-picture-container .carousel-picture:nth-child(5),
#manual-b6:checked ~ .carousel-picture-container .carousel-picture:nth-child(6),
#manual-b7:checked ~ .carousel-picture-container .carousel-picture:nth-child(7),
#manual-b8:checked ~ .carousel-picture-container .carousel-picture:nth-child(8),
#manual-b9:checked ~ .carousel-picture-container .carousel-picture:nth-child(9),
#manual-b10:checked ~ .carousel-picture-container .carousel-picture:nth-child(10){
    opacity:1;/* 1即100%，变为不透明即显示 */
    transform:scale(1);/* 缩回到原始大小 */
    z-index:1;/* 选中状态的幻灯片在最上层，避免被其他幻灯片遮挡 */
}
/* 当前选中的点：变白、放大 */
#manual-b1:checked ~ .dots label[for="manual-b1"],
#manual-b2:checked ~ .dots label[for="manual-b2"],
#manual-b3:checked ~ .dots label[for="manual-b3"],
#manual-b4:checked ~ .dots label[for="manual-b4"],
#manual-b5:checked ~ .dots label[for="manual-b5"],
#manual-b6:checked ~ .dots label[for="manual-b6"],
#manual-b7:checked ~ .dots label[for="manual-b7"],
#manual-b8:checked ~ .dots label[for="manual-b8"],
#manual-b9:checked ~ .dots label[for="manual-b9"],
#manual-b10:checked ~ .dots label[for="manual-b10"]{
    background:rgb(255,255,255);/* 白色显现 */
    transform:scale(1.4);/* 放大1.4倍 */
}
/* 选中状态：显示对应幻灯片 */
#manual-c1:checked ~ .carousel-picture-container .carousel-picture:nth-child(1),
#manual-c2:checked ~ .carousel-picture-container .carousel-picture:nth-child(2),
#manual-c3:checked ~ .carousel-picture-container .carousel-picture:nth-child(3),
#manual-c4:checked ~ .carousel-picture-container .carousel-picture:nth-child(4),
#manual-c5:checked ~ .carousel-picture-container .carousel-picture:nth-child(5),
#manual-c6:checked ~ .carousel-picture-container .carousel-picture:nth-child(6),
#manual-c7:checked ~ .carousel-picture-container .carousel-picture:nth-child(7),
#manual-c8:checked ~ .carousel-picture-container .carousel-picture:nth-child(8),
#manual-c9:checked ~ .carousel-picture-container .carousel-picture:nth-child(9),
#manual-c10:checked ~ .carousel-picture-container .carousel-picture:nth-child(10),
#manual-c11:checked ~ .carousel-picture-container .carousel-picture:nth-child(11),
#manual-c12:checked ~ .carousel-picture-container .carousel-picture:nth-child(12),
#manual-c13:checked ~ .carousel-picture-container .carousel-picture:nth-child(13),
#manual-c14:checked ~ .carousel-picture-container .carousel-picture:nth-child(14),
#manual-c15:checked ~ .carousel-picture-container .carousel-picture:nth-child(15){
    opacity:1;/* 1即100%，变为不透明即显示 */
    transform:scale(1);/* 缩回到原始大小 */
    z-index:1;/* 选中状态的幻灯片在最上层，避免被其他幻灯片遮挡 */
}
/* 当前选中的点：变白、放大 */
#manual-c1:checked ~ .dots label[for="manual-c1"],
#manual-c2:checked ~ .dots label[for="manual-c2"],
#manual-c3:checked ~ .dots label[for="manual-c3"],
#manual-c4:checked ~ .dots label[for="manual-c4"],
#manual-c5:checked ~ .dots label[for="manual-c5"],
#manual-c6:checked ~ .dots label[for="manual-c6"],
#manual-c7:checked ~ .dots label[for="manual-c7"],
#manual-c8:checked ~ .dots label[for="manual-c8"],
#manual-c9:checked ~ .dots label[for="manual-c9"],
#manual-c10:checked ~ .dots label[for="manual-c10"],
#manual-c11:checked ~ .dots label[for="manual-c11"],
#manual-c12:checked ~ .dots label[for="manual-c12"],
#manual-c13:checked ~ .dots label[for="manual-c13"],
#manual-c14:checked ~ .dots label[for="manual-c14"],
#manual-c15:checked ~ .dots label[for="manual-c15"]{
    background:rgb(255,255,255);/* 白色显现 */
    transform:scale(1.4);/* 放大1.4倍 */
}
/* 选中状态：显示对应幻灯片 */
#manual-d1:checked ~ .carousel-picture-container .carousel-picture:nth-child(1),
#manual-d2:checked ~ .carousel-picture-container .carousel-picture:nth-child(2){
    opacity:1;/* 1即100%，变为不透明即显示 */
    transform:scale(1);/* 缩回到原始大小 */
    z-index:1;/* 选中状态的幻灯片在最上层，避免被其他幻灯片遮挡 */
}
/* 当前选中的点：变白、放大 */
#manual-d1:checked ~ .dots label[for="manual-d1"],
#manual-d2:checked ~ .dots label[for="manual-d2"]{
    background:rgb(255,255,255);/* 白色显现 */
    transform:scale(1.4);/* 放大1.4倍 */
}