/* Popup Renovar: planos e QR code do pagamento (js/modules/pay.js). Sem flex gap / grid (Chromium 53). */

.pay-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background: rgba(5, 7, 14, 0.86);
}

.pay-modal.is-open {
  display: flex;
}

.pay-box {
  width: 980px;
  color: #fff;
  padding: 48px 56px 40px;
  text-align: center;
  background: linear-gradient(160deg, #1b2030 0%, #12151f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.pay-box h2 {
  font-size: 38px;
  text-shadow: none;
}

.pay-sub {
  margin-top: 12px;
  font-size: 20px;
  line-height: 1.45;
  color: #9aa3b8;
}

.pay-plans {
  display: none;
  justify-content: center;
  margin-top: 36px;
}

.pay-plan,
.pay-plan:hover {
  width: 380px;
  margin: 0 16px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}

.pay-plan-in {
  display: block;
  padding: 36px 24px 34px;
}

.pay-plan-name {
  display: block;
  font-size: 26px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b9c3d9;
}

.pay-plan-price {
  display: block;
  margin: 16px 0 12px;
  font-size: 58px;
  font-weight: bold;
}

.pay-plan-desc {
  display: block;
  font-size: 20px;
  color: #9aa3b8;
}

.pay-plan--life .pay-plan-name {
  color: #ffd166;
}

.pay-plan:focus {
  outline: none;
  transform: scale(1.06);
  background: rgba(47, 129, 247, 0.2);
  border-color: #2f81f7;
  box-shadow: 0 14px 40px rgba(47, 129, 247, 0.35);
}

.pay-qr-step {
  display: none;
  align-items: center;
  margin-top: 34px;
  text-align: left;
}

.pay-qr {
  flex-shrink: 0;
  padding: 14px;
  background: #fff;
  border-radius: 16px;
}

.pay-qr img {
  display: block;
  width: 340px;
  height: 340px;
  image-rendering: pixelated;
}

.pay-info {
  margin-left: 44px;
}

.pay-info-plan {
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b9c3d9;
}

.pay-info-price {
  margin: 8px 0 20px;
  font-size: 54px;
  font-weight: bold;
}

.pay-info-text {
  font-size: 21px;
  line-height: 1.5;
  color: #c6cde0;
}

.pay-wait {
  display: flex;
  align-items: center;
  margin-top: 26px;
  padding: 14px 18px;
  font-size: 20px;
  color: #cfe0ff;
  background: rgba(47, 129, 247, 0.16);
  border-radius: 12px;
}

.pay-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-right: 14px;
  background: #2f81f7;
  border-radius: 50%;
  animation: payPulse 1.4s ease-in-out infinite;
}

@keyframes payPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.25); }
}

.pay-qr-step.is-done .pay-wait {
  color: #b8f5c8;
  background: rgba(46, 204, 113, 0.2);
}

.pay-qr-step.is-done .pay-dot {
  background: #2ecc71;
  animation: none;
}

.pay-msg {
  min-height: 26px;
  margin-top: 26px;
  font-size: 19px;
  color: #ffb27a;
}

.pay-hint {
  margin-top: 8px;
  font-size: 16px;
  color: #7f879c;
}

/* TVs HD (1280x720) */
@media (max-width: 1500px) {
  .pay-box { zoom: 0.6667; }
}
