/* PAGINACIÓN COMPACTA Y CENTRADA */
.sw-pagination {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  width: 100% !important;
  overflow: visible !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  padding: 10px 0 !important;
}

.sw-pagination button {
  flex: 0 0 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  font-size: 13px !important;
}

.sw-pagination .sw-pagination-dots {
  flex: 0 0 auto;
  color: #bbb;
  padding: 0 2px;
}








/* NAVEGACIÓN EN COLUMNA INDEPENDIENTE A LA DERECHA */
.sw-card {
  position: relative;
  overflow: visible;
}

.sw-sixth-nav {
  position: relative;
  grid-column: -2;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 20;
}

.sw-sixth-nav button {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  cursor: pointer;
}

.sw-sixth-nav button:hover {
  transform: scale(1.15);
}

/* Permite que los iconos sobresalgan de la cuadrícula */
.sw-grid {
  overflow: visible;
}












/* =======================================================
   🖼️ ESTRUCTURA VISUAL DE PORTADAS 3x3 EN LA SIDEBAR
   ======================================================= */
.galeria-top-sidebar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  /* Forza las 3 columnas juntas */
  gap: 8px !important;
  /* Espaciado corto entre portadas */
  justify-items: center !important;
}

.sidebar-visual-wrap {
  width: 54px !important;
  height: 83px !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 4px !important;
  border: 1px solid #222 !important;
  transition: border-color 0.2s, transform 0.2s !important;
}

.sidebar-visual-wrap:hover {
  border-color: #e51010 !important;
  /* Enciende en tu rojo gaming */
  transform: scale(1.05) !important;
}

.sidebar-visual-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Forzado de posición de la etiqueta PC GAME a la derecha */
.label-pc-game-derecho {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  background-color: #111 !important;
  /* Tu rojo corporativo */
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 6px !important;
  /* Más pequeño para ajustarse a los 54px de ancho */
  font-weight: bold !important;
  padding: 1px 3px !important;
  border-radius: 2px !important;
  z-index: 15 !important;
  text-transform: uppercase !important;
  pointer-events: none !important;
}

/* Ajuste del tamaño del contador izquierdo para que quepa en la miniatura lateral */
.sidebar-visual-wrap .sw-card-counter-wrap {
  top: 4px !important;
  left: 4px !important;
  padding: 1px 3px !important;
  font-size: 6px !important;
  z-index: 15 !important;
}

.sidebar-visual-wrap .sw-card-counter-icon {
  font-size: 7px !important;
}









/* =======================================================
   ⚙️ MAQUETACIÓN DE BARRA LATERAL (ACOPLE SEGURO)
   ======================================================= */

/* Comportamiento base para pantallas de Celulares (Se van abajo de forma fluida) */
.fullgames-maestro {
  display: block !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 20px auto !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
}

.sidebar-derecha-fullgames {
  margin-top: 40px !important;
}

/* ACTIVACIÓN DE DOS COLUMNAS EN PC (Monitores) */
@media (min-width: 1024px) {
  .fullgames-maestro {
    display: flex !important;
    /* Coloca juegos y sidebar en paralelo */
    gap: 35px !important;
    /* Separación física ideal entre bloques */
  }

  .columna-izquierda-juegos {
    flex: 3 !important;
    /* Ocupa el 74% del espacio de la pantalla */
    min-width: 0 !important;
    /* Evita desconfiguraciones del motor de tarjetas */
  }

  .sidebar-derecha-fullgames {
    flex: 1 !important;
    /* Ocupa el 26% restante para la barra lateral */
    margin-top: 0 !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    /* Hace que flote con el mouse al bajar */
    top: 20px !important;
    /* Margen de seguridad con el techo de la pantalla */
    height: max-content !important;
  }
}

/* COMPONENTES ESTÍLO GAMING PARA LA SIDEBAR */
.modulo-lateral {
  background-color: #0f0f0f !important;
  /* Fondo negro puro a juego con tu scrollbar */
  border: 1px solid #222 !important;
  /* Borde sutil a juego con tus tarjetas */
  border-radius: 6px !important;
  padding: 18px !important;
  margin-bottom: 25px !important;
  font-family: Arial, sans-serif !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
}

.titulo-modulo {
  color: #ffffff !important;
  font-size: 14px !important;
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  border-bottom: 2px solid #e51010 !important;
  /* Tu icónico rojo neón */
  padding-bottom: 6px !important;
  text-transform: uppercase !important;
  font-weight: bold !important;
  letter-spacing: 0.5px !important;
}

/* Listados Internos del Top y Filtros */
.lista-ranking,
.lista-requisitos {
  padding-left: 15px !important;
  margin: 0 !important;
  color: #777 !important;
  font-size: 13px !important;
}

.lista-ranking li,
.lista-requisitos li {
  margin-bottom: 12px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px dashed #1a1a1a !important;
}

.lista-requisitos li {
  list-style: none !important;
  /* Quitamos los puntos a las categorías */
}

