* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

.wp {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top_h {
    background: rgba(10, 10, 10, 0.95);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid #333;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.top_h-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lg_box {
    flex-shrink: 0;
    transition: all 0.4s ease;
    cursor: pointer;
}

.lg_box img {
    width: 140px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    transition: all 0.4s ease;
}

.top_h.scrolled .lg_box img {
    width: 120px;
    height: 50px;
}

.nv_b {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: rgba(30, 30, 30, 0.9);
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    border: 1px solid #333;
    flex-wrap: nowrap;
}

.top_h.scrolled .nv_b {
    padding: 6px 12px;
    border-radius: 6px;
}

.nv_i {
    display: flex;
    align-items: center;
    text-align: center;
    color: #e0e0e0;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 15px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    justify-content: center;
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nv_i:hover {
    transform: translateY(-2px);
    background: rgba(255, 204, 0, 0.1);
}

.nv_i.act {
    background: rgba(255, 204, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.nv_i.act::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../image/dhbj.png') no-repeat center;
    background-size: cover;
    z-index: 1;
    border-radius: 5px;
    opacity: 0.7;
}

.nv_tx {
    position: relative;
    z-index: 2;
}

.main_v {
    margin-top: 100px;
    transition: margin-top 0.4s ease;
}

.top_h.scrolled + .main_v {
    margin-top: 80px;
}

.sl_wrap {
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    position: relative;
    background: #000;
    height: 400px;
    touch-action: pan-y;
}

.sl_box {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sl_box::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.sl_it {
    width: 100%;
    flex: 0 0 auto;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.sl_it img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.sl_inds {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.dot.act {
    background-color: #ffcc00;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255,204,0,0.7);
}

.gm_sec {
    margin-top: 30px;
}

.gm_tt {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #ffcc00;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(50, 50, 50, 0.9));
    border-radius: 15px;
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.1);
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.8),
        0 0 10px rgba(255,204,0,0.5);
    border: 1px solid #444;
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    text-transform: uppercase;
}

.gm_tt::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,204,0,0.2), transparent);
    animation: sh 3s infinite;
}

@keyframes sh {
    0% { left: -100%; }
    100% { left: 100%; }
}

.gm_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gm_c {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 220px;
    position: relative;
}

.gm_c:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,204,0,0.2);
    border-color: #ffcc00;
}

.gm_img_box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.gm_img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    transition: transform 0.5s;
    border-radius: 10px;
}

.gm_c:hover .gm_img {
    transform: scale(1.05);
}

.ft_b {
    background: rgba(10, 10, 10, 0.95);
    color: #aaa;
    text-align: center;
    padding: 25px 15px;
    margin-top: 30px;
    border-top: 1px solid #333;
    position: relative;
}

.ft_b::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
}

.ft_img {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ft_img img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.cpr {
    margin-top: 20px;
    line-height: 1.8;
    opacity: 0.8;
    font-size: 14px;
    position: relative;
    padding: 20px 0;
    text-align: center;
}

.cpr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #ffcc00;
}

.cpr a {
    color: #ffcc00;
    text-decoration: none;
    transition: all 0.3s;
}

.cpr a:hover {
    color: #fff;
    text-decoration: underline;
}

.md_mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.md_mask.act {
    opacity: 1;
    visibility: visible;
}

.md_box {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid #444;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s ease;
    position: relative;
}

.md_box::-webkit-scrollbar {
    width: 6px;
}

.md_box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.md_box::-webkit-scrollbar-thumb {
    background: rgba(255, 204, 0, 0.3);
    border-radius: 3px;
}

.md_box::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 204, 0, 0.5);
}

.md_mask.act .md_box {
    transform: translateY(0) scale(1);
}

.md_hd {
    padding: 20px 25px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 16px 16px 0 0;
    position: relative;
}

.md_hd::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
}

.md_tt {
    font-size: 22px;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.md_cls {
    background: none;
    border: none;
    color: #ffcc00;
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    background: rgba(255, 204, 0, 0.1);
}

.md_cls:hover {
    background: rgba(255, 204, 0, 0.2);
    transform: rotate(90deg);
}

.md_bd {
    padding: 25px;
}

.ag_sec {
    margin-bottom: 30px;
}

.ag_tt {
    font-size: 20px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    position: relative;
}

.ag_tt::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #ffcc00;
}

.ag_tb {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.ag_tb th {
    background: rgba(255, 204, 0, 0.15);
    color: #ffcc00;
    padding: 14px 10px;
    text-align: center;
    border: 1px solid #444;
    font-weight: bold;
}

.ag_tb td {
    padding: 14px 10px;
    text-align: center;
    border: 1px solid #444;
}

.ag_tb tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.ag_tb tr:hover {
    background: rgba(255, 204, 0, 0.08);
}

.reg_frm {
    width: 100%;
}

.f_grp {
    margin-bottom: 22px;
}

.f_lbl {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #e0e0e0;
    font-weight: 500;
}

.f_lbl .req {
    color: #ff5252;
}

.f_ipt {
    width: 100%;
    padding: 14px 16px;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #555;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 15px;
    transition: all 0.3s;
}

.f_ipt:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.15);
    background: rgba(50, 50, 50, 0.9);
}

.f_tip {
    font-size: 14px;
    color: #aaa;
    margin-top: 6px;
    font-style: italic;
}

.f_row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.f_row .f_grp {
    flex: 1;
    margin-bottom: 0;
}

