* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #000;
}

body {
  background-color: #fff;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center horizontally */
  padding: 0;
  min-height: 100vh;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr;
  gap: 22px;
  row-gap: 0;
  max-width: 1200px;
  width: 100%;
  flex: 1; /* Take up available space, pushing footer down */
}

/* Game card with aspect ratio and styling */
.game-card {
  display: block;
  aspect-ratio: 391 / 145;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #00000010;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.game-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  width: 100%;
  margin: 0 auto; /* Removed bottom margin too */
}

.logo img {
  max-width: 100%;
  height: auto;
}

footer {
  margin-top: auto;
  padding: 2rem 0;
  background-color: #ffffff;
  text-align: center;
  width: 100%;
}

footer p {
  margin: 0;
  color: #000;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 21px;
  opacity: 0.7;
  font-weight: 300;
}

.footer-links {
  font-size: 14px !important;
  margin-top: 0.5rem !important;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #333;
  text-decoration: underline;
}

.meta-comment {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 69, 0, 0.9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    max-width: 250px;
    font-size: 14px;
    font-style: italic;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.meta-comment.show {
    opacity: 1;
    transform: translateX(0);
}