
    @font-face { font-family: 'Gotica'; src: url('./fonts/unifrakturmaguntia.woff2') format('woff2'); }
    @font-face { font-family: 'Glitch'; src: url('./fonts/rubik-glitch.woff2') format('woff2'); }
    @font-face { font-family: 'Cyber';  src: url('./fonts/orbitron.woff2') format('woff2'); }
    @font-face { font-family: 'Comic';  src: url('./fonts/bangers.woff2') format('woff2'); }

    .logo-enlace {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      text-decoration: none;
      user-select: none;
      -webkit-tap-highlight-color: transparent; /* Quita el destello azul al tocar en móvil */
    }

    .logo-enlace > span + span {
      margin-left: -10px;
    }

    /* Se activa con :hover (PC) O con .activo (Móvil) */
    .logo-enlace > span:hover,
    .logo-enlace > span.activo {
      z-index: 20;
    }

    /* =========================================
       1. Q -> q (FLIP 3D)
       ========================================= */
    .flip-contenedor {
      display: inline-block;
      width: 64px;
      height: 64px;
      perspective: 800px;
      position: relative;
      z-index: 1;
    }

    .flip-carta {
      display: block;
      width: 100%;
      height: 100%;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
    }

    .flip-contenedor:hover .flip-carta,
    .flip-contenedor.activo .flip-carta {
      transform: rotateY(180deg);
    }

    .flip-cara {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
    }

    .flip-frente {
      background-color: rgba(109, 40, 217, 0.8);
      color: #39ff14;
      font-family: 'Gotica', Georgia, serif;
      font-size: 48px;
    }

    .flip-dorso {
      background-color: rgba(171, 206, 213, 0.8);
      color: #301e06;
      font-family: 'Glitch', 'Courier New', monospace;
      font-size: 42px;
      transform: rotateY(180deg);
    }

    /* =========================================
       CUADROS GENERALES (2, 3 y 4)
       ========================================= */
    .cuadro {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      line-height: 1;
      transition: background-color 0.4s ease, color 0.4s ease, transform 0.35s ease;
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
    }

    /* =========================================
       2. Primera a -> A
       ========================================= */
    .c-2 {
      width: 44px;
      height: 44px;
      z-index: 2;
      background-color: rgba(132, 204, 22, 0.8);
      color: #640745;
      font-family: 'Cyber', 'Courier New', monospace;
      font-weight: bold;
      font-size: 26px;
    }
    .c-2 .hover-letra { display: none; }
    .c-2:hover .normal-letra, .c-2.activo .normal-letra { display: none; }
    .c-2:hover .hover-letra,  .c-2.activo .hover-letra  { display: inline; }
    .c-2:hover, .c-2.activo {
      background-color: rgba(168, 85, 247, 0.85);
      color: #95e0cf;
      font-family: 'Comic', Impact, sans-serif;
      font-size: 36px;
      transform: rotate(-45deg) scale(1.6);
    }

    /* =========================================
       3. Segunda a -> A
       ========================================= */
    .c-3 {
      width: 54px;
      height: 54px;
      z-index: 3;
      background-color: rgba(76, 29, 149, 0.8);
      color: #a3e635;
      font-family: 'Glitch', Papyrus, fantasy;
      font-size: 34px;
    }
    .c-3 .hover-letra { display: none; }
    .c-3:hover .normal-letra, .c-3.activo .normal-letra { display: none; }
    .c-3:hover .hover-letra,  .c-3.activo .hover-letra  { display: inline; }
    .c-3:hover, .c-3.activo {
      background-color: rgba(222, 74, 210, 0.85);
      color: #4c1d95;
      font-family: 'Cyber', 'Lucida Console', monospace;
      font-size: 38px;
      transform: rotate(90deg) scale(1.1);
    }

    /* =========================================
       4. H -> h (BLUR SUAVE)
       ========================================= */
    .c-4 {
      width: 72px;
      height: 72px;
      z-index: 4;
      background-color: rgba(20, 255, 181, 0.8);
      color: #581c87;
      font-size: 44px;
      overflow: hidden;
      transition: background-color 0.5s ease, color 0.5s ease;
    }

    .c-4 .letra-blur {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
      will-change: filter, opacity, transform;
    }

    .c-4 .normal-letra {
      font-family: 'Comic', Impact, sans-serif;
      opacity: 1;
      filter: blur(0px);
      transform: scale(1);
    }

    .c-4 .hover-letra {
      font-family: 'Gotica', 'Brush Script MT', cursive;
      opacity: 0;
      filter: blur(12px);
      transform: scale(1.15);
    }

    .c-4:hover, .c-4.activo {
      background-color: rgba(126, 34, 206, 0.85);
      color: #bef264;
    }

    .c-4:hover .normal-letra, .c-4.activo .normal-letra {
      opacity: 0;
      filter: blur(12px);
      transform: scale(0.85);
    }

    .c-4:hover .hover-letra, .c-4.activo .hover-letra {
      opacity: 1;
      filter: blur(0px);
      transform: scale(1);
    }

    /* Logo instagram para enlace */
       .enlace-instagram {
      display: inline-flex;
      align-items: center;
      gap: 8px; /* Separación entre el icono y el texto */
      color: #a855f7; /* Color violeta inicial */
      font-family: sans-serif;
      font-size: 18px;
      font-weight: bold;
      text-decoration: none;
      transition: color 0.3s ease, transform 0.2s ease;
    }

    .enlace-instagram:hover {
      color: #39ff14; /* Cambia a verde flúor al pasar el ratón */
      transform: translateY(-2px);
    }

    .enlace-instagram svg {
      width: 22px;
      height: 22px;
      flex-shrink: 0; /* Evita que el icono se aplaste en pantallas pequeñas */
    }

        /* Estilo del SVG */
