:root {
  --page-width: 940px;
  --text: #111;
  --muted: #555;
  --line: #e6e6e6;
  --bg: #f3f1ed;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.45;
}

.page {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 32px 18px 60px;
}

.section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.section-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 650;
}

.about {
  display: flex;
  gap: 22px;
  align-items: center;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--line);
}

.name {
  margin: 0;
  font-size: 28px;
  font-weight: 750;
}

.subtitle {
  margin: 4px 0 10px;
  color: var(--muted);
}

.bio {
  margin: 10px 0 14px;
}

.icon-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 10px;
}

.icon-link img {
  width: 18px;
  height: 18px;
}

.icon-link:hover {
  background: #f7f7f7;
}

.steam-widget iframe {
  border: 0;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.featured {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0 10px;
}

.game-icon {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  border: 1px solid var(--line);
  object-fit: cover;
  flex: 0 0 auto;
}

.game-icon.big {
  width: 140px;
  height: 140px;
  border-radius: 24px;
}

.game-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.game-company {
  margin: 3px 0 10px;
  color: var(--muted);
}

.game-desc {
  margin: 0 0 10px;
  max-width: 720px;
}

.store-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 10px;
}

.store-link.small {
  padding: 6px 8px;
  border-radius: 10px;
}

.store-link img {
  width: 78px;
  height: 24px;
}

.store-link:hover {
  background: #f7f7f7;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px 0 22px;
}

.screenshots img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
}

/* Hide screenshots on small screens (your request) */
@media (max-width: 700px) {
  .screenshots { display: none; }
  .about { flex-direction: column; align-items: flex-start; }
  .avatar { width: 120px; height: 120px; }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 12px;
}

.card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.card-subtitle {
  margin: 3px 0 6px;
  color: var(--muted);
}

.card-role {
  margin: 0 0 10px;
}

.footer {
  padding: 22px 0 0;
  border-bottom: 0;
}

.footer-text {
  margin: 0;
  color: var(--muted);
}

.footer a {
  color: var(--text);
}
