html, body {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  padding: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
  background: linear-gradient(180deg, #000 0%, rgba(26, 26, 26, 0.8) 50%, #000 100%);
  font-family: "Montserrat", sans-serif;
  color: white;
  overflow-x: hidden;
  line-height: 30px;
}


.montserrat  {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  
}


h2 {
  font-family: 'Rubik Glitch', sans-serif;
  font-weight: 300;
  font-size: 2.5rem;
  margin-top: 0;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 3px dashed #e60000;
  display: inline-block;
  padding-bottom: 0.5rem;
  line-height: 40px;
  letter-spacing: 3px;
}

p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1rem;
  text-align: center;
}

.section {
  /* height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  padding: 4rem 4rem;
  max-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
}

/* === SECCIÓN DE STORYTELLING === */
.storytelling-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start; /* Mejor para dejar que crezca */
  gap: 4rem;
  padding: 4rem 8vw;
  scroll-snap-align: start;
  min-height: 100vh; /* ✅ Cambiamos a mínimo */
  z-index: 1;
  position: relative;
  flex-wrap: wrap; /* Para evitar solapamientos en pantallas pequeñas */
}

.storytelling-text {
  flex: 1;
  max-width: 55%;
  margin-left: 5%;
  margin-right: 10%;
}

.storytelling-text p {
  text-align: left;
  font-size: 1.5rem;
  line-height: 2;
  margin-bottom: 1.5rem;
}

