:root {
  --bg: #07090D;
  --ink: #E9E9E9;
  --muted: #A7A7A7;
  --line: #171F26;

  --accent: #63AB45;
  --accent-2: #FF0033;
  --highlight: #8DF2E8;

  --count-fg: #8DF2E8;
  --count-bg: #01261C;
  --count-border: #025939;

  --grayscale-dark: #333333;
  --grayscale-light: #CCCCCC;
  --silver: #C0C0C0;
  --gold: #FFD700;

  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Share Tech Mono', monospace;
  --font-count: 'Audiowide', cursive;
}

/* --- GLOBAL --- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  margin: 0;
  background: none; /* Usaremos div.site-bg */
}

/* IMAGEN DE FONDO GLOBAL */
.site-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url('assets/images/fondo.png') center center / cover no-repeat;
  filter: brightness(0.5); /* oscurece para que el texto resalte */
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  padding: 1rem 0;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  margin: 0 1rem;
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--ink);
}

.hero-video, .hero-video-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-2 {
  opacity: 0.5; /* clip2 parcialmente visible sobre clip1 */
}

.hero-in {
  position: relative;
  z-index: 2; /* texto siempre encima */
}

.title {
  font-family: var(--font-heading);
  font-size: 4rem;
  margin: 0;
}

.kicker {
  margin-top: 1rem;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.cta .btn {
  padding: 0.8rem 2rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.cta .btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* --- CONTADOR --- */
/* --- estilos existentes del contador --- */
.countdown-wrap {
  margin-top: 2rem;
  font-family: var(--font-count);
  color: var(--count-fg);
  background: var(--count-bg);
  padding: 1rem 1.25rem;
  border: 2px solid var(--count-border);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
}
.countdown-label { display:block; font-size:.9rem; color: var(--highlight); margin-right:.25rem; }
.countdown { font-weight:700; font-size:1.6rem; display:inline-flex; gap:.25rem; }
.countdown .sep { opacity:.75 }

/* --- tarjeta Spotify con el MISMO lenguaje visual --- */
.spotify-card {
  margin-top: 1.25rem;              /* separación extra del banner */
  background: var(--count-bg);
  color: var(--count-fg);
  border: 2px solid var(--count-border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
  max-width: 980px;
  width: min(96vw, 980px);
  padding: 1rem;
}
.spotify-card__head {
  display:flex; align-items:center; justify-content:space-between; gap:.75rem;
  margin-bottom:.75rem;
}
.spotify-card__title { margin:0; font-size:1.1rem; color: var(--highlight); }
.spotify-card__body { overflow:hidden; border-radius: 10px; }
.spotify-card__foot { display:flex; justify-content:flex-end; margin-top:.75rem; }

/* botón CTA “Abrir en Spotify” con estilo del banner */
.spotify-cta {
  display:inline-block; padding:.55rem .9rem; border-radius:10px;
  background:#1DB954; color:#fff; text-decoration:none; font-weight:700;
  border:2px solid #169b44;
}

/* botón mutear (reutilizable) */
.mute-btn {
  font: inherit; font-weight:700;
  background: transparent; color: var(--count-fg);
  border: 2px dashed var(--count-border);
  border-radius: 10px; padding:.35rem .7rem; cursor: pointer;
}
.mute-btn:hover { filter: brightness(1.08); }

/* utilidades */
.is-hidden { display:none !important; }    


/* --- SECCIONES --- */
section {
  padding: 5rem 0;
  position: relative;
  z-index: 1; /* Sobre la imagen de fondo global */
}

.wrap {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- FECHAS --- */

#shows {
  padding: 8rem 0; /* un poco más grande para que destaque */
  background: rgba(0,0,0,0.85); /* fondo sólido para cubrir la imagen de fondo */
}

/* Título H2 sólido y destacado */
#shows h2.upper {
  font-family: var(--font-heading);
  font-size: 2.8rem; /* más grande */
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent); /* color verde neón sólido */
  text-shadow: 0 0 8px var(--accent); /* hace que resalte sobre cualquier fondo */
}

/* Lista de shows */
.shows {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem; /* un poquito más de espacio */
}

/* Cada item de show */
.shows li {
  background: rgba(0,0,0,0.9); /* más contraste para que tape la imagen de fondo */
  padding: 1.5rem; /* más grande */
  border-radius: 10px;
  text-align: center;
  color: var(--ink); /* texto sólido */
  font-size: 1.2rem; /* un poco más grande */
  transition: transform 0.3s ease, background 0.3s ease;
}

.shows li:hover {
  transform: translateY(-5px);
  background: rgba(0,0,0,1); /* completamente sólido al pasar mouse */
}

/* Fecha */
.shows .when {
  display: block;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--accent-2); /* rojo neón para la fecha */
  text-shadow: 0 0 5px var(--accent-2); /* que resalte */
}