.lista-ranking li a,
.lista-requisitos li a {
  color: #eee !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

/* Efecto de iluminación al pasar el cursor sobre los elementos laterales */
.lista-ranking li a:hover,
.lista-requisitos li a:hover {
  color: #e51010 !important;
  /* Enciende en tu rojo corporativo */
}




/* DISEÑO DEL CONTADOR AUTOMÁTICO */
.sw-card-img-wrap {
  position: relative !important;
  border-radius: 8px !important;
  /* Esquinas perfectamente suavizadas */
}

.sw-card-counter-wrap {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  /* Esquina superior izquierda fija */
  background-color: rgba(15, 15, 15, 0.85) !important;
  /* Velo oscuro gaming */
  color: #ffffff !important;
  font-family: Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: bold !important;
  padding: 3px 6px !important;
  border-radius: 4px !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6) !important;
  border: 1px solid #222 !important;
  pointer-events: none !important;
  /* Permite que el clic pase directo al enlace */
}

.sw-card-counter-icon {
  color: #e51010 !important;
  /* Tu icónico rojo neón */
  font-size: 11px !important;
  line-height: 1 !important;
}

/* COMPORTAMIENTO DE LEVANTAMIENTO 3D EN LAS TARJETAS */
.sw-card {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.sw-card:hover {
  transform: translateY(-4px) !important;
}




.sw-card {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.sw-card:hover {
  transform: translateY(-4px) !important;
  /* Levanta la tarjeta de forma fluida */
}





/* PERSONALIZACIÓN DE LA BARRA DE DESPLAZAMIENTO GENERAL */
::-webkit-scrollbar {
  width: 10px !important;
  /* Ancho de la barra */
  background-color: #0f0f0f !important;
  /* Fondo negro a juego con tu wallpaper */
}

::-webkit-scrollbar-thumb {
  background-color: #e51010 !important;
  /* Tu rojo corporativo */
  border-radius: 5px !important;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3) !important;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #ff1e1e !important;
  /* Se enciende más al pasar el cursor */
}





/* EFECTO DE GLOW EN LOS TÍTULOS DE CATEGORÍA */
.sw-category-heading {
  transition: text-shadow 0.3s ease, color 0.3s ease !important;
}

.sw-category:hover .sw-category-heading {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 12px rgba(229, 16, 16, 0.5) !important;
  /* Brillo híbrido blanco/rojo */
}





/* =======================================================
   ⚙️ PIE DE PÁGINA (FOOTER) - REFORZADO Y CENTRADO
   ======================================================= */
.footer-gaming {
  background: rgba(17, 17, 17, 0.9) !important;
  /* Fondo oscuro translúcido a juego con el wallpaper */
  color: #777 !important;
  text-align: center !important;
  /* Centra el contenido general */
  padding: 25px 15px !important;
  margin-top: 50px !important;
  font-family: Arial, sans-serif !important;
  border-top: 2px solid #e51010 !important;
  /* Línea roja delgada arriba para el toque gaming */
  width: 100% !important;
  box-sizing: border-box !important;
}

.footer-contenido p {
  margin: 0 0 8px 0 !important;
  font-size: 13px !important;
  text-align: center !important;
  /* Forzado de centrado */
}

.footer-contenido strong {
  color: #e51010 !important;
  /* Tu rojo corporativo */
}

/* LA LEYENDA QUE ESTABA A LA IZQUIERDA (CORREGIDA) */
.footer-descargo {
  font-size: 11px !important;
  color: #444 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  /* Centra la caja en monitores anchos */
  text-align: center !important;
  /* OBLIGA AL TEXTO A IR AL CENTRO */
  line-height: 1.5 !important;
  display: block !important;
}






.barra-avisos-gaming {
  background: #e51010 !important;
  /* Rojo de tu marca */
  color: #fff !important;
  text-align: center !important;
  padding: 8px 10px !important;
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: bold !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}




/* PULIENDO EL TEXTO INTERNO DEL BUSCADOR */
#swSearch::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
  /* Blanco translúcido elegante */
  font-style: italic !important;
  transition: color 0.3s ease !important;
}

/* Al hacer clic para escribir, el texto guía se desvanece más */
#swSearch:focus::placeholder {
  color: rgba(255, 255, 255, 0.2) !important;
}







.sw-card-img-wrap {
  border-radius: 8px !important;
  /* Esquinas perfectamente suavizadas */
}




/* REDISEÑO DEL ABECEDARIO GAMING */
#swAZ button {
  background: rgba(20, 20, 20, 0.6) !important;
  color: #aaa !important;
  border: 1px solid #333 !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

#swAZ button:hover,
#swAZ button.active {
  background: #e51010 !important;
  color: #fff !important;
  border-color: #e51010 !important;
  transform: scale(1.1) !important;
  /* Crece un poquito al seleccionarla */
}






/* PULIENDO LOS BOTONES DE PAGINACIÓN */
.sw-pagination button {
  background: rgba(30, 30, 30, 0.7) !important;
  /* Fondo oscuro translúcido */
  color: #bbb !important;
  border: 1px solid #444 !important;
  border-radius: 50% !important;
  /* Los hace completamente circulares */
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-weight: bold !important;
  transition: all 0.2s ease-in-out !important;
}

