/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

/* Header */
header {
  background-color: #222;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.nav-menu a {
  color: white;
  margin-left: 1.5em;
  text-decoration: none;
  font-weight: 500;
}

.nav-menu a:hover {
  text-decoration: underline;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #f8f8f8, #ffffff);
  padding: 80px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  color: #333;
}

.hero p {
  font-size: 1.2em;
  line-height: 1.7;
  margin-bottom: 1em;
  color: #555;
}

.hero .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #ff5722;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero .btn:hover {
  background-color: #e64a19;
}

.btn {
  display: inline-block;
  padding: 0.8em 1.5em;
  background-color: #fff;
  color: #007bff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.btn:hover {
  background-color: #e0e0e0;
}

/* Games section */
.games {
  padding: 2em;
  background-color: #fff;
  text-align: center;
}

.games h2 {
  font-size: 2em;
  margin-bottom: 1em;
}

.game-list {
 display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0 1em;
}

.game-card {
 background-color: #fff;
  border-radius: 10px;
  padding: 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s;
}
.game-card:hover {
  transform: scale(1.03);
}

.game-card h3 {
  margin-bottom: 0.5em;
  font-size: 1.2em;
  color: #007bff;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5em;
  background-color: #222;
  color: white;
  margin-top: 2em;
}
.about {
  padding: 2em;
  background-color: #f4f4f4;
  max-width: 800px;
  margin: auto;
  text-align: left;
}

.about h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 1em;
}

.about p {
  line-height: 1.8;
  margin-bottom: 1em;
  font-size: 1.05em;
}
.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1em;
}
@media (max-width: 1200px) {
  .game-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .game-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .game-list {
    grid-template-columns: 1fr;
  }
}
.featured-game {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  background-color: #fff;
  padding: 2em;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin: 0 auto;
}

.featured-game img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-info {
  flex: 1;
}

.game-info h3 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: #222;
}

.game-info p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 1em;
}

.game-info .btn {
  background-color: #34a853;
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.game-info .btn:hover {
  background-color: #2a8c44;
}
.game-card.single {
  max-width: 500px;
  margin: 2em auto;
  text-align: center;
  padding: 2em;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.game-card.single img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 1em;
  border-radius: 12px;
}