/* ===================================== */
/* MAIN STYLESHEET - CGA WEB              */
/* ===================================== */
/* Este archivo importa todos los módulos */
/* de CSS organizados por componentes     */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Módulos CSS */
@import 'css/layout.css';
@import 'css/header-nav.css';
@import 'css/components.css';
@import 'css/footer-player.css';

/* ===================================== */
/* SECCIÓN INFAME OS                     */
/* ===================================== */
.os-badge {
  display: inline-block;
  background: #ff6600;
  color: #000;
  font-size: 0.65rem;
  padding: 6px 12px;
  margin-bottom: 15px;
  font-weight: bold;
  border-radius: 4px;
}

.os-specs {
  list-style: none;
  padding: 0;
  margin: 15px 0 25px 0;
  line-height: 2;
  font-size: 0.8rem;
}

.os-specs li i {
  color: #ffaa00;
  margin-right: 8px;
}

.btn-iso-download {
  display: inline-block;
  background-color: #00aa44;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 14px 22px;
  border: 3px solid #fff;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.1s ease, background-color 0.2s ease;
  cursor: pointer;
  margin: 10px 0;
}

.btn-iso-download:hover {
  background-color: #00dd55;
  transform: scale(1.03);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-item {
  background: #111;
  border: 2px solid #333;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.gallery-item p {
  margin: 8px 0 4px 0;
  font-size: 0.65rem;
  text-align: center;
  color: #aaa;
}

footer p a {
  color: #ffaa00; /* Color base retro similar al menú o naranja */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer p a:hover {
  color: #ff0055; /* O el color exacto que use tu hover de contacto, ej: #00ffcc o #ff3300 */
  text-shadow: 0 0 8px rgba(255, 0, 85, 0.8);
}

/* ===================================== */
/* MATRIX KOOPER BOOT SCREEN (INDEX)     */
/* ===================================== */
.matrix-boot-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.matrix-boot-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#matrix-boot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.matrix-boot-hud {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  background: rgba(0, 0, 0, 0.78);
  border: 2px solid #8f8;
  box-shadow: 0 0 24px rgba(136, 255, 136, 0.35), inset 0 0 12px rgba(136, 255, 136, 0.15);
  text-align: center;
  max-width: 90vw;
}

.matrix-boot-text {
  margin: 0;
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.65rem, 2vw, 0.9rem);
  color: #8f8;
  text-shadow: 0 0 10px rgba(136, 255, 136, 0.8);
  letter-spacing: 1px;
  line-height: 1.6;
}

.matrix-boot-cursor {
  animation: matrixBlink 0.8s steps(2, start) infinite;
}

@keyframes matrixBlink {
  to {
    visibility: hidden;
  }
}

.matrix-boot-skip {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  color: #8f8;
  background: rgba(0, 20, 0, 0.85);
  border: 1px solid #8f8;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.matrix-boot-skip:hover,
.matrix-boot-skip:focus-visible {
  background: #8f8;
  color: #000;
  box-shadow: 0 0 12px rgba(136, 255, 136, 0.8);
  outline: none;
}