/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Press Start 2P', monospace;
  background-color: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 4rem;
  cursor: url('img/cursor-retro.png'), auto;
}

/* ===== VHS Grain Overlay ===== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.04;
  z-index: 1;
  pointer-events: none;
}

/* ===== HEADINGS & PARAGRAPHS ===== */
h1, h2, h3 {
  text-align: center;
  color: #f5f5f5;
  z-index: 2;
  position: relative;
}

h1 {
  font-size: 1.2rem;
  animation: glitch 2s infinite;
}

h2 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

p {
  font-size: 0.8rem;
  text-align: center;
  color: #ccc;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 4rem 2rem 3rem;
  position: relative;
}

.hero h1 span.resaltado {
  color: #ff0077;
}

.hero p {
  color: #999;
  margin-top: 1rem;
}

.boton {
  background: #ff0077;
  color: white;
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem;
  border: 2px solid white;
  border-radius: 8px;
  box-shadow: 0 0 6px #ff0077;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: 0.3s ease;
}

.boton:hover {
  background: #ff3399;
  transform: scale(1.05);
}

.hero-logo {
  width: 100px;
  margin: 2rem auto 0;
  filter: drop-shadow(0 0 10px rgba(255, 0, 119, 0.5));
}

/* ===== BLOQUES ===== */
.bloque {
  padding: 3rem 2rem;
  text-align: center;
}

.fucsia {
  background-color: #ff0077;
  color: white;
}

.manifesto {
  background-color: #111;
  color: #ffd700;
}
.mision {
  background: linear-gradient(135deg, #1f1f1f 0%, #3b0033 100%);
  color: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.mision h2 {
  font-size: 1.4rem;
  color: #ff00aa;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: glitch 1.2s infinite;
}

.mision p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ffe4f4;
}

/* Glitch animation */
@keyframes glitch {
  0% { text-shadow: 2px 2px #0ff, -2px -2px #f0f; }
  20% { text-shadow: -2px 2px #0ff, 2px -2px #f0f; }
  40% { text-shadow: 2px -2px #0ff, -2px 2px #f0f; }
  60% { text-shadow: -2px -2px #0ff, 2px 2px #f0f; }
  80% { text-shadow: 2px 2px #0ff, -2px -2px #f0f; }
  100% { text-shadow: -2px 2px #0ff, 2px -2px #f0f; }
}
.mision {
  background: linear-gradient(135deg, #1f1f1f 0%, #3b0033 100%);
  color: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.mision h2 {
  font-size: 1.4rem;
  color: #ff00aa;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: glitch 1.2s infinite;
}

.mision p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ffe4f4;
}

/* Glitch animation */
@keyframes glitch {
  0% { text-shadow: 2px 2px #0ff, -2px -2px #f0f; }
  20% { text-shadow: -2px 2px #0ff, 2px -2px #f0f; }
  40% { text-shadow: 2px -2px #0ff, -2px 2px #f0f; }
  60% { text-shadow: -2px -2px #0ff, 2px 2px #f0f; }
  80% { text-shadow: 2px 2px #0ff, -2px -2px #f0f; }
  100% { text-shadow: -2px 2px #0ff, 2px -2px #f0f; }
}
/* ===== MARCAS ===== */
.marcas {
  background: #fff1e0;
  color: #111;
}

.marcas h2 {
  color: #8b0000;
}

.marcas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.marca {
  background: #1c1c1c;
  padding: 1rem;
  border-radius: 12px;
  width: 200px;
  text-align: center;
  box-shadow: 0 0 8px rgba(255,255,255,0.1);
  transition: 0.3s ease;
}

.marca:hover {
  transform: scale(1.05) rotate(-1deg);
  background: #2b2b2b;
}

.marca img {
  max-height: 80px;
  margin-bottom: 0.5rem;
}

.marca h3 {
  font-size: 0.8rem;
  color: #ffd700;
}

.marca p {
  font-size: 0.7rem;
  color: #eee;
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.7rem;
  position: relative;
  z-index: 3;
}

/* ===== ANIMACIONES ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

/* ===== MENÚ FLOTANTE ===== */
.menu-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.menu-flotante a {
  background: #ff0077;
  color: white;
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 0.6rem;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 0 6px #ff0077;
  transition: 0.3s ease;
}
.menu-flotante a:hover {
  background: #ff3399;
  transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 1rem;
  }
  .hero-logo {
    width: 80px;
  }
  .marcas-grid {
    flex-direction: column;
    align-items: center;
  }
  .marca {
    width: 90%;
  }
}
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Press Start 2P', monospace;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

#preloader img {
  width: 160px;
  max-width: 70vw;
  margin-bottom: 1.5rem;
}

.mensaje-preload {
  font-size: 0.6rem;
  line-height: 1.5;
  color: #ffd700;
}
.bloque.rrhh {
  background-color: #0a0a0a;
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
}

.bloque.rrhh h2 {
  font-size: 1rem;
  color: #ff0077;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.bloque.rrhh .nonna {
  color: #ffcc99;
}

.bloque.rrhh .duk {
  color: #ffd700;
}

.bloque.rrhh .correo {
  color: #00ffcc;
  font-size: 0.8rem;
  margin-top: 1rem;
  font-family: monospace;
}
.bloque.cultura {
  background: #111;
  color: #ff66cc;
  padding: 3rem 2rem;
  text-align: center;
}

.bloque.cultura h2 {
  font-size: 1rem;
  text-transform: uppercase;
  color: #ff3399;
  margin-bottom: 1rem;
}

.bloque.cultura p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #f5f5f5;
}
.juegos-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.juego-btn {
  font-family: 'Press Start 2P', monospace;
  background: #222;
  color: #00ff99;
  border: 2px solid #00ff99;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.juego-btn:hover {
  background: #00ff99;
  color: black;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10,10,10,0.95);
  backdrop-filter: blur(4px);
}

.modal-contenido {
  position: relative;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 600px;
  height: 80vh;
  border: 2px solid #00ff99;
  background: black;
}

#iframe-juego {
  width: 100%;
  height: 100%;
}

.cerrar {
  color: #00ff99;
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}
