﻿@charset "utf-8";
body {
    background: #fff url("../images/bk.jpg") no-repeat;
    background-size: cover;
    padding: 0px 0px 70px 0px;
    margin: 0;
    color: #999;
    font: normal 14px/18px 微软雅黑;
    min-height: 100vh;
}

ul,
li {
    padding: 0;
    margin: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

h1 {
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 42px;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h1 span {
    font-size: 10px;
    background-color: #cc1827;
    height: 17px;
    line-height: 19px;
    color: #FFF;
    padding: 0px 8px;
    border-radius: 2px;
}

.popup {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1900;
    top: 0px;
}

.popup img {
    width: 100%;
}

.popupup {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 910;
    top: 0px;
}

.popup .content {
    margin: 20% 30%;
    position: fixed;
    padding: 20px;
    z-index: 901;
    width: 40%;
    border-radius: 12px;
    background-color: #FFF;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.popupup .content {
    background: transparent;
    margin: 20% 10%;
    position: fixed;
    z-index: 911;
    width: 74%;
    max-height: 60%;
    overflow: scroll;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    padding: 30px 40px;
    backdrop-filter: blur(5px);
}

.popupup .list {
    width: 98%;
    padding: 5px 1%;
}

.mask {
    background: #000;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.maskup {
    background: #000;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.msg {
    position: fixed;
    bottom: 80px;
    width: 100%;
    text-align: center;
    display: none;
    z-index: 1000;
}

.msg b {
    background: rgba(17,17,17,0.9);
    padding: 8px 15px;
    color: #fff;
    border-radius: 8px;
    margin: 5px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    font-size: 15px;
}

/* 外层容器 */
.layer {
    width: 1400px; 
    margin: 0 auto; 
    display: flex;
    justify-content: center;
    position: relative; 
    min-height: 700px; 
    padding-top: 20px;
}

/* 基础server容器 - 核心：内容区域绝对定位，彻底隔离层级 */
.server {
    width: 410px;  
    height: 220px; 
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(88,110,178,0.6);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative; 
    border: 2px solid rgba(100,149,237,0.5);
}

.server:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(88,110,178,0.8);
    border-color: rgba(100,149,237,0.8);
}

/* S1背景层 - 层级最低，仅作为底图 */
#S1 {
    background: url("../images/s1.PNG");
    background-size: cover;
    width: 1230px;  
    height: 660px;  
    transform-origin: top left; 
    position: absolute;
    top: 260px;      
    left: 80px;      
    z-index: 1; /* 背景唯一层级1 */
}

/* 高光层 - 仅装饰，不影响文字 */
#S1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 2; /* 高光在背景上，内容下 */
}

/* 顶部bager - 层级高于所有背景 */
.bager {
    display: flex;
    color: #FFF;
    text-align: center;
    width: 100%;
    justify-content: space-between;
    border-radius: 0 0 0 8px;
    position: absolute; /* 绝对定位，脱离文档流 */
    top: 0;
    z-index: 20; /* 最高层级之一 */
}

.bager li {
    display: inline-block;
    padding: 8px 12px;
    font-size: 13px;
    background-color: rgba(33, 51, 111, 0.9);
    border-radius: 0 0 0 8px;
}