/* Efecto cuando el usuario pasa el mouse o está en la página activa */
.sw-pagination button:hover,
.sw-pagination button.active {
  background: #e51010 !important;
  /* Rojo corporativo */
  color: #fff !important;
  border-color: #e51010 !important;
  box-shadow: 0 0 10px rgba(229, 16, 16, 0.5) !important;
}





/* Pulir las categorias */
.sw-category-heading {
  background: rgba(34, 34, 34, 0.85) !important;
  /* Fondo ligeramente translúcido */
  border-bottom: 3px solid #e51010 !important;
  /* Línea roja característica abajo */
  letter-spacing: 1px !important;
  /* Separa un poco las letras */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
}





/* Prepara la envoltura para el reflejo */
.sw-card-img-wrap {
  position: relative !important;
}

/* El destello oculto */
.sw-card-img-wrap::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -150% !important;
  /* Empieza fuera de la tarjeta */
  width: 50% !important;
  height: 100% !important;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%) !important;
  transform: skewX(-25deg) !important;
  /* Lo inclina de forma diagonal */
  transition: none !important;
  z-index: 4 !important;
}

/* Al pasar el mouse, el destello cruza la carátula */
.sw-card:hover .sw-card-img-wrap::after {
  left: 150% !important;
  transition: left 0.6s ease-in-out !important;
}







/* ANIMACIÓN DEL TÍTULO */
.sw-card-title {
  transition: background 0.3s ease, color 0.3s ease !important;
}

.sw-card:hover .sw-card-title {
  background: rgba(229, 16, 16, 0.95) !important;
  /* El fondo negro se vuelve rojo al pasar el mouse */
  color: #ffffff !important;
}








/* CONTENEDOR DE LA IMAGEN RELATIVO */
.sw-card-img-wrap {
  position: relative !important;
}

/* LA ETIQUETA FLOTANTE */
#sw .sw-card-img-wrap::before {
  content: "PC GAME" !important;
  /* Texto que aparecerá en la esquina */
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  background-color: #e51010 !important;
  /* Fondo rojo corporativo */
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: bold !important;
  padding: 3px 6px !important;
  border-radius: 3px !important;
  z-index: 5 !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  letter-spacing: 0.5px !important;
}



#swPSOne .sw-card-img-wrap::before {
  content: "PS ONE" !important;
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  background-color: #068f09 !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: bold !important;
  padding: 3px 6px !important;
  border-radius: 3px !important;
  z-index: 5 !important;
  text-transform: uppercase !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  letter-spacing: 0.5px !important;
}





/* EFECTO NEÓN ROJO EN LAS TARJETAS */
.sw-card .sw-card-img-wrap {
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.sw-card:hover .sw-card-img-wrap {
  border-color: #e51010 !important;
  /* Cambia el borde gris por tu rojo */
  box-shadow: 0 0 15px rgba(229, 16, 16, 0.6) !important;
  /* Brillo neón */
}





/* CONTENEDOR AJUSTADO A 1099x169 */
.contenedor-banner-pc {
  width: 100% !important;
  max-width: 1099px !important;
  /* Ancho máximo exacto solicitado */
  height: 169px !important;
  /* Altura exacta solicitada */
  margin: 25px auto !important;
  /* Centra el banner y le da espacio arriba y abajo */
  padding: 0 15px !important;
  /* Margen de seguridad para pantallas pequeñas */
  box-sizing: border-box !important;
}

/* ESTILO REFORZADO DEL BANNER GAMING */
.banner-gaming-pc {
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
  /* Fuerza a la imagen a estirarse exactamente a los 1099x169 píxeles */
  border: 1px solid #333 !important;
  /* Borde sutil oscuro para que no flote en la nada */
  border-radius: 6px !important;
  /* Redondeado en las esquinas idéntico al de las tarjetas */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7) !important;
  /* Sombra pesada para resaltar sobre tu fondo difuminado */
}




/* FILTRO DE CONTRASTE PARA LAS PORTADAS */
/* ESTILO BASE DE LAS IMÁGENES DE LAS PORTADAS */
.contenedor-imagen img,
.tarjeta-serie img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;

  /* Filtro base: Apaga un poco el brillo para que se fusione con tu wallpaper */
  filter: brightness(0.60) contrast(1.1) !important;

  /* Animación suave para que el cambio de brillo no sea brusco */
  transition: filter 0.3s ease-in-out !important;
}

/* EFECTO CUANDO EL CURSOR PASA POR ENCIMA (HOVER) */
.tarjeta-serie:hover img,
.tarjeta-serie:hover .contenedor-imagen img {
  /* Enciende los colores y el brillo al 100% de forma limpia */
  filter: brightness(1.1) contrast(1) !important;
}





