@charset "utf-8";
html,body,div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
mark,audio,video {margin: 0;padding: 0;border: 0;font: inherit;}
ol, ul,li {list-style: none;}
* { padding: 0; margin: 0 }
img { border: 0 none; vertical-align: middle;font-size: 0;}
ul { list-style: none }
em { font-style: normal }
table { border-collapse: collapse }
textarea { resize: none; overflow-y: auto }
input, textarea {}
a{ text-decoration:none; color: inherit}
html, body { overflow-x: hidden; line-height: normal; background: #000;font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif; }   
/*代码内容*/
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: #0b0d23; 
    color: #d1d6f3;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
ul, li { list-style: none; }

/* 核心：所有图片默认最大宽100%，高度自动，实现基础自适应 */
img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    border: none; 
}

/* ================= 布局结构 ================= */
.page-wrapper {
    width: 100%;
    max-width: 2560px;
    margin: 0 auto;
    background: url(../img/bg-1.jpg) no-repeat center top; 
    min-height: 100vh;
    padding-bottom: 50px;
}

.content-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* 修复图1Bug：顶部占位符。把内容往下推，避开背景图的大字 */
.top-spacer {
    width: 100%;
    height: 495px; /* PC端高度，请根据你实际背景图上的大字高度微调 */
}

/* ================= 图片排版模块 (图2-图5) ================= */

/* 两个并排按钮 (图3和图5) */
.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* PC端两个按钮的间距 */
    margin-bottom: 20px;
}
.button-group a {
    max-width: 40%; /* 限制最大宽度，防止图片过大 */
    cursor: pointer; /* 加上小手鼠标，因为是按钮 */
}

/* 单独的居中标题图 (图4、图2) */
.title-img-center {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.title-img-center img{
    
}
.title-img-center2{
    margin-top: 110px;
}
/* ================= 模块样式 ================= */
.top-image-module {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}


.rules-red{
    font-size: 22px;
    color: #ff3d01;
    text-align: center;
}

/* ================= 表格样式 ================= */
.table-wrapper {
    background-color: rgba(18, 22, 60, 0.8);
    border: 1px solid #3c448c;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 20px;
    margin-bottom: 110px;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    table-layout: fixed; 
    
}
th, td {
    padding: 12px 10px;
    border: 1px solid #2a316b;
    word-wrap: break-word; 
    word-break: normal;
    border-top: 0;
    border-left: 0;
}
th {
    background-color: #dff4fc;
    color: #273465;
    font-weight: normal;
}
.tab-content-bs{
    background: #1f2655;
}


tr:last-child td { border-bottom: none; }
/* 第1、3、5天表格末尾额外加一条横线 */
#day1 tbody tr:last-child td,
#day3 tbody tr:last-child td,
#day5 tbody tr:last-child td {
    border-bottom: 1px solid #2a316b;
}

/* ================= Tab 切换区样式 ================= */
.tabs-nav {
    display: flex;
    background-color: #616899;
    border-bottom: 1px solid #5a66b7;
    color: #273465;
}
.tabs-nav li {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    font-size: 14px;
    color: #8c97cf;
    transition: all 0.3s;
    border: 1px solid #3c448c;
    border-left: 0;
}
.tabs-nav li.active {
    background-color: #dff4fc;
    color: #273465;
    font-weight: bold;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ================= 温馨提示 ================= */
.warm-tips {
    font-size: 14px;
    color: #735dc7;
    margin: 160px 0;
}
.warm-tips h3 {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: normal;
}
.warm-tips ul li {
    position: relative;
    padding-left: 12px;
}
.warm-tips ul li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 10px;
    color: #a44876;
}
.table-wrapper-fjdjl td{
    height: 100px;
}
/* ================= 底部版权区样式 ================= */
.sdo-footer {
    width: 100%;
    background-color: #111111; /* 底部深色背景 */
    padding: 30px 0;
    font-family: "宋体", "SimSun", sans-serif; /* 游戏官网底部通常使用宋体显得更规范 */
    min-width: 1000px; /* 防止在 PC 端缩小窗口时内容挤压换行 */
}

