/* 字体定义 - 整合所有@font-face规则，去重 */
@font-face {
    font-family: myFont;
    src: url('../fonts/NeverMind Serif Medium DemiBold.ttf'); /* 替换原myFont的Montserrat，保留style1的最新定义 */
}

@font-face {
    font-family: myFont01;
    src: url('../fonts/Asap Bold.ttf');
}

/* 全局字体样式 - 合并重复选择器，去重 */
html,
.uk-h1,
.uk-h2,
.uk-h3,
.uk-h4,
.uk-h5,
.uk-h6,
.uk-heading-2xlarge,
.uk-heading-large,
.uk-heading-medium,
.uk-heading-small,
.uk-heading-xlarge,
.uk-button,
.uk-navbar-nav>li>a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a,
span {
    font-family: myFont01!important;
}

/* 全局基础样式 */
body {
    margin: 0 auto;
    min-width: 1400px;
    background: linear-gradient(180deg, #23cd01 0%, #118800 100%);
    background-size: 100px, cover;
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

/* 通用样式类 */
.uk-font-01 {
    font-family: myFont01!important;
}

.my-radius {
    border-radius: 15px;
}

.my-radius2 {
    border-radius: 50px;
}

.my-radius3 {
    border-radius: 30px;
}

/* 下载按钮 */
.z_download {
    width: 300px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/d_btn.svg) center/contain no-repeat;
    color: white;
    font-size: 2.2rem;
    text-decoration: none;
    font-weight: bold;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
    font-family: myFont01 !important;
    padding-top:5px;
}

.z_download:hover {
    background: url(../img/d_btn_hover.svg) center/contain no-repeat;
    color: white;
    text-decoration: none;
}

/* 充值按钮 */
.z_recharge {
    width: 300px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/d_btn.png) center/contain no-repeat;
    color: white;
    font-size: 2.2rem;
    text-decoration: none;
    font-weight: bold;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
    font-family: myFont01 !important;
    padding-top:5px;
}

.z_recharge:hover {
    background: url(../img/d_btn_hover.png) center/contain no-repeat;
    color: white;
    text-decoration: none;
}

/* 文本颜色 */
.uk-text-white { 
    color: #FFF; 
}

/* 导航栏样式 */
.x-navbar-nav {
    gap: 0;
    border-bottom: solid 5px #274493;
}

.x-navbar-nav>li {
    width: 100%;
    height: auto;
    padding: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.x-navbar-nav>li>a {
    color: #FFF;
    font-family: myFont01 !important;
    font-size: 1.5rem;
}

.x-navbar-nav>li:hover>a,
.x-navbar-nav>li>a[aria-expanded=true] {
    color: #FFF
}

.x-navbar-nav>li:nth-child(odd) {
    background: url(../img/nav_f_btn.png) 0 0 no-repeat;
    transition: background 0.3s ease-in-out;
    background-size: cover;
}

.x-navbar-nav>li:nth-child(even) {
    background: url(../img/nav_s_btn.png) 0 0 no-repeat;
    transition: background 0.3s ease-in-out;
    background-size: cover;
}

.x-navbar-nav>li:nth-child(odd):hover {
    background: url(../img/nav_f_btn_hover.png) 0 0 no-repeat;
    background-size: cover;
}

.x-navbar-nav>li:nth-child(even):hover {
    background: url(../img/nav_s_btn_hover.png) 0 0 no-repeat;
    background-size: cover;
}

/* 背景样式 */
.gm-bg {
    background: #8cab46;
}

.gm-bg h1,
.gm-bg h2,
.gm-bg h3,
.gm-bg h4,
.gm-bg h5,
.gm-bg h6 {
    color: #FFF;
}

/* 轮播边框 */
.slide_border {
    border: solid 5px #a8e4a0;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
}

.slide_border:hover {
    box-shadow:
        0 0 20px rgba(230, 251, 255, 0.8),
        inset 0 0 50px rgba(0, 0, 0, 0.3);
}

.gdb-bg {
    width: 100%;
    background: url(../img/gdb-bg.png) 0 0 no-repeat;
    background-size: cover;
}

/* 内边距 */
.x-padding-large { 
    padding: 120px; 
}

.gdb-m-bg h1,
.gdb-m-bg h2,
.gdb-m-bg h3,
.gdb-m-bg h4,
.gdb-m-bg h5,
.gdb-m-bg h6 {
    color: #ffb206;
}

.gdb-subnav { 
    background: #8cbd5a; 
    border: solid 6px #605c43;
}

/* 子导航样式 */
.x-uk-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    list-style: none;
    border-bottom: solid 3px #605c43;
    background-image: -moz-linear-gradient( 90deg, rgb(92,133,58) 0%, rgb(170,198,79) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(92,133,58) 0%, rgb(170,198,79) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(92,133,58) 0%, rgb(170,198,79) 100%);
}