.rf_btn {
    background: rgba(255, 204, 0, 0.8);
    color: #1a1a1a;
    border: none;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    white-space: nowrap;
    height: 50px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.rf_btn:hover {
    background: rgba(255, 204, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.cp_box {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cp_img {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    border: 1px solid #555;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cp_img:hover {
    transform: scale(1.05);
}

.cp_img img {
    max-height: 34px;
    max-width: 90px;
}

.f_act {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.sub_btn, .rst_btn {
    flex: 1;
    padding: 16px 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.sub_btn {
    background: linear-gradient(145deg, #ffcc00, #e6b800);
    color: #1a1a1a;
}

.sub_btn:hover {
    background: linear-gradient(145deg, #ffd633, #ffcc00);
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(255,204,0,0.4);
}

.rst_btn {
    background: rgba(100, 100, 100, 0.8);
    color: #e0e0e0;
}

.rst_btn:hover {
    background: rgba(120, 120, 120, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.4);
}

.f_msg {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.f_msg.ok {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #8bc34a;
    display: block;
}

.f_msg.err {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.4);
    color: #ff5252;
    display: block;
}

.log_ct {
    text-align: center;
    padding: 20px 0;
}

.log_ic {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: rgba(255, 204, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: #ffcc00;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 204, 0, 0.3);
}

.log_tt {
    font-size: 26px;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.log_dsc {
    font-size: 16px;
    color: #bbb;
    margin-bottom: 35px;
    line-height: 1.7;
}

.log_btn {
    display: inline-block;
    background: linear-gradient(145deg, #ffcc00, #e6b800);
    color: #1a1a1a;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.log_btn:hover {
    background: linear-gradient(145deg, #ffd633, #ffcc00);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,204,0,0.4);
}

.log_tip {
    font-size: 14px;
    color: #888;
    margin-top: 20px;
    font-style: italic;
}

.to_top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 204, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.to_top.vis {
    opacity: 1;
    visibility: visible;
}

.to_top:hover {
    background: #ffcc00;
    transform: translateY(-5px);
}

@keyframes pl {
    0% { box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 4px 20px rgba(255,204,0,0.4); }
    100% { box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
}

.gm_c.hl {
    animation: pl 2s infinite;
}

.kf_fix {
    position: fixed;
    right: 18px;
    top: 160px;
    z-index: 999;
}

/* 操作按钮样式 */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    padding: 0 20px;
}

.action-btn {
    flex: 0 0 auto;
    min-width: 160px;
    padding: 16px 30px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.btn-service {
    background: linear-gradient(145deg, #ffcc00, #e6b800);
    color: #1a1a1a;
}

.btn-service:hover {
    background: linear-gradient(145deg, #ffd633, #ffcc00);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255,204,0,0.4);
}

.btn-recharge {
    background: linear-gradient(145deg, #ff6b00, #e65c00);
    color: #fff;
}

.btn-recharge:hover {
    background: linear-gradient(145deg, #ff7b1a, #ff6b00);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255,107,0,0.4);
}

@media(max-width:1024px) {
    .wp {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .gm_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:768px) {
    .top_h-in {
        flex-direction: column;
    }
    
    .lg_box {
        margin-bottom: 10px;
    }
    
    .nv_b {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nv_i {
        flex: 1;
        min-width: 60px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .sl_wrap {
        height: 250px;
        margin: 15px 0;
    }
    
    .sl_inds {
        bottom: 15px;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .md_mask {
        padding: 15px;
    }
    
    .md_box {
        max-height: 85vh;
        border-radius: 12px;
    }
    
    .md_hd {
        padding: 15px 20px;
    }
    
    .md_bd {
        padding: 20px;
    }
    
    .gm_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:480px) {
    .wp {
        padding: 0 10px;
    }
    
    .sl_wrap {
        height: 200px;
        margin: 10px 0;
        border-radius: 8px;
    }
    
    .sl_inds {
        bottom: 10px;
        gap: 6px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .md_mask {
        padding: 10px;
    }
    
    .md_box {
        max-height: 90vh;
        border-radius: 8px;
    }
    
    .md_hd {
        padding: 12px 15px;
        border-radius: 8px 8px 0 0;
    }
    
    .md_tt {
        font-size: 18px;
    }
    
    .md_bd {
        padding: 15px;
    }
    
    .gm_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gm_c {
        height: 170px;
        border-radius: 8px;
    }
    
    .ag_tb {
        font-size: 12px;
    }
    
    .ag_tb th, .ag_tb td {
        padding: 10px 5px;
    }
    
    .f_row {
        flex-direction: column;
        gap: 15px;
    }
    
    .rf_btn {
        width: 100%;
    }
    
    .log_btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}


/* 下载弹窗样式 - iframe版本 */
.dl_modal {
    max-width: 700px;
    max-height: 90vh;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

.dl_modal .md_cls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    font-size: 28px;
}

#downloadIframe {
    width: 100%;
    height: 90vh;
    border: none;
    border-radius: 16px;
}

/* 登录弹窗样式 - iframe版本 */
.lg_modal {
    max-width: 800px;
    max-height: 90vh;
    width: 95%;
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

.lg_modal .md_cls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    font-size: 28px;
}

#loginIframe {
    width: 100%;
    height: 90vh;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#loginIframe::-webkit-scrollbar {
    display: none;
}

.lg_modal {
    overflow: hidden;
}

@media (max-width: 768px) {
    .dl_modal {
        max-width: 500px;
        max-height: 85vh;
    }
    
    .lg_modal {
        max-width: 95%;
        max-height: 85vh;
    }
    
    #downloadIframe,
    #loginIframe {
        height: 85vh;
    }
}