/* PULIENDO LA BARRA DE BÚSQUEDA */
#swSearch {
  border: 2px solid #333;
  border-radius: 25px;
  /* Bordes redondeados más modernos */
  padding: 12px 20px;
  background-color: rgba(20, 20, 20, 0.85);
  /* Fondo oscuro semitransparente */
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

/* Efecto cuando el usuario hace clic para buscar */
#swSearch:focus {
  border-color: #e51010;
  /* Cambia al rojo de tus botones */
  box-shadow: 0 0 15px rgba(229, 16, 16, 0.6);
  /* Brillo neón rojo */
  background-color: #000;
}







/* WALLPAPER */
/* DISEÑO DEL FONDO CON EFECTO DIFUMINADO Y VELO OSCURO */
html,
body {
  /* Combinamos un gradiente negro transparente con tu imagen de fondo */
  background-image:
    linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.85)),
    url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQI6kedeLAZH_b1CVeC-Oft4gZDswouiPn-LNSDN30sxSB8YFpQpkNqwDOcDosdapTOmD-qFBgSxJCyHFWuxDUEJpGdYqQIxSLOrEOwok0RqH_r-vtwIaCbEKtBj824LTrIjcXnZD1LfgUFL7wwskWJRC9b9I8myJAA2T1CkyUPry58ecrJC-lFx_uWF0/s2560/WALL%204%20SAGAS.bmp.jpg') !important;

  /* Hace que el fondo se quede fijo al bajar y no se mueva */
  background-attachment: fixed !important;

  /* Centra la imagen y hace que cubra toda la pantalla sin repetirse */
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;

  /* Color oscuro de respaldo por seguridad */
  background-color: #0f0f0f !important;

  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}



/* FIN WALLPAPER */




/* SUBIR HASTA ARRIBA */
#btnSubir {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

#btnSubir:hover {
  transform: scale(1.1);
}


/* Base */
:root {
  color-scheme: light dark;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #111827;
  --muted: #5b6472;
  --line: #dbe3ef;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-two: #0f766e;
  --accent-three: #d97706;
  --accent-soft: #dbeafe;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1220;
    --surface: #111827;
    --surface-soft: #172033;
    --text: #f8fafc;
    --muted: #b6c1d1;
    --line: #263246;
    --accent: #60a5fa;
    --accent-strong: #93c5fd;
    --accent-two: #5eead4;
    --accent-three: #fbbf24;
    --accent-soft: rgba(96, 165, 250, 0.18);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, var(--accent-soft), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

/* Layout */
.site-shell,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-shell {
  padding: 48px 0 28px;
}

.hero,
.split-section {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero {
  min-height: 68vh;
  padding: 40px 0 56px;
}

.intro,
.feature-grid,
.split-section {
  margin-top: 28px;
}

.intro {
  max-width: 760px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow);
}

.feature-grid {
  display: grid;
  gap: 18px;
}

.split-section {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

/* Typography */
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 7vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero__text,
.intro p,
.contact-panel p,
.feature-card p {
  color: var(--muted);
}

.hero__text {
  max-width: 640px;
  font-size: 1.08rem;
}

/* Buttons */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.button--secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

/* Visuals */
.hero__visual {
  position: relative;
  min-height: 340px;
}

.preview-card {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  box-shadow: var(--shadow);
}

.preview-card--large {
  inset: 24px 0 0 24px;
  display: grid;
  gap: 18px;
  align-content: center;
  padding: 34px;
}

.preview-card--large span {
  display: block;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.72;
}

.preview-card--large span:nth-child(2) {
  width: 72%;
}

.preview-card--large span:nth-child(3) {
  width: 48%;
}

.preview-card--small {
  right: 14px;
  bottom: 8px;
  width: 170px;
  padding: 22px;
}

.preview-card--small strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
}

.preview-card--small span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--accent) 0 48%, transparent 49%),
    var(--accent-soft);
}

.feature-card__icon--alt {
  background:
    radial-gradient(circle at 70% 30%, var(--accent-two) 0 26%, transparent 27%),
    var(--accent-soft);
}

.feature-card__icon--soft {
  background:
    linear-gradient(90deg, transparent 0 28%, var(--accent-three) 29% 70%, transparent 71%),
    var(--accent-soft);
}

.contact-panel {
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Responsive */
@media (min-width: 760px) {

  .hero,
  .split-section {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {

  .site-shell,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .site-shell {
    padding-top: 24px;
  }

  .intro,
  .split-section,
  .feature-card {
    border-radius: 8px;
    padding: 22px;
  }

  .hero__visual {
    min-height: 260px;
  }

  .preview-card--large {
    inset: 10px 18px 20px 0;
  }

  .preview-card--small {
    right: 0;
    width: 145px;
  }
}




@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

*,
::after,
::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

body {
  font-family: 'Poppins', sans-serif;
}

.container {
  display: flex;
}

#sidebar {
  display: flex;
  flex-direction: column;
  background-color: #0e2238;
}

.main {
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  transition: all 0.35s ease-in-out;
  background-color: #fafbfe;
}

#toggler {
  display: none;
}

.toggle-btn {
  font-size: 1.5rem;
  cursor: pointer;
  color: #FFF;
  padding: 1rem 1.5rem;
  width: max-content;
}

#sidebar input[type="checkbox"]:checked~.sidebar-nav {
  width: 260px;
  min-width: 260px;
}


