:root {
  color-scheme: dark;
  --bg: #080914;
  --panel: rgba(255,255,255,.08);
  --panel-strong: rgba(255,255,255,.13);
  --text: #fff9f2;
  --muted: #c9c1d8;
  --line: rgba(255,255,255,.16);
  --accent: #a978ff;
  --accent-2: #ffb15e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 80% 0%, rgba(255,177,94,.2), transparent 28rem), radial-gradient(circle at 20% 0%, rgba(169,120,255,.24), transparent 30rem), linear-gradient(145deg, #05050c, var(--bg));
}
a { color: inherit; }
.site-header, main, footer { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.site-header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 900; text-decoration: none; }
nav { display: flex; gap: .6rem; flex-wrap: wrap; }
nav a, .button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.hero, .detail-hero { padding: 4rem 0 2rem; }
.eyebrow, .category, .status { color: var(--accent-2); font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
h1 { max-width: 820px; margin: .4rem 0 1rem; font-size: clamp(2.5rem, 10vw, 5rem); line-height: .98; }
h2 { font-size: clamp(1.8rem, 6vw, 3rem); margin: 0 0 1rem; }
p, li { color: var(--muted); line-height: 1.7; }
.catalog { padding: 2rem 0 3rem; }
.game-card, .content-panel, .note {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  padding: clamp(1.2rem, 4vw, 2rem);
}
.game-card { display: grid; gap: 1.2rem; }
.button { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0b0613; border: 0; }
.button.ghost { background: var(--panel-strong); color: var(--text); border: 1px solid var(--line); }
.button:hover, nav a:hover { transform: translateY(-1px); }
.detail-hero { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.app-icon { width: 96px; height: 96px; object-fit: contain; border-radius: 24px; background: var(--panel); padding: .5rem; }
.lead { font-size: 1.15rem; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.preview-grid img { width: 100%; max-height: 220px; object-fit: contain; border: 1px solid var(--line); border-radius: 20px; background: rgba(0,0,0,.18); padding: .75rem; }
.note { margin-bottom: 3rem; }
footer { padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); }
@media (min-width: 760px) {
  .game-card { grid-template-columns: 1fr auto; align-items: end; }
}
