/* ========================================================== */
/* 1. VARIABLES GLOBALES Y RESET GENERAL                      */
/* ========================================================== */
:root {
  --bg-color: #060609;
  --panel-bg: #0b0b10;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --neon-glow-blue: rgba(59, 130, 246, 0.6);
  --neon-glow-purple: rgba(168, 85, 247, 0.6);
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
}

* {
  text-align: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rajdhani', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  text-align: center;
}


/* ========================================================== */
/* 2. HEADER Y LOGOTIPO DE TEXTO CON ANIMACIÓN 3D AUTOMÁTICA  */
/* ========================================================== */
.header {
  background: rgba(8, 8, 12, 0.98);
  border-bottom: 2px solid rgba(168, 85, 247, 0.4);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@keyframes rotate3dLogo {
  0% { transform: perspective(1000px) rotateY(0deg); }
  100% { transform: perspective(1000px) rotateY(360deg); }
}

.logo {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.6rem;
  cursor: pointer;
  display: inline-block;
  perspective: 1000px;
  transform-style: preserve-3d;
  animation: rotate3dLogo 10s linear infinite;
}

.logo:hover {
  animation-play-state: paused;
  filter: drop-shadow(0 0 15px var(--accent-purple)) drop-shadow(0 0 25px var(--accent-blue));
}

.logo-urban {
  color: var(--accent-blue);
  text-shadow: 0 0 10px var(--neon-glow-blue);
}

.logo-neon {
  color: var(--accent-purple);
  text-shadow: 0 0 10px var(--neon-glow-purple);
}


/* ========================================================== */
/* 3. MENÚ DE NAVEGACIÓN SUPERIOR Y BOTONES                   */
/* ========================================================== */
.nav-menu {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.nav-btn {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--text-color);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-btn:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  transform: translateY(-3px) rotate(1.5deg) scale(1.05);
  box-shadow: 0 0 18px var(--neon-glow-purple);
  border-color: #fff;
}

/* Logotipo de la esquina superior derecha con zoom */
.header-right-logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-blue);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.header-right-logo img:hover {
  transform: scale(2.2);
  box-shadow: 0 0 25px var(--accent-blue);
  z-index: 1000;
  position: relative;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent-blue);
  font-size: 1.5rem;
  cursor: pointer;
}


/* ========================================================== */
/* 4. SECCIÓN HERO (PANTALLA PRINCIPAL)                      */
/* ========================================================== */
.hero-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: radial-gradient(circle at center, #111122 0%, #060609 80%);
}

.hero-text .street-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(4rem, 10vw, 7rem);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.hero-text .highlight {
  color: var(--accent-purple);
  text-shadow: 0 0 20px var(--neon-glow-purple);
}

.hero-text .tagline {
  font-size: 1.3rem;
  color: var(--accent-blue);
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-text .sub-tagline {
  color: var(--text-muted);
  font-size: 1rem;
}


/* ========================================================== */
/* 5. VENTANAS / MODALES A PANTALLA COMPLETA                  */
/* ========================================================== */
.info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
  overflow-y: auto;
  text-align: center;
}

.info-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--panel-bg);
  width: 100vw;
  min-height: 100vh;
  padding: 40px 5%;
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.modal-content.active {
  display: flex;
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-btn:hover {
  background: var(--accent-purple);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px var(--neon-glow-purple);
}

.content-body-area {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.content-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
  padding-bottom: 15px;
  text-shadow: 0 0 10px var(--neon-glow-blue);
}


/* ========================================================== */
/* 6. SUBMENÚ INFERIOR DENTRO DE CADA PANTALLA                */
/* ========================================================== */
.modal-footer-nav {
  max-width: 1200px;
  margin: 40px auto 20px auto;
  padding-top: 20px;
  border-top: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.sub-nav-btn {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid var(--accent-purple);
  color: var(--text-color);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.sub-nav-btn:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  box-shadow: 0 0 15px var(--neon-glow-purple);
  transform: translateY(-2px);
}


/* ========================================================== */
/* 7. TARJETAS, INTEGRANTES Y EFECTO DE ZOOM EN FOTOS         */
/* ========================================================== */
.cards-mini-grid, .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card, .team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover, .team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 5px 20px var(--neon-glow-blue);
}

.team-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid var(--accent-purple);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  cursor: pointer;
}

.team-card:hover img {
  transform: scale(1.3);
  box-shadow: 0 0 25px var(--neon-glow-purple);
}

.team-card span {
  color: var(--text-muted);
  font-size: 0.95rem;
}


/* ========================================================== */
/* 8. SECCIÓN DE ENLACES (BOTÓN CENTRAL ÉPICO Y ANIMADO)      */
/* ========================================================== */
.enlace-center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 40px 0;
}

.enlace-title-custom {
  border-bottom: none !important;
  justify-content: center;
}

.motivational-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

@keyframes pulseEpic {
  0% { transform: scale(1); box-shadow: 0 0 20px var(--neon-glow-blue); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px var(--neon-glow-purple); }
  100% { transform: scale(1); box-shadow: 0 0 20px var(--neon-glow-blue); }
}

.btn-link-epic {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px var(--neon-glow-blue);
  animation: pulseEpic 2.5s infinite;
}

.btn-link-epic:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px var(--neon-glow-purple);
  animation: none;
}


/* ========================================================== */
/* 9. CENTRO DE AYUDA (PESTAÑAS INTERACTIVAS Y SOPORTE)      */
/* ========================================================== */
.help-options-grid {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.help-opt-btn {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--accent-blue);
  color: var(--text-color);
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.help-opt-btn:hover,
.help-opt-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px var(--neon-glow-purple);
  transform: translateY(-2px);
}

.help-tab-content {
  display: none;
  background: rgba(255, 255, 255, 0.02);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  animation: fadeInHelp 0.4s ease;
  text-align: left;
}

.help-tab-content.active {
  display: block;
}

@keyframes fadeInHelp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ========================================================== */
/* 10. FOOTER Y DISEÑO RESPONSIVE (MÓVILES)                  */
/* ========================================================== */
footer {
  text-align: center;
  padding: 20px;
  background: #040406;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer span {
  color: var(--accent-blue);
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0a0a0f;
    padding: 20px;
    border-bottom: 2px solid var(--accent-purple);
    box-shadow: 0 10px 20px rgba(0,0,0,0.8);
  }
  .nav-menu.open {
    display: flex;
  }
  .hamburger-btn {
    display: block;
  }
}