#sidebar input[type="checkbox"]:not(:checked)~* .sidebar-link span {
  display: none;
}



#modoDiaNoche {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: #222;
  color: #fff;
  font-size: 25px;
  z-index: 99999;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
  transition: .3s;
}

#modoDiaNoche:hover {
  transform: scale(1.08);
}

body.modo-noche {
  background: #121212 !important;
  color: #eee !important;
}

body.modo-noche h1,
body.modo-noche h2,
body.modo-noche h3,
body.modo-noche h4,
body.modo-noche p,
body.modo-noche span,
body.modo-noche div {
  color: inherit;
}

body.modo-noche a {
  color: #8ab4f8;
}

body.modo-noche table,
body.modo-noche td,
body.modo-noche th {
  background-color: transparent !important;
  color: #eee !important;
}

body.modo-noche #modoDiaNoche {
  background: #f5f5f5;
  color: #222;
}

/* =========================================================
   FULLGAMES: 10 PORTADAS, SIN PIE DE FOTO Y NAVEGACIÓN ARRIBA
   ========================================================= */

/* Las miniaturas ocupan cinco columnas y quedan muy juntas.
   La fila superior queda reservada para los ocho iconos. */
.sw-grid,
#swCollectionGrid {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  column-gap: 5px !important;
  row-gap: 5px !important;
  padding: 38px 0 10px !important;
  background: #111111 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* Los ocho iconos quedan en una sola fila, arriba a la derecha,
   independientes de las tarjetas. */
.sw-sixth-nav {
  position: absolute !important;
  top: 3px !important;
  right: 0 !important;
  left: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  z-index: 30 !important;
}

.sw-sixth-nav button {
  flex: 0 0 auto !important;
  font-size: 18px !important;
  line-height: 1 !important;
  padding: 2px !important;
  cursor: pointer !important;
}

/* La imagen llena por completo la tarjeta. */
.sw-card,
#swCollectionGrid .sw-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.sw-card-img-wrap,
#swCollectionGrid .sw-card-img-wrap {
  width: 100% !important;
  aspect-ratio: 189 / 227 !important;
  overflow: hidden !important;
  background: #111111 !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
}

.sw-card img,
#swCollectionGrid .sw-card img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Sin nombre superpuesto ni franja negra de pie de foto. */
.sw-card-title,
#swCollectionGrid .sw-card-title {
  display: none !important;
}

/* En pantallas medianas y pequeñas se reduce el número de columnas
   para que las portadas y los iconos sigan siendo legibles. */
@media (max-width: 800px) {

  .sw-grid,
  #swCollectionGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  .sw-sixth-nav {
    gap: 5px !important;
  }

  .sw-sixth-nav button {
    font-size: 17px !important;
  }
}

@media (max-width: 420px) {

  .sw-grid,
  #swCollectionGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  .sw-sixth-nav {
    gap: 3px !important;
  }

  .sw-sixth-nav button {
    font-size: 16px !important;
  }
}


/* AJUSTE FINAL: los ocho iconos en una sola fila, esquina superior derecha */
.sw-grid,
#swCollectionGrid {
  position: relative !important;
}

.sw-grid>.sw-sixth-nav,
#swCollectionGrid>.sw-sixth-nav {
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  left: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: max-content !important;
  max-width: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  justify-self: auto !important;
  align-self: auto !important;
  gap: 7px !important;
  z-index: 50 !important;
}

.sw-grid>.sw-sixth-nav button,
#swCollectionGrid>.sw-sixth-nav button {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 2px !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

/* =======================================================
   NAVEGACIÓN GLOBAL: COLUMNA VERTICAL EN LA ESQUINA
   SUPERIOR DERECHA DEL ENCABEZADO
   ======================================================= */
.contenedor-banner-pc {
  position: relative !important;
  overflow: visible !important;
}

.contenedor-banner-pc > .sw-sixth-nav {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 7px 5px !important;
  background: rgba(0, 0, 0, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  z-index: 100 !important;
}

.contenedor-banner-pc > .sw-sixth-nav button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 27px !important;
  height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer !important;
}

.contenedor-banner-pc > .sw-sixth-nav button:hover {
  transform: scale(1.15) !important;
}

/* La navegación ya no ocupa espacio dentro de las cuadrículas. */
.sw-grid,
#swCollectionGrid {
  padding-top: 10px !important;
}

.sw-grid > .sw-sixth-nav,
#swCollectionGrid > .sw-sixth-nav {
  display: none !important;
}

@media (max-width: 600px) {
  .contenedor-banner-pc > .sw-sixth-nav {
    top: 5px !important;
    right: 5px !important;
    gap: 4px !important;
    padding: 5px 3px !important;
  }

  .contenedor-banner-pc > .sw-sixth-nav button {
    width: 23px !important;
    height: 22px !important;
    font-size: 16px !important;
  }
}


