@font-face {
    font-family: myFont;
    src: url('../fonts/Montserrat-Regular.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,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
a {
    font-family: myFont;
}

body {
    margin: 0;
}
.uk-text-white{ color: #fff; }
.gm-bottom-bg{ position: relative; background: #834d35; padding: 30px 15px; border-radius: 20px; border: 6px solid #634b33;}
.gm-game-title {
    font-size: 32px;
    font-weight: 900;
    color: #3d2f1f;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 25px 25px 25px;
    color: #FFF;
    text-shadow: 1px 1px 1px #666;
}

.gm-bundle-info {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 25px;
    border-bottom: 1px solid #b9e3ff;
}

.gm-bundle-name {
    font-size: 30px;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 12px;
}

.gm-bundle-price {
    font-size: 42px;
    font-weight: 900;
    color: #FFF;
    margin-bottom: 20px;
}


.gm-quantity-control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 15px 0 0 0;
}

.gm-qty-btn {
    width: 44px;
    height: 44px;
    background: radial-gradient(circle at center, #ffef61 0%, #ffbd0c 100%);
    border: 3px solid #ffcf25;
    border-radius: 8px;
    color: #FFF;
    text-shadow: 1px 1px 1px #666;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.gm-qty-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #e6a800;
}
.gm-qty-input {
    width: 70px;
    height: 44px;
    background: #fff4e3;
    border: 3px solid #e6a800;
    border-radius: 8px;
    text-align: center;
    margin: 0 5px;
    font-size: 20px;
    font-weight: bold;
    color: #3d2f1f;
}

.gm-payment-subtitle {
    font-size: 26px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    margin: 0 0 22px 0;
    letter-spacing: 1px;
}

.gm-payment-form-box {
    background: #6f3c2b;
    border-radius: 12px;
    padding: 30px;
    color: #FFF;
    height: 500px;
}
/* WebKit 内核滚动条美化（Chrome / Edge / Safari）*/
.gm-payment-form-box::-webkit-scrollbar {
  width: 5px; /* 滚动条宽度 */
}

/* 滚动条轨道 */
.gm-payment-form-box::-webkit-scrollbar-track {
  background: #d2b160;
  border-radius: 10px;
  margin: 8px 0;
}

/* 滚动条滑块 */
.gm-payment-form-box::-webkit-scrollbar-thumb {
  background: #efda7f;
  border-radius: 10px;
  transition: all 0.2s ease;
}

/* 滚动条滑块 hover */
.gm-payment-form-box::-webkit-scrollbar-thumb:hover {
  background: #3A72B0;
}

/* 滚动条滑块 按下 */
.gm-payment-form-box::-webkit-scrollbar-thumb:active {
  background: #2B5A90;
}

.gm-game-input {
    width: 100%;
    height: 50px!important; 
    box-sizing: border-box;
    background: #fff4e3;
    border: 3px solid #FFF;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 16px;
    color: #3d2f1f;
    margin-bottom: 16px;
    outline: none;
}

.gm-game-input:focus {
    border-color: #489cd8;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.gm-form-label {
    display: block;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 16px;
}

.gm-btn-group {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.gm-btn-confirm {
    padding: 20px 80px;
    border-radius: 20px;
    border: 4px solid #ffd320;
    background: radial-gradient(circle at center, #ffef61 0%, #ffbd0c 100%);
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 1px #666;
    text-align: center;
}
.gm-btn-confirm:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #e69a00;
}
.gm-btn-cancel {
    padding: 20px 80px;
    border-radius: 20px;
    border: 4px solid #05a81b;
    background: radial-gradient(circle at center, #6eff61 0%, #03bb12 100%);
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 1px #666;
    text-align: center;
}
.gm-btn-cancel:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #e69a00;
}
.uk-text-xsmall{ font-size: 0.75rem; }
/* 选中卡片样式 */
.card-selected {
    border: 3px solid #179d01;
    transition: all 0.1s ease-in-out;
}

/* 隐藏radio按钮但保留功能 */
.x-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* 选中卡片中的radio按钮样式 */
.card-selected .uk-radio:checked {
    background-color: #1e87f0;

}

/* 隐藏radio按钮但保留功能 */
.x-radio-payment {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.x-card-payment {
    position: relative;
    border: solid 1px #a389ff;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    font-size: 13px;
}

/* 选中卡片样式 */
.card-payment-selected {
    border: 2px solid #FFF;
    transition: all 0.1s ease-in-out;
    padding: 1px;
}