.bager li:first-child {
    background-color: rgba(189, 83, 17, 0.9);
    border-radius: 0 0 8px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* 核心修复：内容区域 Flex 布局重构 - 置顶/置底分离 */
.server .content {
    background: rgba(0,0,0,0.5);
    padding: 20px 30px;
    width: 100%;    
    height: 100%;   
    box-sizing: border-box; 
    /* Flex 布局：垂直方向，标题置顶，说明项中间，按钮置底 */
    display: flex;  
    flex-direction: column;
    justify-content: flex-start; /* 整体从顶部开始排列 */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    border-radius: 15px;
}

/* 文字组 - 拆分标题和说明项，独立排版 */
.text-group {
    width: 100%;
    flex: 1; /* 占据除按钮外的所有空间 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* C01 专属样式：置顶 + 居中 + 放大1.5倍 + 全新渐变流光+脉冲特效 */
.server .content #C01 {
    font-size: 60px !important; /* 原40px * 1.5 = 60px */
    line-height: 80px !important;
    font-weight: 900 !important; /* 更粗的字重，强化标题感 */
    text-align: center !important; /* 强制居中 */
    width: 100% !important;
    /* 新特效1：文字渐变（红金渐变，更高级） */
    background: linear-gradient(90deg, #ff4444, #ffd700, #ff4444);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* 新特效2：流光动画 */
    animation: gradientFlow 3s linear infinite, pulseScale 2s ease-in-out infinite;
    /* 新特效3：外发光（更柔和的光晕） */
    text-shadow: 0 0 15px rgba(255, 68, 68, 0.7), 0 0 30px rgba(255, 215, 0, 0.5) !important;
    /* 置顶无顶部间距，仅底部留白 */
    margin: 0 0 20px 0 !important;
    /* 抗锯齿优化 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* C02-C12 样式：左侧换行显示 + 缩小 */
.server .content b:not(#C01) {
    font-size: 20px !important; /* 缩小1倍 */
    line-height: 35px !important; /* 行高适配，保证换行间距 */
    font-weight: 600 !important;
    text-align: left !important; /* 强制左侧显示 */
    padding-left: 15px !important; /* 左侧内边距，避免贴边 */
    width: 100% !important;
    display: block !important; /* 强制换行 */
    text-shadow: 0 2px 4px rgba(0,0,0,0.6) !important;
    /* 取消多余特效 */
    animation: none !important;
    -webkit-text-stroke: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
}

/* 新动画定义：渐变流光 + 脉冲缩放 */
@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* hover效果适配（强化新特效） */
.server .content #C01:hover {
    animation: gradientFlow 1.5s linear infinite, pulseScale 1.5s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.9), 0 0 40px rgba(255, 215, 0, 0.7) !important;
}

.server .content b:not(#C01):hover {
    transform: scale(1.03) !important;
    text-shadow: 0 3px 6px rgba(0,0,0,0.8) !important;
}

/* 按钮区域 - 强制置底 + 居中 */
.server .btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 16;
    /* 强制置底关键样式 */
    margin-top: auto !important; /* 自动填充上方空间，实现置底 */
    padding-top: 15px; /* 与说明项分隔 */
}

.server .btn span {
    padding: 12px 30px;
    margin: 0;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.server .btn span:hover {
    filter: brightness(1.2);
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.8);
}

/* 按钮颜色 */
#B01 {
    background: linear-gradient(180deg, #92e878 0%, #70d050 100%);
    color: #fff;
}

#B02 {
    background: linear-gradient(180deg, #ffb84d 0%, #ff9900 100%);
    color: #fff;
}

#B03 {
    background: linear-gradient(180deg, #5ce6ec 0%, #29c0c7 100%);
    color: #fff;
}

#B04 {
    background: linear-gradient(180deg, #99a3ff 0%, #6673e6 100%);
    color: #fff;
}

/* 文字颜色定义 */
#C01 { color: #8eff8e; /* 亮红色（渐变覆盖，仅兜底） */ }
#C02 { color: #fff0b3; /* 超高亮浅金色 */ }
#C03 { color: #ff9955; /* 超高亮橙红色 */ }
#C04 { color: #c0cbff; /* 超高亮蓝紫色 */ }
#C05 { color: #8eff8e; /* 超高亮嫩绿色 */ }
#C06 { color: #ff8ef0; /* 超高亮玫粉色 */ }
#C07 { color: #8effff; /* 超高亮天蓝色 */ }
#C08 { color: #ffd98e; /* 超高亮杏黄色 */ }
#C09 { color: #d98eff; /* 超高亮薰衣草紫 */ }
#C10 { color: #ff8e8e; /* 超高亮桃粉色 */ }
#C11 { color: #8effd9; /* 超高亮薄荷绿 */ }
#C12 { color: #f0ff8e; /* 超高亮柠檬黄 */ }

.foot {
    width: 100%;
    position: fixed;
    bottom: 0;
    padding: 15px 0;
    background: linear-gradient(90deg, #111 0%, #222 50%, #111 100%);
    font-size: 14px;
    line-height: 24px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
    z-index: 999;
}

.foot .body {
    display: flex;
    justify-content: space-between;
    width: 500px;
    margin: auto;
    color: #e0e0e0;
}

.code {
    position: fixed;
    right: 20px;
    top: 30%;
    z-index: 900;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}