.sdo-footer-inner {
    width: 1000px; /* 内容区固定宽度 */
    margin: 0 auto;
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    justify-content: space-between; /* 左右两端对齐，中间自适应 */
}

/* 1. 左侧 Logo */
.sdo-logo {
    width: 120px;
    flex-shrink: 0;
}
.sdo-logo img {
    max-width: 100%;
    display: block;
}

/* 2. 中间文字信息 */
.sdo-text {
    flex: 1;
    padding: 0 40px; /* 与左右两侧保持间距 */
    color: #777777; /* 灰色文字 */
    font-size: 12px;
    line-height: 22px; /* 控制行高 */
}
.sdo-text p {
    margin: 0;
    display: flex;
    align-items: center; /* 让带图标的那一行垂直居中 */
}
/* 公安小图标特殊处理 */
.icon-gongan {
    margin: 0 4px 0 10px;
    vertical-align: middle;
}

/* 3. 右侧监管图标 */
.sdo-icons {
    display: flex;
    flex-direction: column; /* 图标分两排 */
    gap: 10px; /* 上下排的间距 */
    flex-shrink: 0;
}
.icon-row {
    display: flex;
    align-items: center;
    gap: 10px; /* 图标之间的左右间距 */
}
.icon-row img {
    display: block;
    height: auto;
    cursor: pointer;
}

.page-wrapper-xs {
    width: 100%;
    max-width: 2560px;
    margin: 0 auto;
    background: url(../img/bg-2.jpg) no-repeat center top; 
    min-height: 100vh;
    padding-bottom: 50px;
}

/* ================= 新手引导专属表格 (严格隔离防冲突版) ================= */
.novice-guide-container {
    width: 100%;
   
}

.novice-guide-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
    border-radius: 8px; 
    overflow: hidden;
    /* 重置可能被全局污染的属性 */
    background: transparent; 
}

.novice-guide-table th {
    background-color: #e1f4ff;
    color: #1a2245;
    font-weight: bold;
    font-size: 16px;
    padding: 15px 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2); 
    border-bottom: none; /* 防止全局样式干扰 */
}

.novice-guide-table td {
    border: 1px solid rgba(255, 255, 255, 0.08); 
    padding: 14px 10px;
    color: #d1d8f5;
    font-size: 13px;
    word-wrap: break-word; 
    word-break: normal;
}

/* 竖排文字 */
.novice-vertical-text {
    width: 1.2em;
    margin: 0 auto;
    word-break: break-all;
    line-height: 1.4;
    color: #1a2245;
    font-weight: bold;
    font-size: 28px;
}
 .title-img-mxj{
        width: 80%;
        margin-left: 10%;
        text-align: center;
      
    }
/* --- 色彩分区隔离 --- */

