/* 🌌 Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #0f0f1a;
  font-family: Arial, sans-serif;
  color: white;
  display: flex;
  min-height: 100vh;
}

/* 🔝 Top Navigation Bar */
.topnav {
  position: fixed;
  width: 100%;
  background: #7f00ff;
  padding: 1rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.4rem;
  font-weight: bold;
}
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* 🎮 Sidebar Navigation */
.sidebar {
  width: 220px;
  background-color: #151525;
  padding-top: 80px;
  transition: all 0.3s;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
}
.sidebar nav ul {
  list-style: none;
  padding: 1rem;
}
.sidebar nav li {
  margin-bottom: 1.2rem;
}
.sidebar nav li a {
  color: #00f0ff;
  text-decoration: none;
  padding: 0.6rem 1rem;
  display: block;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.sidebar nav li a:hover,
.sidebar nav .active a {
  background-color: #7f00ff;
  color: white;
  transform: scale(1.05);
}

/* 🧱 Main Content */
.main-content {
  margin-left: 220px;
  padding: 100px 2rem 2rem;
  flex: 1;
}

/* 🎮 Game Cards */
.games-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.game-card {
  background-color: #262626;
  border-radius: 10px;
  padding: 1rem;
  width: 220px;
  box-shadow: 0 0 10px #00f0ff88;
  text-align: center;
  transition: transform 0.3s;
}
.game-card:hover {
  transform: scale(1.05);
}
.game-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
.game-card a {
  color: #7f00ff;
  font-weight: bold;
  text-decoration: none;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -100%;
    z-index: 999;
  }
  .sidebar.show {
    left: 0;
  }
  .hamburger {
    display: block;
  }
  .main-content {
    margin-left: 0;
    padding-top: 120px;
  }
}
