body {
  margin: 0;
  font-family: 'Press Start 2P', monospace, sans-serif;
  background: url("https://images.unsplash.com/photo-1545164027-0d5617cef5fc?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8c3RhciUyMGJhY2tncm91bmR8ZW58MHx8MHx8fDA%3D") repeat; /* stars bg by myself */
  background-size: cover;
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); 
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #111;
  border-bottom: 3px solid #fff;
}

header .logo {
  font-size: 1.5rem;
  color: #fff;
}

header nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  color: #aaa;
}

main {
  padding: 20px;
}

h1 {
  color: #fff;
  text-align: center;
  font-size: 2rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.game-card {
  background: #111;
  padding: 15px;
  border: 2px solid #fff;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 5px #fff inset;
  transition: transform 0.1s, box-shadow 0.1s;
  font-size: 0.9rem;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #fff;
}

#player {
  margin-top: 40px;
  text-align: center;
}

#gameFrame {
  width: 100%;
  max-width: 800px;
  height: 500px;
  border: 3px solid #fff;
  border-radius: 0;
  margin-top: 10px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 20px auto;
}

form input, form textarea, form button {
  margin-bottom: 10px;
  padding: 10px;
  border: 2px solid #fff;
  border-radius: 0;
  background: #111;
  color: #fff;
  font-family: 'Press Start 2P', monospace, sans-serif;
  font-size: 0.8rem;
}

form button {
  background: #000;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: box-shadow 0.1s, background 0.1s;
}

form button:hover {
  background: #111;
  box-shadow: 0 0 5px #fff;
}

footer {
  text-align: center;
  padding: 20px;
  background: #111;
  margin-top: 40px;
  color: #fff;
  border-top: 3px solid #fff;
}
