* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}

.container {
  width: 100%;
  position: relative;
}

.banner {
  background-image: url("../assets/bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  background-position: fixed;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.main-container {
  width: 100%;
  /* max-width: 1200px; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Imagens - Lado a Lado */
.images-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
}

.promo-black {
  width: 100%;
  max-width: 35%;
  min-width: 250px;
  height: auto;
  object-fit: contain;
}

.cars-image {
  width: 100%;
  max-width: 55%;
  min-width: 300px;
  height: auto;
  object-fit: contain;
}

/* Data da Promoção */
.promo-date {
  text-align: center;
  margin-bottom: 50px;
}

.promo-date p {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff4757;
  letter-spacing: 1px;
}

/* Seção do CPF */
.cpf-section {
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.cpf-title {
  font-size: 1rem;
  font-weight: 600;
  color: #b8d4db;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.input-wrapper {
  margin-bottom: 30px;
}

.cpf-input {
  width: 100%;
  max-width: 450px;
  padding: 20px 24px;
  font-size: 1.1rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.cpf-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cpf-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00d9ff;
}

.btn-proximo {
  padding: 18px 70px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0099cc 0%, #006d99 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn-proximo:hover {
  background: linear-gradient(135deg, #00b8e6 0%, #0088b8 100%);
  transform: translateY(-2px);
}

.btn-proximo:active {
  transform: translateY(0);
}

/* Loading */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinning {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #00d9ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mand Digital */
.mand {
  display: block;
  text-align: center;
  margin-top: 30px;
  padding: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mand:hover {
  color: #00d9ff;
}

/* Responsivo */
@media (max-width: 1024px) {
  .images-section {
    gap: 20px;
    padding: 0 15px;
  }

  .promo-black {
    max-width: 40%;
  }

  .cars-image {
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .banner {
    padding: 30px 15px;
  }

  .images-section {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .promo-black {
    max-width: 70%;
    min-width: 200px;
  }

  .cars-image {
    max-width: 85%;
    min-width: 250px;
  }

  .promo-date {
    margin-bottom: 40px;
  }

  .promo-date p {
    font-size: 1.2rem;
  }

  .cpf-title {
    font-size: 0.9rem;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .cpf-input {
    max-width: 100%;
    padding: 18px 20px;
    font-size: 1rem;
  }

  .btn-proximo {
    padding: 16px 50px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .banner {
    padding: 20px 10px;
  }

  .images-section {
    gap: 15px;
  }

  .promo-black {
    max-width: 80%;
    min-width: 180px;
  }

  .cars-image {
    max-width: 90%;
    min-width: 200px;
  }

  .promo-date p {
    font-size: 1.1rem;
  }

  .cpf-title {
    font-size: 0.85rem;
  }

  .cpf-input {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .btn-proximo {
    padding: 14px 40px;
    font-size: 0.9rem;
  }
}

/* Seção de Números da Sorte */
.numeros-section {
  text-align: center;
  width: 100%;
  max-width: 800px;
  animation: fadeIn 0.5s ease;
}

.numeros-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #b8d4db;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.numeros-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.numero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 30px 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.numero-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #00d9ff;
  transform: translateY(-5px);
}

.numero-valor {
  font-size: 2rem;
  font-weight: 700;
  color: #00d9ff;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.numero-data {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

.numero-seguro {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}

.btn-voltar {
  padding: 18px 70px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #ff4757 0%, #cc0033 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn-voltar:hover {
  background: linear-gradient(135deg, #ff6b7a 0%, #e6004d 100%);
  transform: translateY(-2px);
}

.btn-voltar:active {
  transform: translateY(0);
}

/* Seção de Erro */
.error-section {
  text-align: center;
  width: 100%;
  max-width: 600px;
  animation: fadeIn 0.5s ease;
}

.error-message {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff4757;
  background: rgba(255, 71, 87, 0.1);
  border: 2px solid rgba(255, 71, 87, 0.3);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo para números */
@media (max-width: 768px) {
  .numeros-title {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .numeros-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .numero-card {
    padding: 25px 15px;
  }

  .numero-valor {
    font-size: 1.5rem;
  }

  .numero-seguro {
    font-size: 0.8rem;
    margin-top: 8px;
    padding-top: 8px;
  }

  .btn-voltar {
    padding: 16px 50px;
    font-size: 0.95rem;
  }

  .error-message {
    font-size: 1rem;
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .numeros-title {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .numero-card {
    padding: 20px 10px;
  }

  .numero-valor {
    font-size: 1.3rem;
  }

  .numero-data {
    font-size: 0.8rem;
  }

  .numero-seguro {
    font-size: 0.75rem;
    margin-top: 6px;
    padding-top: 6px;
  }

  .btn-voltar {
    padding: 14px 40px;
    font-size: 0.9rem;
  }

  .error-message {
    font-size: 0.9rem;
    padding: 20px;
  }
}
