:root {
  --bg: #0f1114;
  --panel: #171c22;
  --text: #edf2f7;
  --muted: #a6b0bc;
  --accent: #d7b46a;
  --line: #2a3240;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 10% 5%, #1f2733 0%, var(--bg) 45%);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.5;
}

a {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__cover {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: saturate(0.9);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.78) 100%);
  z-index: 1;
}

.hero__content {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, calc(100% - 28px));
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 3.8vw, 2rem);
}

.subtitle {
  margin: 0;
  color: #d7dde5;
}

.meta {
  margin: 6px 0 0;
  color: var(--muted);
}

.container {
  width: min(1000px, calc(100% - 28px));
  margin: 20px auto;
  display: grid;
  gap: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.card h2 {
  margin: 0 0 10px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.shots img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

pre {
  background: #0b0e12;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  overflow-x: auto;
}

.footer {
  width: min(1000px, calc(100% - 28px));
  margin: 6px auto 22px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero__content {
    align-items: flex-end;
  }
}
