body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #171a21;
  color: #c7d5e0;
}

.steam-app {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 220px;
  background: #1b2838;
  color: #c7d5e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
  box-shadow: 2px 0 8px #000a;
}

.sidebar h1 {
  font-size: 1.6em;
  margin-bottom: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-right: -20px;
}

.nav button {
  background: none;
  border: none;
  color: #c7d5e0;
  font-size: 1.1em;
  padding: 12px 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.2s;
}

.nav button.active, .nav button:hover {
  background: #2a475e;
}

.main {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.game-card {
  background: #23262e;
  border-radius: 8px;
  box-shadow: 0 2px 8px #000a;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 16px #000c;
}

.game-cover {
  width: 184px;
  height: 69px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
  background: #2a475e;
  box-shadow: 0 1px 4px #000a;
  display: block;
}

.game-title {
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
}

.game-appid {
  font-size: 0.9em;
  color: #8f98a0;
}

.about {
  max-width: 500px;
  margin: 0 auto;
  background: #23262e;
  border-radius: 8px;
  box-shadow: 0 2px 8px #000a;
  padding: 32px;
  text-align: center;
}

.profile-pic {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #66c0f4;
  margin-bottom: 12px;
  object-fit: cover;
  background: #23262e;
}

.profile-name {
  font-size: 1.5em;
  font-weight: 700;
  color: #c7d5e0;
  margin-bottom: 6px;
}

.profile-desc {
  color: #b8b6b4;
  margin-bottom: 12px;
}

.profile-links a {
  color: #66c0f4;
  margin-right: 12px;
  text-decoration: none;
  font-weight: 500;
}

#editProfileModal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #000a;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#editProfileModal h3 {
  color: #c7d5e0;
  margin-bottom: 18px;
}

#editProfileModal input, #editProfileModal textarea {
  background: #23262e;
  color: #c7d5e0;
  border: 1px solid #3b3f4a;
  border-radius: 4px;
  padding: 6px;
  margin-bottom: 12px;
}

#editProfileModal button {
  margin-top: 8px;
}

.tag-input, .note-input {
  background: #23262e;
  color: #c7d5e0;
  border: 1px solid #3b3f4a;
  border-radius: 4px;
  padding: 4px 8px;
  margin: 2px 0;
  font-size: 0.98em;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tag-input:focus, .note-input:focus {
  border-color: #66c0f4;
  box-shadow: 0 0 4px #66c0f4aa;
}
.game-tags, .game-note {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}
.game-run a {
    display: inline-block;
    background: #66c0f4;
    color: #171a21;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 10px #000a;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    font-size: 1.12em;
    letter-spacing: 1px;
    border: none;
}
.game-run a:hover {
    background: #417a9b;
    color: #fff;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 18px #000c;
}