/* ── VIP Page — Points Purchase ──────────────────────────────────────────── */

.vip-container { max-width: 1100px; margin: 0 auto; padding: 24px 16px 40px; }

/* Hero */
.vip-hero { text-align: center; padding: 32px 16px 24px; }
.vip-hero h1 { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.vip-hero p { font-size: 15px; color: #999; margin: 0; }

/* ── Info Card ──────────────────────────────────────────────────────────── */

.pontos-info-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: linear-gradient(135deg, #1f222f 0%, #252836 100%);
  border: 1px solid #32364c; border-radius: 10px;
  padding: 24px 28px; margin-bottom: 32px;
}
.pontos-info-icon { font-size: 40px; flex-shrink: 0; line-height: 1; }
.pontos-info-content { flex: 1; }
.pontos-info-content h3 { font-size: 17px; font-weight: 700; color: #ffcc00; margin: 0 0 8px; }
.pontos-info-content > p { font-size: 14px; color: #bbb; margin: 0 0 14px; line-height: 1.5; }
.pontos-info-content > p strong { color: #ffcc00; }

.pontos-info-benefits { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.pontos-info-benefit {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #aaa;
}
.pontos-info-benefit .benefit-icon { font-size: 16px; flex-shrink: 0; }
.pontos-info-benefit strong { color: #fff; }

.pontos-info-pricing {
  font-size: 13px; color: #888; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0; padding-top: 12px; border-top: 1px solid #32364c;
}
.tier-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600;
}
.tier-bronze { background: rgba(205,127,50,0.15); color: #cd7f32; border: 1px solid rgba(205,127,50,0.3); }
.tier-prata { background: rgba(192,192,192,0.15); color: #c0c0c0; border: 1px solid rgba(192,192,192,0.3); }
.tier-ouro { background: rgba(255,204,0,0.15); color: #ffcc00; border: 1px solid rgba(255,204,0,0.3); }

@media (max-width: 768px) {
  .pontos-info-card { flex-direction: column; gap: 12px; padding: 18px 16px; }
  .pontos-info-icon { font-size: 32px; }
  .pontos-info-pricing { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ── Package Cards ─────────────────────────────────────────────────────── */

.pontos-packages {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 0 0 40px;
}

.pontos-package-card {
  background: #1f222f; border: 1px solid #32364c; border-radius: 10px;
  padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pontos-package-card:hover { transform: translateY(-2px); border-color: #ffcc00; }
.pontos-package-card.selected {
  border-color: #ffcc00;
  box-shadow: 0 0 24px rgba(255, 204, 0, 0.15);
}

.pontos-package-emoji { font-size: 32px; margin-bottom: 4px; }

.pontos-package-nome { font-size: 18px; font-weight: 700; color: #fff; margin: 0; }

.pontos-package-total { font-size: 36px; font-weight: 800; color: #ffcc00; }
.pontos-package-total-label { font-size: 13px; color: #888; margin-top: -6px; }
.pontos-base-info { color: #666; font-size: 12px; }

.pontos-preco { font-size: 28px; font-weight: 800; color: #4caf50; }
.pontos-preco-label { font-size: 12px; color: #666; margin-top: -6px; }

.pontos-package-desc { font-size: 13px; color: #999; text-align: center; }

.btn-comprar-pontos {
  width: 100%; padding: 12px 0; margin-top: 8px;
  border: none; border-radius: 6px; font-size: 14px; font-weight: 700;
  cursor: pointer; background: #ff3366; color: #fff;
  transition: background 0.2s;
}
.btn-comprar-pontos:hover { background: #ff4d7a; }

/* Bonus + Economy Badges */
.pontos-bonus-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #ffcc00, #ff9900); color: #121212;
  padding: 4px 14px; border-radius: 12px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}

.pontos-economia {
  position: absolute; top: 12px; right: 12px;
  background: #4caf50; color: #fff;
  padding: 3px 10px; border-radius: 10px;
  font-size: 12px; font-weight: 700;
}

/* ── Payment Panel ─────────────────────────────────────────────────────── */

.vip-payment-panel {
  max-width: 560px; margin: 0 auto;
  background: #1f222f; border: 1px solid #32364c; border-radius: 10px;
  padding: 28px;
}

.vip-back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: #aaa; font-size: 14px; cursor: pointer;
  padding: 0; margin: 0 0 20px; transition: color 0.2s;
}
.vip-back-btn:hover { color: #fff; }

.vip-payment-summary {
  background: #252836; border-radius: 8px; padding: 14px 18px;
  margin-bottom: 24px; font-size: 14px; color: #aaa; line-height: 1.6;
}
.vip-payment-summary strong { color: #fff; }

/* Form */
.vip-payment-form { margin-top: 0; }
.pay-form-group { margin-bottom: 14px; }
.pay-form-group label { display: block; color: #aaa; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.pay-form-group input, .pay-form-group select {
  width: 100%; padding: 11px 14px; background: #1a1c23; border: 1px solid #32364c;
  border-radius: 6px; color: #fff; font-size: 14px; font-family: inherit;
  transition: border-color 0.2s; box-sizing: border-box;
}
.pay-form-group input:focus, .pay-form-group select:focus { outline: none; border-color: #ff3366; }
.pay-form-group select option { background: #1a1c23; color: #fff; }
.pay-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Error */
.pay-form-error {
  background: rgba(255,51,102,0.1); border: 1px solid #ff3366; color: #ff3366;
  border-radius: 6px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px;
}

.btn-pay-submit {
  width: 100%; padding: 14px; background: #ff3366; color: #fff; border: none;
  border-radius: 6px; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background 0.2s; margin-top: 8px;
}
.btn-pay-submit:hover { background: #ff4d7a; }
.btn-pay-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── QR Code Display ───────────────────────────────────────────────────── */

.pix-qr-container {
  max-width: 480px; margin: 0 auto; text-align: center;
  background: #1f222f; border: 1px solid #32364c; border-radius: 10px;
  padding: 32px 24px;
}
.pix-qr-container h2 { color: #fff; font-size: 20px; margin: 16px 0 4px; }
.pix-qr-subtitle { color: #888; font-size: 14px; margin: 0 0 20px; }
.pix-qr-image { max-width: 280px; height: auto; border-radius: 8px; }

.pix-copia-cola {
  display: flex; gap: 8px; margin: 20px 0;
}
.pix-copia-cola input {
  flex: 1; padding: 11px 14px; background: #1a1c23; border: 1px solid #32364c;
  border-radius: 6px; color: #aaa; font-size: 12px; font-family: monospace;
  box-sizing: border-box;
}
.btn-copiar-pix {
  padding: 11px 20px; background: #32364c; color: #ccc; border: 1px solid #444;
  border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background 0.2s;
}
.btn-copiar-pix:hover { background: #444; }

.pix-status {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #ffcc00; font-size: 14px; font-weight: 600; margin: 12px 0;
}
.pix-status-spinner {
  width: 18px; height: 18px; border: 2px solid #32364c; border-top-color: #ffcc00;
  border-radius: 50%; animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pix-valor-info { color: #666; font-size: 13px; margin: 0; }

/* ── Confirmed ─────────────────────────────────────────────────────────── */

.pix-confirmed-container {
  max-width: 480px; margin: 0 auto; text-align: center;
  background: #1f222f; border: 1px solid #4caf50; border-radius: 10px;
  padding: 40px 24px;
}
.pix-confirmed-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #4caf50;
  color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.pix-confirmed-container h2 { color: #4caf50; font-size: 22px; margin: 0 0 8px; }
.pix-confirmed-container p { color: #ccc; font-size: 15px; margin: 0 0 24px; }
.pix-confirmed-container .btn-primary {
  display: inline-block; padding: 12px 32px; background: #ff3366; color: #fff;
  border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 15px;
}
.pix-confirmed-container .btn-primary:hover { background: #ff4d7a; }

/* ── Not Logged In ─────────────────────────────────────────────────────── */

.vip-login-prompt { text-align: center; padding: 40px 16px; }
.vip-login-prompt h2 { color: #fff; margin: 0 0 12px; }
.vip-login-prompt p { color: #999; margin: 0 0 20px; }
.vip-login-prompt .btn { display: inline-block; padding: 12px 32px; background: #ff3366; color: #fff; border-radius: 6px; text-decoration: none; font-weight: 700; }

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .pontos-packages {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .vip-payment-panel { padding: 20px 16px; }
  .pay-form-row { grid-template-columns: 1fr; }
  .pix-qr-container { padding: 24px 16px; }
  .pix-copia-cola { flex-direction: column; }
}

@media (max-width: 480px) {
  .vip-hero h1 { font-size: 22px; }
  .pontos-package-total { font-size: 28px; }
  .pontos-preco { font-size: 22px; }
  .vip-container { padding: 0 8px; }
}