/* NAV GLOBAL ESTÁTICA: visible en el encabezado sin depender del render JS */
#swGlobalSectionNav {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 5px !important;
  background: rgba(0,0,0,.72) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  z-index: 9999 !important;
}
#swGlobalSectionNav button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 25px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
#swGlobalSectionNav button:hover { transform: scale(1.15) !important; }
@media (max-width:600px) {
  #swGlobalSectionNav { top:5px !important; right:5px !important; gap:4px !important; padding:5px 3px !important; }
  #swGlobalSectionNav button { width:24px !important; height:22px !important; font-size:16px !important; }
}




/* =========================================
   MENÚS DESPLEGABLES POR ENCIMA DE MINIATURAS
   ETIQUETAS Y COLECCIONES
   ========================================= */

/* Elevar el encabezado de ambas secciones */
#swGenres .sw-categories-top,
#swCollections .sw-categories-top {
  position: relative !important;
  z-index: 99999 !important;
  overflow: visible !important;
}

/* Elevar los contenedores de los selectores */
#swGenres .sw-category-header-slot,
#swCollections .sw-category-header-slot,
#swGenres .sw-category-selector-slot,
#swCollections .sw-category-selector-slot {
  position: relative !important;
  z-index: 100000 !important;
  overflow: visible !important;
}

/* Elevar los menús */
#swGenres #swCategoryMenu,
#swCollections #swCollectionMenu {
  position: absolute !important;
  z-index: 100001 !important;
}

/* Evitar que las cuadrículas tapen los menús */
#swGenres #swCategoryGrid,
#swCollections #swCollectionGrid {
  position: relative !important;
  z-index: 1 !important;
}


/* =========================================
   CORRECCIÓN DEL MENÚ DESPLEGABLE
   SECCIÓN COLECCIONES
   ========================================= */

/* Permitir que el menú sobresalga de la sección */
#swCollections {
  overflow: visible !important;
}

/* Colocar todo el encabezado por encima de las miniaturas */
#swCollections > .sw-collections-top {
  position: relative !important;
  z-index: 50 !important;
  overflow: visible !important;
}

/* Elevar los controles del selector */
#swCollections .sw-collection-controls {
  position: relative !important;
  z-index: 51 !important;
  overflow: visible !important;
}

/* Elevar el selector */
#swCollections .sw-collection-selector {
  position: relative !important;
  z-index: 52 !important;
}

/* Dar prioridad máxima al menú desplegable */
#swCollections #swCollectionMenu {
  position: absolute !important;
  z-index: 100000 !important;
}

/* Mantener las miniaturas por debajo del encabezado */
#swCollections #swCollectionResults {
  position: relative !important;
  z-index: 2 !important;
}












/* =======================================================
   NAVEGACIÓN VERTICAL DENTRO DE CADA SECCIÓN
   El panel acompaña el scroll de su propia sección.
   ======================================================= */
.sw-category,
#swCollections,
#swGenres,
#swPSOne,
#swPorts {
  position: relative !important;
  box-sizing: border-box !important;
  padding-right: 43px !important;
}

.sw-category > .sw-sixth-nav,
#swCollections > .sw-sixth-nav,
#swGenres > .sw-sixth-nav,
#swPSOne > .sw-sixth-nav,
#swPorts > .sw-sixth-nav {
  position: absolute !important;
  top: 50% !important;
  right: 4px !important;
  left: auto !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: 32px !important;
  max-width: 32px !important;
  margin: 0 !important;
  padding: 7px 2px !important;
  background: rgba(0, 0, 0, .72) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  z-index: 30 !important;
}

.sw-category > .sw-sixth-nav button,
#swCollections > .sw-sixth-nav button,
#swGenres > .sw-sixth-nav button,
#swPSOne > .sw-sixth-nav button,
#swPorts > .sw-sixth-nav button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 25px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.sw-category > .sw-sixth-nav button:hover,
#swCollections > .sw-sixth-nav button:hover,
#swGenres > .sw-sixth-nav button:hover,
#swPSOne > .sw-sixth-nav button:hover,
#swPorts > .sw-sixth-nav button:hover {
  transform: scale(1.12) !important;
}

/* Anula las posiciones antiguas del panel en el encabezado o en las cuadrículas. */
#swGlobalSectionNav,
.contenedor-banner-pc > .sw-sixth-nav,
.sw-grid > .sw-sixth-nav,
#swCollectionGrid > .sw-sixth-nav {
  display: none !important;
}

@media (max-width: 600px) {
  .sw-category,
  #swCollections,
  #swGenres,
  #swPSOne,
  #swPorts {
    padding-right: 36px !important;
  }

  .sw-category > .sw-sixth-nav,
  #swCollections > .sw-sixth-nav,
  #swGenres > .sw-sixth-nav,
  #swPSOne > .sw-sixth-nav,
  #swPorts > .sw-sixth-nav {
    right: 2px !important;
    width: 29px !important;
    max-width: 29px !important;
    gap: 4px !important;
    padding: 5px 1px !important;
  }

  .sw-category > .sw-sixth-nav button,
  #swCollections > .sw-sixth-nav button,
  #swGenres > .sw-sixth-nav button,
  #swPSOne > .sw-sixth-nav button,
  #swPorts > .sw-sixth-nav button {
    width: 23px !important;
    height: 22px !important;
    font-size: 16px !important;
  }
}





