body {
  background-color: #0d1117;
  color: #e0e0e0;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Centralização da seção ===== */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

/* ===== Caixa central de pagamento ===== */
#pagamento-box {
  background: #161b22;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.3);
  padding: 50px 35px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

/* ===== Título ===== */
#pagamento-box h2 {
  color: #00b4ff;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.9rem;
  text-shadow: 0 0 8px rgba(0, 180, 255, 0.5);
}

/* ===== Texto ===== */
#pagamento-box .info {
  color: #c9c9c9;
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ===== Barra de progresso ===== */
.progress-bar {
  width: 100%;
  max-width: 400px;
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin: 0 auto 25px auto;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 180, 255, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00b4ff, #007bff);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.7);
  transition: width 1s ease-in-out;
  position: relative;
}

/* brilho animado dentro da barra */
.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), transparent);
  animation: brilho 3s infinite linear;
}

@keyframes brilho {
  0% { left: -40%; }
  100% { left: 110%; }
}

/* ===== Botão Mercado Pago ===== */
#pagamento-box .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #009ee3, #007bff);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 153, 255, 0.5);
  transition: all 0.3s ease-in-out;
  font-size: 1rem;
}

#pagamento-box .btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #00bfff, #0066ff);
  box-shadow: 0 0 25px rgba(0, 180, 255, 0.7);
}

/* ===== Mensagem de status ===== */
#statusMsg {
  margin-top: 25px;
  font-size: 1rem;
  color: #b0b0b0;
}