.contenido-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* El enlace se comporta como una caja ajustada exactamente al tamaño del marco y centrada */
#enlace-marcox {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 300px;
  height: 320px;
  margin: 24px auto;
  overflow: visible;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

/* Reglas idénticas para que los dos SVG tengan exactamente el mismo tamaño y centro */
.marcox,
.marco-encima {
  position: absolute;
  width: 1500px !important;
  max-width: none !important;
  height: auto !important; /* Mantiene la proporción exacta sin deformar */
  flex-shrink: 0;
  transform: scale(0.2); /* 1500px * 0.2 = 300px exactos */
  transform-origin: center center;
  transition: opacity 1.7s ease, transform 3s ease-in-out !important;
}

.marcox {
  z-index: 1;
  opacity: 0;
  cursor: pointer;
}

.marco-encima {
  z-index: 2;
  opacity: 1;
  pointer-events: none;
}

/* Zoom nítido para ambos a la vez */
.marcox.agrandado {
  transform: scale(3.4) !important;
  z-index: 1000 !important;
}

/* Fundido suave en hover y active */
@media (hover: hover) {
  #enlace-marcox:hover .marcox {
    opacity: 1;
  }
  #enlace-marcox:hover .marco-encima {
    opacity: 0;
  }
}

#enlace-marcox:active .marcox,
#enlace-marcox.activado .marcox {
  opacity: 1;
}

#enlace-marcox:active .marco-encima,
#enlace-marcox.activado .marco-encima {
  opacity: 0;
}


/* Video Echoes */
.video-cuadrado {
  width: 300px; /* Ajusta el tamaño del cuadrado a tu gusto */
  max-width: 100%; /* Evita que se salga de la pantalla en móviles */
  aspect-ratio: 1 / 1; /* Fuerza la proporción cuadrada exacta */
  border-radius: 24px; /* Nivel de redondeo de las esquinas */
  overflow: hidden; /* CLAVE: Recorta las esquinas cuadradas del iframe */
  margin: 0 auto; /* Lo centra horizontalmente */
  /* Safari/iOS: evita que las esquinas pierdan el redondeo al reproducir */
  transform: translateZ(0); 
}

.video-cuadrado iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}