/* General */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  color: white;
}

/* Fondo de video */
#background-video {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 135%;
  height: 135%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  filter: brightness(0.6);
}

/* Barra superior */
header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.logo img {
  height: 40px;
}

.title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  flex-grow: 1;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-container input {
  padding: 0.4rem;
  border-radius: 5px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.search-container svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Contenido */
.container {
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Tarjetas de juegos */
.game-card {
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid white;
  border-radius: 10px;
  padding: 1rem;
  max-width: 240px;
  text-decoration: none;
  color: white;
  transition: transform 0.2s;
  overflow: hidden;
}

.game-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}

.game-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.game-info h3 {
  margin: 0;
  font-size: 1.1rem;
}

.game-info p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}