/* 1. 天真冒险家 */
.novice-tbody-green tr:nth-child(odd) td { background-color: #1e2b26; }
.novice-tbody-green tr:nth-child(even) td { background-color: #253630; }
.novice-guide-table .novice-cat-green { background-color: #accbb7 !important; }

/* 2. 有为冒险家 */
.novice-tbody-blue tr:nth-child(odd) td { background-color: #1a2f3f; }
.novice-tbody-blue tr:nth-child(even) td { background-color: #223c50; }
.novice-guide-table .novice-cat-blue { background-color: #9cbccc !important; }

/* 3. 成熟冒险家 */
.novice-tbody-purple tr:nth-child(odd) td { background-color: #2b2a43; }
.novice-tbody-purple tr:nth-child(even) td { background-color: #353351; }
.novice-guide-table .novice-cat-purple { background-color: #a4a1c5 !important; }

/* 4. 专业冒险家 */
.novice-tbody-pink tr:nth-child(odd) td { background-color: #37232f; }
.novice-tbody-pink tr:nth-child(even) td { background-color: #432b39; }
.novice-guide-table .novice-cat-pink { background-color: #c9a4ba !important; }

/* 5. 其他 */
.novice-tbody-other tr:nth-child(odd) td { background-color: #232541; }
.novice-tbody-other tr:nth-child(even) td { background-color: #2a2d4e; }
.novice-guide-table .novice-cat-other { background-color: #a2a8ce !important; }

/* 移动端自适应 */
@media screen and (max-width: 1020px) {
    .novice-guide-table th:nth-child(1) { width: 15%; } 
    .novice-guide-table th:nth-child(2) { width: 35%; }
    .novice-guide-table th:nth-child(3) { width: 50%; }
    .novice-vertical-text { font-size: 16px; width: 1em; }
}

/* ================= 移动端适配 (重点修复区) ================= */
@media screen and (max-width: 1020px) {
    .page-wrapper { background-size: 100% auto; }
    .page-wrapper-xs { background-size: 100% auto; }
    .content-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* 核心修复：背景图在手机端变小了，留白高度使用 vw（视口宽度的百分比），这样就会跟背景图同步缩放，绝不会叠字 */
    .top-spacer { height: 22vw; } 

    /* 手机端按钮间距缩小 */
    .button-group { gap: 10px; }

    /* Tab 标签在手机上分行显示 (上排4个，下排3个) */
    .tabs-nav { flex-wrap: wrap; }
    .tabs-nav li {
        flex: 1 1 25%; 
        padding: 10px 0;
        border-bottom: 1px solid #3c448c; 
        box-sizing: border-box;
    }

    /* 表格文字换行控制 */
    th, td {
        padding: 10px 6px; 
        font-size: 13px; 
        line-height: 1.4;
    }
    th:nth-child(1), td:nth-child(1) { width: 40%; }
    th:nth-child(2), td:nth-child(2) { width: 60%; }
  
   

   
    .title-img-center img{
    width: 35%;
    }   
    .title-img-center{
        margin-top: 3vw;
    }
    .rules-red{
        font-size: 13px;
    }
    .warm-tips h3{
        font-size: 20px;
    }
    .warm-tips ul li{
        font-size: 12px;
    }
    .warm-tips{
        margin: 5vh 0;
    }
    .page-wrapper{
       padding-bottom: 0;
    }
    .table-wrapper {
   
    margin-bottom: 10px;
    }   
}
/* 外层容器：对应你的 .rules-text */
.rules-text {
    width: 100%;
    max-width: 800px; /* 限制最大宽度，防止在大屏上被拉得太宽 */
    margin: 0 auto 10px; /* 水平居中，底部留出 40px 间距 */
    
    /* 背景图设置 */
    background: url(../img/05.png) no-repeat center center; 
    background-size: 100% 100%;
    
    /* 核心稳定魔法：锁定宽高比。
       【注意】请把 800 / 160 替换成你这张背景边框图的实际 宽度 / 高度。
       比如图是 1000x200，就写 1000 / 200 */
    aspect-ratio: 800 / 160; 

    /* Flex 居中，把内部的 .rules-text-nr 锁死在正中间 */
    display: flex;
    justify-content: center;
    align-items: center;
    
    padding: 0 5%; /* 左右留点安全距离 */
    box-sizing: border-box; /* 确保 padding 不会撑大外框 */
}

/* 内层文字块：对应你的 .rules-text-nr */
.rules-text-nr {
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    line-height: 2; 
    letter-spacing: 1px; 
    font-size: 20px;
}

/* 清除 p 标签自带的默认外边距，让垂直居中更绝对 */
.rules-text-nr p {
    margin: 0; 
}
/* 移动端自适应覆盖 (如果此页面需要在手机上展示完整底部) */
@media screen and (max-width: 1020px) {
    .sdo-footer {
        min-width: 100%;
        padding: 20px 10px;
    }
    .sdo-footer-inner {
        width: 100%;
        flex-direction: column; /* 手机端改为垂直排列 */
        gap: 20px;
        text-align: center;
    }
    .sdo-text {
        padding: 0;
    }
    .sdo-text p {
        justify-content: center; /* 文字居中 */
        flex-wrap: wrap;
    }
    .sdo-icons {
        align-items: center;
    }
    .icon-row {
        justify-content: center;
        flex-wrap: wrap; /* 手机端图标允许折行 */
    }
     .rules-text {
        /* 核心修复 1：解除锁定！否则在手机上框会被压扁到只有70多像素高 */
        aspect-ratio: auto; 
        
        /* 核心修复 2：给一个安全的保底高度，确保能装下3行字 */
        min-height: 130px; 
        padding: 20px 5%; /* 用内边距把上下撑开 */
    }
    
    .rules-text-nr {
        font-size: 13px; 
        line-height: 1.6; /* 稍微缩紧一点行高 */
    }
}

.button-group img:hover{
     transition: all 0.25s ease 0s;
    transform: scale3d(0.98,0.98,1); 
    opacity: 0.7;
    cursor: pointer;
}

  /* ================= 规则区域样式 (完美适配你的 HTML 结构) ================= */


  /* ================= 官方通用顶栏 (源自 https://dnact.web.sdo.com/header/) ================= */
.dn-top-header {
    width: 100%;
    height: 58px;
    background: #242222;
    border-bottom: 1px #191818 solid;
    min-width: 1002px;
    position: relative;
    z-index: 9999;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}
.dn-top-header .dn-wrap-inner {
    width: 100%;
    margin: 0 auto;
    min-width: 1002px;
}
.dn-top-header .dn-clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.dn-top-header .dn-clearfix { *display: inline-block; *zoom: 100%; }
.dn-top-header .fl { float: left; }
.dn-top-header .fr { float: right; }

.dn-top-header .dn-logo {
    display: block;
    width: 178px;
    height: 58px;
    background: url(https://static.web.sdo.com/dn/pic/dn_act/2017111xzy/logo_03.jpg) no-repeat center;
}
.dn-top-header .dn-line {
    width: 2px;
    height: 30px;
    background: #3c3c3c;
    margin: 14px 10px 0 20px;
    float: left;
}
.dn-top-header .dn-header-left ul li {
    background: url(https://static.web.sdo.com/dn/pic/dn_act/2017111xzy/point_06.png) no-repeat left center;
    line-height: 58px;
    height: 58px;
    float: left;
    display: block;
    padding: 0 16px 0 20px;
}
.dn-top-header .dn-header-left ul li a {
    color: #9f9ed1;
    font-weight: 600;
    text-decoration: none;
}
.dn-top-header .dn-header-left ul li img {
    display: inline;
    margin-left: 7px;
    border: none;
}
.dn-top-header .dn-header-right ul {
    margin-right: 40px;
}
.dn-top-header .dn-header-right ul li {
    float: left;
    display: block;
    height: 58px;
    line-height: 58px;
    margin-right: 65px;
    list-style: none;
}
.dn-top-header .dn-header-right ul li a {
    color: #797979;
    font-weight: 600;
    text-decoration: none;
}
.dn-top-header .dn-header-right ul li a:hover { color: #c8c8c8; }
.dn-top-header .dn-header-left ul li a:hover { color: #fff; }

/* H5 适配：1020px 以下上下两排居中，彻底杜绝换行 */
@media screen and (max-width: 1020px) {
    .dn-top-header {
        min-width: 0;
        height: auto;
        padding: 8px 10px 5px;
    }
    .dn-top-header .dn-wrap-inner {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .dn-top-header .dn-line { display: none; }
    .dn-top-header .fl { float: none; }
    .dn-top-header .fr { float: none; }

    /* 上排：logo + 活动链接 */
    .dn-top-header .dn-header-left {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .dn-top-header .dn-logo {
        width: 90px;
        height: 38px;
        background-size: contain;
        flex-shrink: 0;
    }
    .dn-top-header .dn-header-left ul {
        display: flex;
        align-items: center;
    }
    .dn-top-header .dn-header-left ul li {
        padding: 0 8px;
        line-height: 38px;
        height: 38px;
        font-size: 13px;
        float: none;
        background-size: 14px auto;
    }
    .dn-top-header .dn-header-left ul li img {
        width: 20px;
        height: auto;
        margin-left: 3px;
    }

    /* 下排：注册 / 下载 / 充值 / 活动中心 */
    .dn-top-header .dn-header-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .dn-top-header .dn-header-right ul {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-right: 0;
    }
    .dn-top-header .dn-header-right ul li {
        margin-right: 0;
        line-height: 30px;
        height: 30px;
        font-size: 13px;
        float: none;
    }
}


