/* 🔧 CONFIGURACIÓN GENERAL DE LA PÁGINA */
body {
  margin: 0;
  font-family: 'Kanit', sans-serif;
  background: #000000;
  color: #f0f0f0;
  position: relative;
  z-index: 2;
}

/* 🎯 BARRA DE NAVEGACIÓN SUPERIOR */
.navbar {
  display: flex;
  justify-content: space-between;
  background: #0000008e;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar a {
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #fff766 !important;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 🖼 HERO DE BIENVENIDA */
.hero-section {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  padding: 40px 20px 20px;
  min-height: 70vh;
}


.hero-title {
  font-family: 'Great Vibes', cursive;
  font-size: 5vw;
  color: #fff766;
  text-shadow: 0 0 12px #fff766aa, 0 0 25px #fff76644;
  z-index: 2;
  margin: 0 auto 20px;
  position: relative;
}

.hero-subtext {
  font-size: 1.2rem;
  color: #ddd;
  margin-top: 20px;
  z-index: 2;
}

.hero-outline {
  font-size: 12vw;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px #ffffff;
  text-transform: uppercase;
  opacity: 0.08;
  z-index: 1;
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  animation: fadeUp 2s ease-in-out both;
  pointer-events: none;
}

.hero-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: typeLetter 0.5s forwards;
}

@keyframes typeLetter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  100% {
    opacity: 0.08;
    transform: translate(-50%, -50%);
  }
}

/* ✴️ PARTICULAS */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.overlay-dark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.699);
  z-index: 1;
  pointer-events: none;
}

/* 📎 FOOTER */
.footer {
  text-align: center;
  padding: 30px;
  background: #000000;
  margin-top: 60px;
  position: relative;
  z-index: 3;
}
/* 🕒 CONTADOR DE APERTURA */
.contador-box {
  margin-top: -100px;
  padding: 10px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.contador-titulo {
  font-size: 18px;
  margin-bottom: 25px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 5px #fff76666;
}

.contador-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.contador-grid div {
  background: #000;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 0 12px #fff76688;
  text-align: center;
  min-width: 80px;
}

.contador-grid span {
  font-size: 24px;
  font-weight: bold;
  color: #fff766;
  display: block;
}

.contador-grid p {
  margin: 0;
  color: #aaa;
  font-size: 12px;
}

.botones-contador {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.botones-contador button {
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  box-shadow: 0 0 10px #00000066;
  transition: transform 0.2s;
  color: #fff;
}

.botones-contador .btn-discord {
  background: #6c63ff;
  color: white;
}

.botones-contador .btn-connect {
  background: #00cc66;
  color: white;
}

.botones-contador .btn-whitelist {
  background: #6c63ff;
  color: white;
}

.botones-contador button:hover {
  transform: scale(1.05);
}
/* MODAL WHITELIST */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.modal-content {
  background-color: #111;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #333;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  color: white;
  font-family: 'Kanit', sans-serif;
  box-shadow: 0 0 20px #fff76633;
}

.modal-content h2 {
  text-align: center;
  color: #fff766;
}

.modal-content label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 8px;
  background: #000;
  border: 1px solid #fff76666;
  color: #fff;
  border-radius: 6px;
}

.enviar-form {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #00cc66;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
}

.enviar-form:hover {
  background-color: #00994d;
}

.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 51px;
  height: 51px;
  margin: 6px;
  border: 6px solid #fff766;
  border-radius: 50%;
  animation: lds-ring 1.2s linear infinite;
  border-color: #fff766 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
