
:root {
  --color-carta: #fff;
}

.scroll-aparece {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.scroll-aparece.visible {
  opacity: 1;
  transform: translateY(0);
}

.aparicion-suave {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.aparicion-suave.visible {
  opacity: 1;
  transform: translateY(0);
}


body {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  font-family: sans-serif;
  position: relative;
  overflow-x: hidden; 
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: -1;
}

body.loaded::before {
  opacity: 1;
}

.contenido {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 100px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  max-width: 800px;
  margin: 100px auto;
}

.card-presentacion {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 850px;
  margin: 50px auto;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.titulo-inicio-decorado {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 32px;
  color: #0C66AF;
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  text-align: center;
  flex-wrap: wrap;
}

.decorado-lado {
  width: 65px;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.card-presentacion.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-izquierda {  
  width: 40%;
  height: 600px;
  flex-shrink: 0; 
  display: flex;
  align-items: center; 
  justify-content: center; 
  overflow: hidden;
  border-radius: 10px;
  user-select: none;       
  -webkit-user-drag: none; 
}

.card-izquierda img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.5s ease-in-out;

}

.card-derecha {
  width: 55%;
  flex-shrink: 0;
  font-size: 25px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;     
  text-align: center;      
  font-family: "Patrick Hand", cursive;
  font-weight: 550;
  font-style: normal;
  -webkit-user-drag: none;
}

.texto-degradado {
  color: #053E91;
}

.logo-card {
  width: 90%;
  margin-bottom: 20px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  cursor: default;
  -webkit-user-modify: none;
  -moz-user-modify: none;
  -ms-user-modify: none;
}

.botones-img {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.botones-img img {
  width: 100px;
  height: 100px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 10px;

}

.botones-img img:hover {
  transform: scale(1.1);
}



.nav-links {
  display: flex;
  flex-wrap: wrap;       
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.nav-links button {
  padding: 8px 16px;
  font-size: 20px;
  font-family: "Patrick Hand", cursive;
  font-weight: 400;
  font-style: normal;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: #083C8C;
  color: #FFFFFF;

  transition: all 0.3s ease;
  box-shadow: none;
  
}

.nav-links button.active {
  background-color: #FFB374;
  color: #FFFFFF;;
  animation: brilloPulsante 3s infinite ease-in-out;

}

.nav-links button:not(.active):hover {
  background-color: #FFB374;
  box-shadow: 0 0 8px #9b460093
}


@keyframes brilloPulsante {
  0% {
    box-shadow: 0 0 10px hsla(27, 100%, 30%, 0.3);
  }
  50% {
    box-shadow: 0 0 20px hsla(27, 100%, 30%, 0.8);
  }
  100% {
    box-shadow: 0 0 10px hsla(27, 100%, 30%, 0.3);
  }
}





.contenedor-subcarta {
  max-width: 800px;
  margin: 40px auto;
  display: none;
  flex-direction: column;
  align-items: center;
}

.subcarta {
  display: flex;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.subcarta-titulo {
  color: #0C66AF;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  font-size: 35px;
  flex-direction: column;
  justify-content: center;  
  align-items: center;     
  text-align: center;      
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
}

.subcarta-texto {
  flex: 1;
  padding: 20px;
  color: #0C66AF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subcarta-imagen {
  flex: 1;
}

.subcarta-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
}


.separador-estatico {
  width: 80%;
  border:none;
  border-top: 2px dashed #0C66AF;
  margin: 10px auto;
}

.streams-section {
  max-width: 800px;
  margin: 60px auto;
  text-align: center;
  color: #0C66AF;
}

.streams-section h2 {
  color: #0C66AF;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  font-size: 35px;
  flex-direction: column;
  justify-content: center;  
  align-items: center;     
  text-align: center;      
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
}

#twitch-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 10px;
}

.offline-msg {
  padding: 20px;
  background-color: rgba(83, 1, 94, 0.1);
  border-radius: 10px;
  font-size: 18px;
}

.subcarta {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.subcarta-interna {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: 2px dashed #0C66AF;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
  gap: 20px;
  align-items: center;
}

.subcarta-texto {
  flex: 1;
  color: #0C66AF;
  font-size: 16px;
}

.subcarta-imagen {
  flex: 1;
}

.subcarta-imagen img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  max-height: 400px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
}


.enlace-imagen {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-decoration: none;
}

.comisiones-enlaces {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  justify-content: start;
  align-items: center;
}

.comisiones-enlaces img {
  width:75px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
}

.comisiones-enlaces img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.texto-comisiones{
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;     
  text-align: center;      
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
  font-size: 20px;

}



.texto-redes p {
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;     
  text-align: center;      
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
  line-height: 1.8;
  font-size: 20px;
}

.redes-enlaces {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  justify-content: center;
  align-items: center;
}

.redes-enlaces img {
  width: 60px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  filter: brightness(0.9);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
  
}

.redes-enlaces img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}


.horario-box {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  text-align: center;
}

.horario-titulo {
  color: #0C66AF;
  justify-content: center;  
  align-items: center;     
  text-align: center;      
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
  font-size: 28px;
  margin-bottom: 15px;
}

.horario-contenedor {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

.horario-iframe {
  width: 100%;
  height: 536px;
  border: none;
  display: block;
  pointer-events: none;
}

.oculto-horario {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.oculto-horario.visible {
  opacity: 1;
  transform: translateY(0);
}


.footer-social {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  font-size: 14px;
  color: #0c66afb7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}


.footer-izquierda a {
  margin-right: 10px;
  color: #1389a7;
  text-decoration: none;
  font-size: 22px;
  transition: color 0.3s ease;
}

.footer-izquierda a:hover {
  color: #1ed2ff;
}

.footer-derecha {
  font-family: sans-serif;
  text-align: right;
  margin-top: 10px;
}


.icono-social {
  width: 28px;
  height: 28px;
  margin-right: 10x;
  vertical-align: middle;
  transition: filter 0.2s ease, transform 0.2s ease;
  object-fit: contain;
   filter: brightness(0) saturate(100%) invert(41%) sepia(65%) saturate(369%) hue-rotate(155deg) brightness(97%) contrast(101%);
}


.icono-social:hover {
 filter: brightness(0) saturate(100%) invert(65%) sepia(97%) saturate(850%) hue-rotate(2deg) brightness(104%) contrast(101%);
}


.titulo-galeria {
  color: #0C66AF;
  font-weight: bold;
  margin-bottom: 35px;
  text-align: center;
  font-size: 35px;
  flex-direction: column;
  justify-content: center;  
  align-items: center;     
  text-align: center;      
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
}

.proyecto3-layout {
  display: none;
  margin-top: 30px;
  display: none; 
  flex-direction: column; 
  align-items: center;
}

.proyecto3-layout,
.carta-activa {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.proyecto3-layout.visible,
.carta-activa.visible {
  opacity: 1;
  transform: translateY(0);
}

.galeria-contenido {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 30px;
  align-items: flex-start;
}

.botones-circulares {
  flex: 1;
  max-width: 50%;
  display: grid;
  grid-template-columns: repeat(3, 120px);
  gap: 15px;
  justify-content: center;
}

.boton-carta {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid #0C66AF;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.boton-carta.mostrar {
  transform: translateY(0);
}



.boton-carta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

}


.boton-carta.activa {
  border-color: #e09a01;
}

.carta-activa {
  flex: 1;
  max-width: 500px;
  height: 600px;
  margin: 0 auto; 
  background: linear-gradient(135deg, #1ed2ff, #022b83);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 20px;
  color: var(--color-carta);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.imagen-marco {
  width: 100%;
  height: 280px;

  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.galeria-wrapper {
  display: flex;
  justify-content: center;
  padding: 0 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.img-galeria {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carta-activa h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 15px;
  color: #1ed2ff;
}

.opciones-img {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 10px 0;
}

.opciones-img .opcion {
  cursor: pointer;
  font-weight: bold;
  color: var(--color-opcion, #ccc);
  transition: color 0.3s;
}

.opciones-img .opcion.desactivado {
  color: #d8d8d8;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}

.opciones-img .opcion.activa {
  color: #e09a01;
}

.descripcion-carta {
  font-size: 13px;
  text-align: center;
  color: #bbb;
  margin-top: 10px;
}



.iconos-informativos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 15px 0;
}

.iconos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.iconos img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.estilo-texto {
  font-size: 20px;
  margin-top: 10px;
  margin-left: auto;
  text-align: right;
  color: var(--color-carta);
}

.carta-activa h3,
.descripcion-carta h2 {
  font-size: 18px;
  color: var(--color-carta);
  margin: 10px 0 5px;
}

.descripcion-carta small {
  font-size: 13px;
  color: var(--color-carta);
  opacity: 0.85;
}

.icono-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}


.icono-info img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.icono-info span {
  font-size: 12px;
  color: var(--color-carta);
}

.iconos-informativos img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}




.subcarta-extra {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.logo-x {
  width: 32px;
  height: 32px;
}

.hashtag-link {
  font-weight: bold;
  text-decoration: none;
  color: #1DA1F2;
}

#cartaActiva {
  display: block !important;
}


.subcarta-merchandising {
  display: flex;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.subcarta-merchandising .subcarta-interna {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 25px;
  width: 100%;
  border: 2px dashed #0C66AF;
  border-radius: 12px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.1);
}

.imagen-merchandising img {
  margin: 30px auto 0 auto; 
  width: 90%;
  height: auto;
  display: block;
  border-radius: 10px;
  border:3px solid #dd5ea4;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.imagen-merchandising img:hover {
  transform: scale(1.05);
}

.texto-merchandising {
  text-align: center;
  color: #0C66AF;
  font-size: 20px;
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
}


.subcarta-extra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.subcarta-extra img {
  width: 32px;
}

.subcarta-extra a:last-child {
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
  color: #0C66AF;
  text-decoration: none;
}

.autor-texto {
  text-align: center;
  width: 100%;
  margin-bottom: 5px;
  font-size: 16px;
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
  color: #0C66AF;
}

.subcarta-extra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: blod;
  margin-top: 10px;
  font-size: 22px;
}

.boton-x img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid black;
  transition: transform 0.3s ease;
}
.boton-x img:hover {
  transform: scale(1.05);
}

.nombre-x {
  font-weight: bold;
  color: #0f0f0f;
  text-decoration: none;
  font-family: "Patrick Hand", cursive;
  font-weight: 400;
  font-style: normal;
}

.hashtag-x {
  font-weight: bold;
  color: #1DA1F2;
  text-decoration: none;
  font-family: "Patrick Hand", cursive;
  font-weight: 400;
  font-style: normal;
}


.comisiones-enlaces2 {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
}

.comisiones-enlaces2 a {
  display: inline-block;
  overflow: hidden;
  padding: 0;
  line-height: 0;
  transition:background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.comisiones-enlaces2 a:hover {
  transform: scale(1.10);
}

.comisiones-enlaces2 img {
  display: block;
  width: 120px;
  height: auto;
  border-radius: 0;
}



.carta-activa[data-carta-id="1"] {
  background: linear-gradient(0deg, #022b83, #0476c2);

}

.carta-activa[data-carta-id="2"] {
  background: linear-gradient(0deg, #022b83, #0476c2);
}

.carta-activa[data-carta-id="3"] {
  background: linear-gradient(0deg, #830233, #c20463);

}

.carta-activa[data-carta-id="4"] {
  background: linear-gradient(0deg, #a05805, #bd6d05);

}

.carta-activa[data-carta-id="5"] {
  background: linear-gradient(0deg, #022b83, #0476c2);
}

.carta-activa[data-carta-id="6"] {
  background: linear-gradient(0deg, #02831e, #04c234);

}

.carta-activa[data-carta-id="7"] {
  background: linear-gradient(0deg, #830243, #7c04c2);

}

.carta-activa[data-carta-id="8"] {
  background: linear-gradient(0deg, #83020d, #c2041d);

}

.carta-activa[data-carta-id="9"] {
  background: linear-gradient(0deg, #022b83, #0476c2);

}


.carta-activa h3 {
  font-family: "Patrick Hand", cursive;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  min-height: 40px;
}


.carta-activa[data-carta-id="1"] h3 {
  font-family: "Oxanium", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #6ee2ff;
}

.carta-activa[data-carta-id="2"] h3 {
  font-family: "Oxanium", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: #6ee2ff;
}

.carta-activa[data-carta-id="3"] h3 {

  font-family: "UnifrakturCook", cursive;
  font-weight: 700;
  font-style: normal;
  color: #fff6fe;
}

.carta-activa[data-carta-id="4"] h3 {

  font-family: "Satisfy", cursive;
  font-weight: 700;
  font-style: normal;
  color: #472b00;
}

.carta-activa[data-carta-id="5"] h3 {

  font-family: "Sniglet", system-ui;
  font-weight: 700;
  font-style: normal;
  color: #6ee2ff;
}

.carta-activa[data-carta-id="6"] h3 {

  font-family: "Press Start 2P", system-ui;
  font-weight: 700;
  font-style: normal;
  color: #afff9f;
}

.carta-activa[data-carta-id="7"] h3 {
  font-family: "Creepster", system-ui;
  font-weight: 700;
  font-style: normal;
  color: #e3b2ff;
}

.carta-activa[data-carta-id="8"] h3 {
  font-family: "UnifrakturCook", cursive;
  font-weight: 700;
  font-style: normal;
}

.carta-activa[data-carta-id="9"] h3 {
  font-family: "Gloria Hallelujah", cursive;
  font-weight: 400;
  font-style: normal;
}


@keyframes rotarCabezaVertical {
  0%   { transform: rotateX(0deg); }
  25%  { transform: rotateX(-40deg); }
  75%  { transform: rotateX(20deg); }
  100% { transform: rotateX(0deg); }
}

.boton-carta.rotando img {
  animation: rotarCabezaVertical 1.5s ease-in-out;
  transform-origin: center bottom;
  backface-visibility: hidden;
}


.oculto3 {
  display: none !important;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  pointer-events: none;
  opacity: 1;
}

.modal.visible {
  pointer-events: auto;
}

.modal-contenido {

  border-radius: 12px;
  padding: 1.5rem;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  animation: subirSuave 0.6s ease-out forwards;
}

.contenedor-img {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.contenedor-img img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  display: block;
}

.control {
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.control:hover {
  transform: scale(1.1);
}

.flecha-img {
  width: 40px;
  height: auto;
  filter: drop-shadow(0 0 2px rgba(206, 229, 255, 0.425));
}

.cerrar-modal {
  position: absolute;
  top: 2vh;
  right: 3vw;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease, filter 0.2s ease;
  z-index: 10000;
}


.cerrar-modal:hover {
  color: #6bc9ff;
    filter: drop-shadow(0 0 6px #6bdcff4f);
}

@keyframes subirSuave {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}







@media screen and (max-width: 900px) and (orientation: landscape)  {


  .botones-circulares {
    grid-template-columns: repeat(4, 80px);
    gap: 50px;
    justify-content: center;
    transform: scale(0.6);
    transform-origin: center;
  }
    .icono-info span {
    font-size: 8px;
  }

  .estilo-texto {
    font-size: 10px;
  }
}


@media screen and (max-width: 768px) {

  body {
    padding: 0 15px;
  }
  .card-presentacion {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .imagen-merchandising img{
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;

  }
  .card-derecha {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 !important;

  }

  .card-izquierda {
    width: 100%;
    order: 2;
    height: auto;
    max-width: 200px;
    margin: 0 !important;
  }

  .logo-card {
    align-self: center;
    order: 1;
    width: 80%;
  }

  .botones-img {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .separador-estatico {
    order: 4;
    width: 80%;
    margin: 10px 0;
  }

  .texto-degradado {
    order: 5;
    font-size: 14px;
    text-align: center;
    padding: 0 15px;
  }

  .nav-links {
    order: 6;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .botones-img img {
    width: 80px;
    height: 80px;
  }


  .contenedor-subcarta {
    padding: 0 15px;
    box-sizing: border-box;
  }

  .subcarta {
    flex-direction: column;
    padding: 15px;
    gap: 20px;
  }


  .horario-box {
    margin-bottom: 10px !important;
  }

  .streams-section {
    margin-top: 10px !important;
  }

  .horario-box,
  .streams-section {
    padding-top: 10px;
    padding-bottom: 10px;
  }


  .subcarta-interna {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
    box-sizing: border-box;
  }

  .galeria-contenido {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  .texto-redes .separador-estatico {
    margin: 10px auto;
    display: block;
  }

  .botones-circulares {
    display: grid;
    grid-template-columns: repeat(5, 60px);
    gap: 12px;
    transform: scale(1);
    justify-content: center;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
  }

  .boton-carta {
    width: 45px;
    height: 45px;
    margin: 0;
    padding: 0;
    border-width: 2px;
  }


  .galeria-wrapper {
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .carta-activa {
    width: 100%;
    margin-top: 10px;
    max-width: 360px;
    height: auto;
    padding-bottom: 20px;
  }
  .estilo-texto{
    font-size: 14px;
  }
  .streams-section,
  .horario-box {
    padding: 10px 15px;
    margin-bottom: 20px;
  }

  .streams-section iframe,
  .horario-iframe {
    width: 100%;
    height: 300px;
  }

  footer {
    padding: 20px 15px;
    margin-top: 20px;
  }

  .iconos-footer {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
  }
  .footer-social {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px;
  }
  .footer-izquierda,
  .footer-derecha {
    margin: 0;
    justify-content: center;
    text-align: center;
  }
  .footer-derecha {
    margin-top: 20px;
  }
  .footer-izquierda a {
    margin: 0 10px;
  }
  .icono-info span {
    font-size: 8px;
  }

  .estilo-texto {
    font-size: 10px;
  }
}