/* FRANJA DE METADATOS: versión, tamaño y año */
.sw-card-img-wrap {
  position: relative !important;
  overflow: hidden !important;
}

.sw-card-metadata {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 15 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 5px !important;

  min-height: 21px !important;
  padding: 4px 5px !important;
  box-sizing: border-box !important;

  background: rgba(0, 0, 0, 0.90) !important;
  color: #ffffff !important;
  font: 600 10px/1.2 Arial, sans-serif !important;

  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(100%) !important;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease !important;

  pointer-events: none !important;
}

/* Mostrar la franja al pasar el cursor */
.sw-card:hover .sw-card-metadata,
.sw-card:focus-within .sw-card-metadata {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Punto verde de la versión */
.sw-card-meta-version {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.sw-card-meta-dot {
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  flex: 0 0 6px !important;
  border-radius: 50% !important;
  background: #39ff68 !important;
  box-shadow:
    0 0 5px #39ff68,
    0 0 9px rgba(57, 255, 104, 0.8) !important;
}













/* =========================================
   FULLGAMESOK - FONDO MAYA POR SECCIÓN
   ========================================= */

/* Fondo tecnológico dentro de cada sección */
.sw-category,
#swCollections,
#swGenres,
#swPSOne,
#swPorts {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background-color: #050b16;

background-image:
  linear-gradient(rgba(0, 8, 22, 0.82), rgba(0, 5, 16, 0.90)),
  repeating-linear-gradient(
    90deg,
    transparent 0 28px,
    rgba(0, 145, 255, 0.13) 29px 31px,
    transparent 32px 58px
  ),
  repeating-linear-gradient(
    0deg,
    transparent 0 28px,
    rgba(0, 145, 255, 0.13) 29px 31px,
    transparent 32px 58px
  ),
  repeating-conic-gradient(
    from 45deg at 50% 50%,
    transparent 0deg 80deg,
    rgba(0, 145, 255, 0.16) 81deg 84deg,
    transparent 85deg 180deg
  );

  border: 1px solid rgba(0, 145, 255, 0.35);
  box-shadow:
    inset 0 0 25px rgba(0, 100, 255, 0.10),
    0 0 12px rgba(0, 100, 255, 0.08);
}

/* Línea luminosa que recorre solamente la sección */
.sw-category::after,
#swCollections::after,
#swGenres::after,
#swPSOne::after,
#swPorts::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 3px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 145, 255, 0.15),
    #00aaff,
    rgba(0, 145, 255, 0.15),
    transparent
  );

  box-shadow:
    0 0 8px #008cff,
    0 0 18px rgba(0, 145, 255, 0.8);

  pointer-events: none;
  z-index: 1;

  animation: fullgames-section-scan 9s linear infinite;
}

/* Movimiento vertical limitado a cada sección */
@keyframes fullgames-section-scan {
  0% {
    top: -20%;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  100% {
    top: 110%;
    opacity: 0;
  }
}

/* Contenido y tarjetas por encima del efecto */
.sw-category > *,
#swCollections > *,
#swGenres > *,
#swPSOne > *,
#swPorts > * {
  position: relative;
  z-index: 2;
}

/* Los ocho iconos conservan su prioridad */
.sw-sixth-nav {
  z-index: 30 !important;
}



.sw-category-heading {
  width: 100%;
  max-width: 898px;
  height: 60px;
  margin: 0 auto 15px;
  padding: 0;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.sw-category-heading img {
  display: block;
  width: 100%;
  height: 60px;
  object-fit: fill;
  border: none;
  margin: 0;
}




.sw-category-heading {
  width: 100%;
  max-width: 898px;
  height: 60px;
  margin: 0 auto 15px;
  padding: 0;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.sw-category-heading img {
  display: block;
  width: 100%;
  height: 60px;
  object-fit: fill;
}







/* =========================================
   MENÚ DESPLEGABLE DE CATEGORÍAS - FULLGAMES
   ========================================= */

.menu-inferior-pc.menu-categorias {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 1000;
  overflow: visible;
  background: transparent;
  border: 0;
  padding: 0;
}

/* BOTÓN PRINCIPAL */

.header-categories-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 25px;
  border: 1px solid rgba(70, 150, 255, 0.65);
  border-radius: 8px;
  background: rgba(5, 12, 24, 0.94);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.header-categories-toggle:hover {
  background: #10243d;
  border-color: #42a5ff;
  color: #69c1ff;
  box-shadow: 0 0 14px rgba(40, 140, 255, 0.25);
}

#headerCategoriesArrow {
  color: #42a5ff;
  font-size: 16px;
  transition: transform 0.2s ease;
}

/* PANEL DESPLEGABLE */

.header-categories-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 30px));
  max-height: 430px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.35fr;
  gap: 22px;
  padding: 22px;
  box-sizing: border-box;
  background: rgba(5, 11, 22, 0.98);
  border: 1px solid rgba(55, 135, 220, 0.55);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
}