.storytelling-img {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.storytelling-img img {
  max-width: 1500px;
  height: auto;
  object-fit: contain;
}

.img-vertical-grande img {
  width: auto;
  max-height: 90vh;
  border: 3px solid #e60000;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}


/* === IMAGEN HORIZONTAL === */

.storytelling-horizontal-img {
  width: 100%;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
}

.storytelling-horizontal-img img {
  width: 90vw;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border: 3px solid #e60000;
}

/* === IMÁGENES JUNTAS EN FILA === */
.storytelling-img-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 4rem 8vw;
  scroll-snap-align: start;
  flex-wrap: wrap;
}

.storytelling-img-row img {
  width: 48%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  border: 3px solid #e60000;
}

/* === MANIFIESTO EN BLOQUES ARTÍSTICOS === */
.storytelling-manifiesto {
  padding: 8rem 2rem;
  background: transparent;
  scroll-snap-align: start;
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 3rem;
}

.storytelling-manifiesto h2 {
  font-size: 3rem;
  text-align: center;
  border-bottom: 3px dashed #e60000;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
  line-height: 1.2;
  letter-spacing: 2px;
  width: 100%;
}

.storytelling-manifiesto .frase-manifiesto {
  font-size: 2.1rem;
  line-height: 1.6;
  font-weight: bold;
  max-width: 85%;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* .storytelling-manifiesto .frase-manifiesto:nth-child(even) {
  text-align: right;
} */

@media (max-width: 768px) {
  .storytelling-manifiesto h2 {
    font-size: 2rem;
  }
  .storytelling-manifiesto .frase-manifiesto {
    font-size: 1.4rem;
    text-align: center !important;
  }
}

/* === IMAGEN HORIZONTAL === */
.storytelling-horizontal-img {
  width: 100%;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  margin-top: 2rem; /* pequeña separación para evitar solapamientos */
  z-index: 1;
  position: relative;
  
}

.storytelling-horizontal-img img {
  width: 90vw;
  max-width: 1200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border: 3px solid #e60000;
  
}

/* === NUEVA SECCIÓN DE STORYTELLING CONTINUADA === */
.storytelling-alt {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  padding: 6rem 8vw;
  scroll-snap-align: start;
  min-height: 100vh;
  z-index: 1;
  position: relative;
}

.storytelling-alt .storytelling-img {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.storytelling-alt .storytelling-img img {
  width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  border: 3px solid #e60000;
}

.storytelling-alt .storytelling-text {
  flex: 1.2;
  max-width: 60%;
  margin-right: 4%;
  margin-left: 2%;
}

.storytelling-alt .storytelling-text p {
  text-align: left;
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

/* === GALERÍA DE IMÁGENES JORGAZO === */
.galeria-grid {
  padding: 6rem 2rem;
  background-color: transparent;
  color: white;
  text-align: center;
  scroll-snap-align: start;
}

.galeria-grid h2 {
  font-size: 2.8rem;
  font-family: 'Rubik Glitch', sans-serif;
  margin-bottom: 2rem;
  border-bottom: 3px dashed #e60000;
  display: inline-block;
  padding-bottom: 0.5rem;
  letter-spacing: 2px;
}

.grid-jorgazo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid-item {
  border: 3px solid #e60000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.grid-item.grande {
  grid-column: span 2;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-jorgazo {
    grid-template-columns: 1fr 1fr;
  }
  .grid-item.grande {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .grid-jorgazo {
    grid-template-columns: 1fr;
  }
  .grid-item.grande {
    grid-column: span 1;
  }
}

/* CTA SECCIÓN */

.cta-button {
  background: white;
  color: black;
  padding: 1rem 2rem;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 3rem;
  margin-bottom: 2rem;
  border-radius: 5px;
}

.cta-button:hover {
  background: #e60000;
  color: white;
}

/* CUADRICULA GEOMETRICA FONDO */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}

.grid-square {
  width: 100%;
  height: 100%;
}

.grid-square.red {
  background-color: red;
}

.grid-square.black {
  background-color: black;
}

/* === MODAL CARTEL / FECHA === */

.modal-cartel {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(2px);
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  border: 3px solid #e60000;
  border-radius: 12px;
  background: #111;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 16px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

.cartel-img {
  width: 100%;
  height: auto;
  display: none;
  border-radius: 8px;
}

.fecha-jorgazo {
  color: white;
  font-size: 1.8rem;
  padding: 2rem 1rem;
}

.fecha-jorgazo h2 {
  font-family: 'Rubik Glitch', sans-serif;
  font-weight: 100;
  font-size: 3rem;
  color: #e60000;
  margin-bottom: 1rem;
}

/* === CONTADOR RESPONSIVE Y CENTRADO === */
.countdown-jorgazo {
  color: white;
  padding: 4rem 2rem;
  background-color: #11111146;
  text-align: center;
  position: relative;
  top: 0;
  z-index: 9999;
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.countdown-item {
  background-color: #e60000;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  font-family: 'Rubik Mono One', sans-serif;
  min-width: 80px;
}

.countdown-item span {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}

.countdown-item small {
  font-size: 1rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

/* === VÍDEO REVIVE JORGAZO === */

.video-jorgazo {
  padding: 6rem 2rem;
  color: white;
  text-align: center;
  scroll-snap-align: start;
}

.video-jorgazo h2 {
  font-size: 2.8rem;
  font-family: 'Rubik Glitch', sans-serif;
  margin-bottom: 1rem;
  border-bottom: 3px dashed #e60000;
  display: inline-block;
  padding-bottom: 0.5rem;
  letter-spacing: 2px;
}

.video-jorgazo .video-desc {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  color: #ddd;
}

.video-wrapper {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  border: 3px solid #e60000;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

/* === LISTA SPOTIFY === */

.playlist-festival {
  scroll-snap-align: start;
  padding: 6rem 2rem;
  color: white;
  text-align: center;
  background: transparent;
}

.playlist-festival h2 {
  font-size: 2.8rem;
  font-family: 'Rubik Glitch', sans-serif;
  margin-bottom: 1rem;
  border-bottom: 3px dashed #e60000;
  display: inline-block;
  padding-bottom: 0.5rem;
  letter-spacing: 2px;
}

.playlist-festival .playlist-desc {
  font-size: 1.5rem;
  max-width: 800px; /* Keep this for smaller screens */
  margin: 0 auto 3rem;
  line-height: 1.8;
  color: #ddd;
}

.spotify-embed {
  max-width: 800px; /* Default max-width for smaller screens */
  margin: 0 auto 2rem;
  border: 3px solid #e60000;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.spotify-embed iframe { /* Ensure iframe fills its container */
  width: 100%;
  height: 380px; /* Keep the original height from index.html */
}

@media (min-width: 1024px) {
  .spotify-embed {
    max-width: 1000px; /* Increased max-width for larger screens */
  }
}

.spotify-wrapper { /* New wrapper for responsive sizing */
  position: relative;
  width: 100%;
  height: 0; /* Set height to 0 and use padding-bottom for aspect ratio */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio (height / width * 100) */
}

.spotify-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (min-width: 1024px) {
  .spotify-embed {
    max-width: 1000px;
  }
  .spotify-wrapper {
    padding-bottom: 45%; /* Adjust aspect ratio for wider view on large screens */
  }
}


/* === PUEBLO CELEBRA === */

.pueblo-celebra {
  padding: 6rem 2rem;
  padding-bottom: 6rem;
  background-color: transparent;
  color: white;
  text-align: center;
  scroll-snap-align: start;
  
}

.pueblo-celebra h2 {
  font-size: 2.8rem;
  font-family: 'Rubik Glitch', sans-serif;
  margin-bottom: 1.5rem;
  border-bottom: 3px dashed #e60000;
  display: inline-block;
  padding-bottom: 0.5rem;
  letter-spacing: 2px;
}

.pueblo-celebra .intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #ddd;
}

/* === NUEVO GRID DINÁMICO === */

.pueblo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

.pueblo-img {
  background: #111;
  border: 2px solid #e60000;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  transition: transform 0.3s ease;
}

.pueblo-img:hover {
  transform: scale(1.03);
}

.pueblo-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.pueblo-img-content {
  padding: 1.2rem 1.5rem;
}

.pueblo-img h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  color: white;
}

.pueblo-img p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

/* Distribución específica de tarjetas (como en diseños tipo Medium o Behance) */
.pueblo-img.grande {
  grid-column: span 3;
  height: 100%;
}

.pueblo-img.vertical {
  grid-column: span 2;
}

.pueblo-img.small {
  grid-column: span 1;
}

/* NUEVA SECCIÓN - AMPLIACIÓN PROPUESTA RAFA */

.fuente-lunara-highlight {
  padding: 6rem 2rem;
  background: repeating-linear-gradient(
    45deg,
    #000,
    #000 10px,
    #1a1a1a 10px,
    #1a1a1a 20px
  );
  border-top: 3px dashed #e60000;
  border-bottom: 3px dashed #e60000;
  text-align: center;
}

.fuente-lunara-highlight h2 {
  font-size: 3rem;
  font-family: 'Rubik Glitch', sans-serif;
  margin-bottom: 1.5rem;
  border-bottom: 3px dashed #e60000;
  display: inline-block;
  padding-bottom: 0.5rem;
  letter-spacing: 2px;
}

.fuente-desc {
  font-size: 1.6rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  color: #fff;
  font-style: italic;
  font-weight: bold;
  text-shadow: 2px 2px 4px #000;
}

.fake-video-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border: 3px solid #e60000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.fake-video-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: grayscale(10%);
}

.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(230, 0, 0, 0.8);
  border-radius: 50%;
  padding: 20px;
  box-shadow: 0 0 15px rgba(255,0,0,0.5);
  transition: all 0.2s ease-in-out;
}

.play-icon-overlay:hover {
  background: #fff;
}

.play-icon-overlay svg {
  fill: #fff;
}

.play-icon-overlay:hover svg {
  fill: #e60000;
}

.fake-video-wrapper:hover .fake-video-img {
  filter: brightness(1.05);
  transform: scale(1.01);
  transition: all 0.2s ease-in-out;
}

.frase-subrayada {
  position: relative;
  display: inline-block;
  margin: 3rem auto 2rem;
  font-size: 1.8rem;
  font-weight: bold;
  font-style: italic;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  line-height: 1.4;
  max-width: 700px;
  padding: 1rem 1.5rem;
  z-index: 1;
}

.frase-subrayada p {
  position: relative;
  z-index: 2;
}

.frase-subrayada::after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  height: 20px;
  background: repeating-linear-gradient(
    -10deg,
    rgba(230, 0, 0, 0.6),
    rgba(230, 0, 0, 0.6) 2px,
    rgba(0, 0, 0, 0.4) 2px,
    rgba(0, 0, 0, 0.4) 4px
  );
  transform: skewY(-5deg);
  z-index: 1;
  border-radius: 3px;
  opacity: 0.8;
}

/* FIN SECCIÓN PROPUESTA RAFA */

.caption {
  font-size: 0.9rem;
  color: #000;
  font-family: "Montserrat", sans-serif;
}

footer {
  background-color: #000; /* negro puro para máximo contraste */
  color: #f2f2f2; /* texto más suave pero contrastado */
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  scroll-snap-align: start;
}

footer a {
  color: #e60000; /* rojo corporativo */
  text-decoration: underline;
  font-weight: bold;
}

footer a:hover,
footer a:focus {
  color: #ffffff;
  background-color: #e60000;
  padding: 0.1rem 0.2rem;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  transition: all 0.2s ease;
  outline: none;
}


#logoFefa {
  width: 400px;
  height: 200px;
}

/* === MAPA FESTIVAL === */
.map {
  width: 100%;
  max-width: 1000px;
  margin: 4rem auto 6rem auto;
  border: 3px solid #e60000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

.map iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: none;
}

/* === FORMULARIO === */

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 1rem;
  margin: 0.5rem 0;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
}

.formulario button {
  background: white;
  color: black;
  padding: 1rem 2rem;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formulario button:hover {
  background: #e60000;
  color: white;
}

.section-logo-intro {
  background-color: #000;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
}

#scroll-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  transform: scale(0.5);
  transition: transform 0.1s linear, opacity 0.1s linear;
  opacity: 0.8;
  display: block;
  margin: 0 auto;
}

/* === TEXTOS LEGALES === */

.legal-content {
  color: white;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}
.legal-content h2 {
  font-family: 'Rubik Glitch', sans-serif;
  color: #e60000;
  border-bottom: 3px dashed #e60000;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 2rem;
}

/* === MODAL PARA AMPLIACIÓN DE IMÁGENES === */

/* Estilo del modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100dvw;
  height: 100dvh;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border: 4px solid #e60000;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
}

/* === SECCIÓN DE BANDAS - EL CARTELAZO === */
.section-cartelazo {
  padding: 6rem 2rem;
  background-color: #000;
  text-align: center;
}

.section-cartelazo h2 {
  font-size: 3rem;
  font-family: 'Rubik Glitch', sans-serif;
  margin-bottom: 3rem;
  border-bottom: 3px dashed #e60000;
  display: inline-block;
  padding-bottom: 1rem;
  letter-spacing: 2px;
}

.cartelazo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.banda-card {
  background: #111;
  border: 3px solid #e60000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.banda-card:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 10px 20px rgba(230, 0, 0, 0.5);
}

.banda-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.banda-card:hover img {
  filter: grayscale(0%);
}

.banda-nombre {
  font-family: 'Rubik Mono One', sans-serif;
  font-size: 1.2rem;
  color: #fff;
  padding: 1rem;
  background-color: #e60000;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}

/* === MODAL DE BANDA === */
.modal-banda {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-banda-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  overflow: auto;
  background: #111;
  border: 3px solid #e60000;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
  text-align: center;
  color: #fff;
}

.close-modal-banda {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
}

#modalBandaBody h3 {
    font-family: 'Rubik Glitch', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
    color: #e60000;
    margin-bottom: 1rem;
    margin-top: 1.5rem; /* Added spacing */
}

#modalBandaBody p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem; /* Increased spacing */
}

