@import url('https://googleapis.com');

/* Aplicar la fuente solo a los títulos grandes */
h1, h2, h3,p,div,nav-link,a{
    /*font-family: 'Press Start 2P', cursive !important;
    font-family: 'Oswald',  sans-serif !important;*/
    font-family: "Roboto", sans-serif !important;
    
}
    
.mi-plug {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.texto-enriquecido {
    font-family: 'Audiowide', sans-serif;
    font-size: 1.0em;
    color: black;    
    text-align: justify;
    margin-bottom: 15px;
}


.efecto-descripcion {
    display: block;
    white-space: normal; /* Permite que el párrafo salte de línea con cualquier longitud */
    font-family: 'Courier New', Courier, monospace;
    color: #000000;
    text-shadow: 0 0 2px rgba(4, 4, 4, .1), 0 0 5px rgba(0, 0, 0, 0.756);
    animation: lanzar-descripcion .8s cubic-bezier(.34, .56, .64, 1) forwards; /* Entra "lanzado" y aterriza con un pequeño rebote */
}

@keyframes lanzar-descripcion {
    from {
        transform: translate(-90px, -60px) rotate(-12deg) scale(.7);
        opacity: 0;
    }
    to {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
}
 
.parrafo-caja {
  background: linear-gradient(90deg, #e3f2fd 0%, lightgreen 100%);
  color: #0d47a1;
  font-size: 1.5rem;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(13, 71, 161, 0.08);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-align: center;
}


/* Estilos para el bloque de detalles y resumen */
details summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-left: 1.5em;
}

details summary::marker {
  display: none; /* Oculta el marcador por defecto (en navegadores que lo soportan) */
}

details summary::before {
  content: "🕹️"; /* Puedes usar un emoji, texto o símbolo Unicode */
  position: absolute;
  left: -10px;
  top: -5px;
  font-size: 1.2em;
  transition: transform 0.2s ease;
}

details[open] summary::before {
  transform: rotate(90deg); /* Gira el ícono cuando el details está abierto */
}

/* Menu de consolas: grid de iconos */
.mi-plugin-2026-menu-consolas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

@media (max-width: 600px) {
  .mi-plugin-2026-menu-consolas {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mi-plugin-2026-consola-boton {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  padding: 10px 10px;
  background: linear-gradient(0deg, #ff6b6b 0%, #e63946 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: mi-plugin-2026-pop 0.3s ease;
}

.mi-plugin-2026-consola-tabla {
  border-collapse: collapse;
  margin: 0 auto;
}

.mi-plugin-2026-consola-tabla td {
  border: none;
  padding: 0;
  text-align: center;
}

.mi-plugin-2026-consola-icono {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mi-plugin-2026-consola-boton:hover .mi-plugin-2026-consola-icono {
  transform: scale(1.12);
  border-color: #1e90ff;
}

.mi-plugin-2026-consola-nombre {
  margin-top: 10px;
  font-size: 1.50em;
  color: #fff;
}

.mi-plugin-2026-logo-consola {
  display: flex;
  width: 128px;
  height: 128px;  
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 15px;
}

@keyframes mi-plugin-2026-pop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Menu de romsets: grid de botones */
.mi-plugin-2026-menu-romsets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

@media (max-width: 600px) {
  .mi-plugin-2026-menu-romsets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mi-plugin-2026-romset-boton {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  min-height: 100px;
  padding: 20px 14px;
  background: linear-gradient(0deg, #0374f4 0%, #49e6f7 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  border: 3px solid transparent;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: mi-plugin-2026-pop 0.3s ease;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mi-plugin-2026-romset-boton:hover,
.mi-plugin-2026-romset-boton:focus-visible {
  transform: scale(1.06);
  border-color: #1e90ff;
}

.mi-plugin-2026-romset-nombre {
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  word-break: break-word;
}

.mi-plugin-2026-romset-descripcion {
  display: block;
  margin-top: 8px;
  font-size: 0.85em;
  font-weight: 400;
  line-height: 1.3;
  color: #ffe5e5;
  word-break: break-word;
}

@media (max-width: 600px) {
  .mi-plugin-2026-romset-boton {
    min-height: 80px;
    padding: 16px 10px;
  }

  .mi-plugin-2026-romset-nombre {
    font-size: 1.15em;
  }

  .mi-plugin-2026-romset-descripcion {
    font-size: 0.78em;
  }
}


.mi-plugin-2026-no-image-logo { 
  display: flex;
  width: 50%;
  height: auto;
  object-fit: cover;  
  margin: 0 auto 15px;
  animation: rotateHeartbeatDouble 8s infinite;
}

@keyframes rotateHeartbeatDouble {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(0.75);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(0.75);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}


@keyframes rotateHeartbeat {
    0% {
        transform: rotate(0deg) scale(1);
    }

    12.5% {
        transform: rotate(45deg) scale(1.5);
    }

    25% {
        transform: rotate(90deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1);
    }

    62.5% {
        transform: rotate(225deg) scale(1.5);
    }

    75% {
        transform: rotate(270deg) scale(1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}


/* Keyframes para el giro de 360 grados cada 3 segundos */
@keyframes rotate-360-every-3s {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.5);
    }
    50% {
        transform: scale(1);
    }
}

.mi-plugin-2026-multimedia {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mi-plugin-2026-imagen-juego {
    width: 75%;
    height: auto;
    display: block;
}

.pantalla {
  animation: pop 0.4s ease-out;
}

@keyframes pop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.pantalla {
  position: relative;
  background: #000;
  padding: 12px;
  border-radius: 10px;
  box-shadow:  inset 0 0 25px #111;
}

.pantalla video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.pantalla::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.05) 0px,
        rgba(255,255,255,0.05) 1px,
        transparent 2px,
        transparent 4px
    );
    pointer-events: none;
}

/*  Caracteristicas imagen de entradas en entrada single*/
.bs-blog-thumb {
  width: 30% !important;
  height: auto !important;
  animation: mi-plugin-2026-pop 1s ease;
  transition: transform 0.2s ease, border-color 0.2s ease;

}