/* ===== General Styles ===== */
body {
  background-color: navy;  /* makes the whole page navy */
  color: #fff;             /* makes text white so it’s readable */
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
}

/* ===== Header ===== */
header {
  background: linear-gradient(135deg, #16213e, #0f3460);
}


header h1 {
  font-size: 2rem;
  color: #fff;   /* white text */
}

/* ===== Main Container ===== */
main {
  padding: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== Game Grid ===== */
.game-grid {
  display: flex;
  flex-wrap: wrap;       /* allows wrapping if the screen is small */
  justify-content: center;
  gap: 30px;             /* space between icons */
  margin-top: 20px;
}

.game-card {
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-card:hover {
  transform: translateY(-6px);
}

.game-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;   /* round corners instead of a box */
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4); /* subtle shadow behind image */
  transition: box-shadow 0.2s, transform 0.2s;
}

.game-card img:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
  transform: scale(1.05);
}

.game-card h3 {
  margin-top: 5px;
  font-size: 1.1rem;
  color: #e94560;
}

/* ===== Paragraph Section ===== */
.about {
  margin-top: 40px;
  padding: 20px;
  background: #22223b;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.about p {
  margin: 0;
  font-size: 1rem;
  color: #ddd;
}