.banda-video { /* New style for the video/link container */
  margin-top: 2rem; /* Added spacing */
  text-align: center; /* Center the button */
}

#modalBandaBody .banda-social-links {
    margin-top: 2rem; /* Added spacing */
    text-align: center; /* Center the icons */
}

#modalBandaBody .banda-social-links a {
    color: #e60000;
    text-decoration: none;
    font-size: 1.5rem;
    margin-right: 1rem;
}

#modalBandaBody .banda-social-links a:hover {
    color: #fff;
}

/* === ESTILOS MENÚ PUNK === */

/* Clase para ocultar elementos visualmente pero mantenerlos accesibles */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#menu-trigger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  background: black;
  border: 2px solid white;
  border-radius: 50%;
  width: 60px; /* Tamaño aumentado */
  height: 60px;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease, transform 0.3s ease, opacity 0.3s ease;
  animation: pulse-animation 2s infinite;
  transform: translateZ(0);
}

#menu-trigger.hidden {
    opacity: 0;
    pointer-events: none;
}

#menu-trigger:hover,
#menu-trigger:focus-visible {
  background: #e60000;
  animation-play-state: paused; /* Pausar pulso en hover */
}

#menu-trigger img {
  width: 40px; /* Tamaño de imagen aumentado */
  height: 40px;
}

