/* 页面容器 */
.page-container {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(90deg, #1b87fe, #1c44fe);
}

/* 客服按钮 */
.customer-service {
  position: fixed;
  width: 40px;
  height: 105px;
  background: url('/images/customer-service.png') no-repeat;
  background-size: 100%;
  right: 0;
  top: 36%;
  z-index: 100;
}

/* 自动退款按钮 */
.refund-btn {
  position: fixed;
  text-align: center;
  background-color: #fc7d74;
  width: 40px;
  padding: 5px 7.5px;
  height: 105px;
  border-radius: 7.5px;
  right: -2px;
  top: 20%;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  z-index: 100;
}

/* 主要内容区域 */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 0;
}

/* 运营商logo */
.carrier-logos {
  width: 300px;
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.logo {
  width: 80px;
  height: 30px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.logo-telecom {
  background-image: url('/images/logo-telecom.png');
}

.logo-mobile {
  background-image: url('/images/logo-mobile.png');
}

.logo-unicom {
  background-image: url('/images/logo-unicom.png');
}

/* 活动标题 */
.activity-title {
  width: 300px;
  text-align: center;
  font-size: 27px;
  margin-top: 10px;
  font-weight: 700;
  color: #fff;
}

.offer-title {
  width: 300px;
  display: flex;
  justify-content: space-between;
  font-size: 32px;
  margin-top: 10px;
}

.offer-text {
  font-weight: 700;
  color: #fff;
}

.offer-highlight {
  font-weight: 700;
  color: #ef9a1a;
}

.coupon-desc {
  color: #fff;
  margin-top: 10px;
  font-size: 25px;
}

/* 充值面板 */
.recharge-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  width: 350px;
  background: #f5fcfd;
  margin-top: 15px;
  padding: 20px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.panel-title {
  color: #0484fe;
  margin-bottom: 20px;
}

/* 充值金额选项 */
.amount-options {
  width: 315px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.amount-option {
  width: 100px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f1f8fe;
  border-radius: 5px;
  transition: transform 0.3s;
}

.amount-option:hover {
  transform: translateY(-2px);
}

.amount-option.highlight {
  width: 90px;
  background: linear-gradient(135deg, #fff, #000, #6dc4fe, #0082fe);
  color: #fff;
}

.amount {
  font-size: 20px;
  font-weight: 800;
}

.market-price {
  font-size: 11px;
  color: #b0b3b7;
  margin-top: 5px;
}

.discount-tag {
  font-size: 10px;
  background: #61b6fa;
  color: #fff;
  border-radius: 5px;
  padding: 2.5px 5px;
  margin-top: 2.5px;
}

/* 手机号输入框 */
.input-container {
  width: 315px;
  margin: 15px 0;
}

.phone-input {
  width: 100%;
  height: 55px;
  background: #f4f4f4;
  border: none;
  border-radius: 25px;
  padding: 0 40px;
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.phone-input::placeholder {
  color: #999;
}

/* 分隔线 */
.divider {
  width: 315px;
  height: 1px;
  background: #c4c4c4;
  margin: 25px 0;
}

/* 支付部分 */
.payment-section {
  width: 315px;
}

.section-title {
  margin-bottom: 10px;
  font-weight: 600;
}

.payment-method {
  margin-bottom: 20px;
}

.alipay-option {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.alipay-icon {
  width: 18px;
  height: 18px;
  background: url('/images/alipay.png') no-repeat;
  background-size: 100%;
}

.method-name {
  font-weight: 600;
  font-size: 15px;
  margin-left: 5px;
}

.discount-label {
  border: 1px solid #d00000;
  font-size: 11px;
  margin-left: 10px;
  padding: 2px 2.5px;
  color: #d00000;
  border-radius: 3px;
}

.check-icon {
  width: 18px;
  height: 18px;
  background: url('/images/check.png') no-repeat;
  background-size: 100%;
  margin-left: auto;
}

/* 支付信息 */
.payment-info {
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  margin-top: 5px;
}

.info-row .highlight {
  color: #1a84f9;
}

/* 支付按钮 */
.pay-button {
  padding: 2.5px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 40px;
  background: linear-gradient(90deg, #fff, #000, #6dc4fe, #0082fe);
  border-radius: 25px;
  margin: 25px auto 0;
  position: relative;
  animation: scaleAnimation 2s infinite ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.pay-button:disabled {
  animation: none;
  cursor: not-allowed;
  opacity: 0.5;
}

@keyframes scaleAnimation {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.pay-button .discount-tag {
  position: absolute;
  right: 15px;
  top: -13px;
  height: 20px;
  background: red;
  padding: 2px 8px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
}

.pay-button .button-text {
  color: #fff;
  font-weight: 600;
  font-size: 21px;
}

/* 说明文字 */
.description {
  text-align: center;
  width: 350px;
  color: #fff;
  font-size: 12px;
  margin: 15px 0;
}

/* 优惠券展示 */
.coupon-display {
  margin: 15px 0;
  width: 375px;
  height: 521px;
  background: url('/images/coupon.png') no-repeat;
  background-size: 100%;
}

/* 活动说明 */
.instructions {
  width: 350px;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  margin: 15px 0;
}

.instructions-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.instructions-content {
  font-size: 11px;
  padding: 10px;
  background: #f6f6f6;
  color: #717171;
  border-radius: 15px;
  line-height: 1.5;
}

.instructions-content p {
  margin-bottom: 10px;
}

.instructions-content a {
  color: #1a84f9;
  text-decoration: none;
}

/* 页脚 */
.page-footer {
  text-align: center;
  color: #fff;
  margin-top: 20px;
}

.company {
  font-size: 15px;
  margin-bottom: 5px;
}

.hotline {
  font-size: 15px;
}

/* 响应式调整 */
@media screen and (max-width: 375px) {
  .carrier-logos,
  .activity-title,
  .offer-title {
    width: 90%;
  }
  
  .recharge-panel,
  .description,
  .instructions {
    width: 95%;
  }
  
  .amount-options,
  .input-container,
  .divider,
  .payment-section {
    width: 90%;
  }
  
  .coupon-display {
    width: 95%;
    height: auto;
    aspect-ratio: 375/521;
  }
}

/* 二维码弹窗样式 */
.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    width: 320px;
}

.modal-content h3 {
    margin: 0 0 20px;
    color: #333;
    font-size: 18px;
}

.qrcode-container {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.qrcode-container img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.modal-tip {
    color: #666;
    margin: 15px 0;
    font-size: 14px;
}

.close-modal {
    background: #1677ff;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.close-modal:hover {
    background: #4096ff;
}

/* 支付状态提示 */
.payment-status {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.payment-status.success {
    color: #52c41a;
}

.payment-status.error {
    color: #ff4d4f;
} 