* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-weight: bold;
  font-family: '方正小篆', '华文仿宋篆', '庞门正道篆书', serif;
}

/* ===== 全局滚动条样式 ===== */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
  background: #583c25;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #e8c68b;
}

.app-container {
  background: url('../images/main.jpg') no-repeat center/100% 100%;
  height: 2160px;
  max-width: 1920px;
  position: relative;
  margin: 0 auto;
  min-width: 1400px;
}

.login-btn {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 190px;
  height: 63px;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.middleX {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
}

.middleXY {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

.rebate-container {
  width: 1440px;
  height: 760px;
  top: 1230px;
  transform: translateX(-52%);
  background: url('../images/actMain.png') no-repeat center/100% 100%;
}

.rebate-info {
  margin-top: 115px;
  margin-left: 40px;
  width: 80%;
  height: 400px;
}

.rebate-info .rebate-item {
  display: flex;
  justify-items: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #362b29;
  font-size: 34px;
  line-height: 75px;
  flex: 1;
}

.rebate-btns {
  margin-top: 530px;
  width: 50%;
  transform: translateX(-44%);
  justify-content: space-around;
}

.rebate-btns .rebates {
  background: url(../images/btn0.png) no-repeat top center / 100% 100%;
  width: 220px;
  height: 65px;
  color: #fce9bd;
  font-size: 28px;
  text-align: center;
  letter-spacing: 10px;
  text-indent: 15px;
  top: 0;
}

.rebate-btns .rebates-rule {
  background: url(../images/btn2.png) no-repeat top center / 100% 100%;
  font-size: 28px;
  letter-spacing: 10px;
  top: 0;
}

.activity-time-modal {
  width: 635px;
  height: 379px;
  position: fixed;
  background: url('../images/carefulPopup.png') no-repeat center/100% 100%;
  z-index: 2;
}

.rebate-tips {
  background: url(../images/tipPopup.png) no-repeat center / 100% 100%;
  position: absolute;
  transform: translateX(-74%);
  left: 40%;
  margin-top: 225px;
  color: #362b29;
  font-size: 24px;
  text-align: left;
  width: 399px;
  height: 138px;
  line-height: 30px;
  letter-spacing: 4px;
  padding-top: 18px;
  font-weight: 400;
}

.activity-time-content {
  margin-top: 110px;
  text-align: center;
  color: #644e31;
  font-size: 22px;
  line-height: 2;
  flex-direction: column;
}

.activity-time-content p {
  width: 100%;
}

.close-btn {
  top: 30px;
  right: 35px;
  position: absolute;
  width: 42px;
  height: 43px;
  background: url('../images/closePopup.png') no-repeat center/100% 100%;
}

.popupToolBtn {
  position: absolute;
  bottom: 35px;
  width: 200px;
  height: 88px;
  color: #ffffff;
  text-decoration: none;
  font-size: 26px;
  text-shadow: -2px -2px 0 #6d4e2a, 2px -2px 0 #6d4e2a, -2px 2px 0 #6d4e2a, 2px 2px 0 #6d4e2a, -2px 0px 0 #6d4e2a, 2px 0px 0 #6d4e2a,
    0px -2px 0 #6d4e2a, 0px 2px 0 #6d4e2a;
  background: url('../images/popupBtn1.png') no-repeat center/100% 100%;
}

/* ===== 模态背景 ===== */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.popup-mask {
  z-index: revert-layer;
  width: 100%;
  height: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 登录卡片 ===== */
.login-card {
  background: #ffffff;
  border-radius: 8px;
  width: 95%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: slideDown 0.3s ease;
  position: relative;
}

/* ===== 头部 ===== */
.login-header {
  padding: 45px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f0f0f0;
  width: 90%;
  margin: 0 auto;
}

.login-logo {
  width: 155px;
  height: 83px;
  margin: 10px;
  position: absolute;
}

.login-close {
  width: 35px;
  height: 35px;
  transition: all 0.3s;
  position: absolute;
  right: 25px;
  border: none;
  background: url('../images/close.png') no-repeat center/100% 100%;
}

.login-close:hover {
  transform: rotate(90deg);
  cursor: pointer;
}

/* ===== 标签页 ===== */
.login-tabs {
  display: flex;
  padding: 20px 30px 0;
  gap: 0;
}

.login-tab-button {
  padding: 0 20px 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #999;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}

.login-tab-button.active {
  color: #3db0c9;
}

.login-tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #3db0c9;
}

.login-tab-button:hover {
  color: #3db0c9;
}

/* ===== 表单内容 ===== */
.login-content {
  padding: 30px;
  min-height: 320px;
}

.login-tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.login-tab-pane.active {
  display: block;
}

/* ===== 表单组 ===== */
.login-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
}

.login-form-group.code-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.login-form-group label {
  display: block;
  color: #666;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 500;
}

/* ===== 输入框 ===== */
.login-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #d8d8d8;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  background: #ffffff;
  font-weight: 500;
}

.login-input::placeholder {
  color: #bbb;
}

.login-input:focus {
  outline: none;
  border-color: #3db0c9;
  box-shadow: 0 0 0 3px rgba(53, 168, 212, 0.1);
}

/* ===== 验证码输入框 ===== */
.login-input-with-button {
  display: flex;
  gap: 10px;
  align-items: center;
}

.login-input-with-button .login-input {
  flex: 1;
}

/* ===== 验证码按钮 ===== */
.login-code-btn {
  padding: 14px 16px;
  background: #3db0c9;
  border: none;
  border-radius: 0 4px 4px 0;
  color: white;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 110px;
  text-align: center;
  white-space: nowrap;
  margin-left: -12px;
  height: 48px;
}

.login-code-btn:hover {
  background: #3db0c9;
}

.login-code-btn:disabled {
  background: #bbb;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ===== 密码显示按钮 ===== */
.login-input-password {
  position: relative;
  width: 100%;
}

.login-input-password .login-input {
  width: 100%;
  padding-right: 45px;
}

.login-password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 18px;
  transition: color 0.3s;
}

.login-password-toggle:hover {
  color: #3db0c9;
}

/* ===== 账号选择框 ===== */
.user-popup {
  position: fixed;
  width: 550px;
  background: #fff;
  min-height: 500px;
  z-index: 101;
  padding: 20px;
}

.user-popup .login-close {
  margin-top: -20px;
}

.userListTips {
  color: #333;
  line-height: 40px;
}

.userList {
  overflow: auto;
}
.userList ul {
  height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
}

.userList li {
  color: #38393b;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 40px;
  margin: 10px auto;
  padding: 0 10px;
}

.userList li p {
  padding: 0;
  margin: 0;
}

.userList li p span {
  color: #4c7ec9;
}

.userLoginBtn {
  background: #06b2cb;
  padding: 2px 15px;
  color: #fff;
  cursor: pointer;
}

/* ===== 协议复选框 ===== */
.login-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.login-agreement input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #3db0c9;
  flex-shrink: 0;
}

