@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* =========================================
   LAYOUT BASE
   ========================================= */
.vd-app-wrapper {
  background: #f4f6fb;
  color: #111827;
  min-height: 100vh;
  padding-top: 20px;
}
.vd-container {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 30px;
}
.vd-topbar {
  height: 60px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.vd-logo {
    display: flex;
    justify-content: center;
}
.vd-logo img {
    width: 300px;
}

/* =========================================
   HERO E FORMULÁRIO
   ========================================= */
.vd-hero {
  margin: 0 16px;
  background: linear-gradient(135deg, #0037c7, #0b5fff);
  border-radius: 24px;
  padding: 28px 24px;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 25px rgba(11, 95, 255, 0.3);
}
.vd-hero h1 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
  margin-top: 0;
  color: #fff;
}
.vd-hero p {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.vd-hero small {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
.vd-hero small span {
  color: #ffd84d;
}
.vd-input {
  width: 100%;
  height: 54px;
  border-radius: 16px !important;
  border: none;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.vd-btn-hero {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.vd-btn-hero:hover {
  background: rgba(255, 255, 255, 0.25);
}
.vd-numeros-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.vd-numero-badge {
  background: #ffd84d;
  color: #0037c7;
  font-weight: 800;
  font-size: 18px;
  padding: 10px 15px;
  border-radius: 12px;
}

/* =========================================
   SEÇÕES E CARTÕES
   ========================================= */
.vd-section {
  margin: 20px 16px;
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.vd-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.vd-section-header h2 {
  color: #0b5fff;
  font-size: 20px;
  margin: 0;
  font-weight: 700;
}

.vd-resultado-card {
  border: 1px solid #eceff5;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
  transition: transform 0.2s;
}
.vd-resultado-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.vd-resultado-card:last-child {
  margin-bottom: 0;
}

.vd-resultado-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eceff5;
}
.vd-badge-data {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 20px;
}
.vd-badge-status {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
}
.vd-status-ok {
  color: #16a34a;
}

.vd-resultado-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vd-resultado-left {
  display: flex;
  gap: 14px;
  align-items: center;
}
.vd-resultado-left h3 {
  font-size: 18px;
  margin: 0 0 2px 0;
  color: #111827;
}
.vd-resultado-left p {
  font-size: 13px;
  margin: 0 0 2px 0;
  color: #6b7280;
}
.vd-green {
  color: #16a34a;
  font-weight: 700;
}

/* Troféu e Ícones */
.vd-trophy {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.vd-trophy-ganhador {
  background: #10b981 !important;
  color: white;
}
.vd-trophy-cinza {
  background: #e5e7eb;
  font-size: 20px;
}

/* =========================================
   NÚMEROS SORTEADOS
   ========================================= */
.vd-numeros-container {
  padding: 8px;
  text-align: center;
  min-width: 85px;
  flex-shrink: 0;
}
.vd-numeros-container small {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 800;
}
.vd-lista-numeros {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.vd-badge-bilhete {
  background: #f3f4f6;
  color: #4b5563;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  width: 100%;
}
.vd-bilhete-destaque {
  background: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
}

/* =========================================
   ELEMENTOS EXTRAS
   ========================================= */
.vd-federal {
  border: 1px solid #eceff5;
  border-radius: 18px;
  padding: 16px;
}
.vd-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
  gap: 5px;
}
.vd-step {
  flex: 1;
}
.vd-step small {
  font-size: 11px;
  color: #6b7280;
}
.vd-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto;
  font-size: 16px;
  font-weight: 800;
}
.vd-good {
  background: #eaf8ee;
  color: #16a34a;
}
.vd-bad {
  color: #dc2626;
  font-size: 11px;
  font-weight: 600;
}
.vd-ok {
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
}
.vd-arrow {
  font-size: 20px;
  color: #9ca3af;
  margin-top: 30px;
}

.vd-how {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.vd-how-item {
  border: 1px solid #eceff5;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
}
.vd-how-item div {
  font-size: 28px;
  margin-bottom: 8px;
}
.vd-how-item p {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0;
}

.vd-info-regra {
  margin: 20px 16px;
  padding: 16px;
  background: #eff6ff;
  border-left: 4px solid #0b5fff;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #1e40af;
}
.vd-info-regra strong {
  display: block;
  margin-bottom: 5px;
  color: #1e3a8a;
}

.vd-footer {
  margin: 20px 16px;
  background: #eef2ff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.vd-footer a {
  color: #0b5fff;
  text-decoration: none;
  font-weight: 700;
}

.vd-total-badge {
  font-size: 13px;
  font-weight: 600;
  color: #0b5fff;
  background: #eef2ff;
  padding: 4px 12px;
  border-radius: 20px;
}

/* =========================================
   BOTÃO WHATSAPP
   ========================================= */
.vd-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  border-radius: 16px;
  background: #25D366; /* Cor oficial do WhatsApp */
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.vd-btn-whatsapp:hover {
  background: #1ebd5c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* =========================================
   MODAL BANNER (CLIENTE)
   ========================================= */
.vd-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.vd-modal-overlay.vd-modal-active {
  opacity: 1;
  visibility: visible;
}

.vd-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  background: transparent; /* Fundo transparente para não borda branca feia */
  border-radius: 12px;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.vd-modal-overlay.vd-modal-active .vd-modal-content {
  transform: scale(1);
}

.vd-modal-content img {
  display: block;
  width: 100%;
  max-width: 500px; /* Ajuste o tamanho máximo desejado */
  height: auto;
  border-radius: 12px;
}

.vd-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.vd-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}