.x-uk-subnav> * {
    display: block;
    line-height: 80px;
    border-right: solid 1px #605c43;
}

.x-uk-subnav > *:last-child {
    border-right: none;
}

.x-uk-subnav>*>:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: .25em;
    color: #90ffb1;
    font-size: .875rem;
    text-transform: uppercase;
    transition: .1s ease-in-out;
    transition-property: color,background-color
}

.x-uk-subnav>*>a:hover {
    color: #FFF;
    text-decoration: none
}

.x-uk-subnav>.uk-active>a {
    color: #FFF;
    background-image: -moz-linear-gradient( 90deg, rgb(170,198,79) 0%, rgb(92,133,58) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(170,198,79) 0%, rgb(92,133,58) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(170,198,79) 0%, rgb(92,133,58) 100%);
}

.x-uk-subnav>.uk-disabled>a {   
    color: #999
}

/* 关闭按钮 */
.x-close {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    background: url(../img/g_close.svg) 0 top no-repeat;
    color: #FFF;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    border: none;
}

/* 自定义滚动条样式 */
.uk-modal-body::-webkit-scrollbar {
    width: 10px;
}

.uk-modal-body::-webkit-scrollbar-track {
    background: #8a642b;
    border-radius: 10px;
}

.uk-modal-body::-webkit-scrollbar-thumb {
    background: #b38137;
    border-radius: 10px;
    border: solid 1px #8a642b;
}

.uk-modal-body::-webkit-scrollbar-thumb:hover {
    background: #f6e7d0;
}

.g-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.g-scrollbar::-webkit-scrollbar-track {
    background: #088d29;
    border-radius: 10px;
}

.g-scrollbar::-webkit-scrollbar-thumb {
    background: #6ed854;
    border-radius: 10px;
    border: solid 1px #50b636;
}

.g-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #c681ff;
}

/* 页脚样式 */
.footer-bg {
    background: #605c43;
    height: auto;
    padding: 30px 160px;
}

/* style1.css 新增样式 */
.x-price-h1 {
    font-size: 3.5rem;
}

.x-dl {
    border: solid 1px #ccc;
    width: 120px;
    text-align: center;
    border-radius: 50px;
    margin-top: 5px;
    background-color: #FFF;
}

.x-dl-input {
    width: 40px;
    height: 25px;
    border-top: none;
    border-bottom: none;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    text-align: center;
}

.x-dl-btn {
    width: 30px;
    border: none;
    background: none;
    cursor: pointer;
}

.uk-form-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2%;
    width: 50vw;
    display: inline-flex;
    justify-content: left;
    align-items: center;
    color: #999;
}

.uk-form-icon:not(.uk-form-icon-flip)~.uk-input {
    padding-left: 35vw!important;
}

.x-inline-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
}

.x-input-group-addon {
    display: table-cell;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #F5F5F5;
    border: 1px solid #ccc;
    width: 10%;
    white-space: nowrap;
    vertical-align: middle;
}

.x-input-group-addon:first-child {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.x-input-group-addon:last-child {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.x-input {
    display: table-cell;
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
    height: 60px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #F5F5F5;
    background-image: none;
    border: 1px solid #ccc;
    border-left: 0;
    border-right: 0;
}

.x-input-two {
    display: table-cell;
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
    height: 60px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}

.x-input-three {
    display: table-cell;
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
    height: 60px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #FFF;
    background-image: none;
    border: 1px solid #ccc;
    border-right: 0;
    border-left: 1px solid #ccc;
}

.gradient-button {
    background: linear-gradient(to bottom, #4CAF50, #8BC34A);
    color: white;
    transition: all 0.3s ease;
}

.gradient-button:hover {
    background: linear-gradient(to right, #8BC34A, #4CAF50);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: white;
    font-weight: bold;
}


 /* 1. 隐藏原生radio按钮，保留功能 */
    .x-radio-payment {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
        pointer-events: none;
    }

    /* 2. 支付卡片基础样式 */
    .x-card-payment {
        cursor: pointer;
        transition: all 0.2s ease;
        border: 2px solid transparent;
        border-radius: 10px;
    }

    /* 3. 选中状态样式（高亮/边框/背景） */
    .x-card-payment.card-payment-selected {
        border-color: #1e87f0; /* UIkit主色 蓝色边框 */
        background-color: #f0f7ff; /* 浅蓝色背景 */
        box-shadow: 0 2px 8px rgba(30,135,240,0.15);
    }

    /* hover效果（可选） */
    .x-card-payment:hover {
        border-color: #e5e5e5;
    }