.login-agreement-text {
  flex: 1;
}

.login-agreement-link {
  color: #3db0c9;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}

.login-agreement-link:hover {
  color: #3db0c9;
  text-decoration: underline;
}

/* ===== 登录按钮 ===== */
.login-submit-btn {
  width: 100%;
  padding: 16px;
  background: #3db0c9;
  border: none;
  border-radius: 25px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.login-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(53, 168, 212, 0.3);
}

.login-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== 底部链接 ===== */
.login-footer-links {
  text-align: center;
  color: #999;
  font-size: 12px;
  margin-top: 15px;
}

.login-footer-link {
  color: #3db0c9;
  text-decoration: none;
  cursor: pointer;
  margin: 0 5px;
  transition: color 0.3s;
}

.login-footer-link:hover {
  color: #3db0c9;
  text-decoration: underline;
}

/* ===== 加载状态 ===== */
.login-loading {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 6px;
  vertical-align: -2px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== 提示信息 ===== */
.login-error-tip {
  color: #f4615f;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.login-error-tip.show {
  display: block;
}

.rebates {
  background: url(../images/btn1.png) no-repeat top center/100% 100%;
  width: 330px;
  height: 125px;
  top: 825px;
  color: #a95e59;
  font-size: 34px;
  text-align: center;
  letter-spacing: 10px;
  text-indent: 15px;
}

.rebates-rule {
  background: url(../images/btn0.png) no-repeat top center/100% 100%;
  width: 220px;
  height: 65px;
  top: 940px;
  color: #fce9bd;
  font-size: 28px;
  text-align: center;
  letter-spacing: 10px;
  text-indent: 15px;
}

.rebates-tip {
  font-size: 22px;
  color: #a95e59;
  text-align: center;
  letter-spacing: 3px;
  width: 100%;
  margin: 8px auto;
  top: 1049px;
}

.rebates-tip1 {
  top: 1086px;
}

.rebates-login {
  font-size: 24px;
  color: #362b29;
  text-align: center;
  width: 100%;
  margin: 8px auto;
  top: 1200px;
}

.rebates-login a {
  color: #672718;
}

/* ===== 规则弹窗 ===== */
.rule-popup {
  background: url(../images/rulePopup.png) no-repeat top center/100% 100%;
  width: 640px;
  height: 648px;
  position: fixed;
}
.guide-popup{
  background: url(../images/guidePopup.png) no-repeat top center/100% 100%;
}

.rule-popup .rule-cont {
  height: 460px;
  width: 80%;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 20px;
  color: #3c2919;
  line-height: 50px;
  margin-top: 120px;
  font-weight: 400;
}

.rule-popup .rule-cont p {
  padding: 0 15px;
}

.secondary-close {
  width: 42px;
  height: 43px;
  position: absolute;
  right: 55px;
  top: 50px;
  border: none;
  background: url(../images/closePopup.png) no-repeat center / 100% 100%;
}

/*  ===== 区服和角色选择 ===== */

.tck-server {
  background: url(../images/toolPopup.png) no-repeat top center / 100% 100%;
  position: fixed;
  z-index: 101;
  width: 650px;
  min-height: 480px;
}

.select {
  padding: 90px 50px 0;
  color: #644e31;
  font-weight: 400;
}

.server-checkbox {
  color: #644e31 !important;
}

.server-checkbox a {
  color: #644e31 !important;
}

.dropdown {
  position: absolute;
  top: 60px;
  left: 135px;
  width: 414px;
  background: white;
  border: 1px solid #ccc1b0;
  border-radius: 5px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  line-height: 30px;
  font-size: 20px;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.select li {
  position: relative;
  background: url(../images/selectBg.png) no-repeat right center;
  width: 100%;
  height: 69px;
  line-height: 69px;
  padding: 5px 0;
  font-size: 24px;
  margin: 15px auto;
}

.select li > div {
  position: relative;
  height: 100%;
}

#select-server,
#select-role {
  position: absolute;
  right: 0px;
  top: 0;
  color: #948a7a;
  font-size: 20px;
  width: 340px;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  padding-right: 70px;
}

#select-server:hover,
#select-role:hover {
  color: #644e31;
}

.sure {
  background: url(../images/popupBtn1.png) no-repeat top center / 100% 100%;
  width: 200px;
  height: 88px;
  color: white;
  cursor: pointer;
  margin-top: 20px;
  text-align: center;
  font-size: 30px;
}

.van-checkbox__icon--checked .van-icon,
.van-checkbox__icon .van-icon {
  margin: 0 20px 0 0;
}

.van-checkbox__label {
  line-height: 25px;
}

/* ===== 弹窗部分 ===== */
.notice-popup {
  padding: 0 44px;
  background: url(../images/carefulPopup.png) no-repeat top center/100% 100%;
  width: 615px;
  height: 379px;
  position: fixed;
}

.notice-popup .noticeTips {
  font-size: 22px;
  color: #674d2f;
  text-align: center;
  font-weight: 400;
  width: 100%;
  margin: 8px auto;
  top: 1200px;
}

.notice-popup .noticeTips div {
  width: 100%;
}

.notice-popup .noticeTips div:nth-child(1) {
  height: 150px;
  margin-top: 90px;
  line-height: 40px;
}

.notice-popup .secondary-close {
  top: 30px;
}

.notice-btn {
  background: url(../images/popupBtn1.png) no-repeat top center / 100% 100%;
  width: 200px;
  height: 88px;
  color: white;
  font-size: 24px;
  text-align: center;
  letter-spacing: 10px;
  text-indent: 15px;
  margin: 10px 20px;
  line-height: 30px;
}

.notice-btn2 {
  background: url(../images/popupBtn2.png) no-repeat top center / 100% 100%;
}
.van-checkbox__icon {
  font-size: 25px;
}
.allRecharge{
  position: absolute;
  top: 147px;
  left: 228px;
  color: #672718;
  font-size: 22px;
  z-index: 2;
  cursor: pointer;
}
/* 充值明细弹窗样式 */
.recharge-detail-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  background: white;
  border-radius: 10px;
  z-index: 2000;
  padding: 20px;
}

.recharge-detail-header {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.recharge-detail-content {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
}
.recharge-item{
  padding: 10px;
}


.recharge-info {
  color: #38393b;
  background: #f2f2f2;
  line-height: 40px;
  margin: 10px auto;
  padding: 0 10px;
}

.recharge-amount {
  font-weight: bold;
  color: #e4393c;
}

.recharge-account, .recharge-time {
  font-size: 14px;
  color: #666;
}

.no-recharge-data {
  text-align: center;
  padding: 30px;
  color: #999;
}

.recharge-detail-footer {
  text-align: center;
}

.recharge-detail-btn {
  width: 100px;
  height: 36px;
  line-height: 36px;
  background: #06b2cb;
  color: white;
  border-radius: 4px;
  margin: 0 auto;
}
.redColor{
  color: red;
}
.guideBtn{
  width: 248px;
  height: 93px;
  font-size: 23px;
  text-indent: 10px;
  position: absolute;
  top: 114px;
  right: 167px;
  letter-spacing: 4px;
  z-index:2;
}