/* 奇迹MU版本发布网站 — 清爽清爽蓝白配色版（直观、不眼花）
 * 原始金色传奇风已备份为：css/style-classic-backup.css
 */
/* ====== 主题色变量（管理员后台可动态修改 --mu-theme）====== */
:root {
    --mu-theme: #2f80ed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", Arial, sans-serif;
    background: #f3f5f9;
    color: #2c3e50;
    min-width: 1300px;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    width: 92%;
    max-width: 1500px;
    margin: 0 auto;
}

/* ===== 顶部信息栏 ===== */
.top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e4e8ef;
    height: 36px;
    line-height: 36px;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.top-bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .left {
    color: #54667a;
}

/* 顶部客服QQ高亮（如需启用自定义样式可在此添加） */

.top-bar .right a {
    color: #54667a;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}

.top-bar .right a:hover {
    color: #2f80ed;
}

/* ===== 轮播图区域（全宽） ===== */
.banner-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 525;
    min-height: 420px;
    max-height: 560px;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 1px solid #e4e8ef;
    background: #ffffff;
}

.banner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f7f9fc;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ffffff;
}

.banner-slide.active {
    opacity: 1;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(47, 128, 237, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.banner-dot.active {
    background: #2f80ed;
    border-color: #2f80ed;
    box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.15);
}

/* ===== 横幅 → 列表 过渡（轻量渐变条，不刺眼） ===== */
.notice-bar {
    background: #ffffff;
    padding: 8px 15px;
    border-top: 1px solid #f0f2f7;
    border-bottom: 1px solid #e4e8ef;
    color: #54667a;
    font-size: 13px;
    text-align: center;
    letter-spacing: 0.5px;
}

.notice-bar .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.notice-bar .hot-icon { color: #2f80ed; font-weight: 500; }

/* ===== 服务器列表标题 ===== */
.section-title {
    background: #ffffff;
    height: 52px;
    line-height: 52px;
    text-align: left;
    padding: 0 24px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    border-left: 4px solid #2f80ed;
    border-top: 1px solid #e4e8ef;
    border-bottom: 1px solid #e4e8ef;
    margin-top: 22px;
    border-radius: 4px 4px 0 0;
    width: 92%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.section-title .hot-tag {
    color: #e74c3c;
    font-weight: 600;
    margin-left: 8px;
    font-size: 14px;
}

/* ===== 列表宽屏容器 ===== */
.list-box {
    width: 92%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
}

/* ===== 服务器列表表格 ===== */
.server-list {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e4e8ef;
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.server-list thead th {
    background: #f7f9fc;
    color: #34495e;
    padding: 13px 12px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #eaeef5;
    border-top: 1px solid #e4e8ef;
    white-space: nowrap;
}

.server-list col.col-name    { width: 14%; }
.server-list col.col-open    { width: 10%; }
.server-list col.col-feature { width: 28%; }  /* 特色列压缩一点，让位给版本/经验，避免两列挤成同列 */
.server-list col.col-version { width: 11%; }  /* 从 8% 放大，容纳完整徽章并拆成两列 */
.server-list col.col-exp     { width: 10%; }  /* 从 7% 放大，与版本同级别宽度 */
.server-list col.col-line    { width: 9%;  }
.server-list col.col-qq      { width: 10%; }
.server-list col.col-url     { width: 8%;  }

.server-list tbody tr {
    transition: background 0.2s;
}

.server-list tbody tr:nth-child(odd) {
    background: #ffffff;
}

.server-list tbody tr:nth-child(even) {
    background: #fafbfd;
}

.server-list tbody tr:hover {
    background: #eef4fd;
}

.server-list td {
    padding: 13px 12px;
    border: 1px solid #eef1f6;
    font-size: 14px;
    color: #3a4a5e;
    vertical-align: middle;
    text-align: center;
}

/* ===== 游戏名称 ===== */
.game-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
    white-space: nowrap;
}

/* ===== 标签（热门、推荐、新）===== */
.tag {
    display: inline-block;
    padding: 2px 7px;
    font-size: 11px;
    color: #fff;
    border-radius: 3px;
    margin-right: 4px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

.tag-hot { background: #e74c3c; }
.tag-rec { background: #27ae60; }
.tag-new { background: #2f80ed; }

/* ===== 版本特色介绍 ===== */
.feature {
    color: #4a5c72;
    text-align: left;
    line-height: 1.7;
    font-size: 14px;
}

/* ===== 版本徽章（橙色，版本列内的 span：绝不影响 td 显示方式）===== */
.badge-version {
    display: inline-block;
    min-width: 70px;
    color: #e67e22;
    font-weight: 700;
    background: linear-gradient(135deg, #fff4e5 0%, #fff9ee 100%);
    border-radius: 6px;
    padding: 6px 14px;
    text-align: center;
    letter-spacing: 0.3px;
    border: 1px solid #ffe1b8;
    line-height: 1.25;
    vertical-align: middle;
}
/* 保留旧类选择器兼容（如果有），但不能 display:block 否则 td 变块 */
.version {
    text-align: center;
    vertical-align: middle;
}

/* ===== 经验徽章（蓝色，经验列内的 span：绝不影响 td 显示方式）===== */
.badge-exp {
    display: inline-block;
    min-width: 70px;
    color: #2f80ed;
    font-weight: 700;
    background: linear-gradient(135deg, #eef4fd 0%, #f7f9fc 100%);
    border-radius: 6px;
    padding: 6px 14px;
    text-align: center;
    letter-spacing: 0.3px;
    border: 1px solid #d8e6f7;
    line-height: 1.25;
    vertical-align: middle;
}
/* 保留旧类选择器兼容（如果有），但不能 display:block */
.exp {
    text-align: center;
    vertical-align: middle;
}

/* ===== 线路标识（柔和、直观色）===== */
.line-ct  { color: #1677ff; font-weight: 600; }
.line-tel { color: #e67e22; font-weight: 600; }
.line-bgp { color: #16a085; font-weight: 600; }
.line-both{ color: #8e44ad; font-weight: 600; }

/* ===== 客服QQ标识 ===== */
.qq-online {
    color: #27ae60;
    font-weight: 600;
    font-size: 13px;
}
.qq-offline {
    color: #95a5a6;
    font-size: 13px;
}

/* ===== 进入按钮（蓝白风，清爽） ===== */
.btn-enter {
    display: inline-block;
    padding: 7px 20px;
    background: #2f80ed;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #2f80ed;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-enter:hover {
    background: #1f6fd6;
    border-color: #1f6fd6;
    box-shadow: 0 4px 12px rgba(47, 128, 237, 0.25);
    transform: translateY(-1px);
}

.btn-enter:active {
    transform: translateY(0);
}

/* ===== 底部版权 ===== */
.footer {
    background: #ffffff;
    border-top: 1px solid #e4e8ef;
    text-align: center;
    padding: 24px 20px 20px;
    margin-top: 30px;
    color: #7f8c9b;
    font-size: 12px;
    line-height: 1.9;
}

.footer a {
    color: #2f80ed;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* ===== 法律声明 ===== */
.legal-notice {
    margin-top: 14px;
    padding: 10px 16px;
    background: #f7f9fc;
    border: 1px solid #e4e8ef;
    border-radius: 6px;
    font-size: 11px;
    color: #6b7a8f;
    line-height: 1.8;
    text-align: left;
}
.legal-notice .legal-title {
    font-weight: 600;
    color: #2f80ed;
    margin-bottom: 4px;
    font-size: 12px;
}
.legal-notice.warning {
    background: #fff5f5;
    border-color: #f5c6cb;
    color: #8b4545;
    margin-top: 8px;
}
.legal-notice.warning .legal-title {
    color: #c0392b;
}

/* ===== 分隔行 ===== */
.divider {
    background: linear-gradient(to right, transparent, #dde4ef, transparent);
    height: 1px;
    margin: 10px 0;
}

/* ===== 响应式（保持最小宽度）===== */
@media screen and (max-width: 1300px) {
    body {
        min-width: 1300px;
    }
}
