@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700;800&display=swap');
@font-face {
  font-family: 'outside';
  src: url('../fonts/Evogria.otf');
}

:root {
  --bg: #05060a;
  --panel: #0a0d15;
  --panel-2: #0f1524;
  --text: #e8ecff;
  --muted: #96a0b8;
  --accent: #468cff;
  --accent-2: #ff4d6d;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(70, 140, 255, 0.12), transparent 32%),
              radial-gradient(circle at 80% 0%, rgba(255, 77, 109, 0.10), transparent 28%),
              var(--bg);
              /* background-color: olive; */
  font-family: 'outside';
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
    visibility: hidden;

}

body.loaded {
  visibility: visible;
}

/* Partículas cayendo */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0.3;
  }
}

/* Navbar */
.navbar {
  background-color: black;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* permite que el contenido se ajuste en pantallas pequeñas */
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo {
  height: 40px;
}

.nav-title {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 17px;
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap; /* para que los botones no se sobrepongan */
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap; /* hace que los enlaces pasen a la siguiente línea si no caben */
  justify-content: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* separación entre logo y texto */
  text-decoration: none; /* quita subrayado */
  color: inherit; /* mantiene el color del texto */
}


.nav-links a:hover {
  color: var(--text);
}

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--border); background: var(--panel); color: var(--text); border-radius: 8px; cursor: pointer; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; text-decoration: none; transition: all 0.15s ease; }

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2d63ff);
  border: none;
  box-shadow: 0 10px 30px rgba(70, 140, 255, 0.35);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 12px 35px rgba(70, 140, 255, 0.45);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-discord {
  background: linear-gradient(135deg, var(--accent), #2d63ff);
  border: none;
  box-shadow: 0 10px 30px rgba(70, 140, 255, 0.35);
  color: white;
}

/* Botón Discord en Navbar */
.nav-actions .btn-discord {
  padding: 8px 16px;           
  font-size: 14px;             
  font-weight: 600;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;                    
  height: auto;                
  flex-shrink: 0;              
}

.nav-actions .btn-discord svg {
  width: 18px;
  height: 18px;                
}

.nav-actions .btn-secondary {
  padding: 8px 16px;           
  font-size: 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: auto;
}


.btn-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 14px;
}

/* Hero Principal */
.hero-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 140px 32px 80px;
  position: relative;
  z-index: 2;
}

.hero-content-wrapper {
  text-align: center;
  max-width: 900px;
  margin-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats Container */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

.stat-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(70, 140, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
  text-align: left;
}

.stat-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Sección Whitelist */
.whitelist-section {
  padding: 80px 32px;
  position: relative;
  z-index: 2;
}

.section-container {
  max-width: 900px;
  margin: 0 auto;
}

.section-header-block {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}

/* Formulario */
.form-wrapper {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.whitelist-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-field label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.input-field input,
.input-field select,
.input-field textarea {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(70, 140, 255, 0.15);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'outside';
  font-weight: 600;
  transition: all 0.2s ease;
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(70, 140, 255, 0.2);
}

.input-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.input-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-field label {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.checkbox-field a {
  color: var(--accent);
  text-decoration: none;
}

.checkbox-field a:hover {
  text-decoration: underline;
}

.form-message {
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  display: block;
}

/* Footer */
.footer-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 44px 32px 28px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.footer-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-copy p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255, 255, 255, 0.05);
}

*::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), #7bc6ff);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7bc6ff, var(--accent));
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-container {
    padding: 0 20px;
  }

  .hero-main {
    padding: 120px 20px 60px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .whitelist-section {
    padding: 60px 20px;
  }

  .form-wrapper {
    padding: 24px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}

