/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full page body with galaxy background */
body {
  font-family: 'Arial', sans-serif;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  min-height: 100vh;
}

/* Header */
header {
  text-align: center;
  padding: 30px 0;
  background: rgba(0,0,0,0.6); /* semi-transparent black overlay */
  backdrop-filter: blur(5px);
}

header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}

/* Main content */
main {
  padding: 40px 20px;
}

/* Game grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  justify-items: center;
}

/* Individual game tile - scaled up 1.5x */
.game {
  display: block;
  width: 195px; /* 130px * 1.5 */
  height: 195px; /* 130px * 1.5 */
  overflow: hidden;
  border-radius: 20px;
  border: 2px solid #fff;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover effect */
.game:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}

/* Responsive for smaller screens */
@media (max-width: 1200px) {
  .games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 900px) {
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 400px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
