
/* 弹窗基础样式 黑金 */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  z-index: 9999;
}
.modal.active {
  display: flex;
}
.modal-card {
  background: #080808;
  border: 1px solid #d4af3780;
  border-radius: 16px;
  padding: 32px 20px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.modal-sm {
  max-width: 400px;
}
.modal-tiny {
  max-width: 340px;
}

/* 锁图标 */
.lock-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.lock-icon::before {
  content: "🔒";
  font-size: 60px;
}

/* 文字样式 */
.text-red {
  color: #ff6666;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}
.text-gray {
  color: #aaaaaa;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 32px;
}
.text-white-lg {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}
.text-gray-sm {
  color: #999;
  font-size: 14px;
  margin-bottom: 24px;
}
.text-gold-lg {
  color: #d4af37;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 12px;
}
.text-yellow {
  color: #ffdd22;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* 金色按钮 触摸适配 */
.btn-gold {
  width: 100%;
  padding: 16px 0;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #b8860b, #ffd700);
  color: #000;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 0 16px #ffd70050;
  cursor: pointer;
  transition: 0.2s;
  min-height: 48px;
}
.btn-gold:hover {
  opacity: 0.9;
}
.btn-gold:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* 手机号输入框容器 */
.phone-input-wrap {
  border: 1px solid #d4af3770;
  border-radius: 12px;
  padding: 16px 12px;
  background: #100d00;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 10px;
}

/* 号码错误提示 */
.error-tip {
  color: #ff5555;
  font-size: 14px;
  text-align: left;
  margin-bottom: 20px;
  display: none;
}
.error-tip.show {
  display: block;
}

/* 国家区号下拉组件 */
.country-select {
  position: relative;
  min-width: 100px;
}
.select-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 16px;
}
.flag-img {
  width: 22px;
  height: 14px;
  object-fit: cover;
}
.country-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  width: min(300px, calc(100vw - 40px));
  max-height: 280px;
  background: #080808;
  border: 1px solid #d4af3780;
  border-radius: 8px;
  overflow-y: auto;
  display: none;
  z-index: 99999;
}
.country-search {
  width: 100%;
  padding: 10px;
  background: #1a1600;
  border: none;
  color: #fff;
  outline: none;
  font-size: 16px;
  border-bottom: 1px solid #444;
}
.country-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  min-height: 44px;
}
.country-item:hover {
  background: #271f00;
}
.phone-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;

  outline: none;
}

/* 配对码数字框 手机自动换行 */
.code-box-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 28px 0;
  flex-wrap: wrap;
}
.code-box {
  width: 42px;
  height: 50px;
  border: 1px solid #d4af37;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 500;
}

/* 第四步提示弹窗 */
.tip-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1a1600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}
.tip-desc {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 16px;
}
.tip-preview-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}
.code-dashed-box {
  border: 1px dashed #d4af37;
  border-radius: 8px;
  padding: 12px;
  font-size: 18px;
  color: #aaa;
  margin-bottom: 24px;
}

/* 大屏平板桌面端增强样式 */
@media screen and (min-width: 768px) {
  .modal-card {
    padding: 40px 32px;
  }
  .lock-icon {
    width: 76px;
    height: 76px;
  }
  .lock-icon::before {
    font-size: 72px;
  }
  .text-red {
    font-size: 38px;
  }
  .text-gray {
    font-size: 19px;
  }
  .text-white-lg {
    font-size: 28px;
  }
  .text-gold-lg {
    font-size: 34px;
  }
  .text-yellow {
    font-size: 42px;
  }
  .btn-gold {
    font-size: 24px;
    padding: 18px 0;
  }
  .phone-input-wrap {
    padding: 22px;
    gap: 14px;
  }
  .select-trigger {
    font-size: 20px;
  }
  .flag-img {
    width: 26px;
    height: 18px;
  }

  .code-box {
    width: 58px;
    height: 66px;
    font-size: 30px;
  }
  .code-box-group {
    gap: 12px;
  }
  .tip-desc {
    font-size: 20px;
  }
  .code-dashed-box {
    font-size: 22px;
  }
}

.sub-gold {
           
            font-family: 'Georgia', 'Times New Roman', serif;
            /*font-size: clamp(1rem, 2.5vw, 1.8rem);*/
            font-weight: 400;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            background: linear-gradient(135deg, #f7e05e, #d48c1a, #f7d94e);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: goldShine 8s ease-in-out infinite alternate;
            opacity: 0.85;
            filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
        }