* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: url('./img/bg_lab.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 15px; /* RESPIRO SUPERIOR E INFERIOR */
  position: relative;
}

/* Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

/* Card */
.card {
  position: relative;
  background: rgba(30, 42, 86, 0.82);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  width: 95%;
  max-width: 420px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  margin: auto 0;
}

/* Logo */
.logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #00c3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

/* Textos */
.card h1 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  margin-bottom: 25px;
  opacity: 0.85;
}

/* Botões */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #333;
  text-decoration: none;
  padding: 14px;
  border-radius: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.btn i {
  font-size: 16px;
}

.btn:hover {
  background: #00c3ff;
  color: #fff;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.6;
}

/* MODAL PIX */
.pix-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.pix-content {
  background: #ffffff; /* FUNDO BRANCO */
  padding: 30px 25px;
  border-radius: 20px;
  text-align: center;
  width: 90%;
  max-width: 360px;
  color: #333; /* TEXTO ESCURO */
  position: relative;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Botão fechar */
.close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

/* QR Code */
.pix-qrcode {
  width: 180px;
  margin: 15px auto;
  border-radius: 12px;
}

/* Label */
.pix-label {
  font-size: 13px;
  color: #666;
}

/* CHAVE PIX – PRETA */
.pix-key {
  font-size: 18px;
  font-weight: 700;
  margin: 6px 0 15px;
  color: #000; /* PRETA */
  word-break: break-all;
}

/* Botão copiar */
.copy-btn {
  width: 100%;
  background: linear-gradient(135deg, #00c3ff, #009fd1);
  border: none;
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.25s;
  pointer-events: none;
  opacity: 0.6;
}

.copy-btn.enabled {
  pointer-events: auto;
  opacity: 1;
}

.copy-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Feedback */
.copy-feedback {
  display: none;
  font-size: 13px;
  color: #2e7d32;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Aviso */
.pix-warning {
  font-size: 12px;
  background: #f2f2f2;
  padding: 12px;
  border-radius: 12px;
  line-height: 1.4;
  color: #333;
}

/* Responsivo */
@media (max-width: 480px) {
  .card {
    padding: 30px 20px;
  }
}