  body { background: #3b3a3a; font-family: 'Poppins', sans-serif; margin: 20px; ; }
    .container { max-width: 800px; margin: auto; background: #ffffff; padding: 20px; border-radius: 10px; box-shadow: 0 0 10px #ccc; }
    .fotos img { max-width: 100%; border-radius: 10px; margin: 10px 0; }
    .btns-quantidade button, .btn-cota {
      margin: 5px;
      padding: 10px 15px;
      font-weight: bold;
      border-radius: 8px;
      border: none;
      background: #0f0f0f;
      color: white;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    .btns-quantidade button:hover:not(:disabled), .btn-cota:hover:not(.disabled) {
      background: #0056b3;
    }
    .btn-cota.selected { background-color: #28a745; }
    .btn-cota.disabled, .btn-cota:disabled {
      background-color: #ccc !important;
      cursor: not-allowed;
      color: #666;
      pointer-events: none;
    }
    input, textarea { width: 100%; padding: 10px; margin: 8px 0; border-radius: 8px; border: 1px solid #ccc; }
    .participar-btn { padding: 15px; font-size: 16px; background: green; color: white; border: none; border-radius: 8px; cursor: pointer; margin-top: 20px; }
    .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; }
    .modal-content { background: white; padding: 30px; border-radius: 10px; max-width: 400px; width: 90%; }
    #cotasDisponiveis {
      margin: 15px 0;
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      max-height: 300px;
      overflow-y: auto;
      border: 1px solid #b5b5b5;
      padding: 10px;
      border-radius: 8px;
      background: #fafafa;
    }
    .btn-cota.disabled {
  background-color: #ccc;
  cursor: not-allowed;
  color: #666;
}
@media (max-width: 768px) {
  .btns-quantidade {
    grid-template-columns: repeat(2, 1fr); /* 2 por linha em tablets */
  }
}
@media (max-width: 480px) {
  .btns-quantidade {
    grid-template-columns: 1fr; /* 1 por linha no celular */
  }
}

  .btns-quantidade {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* sempre 3 por linha no PC */
  gap: 15px;
  margin-top: 20px;
}

  .btns-quantidade button {
    flex: 1 1 calc(50% - 10px);
    margin: 5px 0;
  }

  #cotasDisponiveis {
    max-height: 200px;
    font-size: 14px;
  }

  .btn-cota {
    padding: 3px 7px;
    font-size: 21px;
    flex: 1 1 20%;
  }

  input, textarea {
    font-size: 14px;
    padding: 8px;
  }

  .participar-btn {
    width: 100%;
    font-size: 16px;
  }

  .modal-content {
    padding: 20px;
  }

  .fotos img {
    max-width: 100%;
    height: auto;
  }

.quantidade-control {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  margin: 10px 0;
}

.quantidade-control {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  margin: 10px 0;
}

.quantidade-control button {
  width: 40px;
  height: 40px;
  font-size: 24px;
  font-weight: bold;
  border: none;
  background-color: #0f0f0f;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.quantidade-control button:hover {
  background-color: #0056b3;
}

.quantidade-control input {
  width: 60px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

  .btns-quantidade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.quantidade-btn-wrapper {
  position: relative;
  text-align: center;
}

button {
  width: 100%;
  padding: 20px 10px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-texto {
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
  margin-top: 5px;
  color: #ccc;
}

.btn-popular {
  background-color: #106b34 !important;
}

.badge-popular {
  position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0056b3;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 0px 15px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    z-index: 3;
    pointer-events: none;
    text-transform: uppercase;
}
.quantidade-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
  }

  .quantidade-label {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
  }

  .quantidade-control {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .quantidade-control button {
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: bold;
    background-color: #106b34;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .quantidade-control button:hover {
    background-color: #0a4d26;
  }

  .quantidade-control input {
    width: 60px;
    text-align: center;
    font-size: 18px;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
  }
  .sorteio-container {
    text-align: center;
    margin-top: 30px;
  }

  .total-container {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .valor-total {
    padding: 6px 14px;
    background: #e6f4ea;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.3);
    transition: background-color 0.4s ease;
  }

  .money-icon {
    color: #28a745;
    font-size: 1.8rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
  }

  .money-icon.animate {
    opacity: 1;
    transform: translateY(0);
    animation: bounce 0.8s ease forwards;
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .participar-btn {
    background-color: #106b34;
    color: white;
    font-size: 1.2rem;
    padding: 12px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .participar-btn:hover {
    background-color: #0a4d26;
  }

.titulo-atraente {
  font-size: 1.5rem;
  color: #ff3c3c;
  text-align: center;
  font-weight: 800;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(127deg, #419b23, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.fotos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px auto;
  padding: 10px;
}

.fotos img {
  width: 350px;
  height: auto;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 0 25px #419b23;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.fotos img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(255, 120, 0, 0.9);
}

/* Animação de brilho */
@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(155, 60, 0, 0.4);
  }
  100% {
    box-shadow: 0 0 30px rgba(155, 120, 0, 0.9);
  }
}
