/* Reset browser defaults a bit */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global styles */
body {
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Header / navbar */
header {
  background: #222;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

header h1 {
  font-size: 1.8rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #222; /* example */
}

.nav-left a {
  margin-right: 15px;
  color: white;
  text-decoration: none;
}

.nav-left a:hover {
  text-decoration: underline;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-right a,
.nav-right button {
  color: white;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.nav-right img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-left: 10px;
}

/* Container for content */
.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Game card styles */
.game-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  margin: 10px;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: inline-block;
  vertical-align: top;
  transition: transform 0.2s ease;
}

.game-card:hover {
  transform: scale(1.03);
}

.game-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.game-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.game-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.game-card button {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.game-card button:hover {
  background: #0056b3;
}

/* Footer */
footer {
  margin-top: 30px;
  text-align: center;
  color: #777;
  font-size: 0.8rem;
}
