*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
   
}
:root {
  --bg-light: #ffffff;
  --bg-dark: #1e1e1e;
  --text-light: #333333;
  --text-dark: #f5f5f5;
  --primary: #ff6b6b;
  --secondary: #ffe66d;
  --circle-bg: #e0e0e0;
  --circle-active: #ff6b6b;
}
body{
    font-family: raleway,roboto,arial;
}
.animated-section {
    opacity: 0; /* Inicialmente invisible */
    transform: translateY(20px); /* Desplazamiento hacia abajo */
    animation: fadeInUp 0.5s ease forwards; /* Duración y tipo de animación */
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

.viga-regular {
  font-family: "Viga", sans-serif;
  font-weight: 400;
  font-style: normal;
}


body, html {
  margin: 0;
  padding: 0;
  font-family: 'Viga', sans-serif;
  background: #000;
  color: #fff;
}

.hero {
  position: relative;
  height: 100vh;
  background: 
    linear-gradient(to top, rgba(0, 0, 0, 0.438), rgba(0, 0, 0, 0.178)),
    url('./assets/bg1.png') no-repeat top/ cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  background: rgba(0, 0, 0, 0.4);
  padding: 5px;
  border-radius: 1rem;
}
.text-neon {
  color: #ccff00;
  letter-spacing: 1px;
  font-weight: 600;
}

.benefit-item h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.benefits-row svg {
  transition: transform 0.3s ease;
}

.benefit-item:hover svg {
  transform: scale(1.15);
}


.title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 2.8rem;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subir { background: #28a745; color: #fff; }
.bajar { background: #ff0033; color: #fff; }

.btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* Popup */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
}

.popup.active {
  display: flex;
}

.popup-content {
  background: #111;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.popup-content input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
  background: #222;
  color: #fff;
}

/* ===== Sección de Beneficios ===== */
/* ===== Sección Beneficios Slider ===== */
.benefits {
  background: transparent;
  color: #fff;
  padding: 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.benefits-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ccff00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.benefits-slider {
  overflow: hidden;
  position: relative;
}

.benefits-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: slide 15s linear infinite;
}

.text-neon {
  color: #ccff00;
  letter-spacing: 1px;
}

.carousel-item {
  transition: transform 1.2s ease-in-out, opacity 0.8s ease-in-out;
}

.benefit-card {
  background: linear-gradient(180deg, #111, #000);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  width: 300px;
  flex-shrink: 0;
  text-align: center;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.4);
}

.icon {
  margin-bottom: 1rem;
}

h3 {
  color: #ccff00;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Animación del scroll automático */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Duplicar las tarjetas para efecto infinito */
.benefits-track::after {
  content: attr(data-clone);
}
.consultar .btn {
  background-color: #ccff00;
  color: black;
  font-weight: 600;
  border-radius: 8px;
}

.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup.active {
  display: flex;
}

.popup-content {
  background: #1a1a1a;
  color: white;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
}

.consulta-visual {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.foto-preview img {
  width: 120px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #ccff00;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
}
.switch input { display: none; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  border-radius: 25px;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 19px; width: 19px;
  left: 3px; bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}
input:checked + .slider {
  background-color: #ccff00;
}
input:checked + .slider:before {
  transform: translateX(24px);
}

.progreso {
  position: relative;
  width: 120px;
  height: 120px;
}

.circle {
  transform: rotate(-90deg);
  fill: none;
  stroke-width: 10;
}
.circle circle:first-child {
  stroke: #333;
}
#progressCircle {
  stroke: #ccff00;
  stroke-dasharray: 314; /* Circunferencia (2πr) */
  stroke-dashoffset: 279; /* valor inicial */
  transition: stroke-dashoffset 0.6s ease;
}
.circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
}

.peso {
  width: 40px; height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #222;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #555;
}
.consultar{
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.participante-card {
  background: #1a1a1a;
  color: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.2);
}
.peso{
  width: 50px !important;
  height: 50px !important;
}
.foto-container {
  position: relative;
}
#install-button {
  background: #ccff0082;
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 6px 24px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 20px #ccff00aa;
  transition: transform 0.2s, box-shadow 0.3s;
}

#install-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #ccff00;
}
.servicio-nombre {
  color: #ccff00; /* verde neón */
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}

.progreso {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.trofeo-icono {
  margin-top: 8px;
}

.foto-principal {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.btn-toggle-foto {
  background: #ccff00;
  border: none;
  color: #000;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.progreso-container {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.peso.verde { border-color: #00ff88; }
.peso.rojo { border-color: #ff4444; }


.btn.enviar { background: #25D366; }
.btn.cerrar { background: #555; margin-top: .5rem; }




.reto-admin-container {
  max-width: 1000px;
  margin: 40px auto;
  background: #111;
  color: #eee;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  font-family: "Raleway", sans-serif;
}

h1, h2 { color: #ccff00; text-align: center; }

.form-card { background: #1c1c1c; padding: 20px; border-radius: 8px; margin-bottom: 30px; display: flex;flex-direction: column;gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { font-weight: 600; margin-top: 8px; }
input, select, textarea {
  width: 100%; padding: 8px; border: none; border-radius: 5px;
  background: #222; color: #fff;

}

.btn-guardar {
  margin-top: 15px; background: #ccff00; color: #111; border: none;
  padding: 10px 15px; border-radius: 6px; font-weight: 700; cursor: pointer;
}
.btn-guardar:hover { background: #dfff33; }

.tabla-participantes {
  width: 100%; border-collapse: collapse; margin-top: 20px;
}
.tabla-participantes th, .tabla-participantes td {
  padding: 10px; border-bottom: 1px solid #333; text-align: center;
}
.tabla-participantes th { background: #222; color: #ccff00; }

.pagination { text-align: center; margin-top: 20px; }
.pagination button {
  margin: 3px; background: #222; color: #ccff00;
  border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer;
}
.pagination button.active { background: #ccff00; color: #111; }

.foto-preview{
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 900px) {
  .benefits-title{
    font-size: 18px;
    line-height: 24px;
  }
  .text-neon{
    font-size: 14px;
  }
  .benefit-card{
    width: 200px;
  }
  h4{
    font-size: 14px;
  }
  .benefit-card svg{
    width: 30px;
  }
}