* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background-color: #0f172a;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-banner {
  background: linear-gradient(rgba(26, 31, 44, 0.9), rgba(26, 31, 44, 0.9)),
    url("../Images/background.png") no-repeat center center/cover;
  background-size: cover;
  background-position: center;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 2px solid #3b82f6;
}

.main-banner h1 {
  font-size: 40px;
  font-weight: 800;
}

.highlight {
  color: #3b82f6;
}

.main-nav {
  background-color: #1e293b;
  border-bottom: 1px solid #334155;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav li a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  padding: 15px 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  transition: 0.3s;
}

.main-nav li a:hover,
.main-nav li a.active {
  background-color: #3b82f6;
  color: white;
}

.main-container {
  max-width: 1200px;
  width: 100%;
  margin: 30px auto;
  display: flex;
  gap: 25px;
  flex: 1;
  padding: 0 20px;
}

.sidebar {
  width: 250px;
  flex-shrink: 0;
}

.sidebar h3 {
  background-color: #1e293b;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 4px solid #3b82f6;
  color: white;
}

.sidebar ul {
  list-style: none;
  background-color: #1e293b;
  border-radius: 4px;
}

.sidebar li a {
  text-decoration: none;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
  border-bottom: 1px solid #334155;
  transition: 0.3s;
  font-size: 14px;
}

.sidebar li a:hover {
  background-color: #334155;
  color: white;
}

.content-area {
  flex: 1;
}

.section-heading {
  margin-bottom: 20px;
  font-size: 24px;
  border-left: 4px solid #3b82f6;
  padding-left: 15px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.game-card {
  background-color: #1e293b;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.game-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.game-card h3 {
  font-size: 14px;
  margin: 10px;
  color: white;
}

.game-card .desc {
  font-size: 12px;
  color: #94a3b8;
  padding: 0 10px 15px 10px;
  line-height: 1.4;
}

.pagination {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #334155;
}

.pagination a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  margin: 0 15px;
  transition: color 0.3s;
}

.pagination a:hover,
.pagination a.active {
  color: #3b82f6;
}

.main-footer {
  background-color: #020617;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #334155;
  margin-top: auto;
}
