body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #121212;
  color: #fff;
}

header {
  text-align: center;
  padding: 40px 20px;
  background-color: #1f1f1f;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#nombre {
  font-family: 'Amarante', serif;
  font-size: 3rem;
  letter-spacing: 2px;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #61dafb;
}

section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  border-bottom: 2px solid #61dafb;
  display: inline-block;
  margin-bottom: 20px;
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.proyecto {
  background: #1f1f1f;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
}

.proyecto img {
  max-width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.proyecto img:hover {
  transform: scale(1.05);
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 10px 0;
}

a {
  color: #61dafb;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #1f1f1f;
}

.lang-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #2d2d2d;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.detalle-juego {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.galeria img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.galeria img:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-contenido {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.cerrar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
  margin: 0;
  background: black;
}

.arcade-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Press Start 2P', monospace;
  color: #00ffcc;
  padding: 20px;
}

.ventana-retro {
  background: #111;
  border: 4px solid #00ffcc;
  padding: 30px;
  text-align: center;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px #0ff;
}

.botones-juegos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.ventana-retro button {
  background: #000;
  color: #00ffcc;
  border: 2px solid #00ffcc;
  padding: 10px 20px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ventana-retro button:hover {
  background: #00ffcc;
  color: #000;
}

canvas {
  background: #000;
  border: 2px solid #00ffcc;
  margin-top: 10px;
}

