body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f0f12;
  color: white;
}

/* TOP BAR */
.topbar {
  height: 60px;
  background: #1a1a20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  width: 100%;
  top: 0;
}

.logo {
  font-weight: bold;
  color: #ff3b3b;
  font-size: 20px;
}

.search {
  width: 40%;
  padding: 8px;
  border-radius: 6px;
  border: none;
}

.top-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.coin {
  background: #2a2a33;
  padding: 6px 10px;
  border-radius: 8px;
}

.avatar {
  width: 35px;
  height: 35px;
  background: linear-gradient(45deg, red, purple);
  border-radius: 50%;
  cursor: pointer;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 180px;
  height: 100%;
  background: #15151b;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.sidebar button {
  background: none;
  border: none;
  color: white;
  padding: 15px;
  text-align: left;
  cursor: pointer;
}

.sidebar button:hover {
  background: #2a2a33;
}

/* MAIN */
.content {
  margin-left: 200px;
  padding: 80px 20px;
}

.hero {
  background: linear-gradient(90deg, #ff3b3b, #6a00ff);
  padding: 20px;
  border-radius: 10px;
}

/* GAME GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.card {
  background: #1b1b22;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.2s;
}

.card:hover {
  transform: scale(1.05);
}

.thumb {
  height: 100px;
  background: gray;
}

.card h3 {
  margin: 10px;
  font-size: 14px;
}

/* PROFILE PANEL */
.profile {
  position: fixed;
  right: -300px;
  top: 60px;
  width: 260px;
  height: 100%;
  background: #1a1a20;
  padding: 15px;
  transition: 0.3s;
}

.profile.active {
  right: 0;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, cyan, purple);
  border-radius: 50%;
  margin: 10px 0;
}