#punk-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  flex-direction: column; /* Cambiado para responsive */
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow: hidden;
}

#punk-menu-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

#punk-menu-overlay.visible .menu-link {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

#menu-close {
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 10002;
  background: none;
  border: none;
  color: white;
  font-size: 4rem; /* Más grande para ser más visible */
  font-family: 'Rubik Glitch', sans-serif;
  cursor: pointer;
  text-shadow: 0 0 5px #e60000;
  transition: transform 0.3s ease, color 0.3s ease;
}

#menu-close:hover,
#menu-close:focus-visible {
  color: #e60000;
  transform: scale(1.2) rotate(90deg);
}

.menu-link {
  position: relative; /* Cambiado para layout responsive */
  color: white;
  font-family: 'Rubik Glitch', sans-serif;
  font-weight: 300;
  font-size: 2.5rem;
  text-decoration: none;
  text-transform: uppercase;
  padding: 1rem;
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease, color 0.2s ease;
}

.menu-link:hover,
.menu-link:focus-visible {
  color: #e60000;
  text-shadow: 0 0 10px #fff;
}

/* Transiciones con retraso para los enlaces */
#punk-menu-overlay.visible .menu-link:nth-child(4) { transition-delay: 0.4s; }
#punk-menu-overlay.visible .menu-link:nth-child(5) { transition-delay: 0.5s; }
#punk-menu-overlay.visible .menu-link:nth-child(6) { transition-delay: 0.6s; }
#punk-menu-overlay.visible .menu-link:nth-child(7) { transition-delay: 0.7s; }


/* === ANIMACIONES NUEVAS === */

#paint-splatter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/logo/mancha_pintura1.svg') no-repeat center center;
  background-size: cover;
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

#punk-menu-overlay.visible #paint-splatter {
  animation: splatter-effect 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

body.forceful-shake {
  animation: forceful-shake 0.8s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes pulse-animation {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(230, 0, 0, 0.7); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }
}

@keyframes forceful-shake {
  10%, 90% { transform: translate3d(-1px, 0, 0) rotate(-1deg); }
  20%, 80% { transform: translate3d(2px, 0, 0) rotate(2deg); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0) rotate(-4deg); }
  40%, 60% { transform: translate3d(4px, 0, 0) rotate(4deg); }
}

@keyframes splatter-effect {
  0% {
    transform: scale(0.5) rotate(-30deg);
    opacity: 0;
  }
  40% {
    transform: scale(1.2) rotate(10deg);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.3) rotate(-5deg);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.8) rotate(0deg);
    opacity: 0;
  }
}


.galeria-grid .cta-button {
  margin-top: 5rem;
}