/* Ciudad y lugar */
.shows .city, .shows .venue {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent); /* verde neón */
  font-weight: 500;
}

/* Link de tickets */
.shows .link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--highlight); /* cian neón */
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.shows .link:hover {
  color: var(--accent-2); /* rojo neón al pasar mouse */
}
 
/* --- MÚSICA --- */
.covers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.cover {
  position: relative;
  overflow: hidden;
  display: block;
}

.cover img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.cover:hover img {
  transform: scale(1.05);
}

.caption {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  color: var(--accent);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.5);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* --- FOTOS --- */
#photos {
  padding: 6rem 2rem; /* sección más grande */
  background: rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh; /* altura mínima */
}

/* Título de la sección */

/* Título de la sección */
/* Título de la sección */
#photos .upper {
  font-family: 'Audiowide', cursive; /* fuente fija */
  font-size: 3rem;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
  margin-bottom: 3rem;
  text-align: center;
  display: inline-block;
  animation: vibrate-text 0.3s infinite; /* SOLO vibración, sin cambio de fuentes */
}

/* Grid dinámico */
.photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* imágenes más grandes */
  gap: 1.5rem;
  width: 100%;
  max-width: 1400px;
}

/* Cada imagen */
.ph {
  width: 100%;
  height: 450px; /* más alta que antes */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.ph:hover {
  transform: scale(1.05); /* efecto sutil al pasar el mouse */
}

/* Animación vibración para imágenes */
.ph.vibrate-img {
  animation: vibrate-img 0.4s infinite;
}

/* --- VIBRACIÓN TEXTO --- */
.vibrate-text {
  display: inline-block;
  animation: vibrate-text 0.25s infinite;
}

@keyframes vibrate-text {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  10%  { transform: translate(-1px, -1px) rotate(-1deg); }
  20%  { transform: translate(1px, 1px) rotate(1deg); }
  30%  { transform: translate(-1px, 1px) rotate(0deg); }
  40%  { transform: translate(1px, -1px) rotate(-1deg); }
  50%  { transform: translate(-1px, 1px) rotate(1deg); }
  60%  { transform: translate(1px, -1px) rotate(0deg); }
  70%  { transform: translate(-1px, 1px) rotate(1deg); }
  80%  { transform: translate(1px, -1px) rotate(-1deg); }
  90%  { transform: translate(0px, 1px) rotate(0deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

/* --- CAMBIO DE FUENTE --- */
.font-change {
  animation: font-change 15s infinite;
}

@keyframes font-change {
  33%  { font-family: 'Audiowide', cursive; } /* misma que "FOTOS" y "MUSICA" */
}

/* Animación vibración imagen */
@keyframes vibrate-img {
  0%   { transform: translateX(0px) rotate(0deg); }
  10%  { transform: translateX(-3px) rotate(-1deg); }
  20%  { transform: translateX(3px) rotate(1deg); }
  30%  { transform: translateX(-3px) rotate(0deg); }
  40%  { transform: translateX(3px) rotate(-1deg); }
  50%  { transform: translateX(-2px) rotate(1deg); }
  60%  { transform: translateX(2px) rotate(0deg); }
  70%  { transform: translateX(-2px) rotate(1deg); }
  80%  { transform: translateX(2px) rotate(-1deg); }
  90%  { transform: translateX(0px) rotate(0deg); }
  100% { transform: translateX(0px); }
}
 


/* --- NOTICIAS --- */
.news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.note {
  background: rgba(0,0,0,0.5);
  padding: 1rem;
  border-radius: 8px;
}

.note-t {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.note-b {
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- FOOTER --- */
.foot {
  background: rgba(0,0,0,0.7);
  padding: 3rem 0;
  color: var(--ink);
}

.foot-in {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.foot-left, .foot-right {
  margin-bottom: 1rem;
}

.foot-right a {
  display: inline-block;
  margin-left: 1rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.foot-right a:hover {
  color: var(--accent-2);
}

/* --- TIPOGRAFÍA GENERAL --- */
.upper {
  text-transform: uppercase;
}

.h {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}



/* --- CONOCENOS --- */
#conocenos {
  padding: 10rem 2rem; /* sección más grande */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15); /* opcional, que resalte sobre la imagen de fondo */
  min-height: 80vh; /* asegura altura mínima */
}

/* Título */
#conocenos .upper {
  font-family: var(--font-heading);
  font-size: 3rem; /* un poco más grande */
  color: var(--accent); 
  text-shadow: 0 0 8px var(--accent);
  margin-bottom: 4rem;
  text-align: center;
}

/* Contenedor de miembros */
.team-container {
  display: flex;
  align-items: center;
  gap: 4rem; /* espacio entre imagen y texto */
  max-width: 1200px;
  width: 100%;
}

/* Imagen */
.team-image img {
  width: 650px;   /* más ancho */
  height: 800px;  /* más alto */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.team-image img:hover {
  transform: scale(1.05); /* efecto sutil al pasar el mouse */
}

/* Texto del miembro */
.team-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--accent); 
  text-shadow: 0 0 5px rgba(0,255,0,0.7);
  line-height: 1.6;
  min-height: 800px; /* mantiene altura igual que la imagen */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

/* Animaciones para el texto */

/* 1. Parpadeo */
.blink {
  animation: blink-animation 1s infinite;
}
@keyframes blink-animation {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.3; }
}

/* 2. Vibración (pequeños movimientos) */
/* --- Animación combinada: vibrar + moverse lateralmente --- */
.vibrate-horizontal {
  display: inline-block;
  animation: vibrate-horizontal 0.6s infinite;
}

@keyframes vibrate-horizontal {
  0%   { transform: translateX(0px); }
  10%  { transform: translateX(-2px) rotate(-1deg); }
  20%  { transform: translateX(2px) rotate(1deg); }
  30%  { transform: translateX(-2px) rotate(0deg); }
  40%  { transform: translateX(2px) rotate(-1deg); }
  50%  { transform: translateX(-1px) rotate(1deg); }
  60%  { transform: translateX(1px) rotate(0deg); }
  70%  { transform: translateX(-1px) rotate(1deg); }
  80%  { transform: translateX(1px) rotate(-1deg); }
  90%  { transform: translateX(0px) rotate(0deg); }
  100% { transform: translateX(0px); }
} 


/* 3. Movimiento de derecha a izquierda */
.scroll-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 10s linear infinite;
}
@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* --- VIBRACIÓN + GLITCH IMAGEN --- */
.glitch {
  display: inline-block;
  animation: vibrate-img 0.25s infinite, glitch-img 1.2s infinite;
  position: relative;
}

/* Vibración más rápida pero suave */
@keyframes vibrate-img {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  10%  { transform: translate(-2px, -1px) rotate(-1deg); }
  20%  { transform: translate(2px, 1px) rotate(1deg); }
  30%  { transform: translate(-2px, 2px) rotate(0deg); }
  40%  { transform: translate(2px, -1px) rotate(-1deg); }
  50%  { transform: translate(-1px, 1px) rotate(1deg); }
  60%  { transform: translate(1px, -2px) rotate(0deg); }
  70%  { transform: translate(-1px, 1px) rotate(1deg); }
  80%  { transform: translate(1px, -1px) rotate(-1deg); }
  90%  { transform: translate(0px, 1px) rotate(0deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

/* Efecto GLITCH */
@keyframes glitch-img {
  0% {
    clip: rect(0, 9999px, 0, 0);
  }
  5% {
    clip: rect(10px, 9999px, 80px, 0);
    transform: translate(-2px, -1px);
  }
  10% {
    clip: rect(20px, 9999px, 60px, 0);
    transform: translate(2px, 1px);
  }
  15% {
    clip: rect(5px, 9999px, 90px, 0);
    transform: translate(-1px, 2px);
  }
  20% {
    clip: rect(15px, 9999px, 70px, 0);
    transform: translate(1px, -1px);
  }
  25% {
    clip: rect(0px, 9999px, 80px, 0);
    transform: translate(-2px, 0px);
  }
  30% {
    clip: rect(10px, 9999px, 60px, 0);
    transform: translate(1px, -1px);
  }
  35% {
    clip: rect(5px, 9999px, 90px, 0);
    transform: translate(0px, 2px);
  }
  40% {
    clip: rect(0px, 9999px, 80px, 0);
    transform: translate(-1px, 1px);
  }
  45% {
    clip: rect(10px, 9999px, 60px, 0);
    transform: translate(2px, -1px);
  }
  50% {
    clip: rect(5px, 9999px, 90px, 0);
    transform: translate(-2px, 0px);
  }
  55% {
    clip: rect(0px, 9999px, 80px, 0);
    transform: translate(1px, 1px);
  }
  60% {
    clip: rect(10px, 9999px, 60px, 0);
    transform: translate(-1px, -2px);
  }
  65% {
    clip: rect(5px, 9999px, 90px, 0);
    transform: translate(2px, 1px);
  }
  70% {
    clip: rect(0px, 9999px, 80px, 0);
    transform: translate(-2px, -1px);
  }
  75% {
    clip: rect(10px, 9999px, 60px, 0);
    transform: translate(1px, 0px);
  }
  80% {
    clip: rect(5px, 9999px, 90px, 0);
    transform: translate(0px, 2px);
  }
  85% {
    clip: rect(0px, 9999px, 80px, 0);
    transform: translate(-1px, -1px);
  }
  90% {
    clip: rect(10px, 9999px, 60px, 0);
    transform: translate(2px, 1px);
  }
  95% {
    clip: rect(5px, 9999px, 90px, 0);
    transform: translate(-2px, 0px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
    transform: translate(0px, 0px);
  }
} 




/* --- VIBRACIÓN + CAMBIO DE FUENTE --- */
.vibrate-font {
  display: inline-block;
  animation: 
    vibrate-text 0.25s infinite,       /* vibración rápida */
    font-change 9s infinite linear;    /* 3 fuentes x 3 segundos cada una = 9s total */
}

/* Keyframes vibración */
@keyframes vibrate-text {
  0%   { transform: translate(0px, 0px) rotate(0deg); }
  10%  { transform: translate(-1px, -1px) rotate(-1deg); }
  20%  { transform: translate(1px, 1px) rotate(1deg); }
  30%  { transform: translate(-1px, 1px) rotate(0deg); }
  40%  { transform: translate(1px, -1px) rotate(-1deg); }
  50%  { transform: translate(-1px, 1px) rotate(1deg); }
  60%  { transform: translate(1px, -1px) rotate(0deg); }
  70%  { transform: translate(-1px, 1px) rotate(1deg); }
  80%  { transform: translate(1px, -1px) rotate(-1deg); }
  90%  { transform: translate(0px, 1px) rotate(0deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

/* Keyframes cambio de fuente */
@keyframes font-change {
  0%   { font-family: 'Press Start 2P', cursive; }
  33%  { font-family: 'Audiowide', cursive; }  /* la fuente de tus secciones */
  66%  { font-family: 'Rock Salt', cursive; }
  100% { font-family: 'Press Start 2P', cursive; }
}





/* Puedes combinar con efecto scroll (derecha a izquierda) si quieres */
.scroll-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 10s linear infinite;
}
@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}


















/* Botones */
.team-controls {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}
.team-controls button {
  padding: 0.75rem 1.5rem;
  font-size: 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: var(--accent);
  color: #000;
  transition: background 0.3s ease;
}
.team-controls button:hover {
  background: var(--highlight);
}


/* --- Lightbox --- */
#lightbox {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

.arrow {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 0 1rem;
  transform: translateY(-50%);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}


/* FOOTER*/

.foot-right a i {
  font-size: 2rem; /* tamaño ícono */
  margin: 0 10px;
  color: var(--accent); /* verde neón */
  transition: color 0.3s ease, transform 0.2s ease;
}

.foot-right a i:hover {
  color: var(--accent-2); /* rojo neón al pasar mouse */
  transform: scale(1.2);
}


.foot { padding: 2rem 0; border-top: 1px solid #333; }
.foot-in { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.foot-right.social { display: flex; gap: 1rem; align-items: center; }
.social-link { display: inline-flex; align-items: center; text-decoration: none; }
.social-link svg { width: 24px; height: 24px; fill: currentColor; }
.underline { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1,1); white-space: nowrap; border: 0; }
 


/* Mouse*/

.spotify-card {
  margin-top: 1.5rem;
  background: var(--count-bg);
  color: var(--count-fg);
  border: 2px solid var(--count-border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
  max-width: 980px;
  width: min(96vw, 980px);
  padding: 1rem;
}
.spotify-card__head {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:.75rem;
}
.spotify-card__title { margin:0; font-size:1.1rem; color: var(--highlight); }
.spotify-card__body { overflow:hidden; border-radius: 10px; }
.spotify-card__foot { display:flex; justify-content:flex-end; margin-top:.75rem; }

.mute-btn {
  font: inherit; font-weight:700;
  background: transparent; color: var(--count-fg);
  border: 2px dashed var(--count-border);
  border-radius: 10px; padding:.35rem .7rem; cursor:pointer;
}
.is-hidden { display:none !important; }

/* Botón fallback para iniciar audio si autoplay se bloquea */
.play-hint {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--count-bg); color: var(--count-fg);
  border: 2px solid var(--count-border); border-radius: 10px;
  padding:.5rem .9rem; font-weight:700; z-index: 50;
}

/* Botón CTA de Spotify */
.spotify-cta {
  display:inline-block; padding:.55rem .9rem; border-radius:10px;
  background:#1DB954; color:#fff; text-decoration:none; font-weight:700;
  border:2px solid #169b44;
}