/* RESPETAR EL ATRIBUTO HIDDEN */

.header-categories-panel[hidden] {
  display: none !important;
}

/* COLUMNAS */

.header-menu-column {
  min-width: 0;
}

.header-menu-column h3 {
  margin: 0 0 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(70, 150, 255, 0.35);
  color: #55b7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* OPCIONES */

.header-menu-column > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header-menu-column button {
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #dce6f3;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.header-menu-column button:hover {
  background: rgba(40, 130, 220, 0.18);
  color: #69c1ff;
}

/* BARRA DE DESPLAZAMIENTO DEL PANEL */

.header-categories-panel::-webkit-scrollbar {
  width: 6px;
}

.header-categories-panel::-webkit-scrollbar-thumb {
  background: #287fc5;
  border-radius: 10px;
}

.header-categories-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

/* TABLET Y MÓVIL */

@media (max-width: 650px) {
  .header-categories-panel {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 16px;
    max-height: 65vh;
  }

  .header-menu-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .header-categories-panel {
    grid-template-columns: 1fr;
  }

  .header-menu-column:last-child {
    grid-column: auto;
  }
}






/* =========================================
   MENÚ PRINCIPAL: HOME, CATEGORÍAS,
   ETIQUETAS Y COLECCIONES
   ========================================= */

.menu-inferior-pc.menu-categorias {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 1000;

  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: max-content;
  max-width: 96%;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

/* BOTONES PRINCIPALES */

.header-nav-item {
  position: relative;
}

.header-nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 17px;
  border: 1px solid rgba(65, 155, 255, 0.55);
  border-radius: 7px;

  background: rgba(5, 12, 24, 0.96);
  color: #fff;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;

  transition: 0.2s ease;
  box-sizing: border-box;
}

.header-nav-button:hover {
  background: #142b46;
  border-color: #42a5ff;
  color: #69c1ff;
  box-shadow: 0 0 12px rgba(40, 140, 255, 0.25);
}

.header-nav-button span {
  color: #42a5ff;
  font-size: 14px;
}

/* MENÚS DESPLEGABLES */

.header-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);

  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 17px;

  box-sizing: border-box;
  background: rgba(5, 11, 22, 0.98);
  border: 1px solid rgba(55, 135, 220, 0.65);
  border-radius: 10px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
}

/* OCULTAR MENÚ CERRADO */

.header-dropdown-panel[hidden] {
  display: none !important;
}

/* TÍTULOS DE LOS DESPLEGABLES */

.header-dropdown-panel h3 {
  margin: 0 0 13px;
  padding-bottom: 9px;

  border-bottom: 1px solid rgba(70, 150, 255, 0.4);

  color: #55b7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

/* DISTRIBUCIÓN RECTANGULAR */

.header-dropdown-grid {
  display: grid;
  gap: 5px 9px;
  align-items: start;
}

/* CATEGORÍAS: UNA COLUMNA */

.header-grid-categories {
  grid-template-columns: 1fr;
  min-width: 170px;
}

/* ETIQUETAS: TRES COLUMNAS */

.header-grid-genres {
  grid-template-columns: repeat(3, minmax(115px, 1fr));
  min-width: 390px;
}

/* COLECCIONES: CUATRO COLUMNAS */

.header-grid-collections {
  grid-template-columns: repeat(4, minmax(125px, 1fr));
  min-width: 550px;
}

/* OPCIONES */

.header-dropdown-grid button {
  display: block;
  width: 100%;
  padding: 8px 9px;

  border: 0;
  border-radius: 5px;
  background: transparent;

  color: #dce6f3;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;

  transition: background 0.18s ease, color 0.18s ease;
}

.header-dropdown-grid button:hover {
  background: rgba(40, 130, 220, 0.2);
  color: #69c1ff;
}

/* TABLET */

@media (max-width: 750px) {

  .menu-inferior-pc.menu-categorias {
    gap: 4px;
    max-width: 99%;
  }

  .header-nav-button {
    padding: 9px 10px;
    font-size: 10px;
  }

  .header-grid-genres {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    min-width: 240px;
  }

  .header-grid-collections {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    min-width: 350px;
  }
}

/* MÓVILES */

@media (max-width: 480px) {

  .menu-inferior-pc.menu-categorias {
    gap: 3px;
    max-width: 100%;
  }

  .header-nav-button {
    padding: 8px 6px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .header-dropdown-panel {
    max-width: calc(100vw - 16px);
    padding: 12px;
  }

  .header-grid-genres {
    grid-template-columns: repeat(2, minmax(105px, 1fr));
    min-width: 220px;
  }

  .header-grid-collections {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    min-width: 230px;
  }
}
