:root {
  --bg: #0c0e1d;
  --panel: #151933;
  --line: #262b4d;
  --text: #eef0ff;
  --muted: #9aa0c8;
  --brand-a: #7b5cff;
  --brand-b: #22c8ff;
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--brand-b); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h2 { font-size: 1.6rem; }

.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(12, 14, 29, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar__brand img { height: 44px; width: auto; }
.bar__nav { display: flex; gap: 20px; }
.bar__nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.bar__nav a:hover { color: var(--brand-b); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 48px); }
.small { font-size: 0.95rem; color: var(--muted); }
.muted { color: var(--muted); font-weight: 400; }

.hero--studio {
  text-align: center;
  padding: 72px 20px 48px;
  background: radial-gradient(60% 80% at 50% 0%, rgba(123, 92, 255, 0.35), transparent 70%),
              radial-gradient(40% 60% at 80% 20%, rgba(34, 200, 255, 0.2), transparent 70%);
}
.hero__logo { width: min(420px, 80%); margin: 0 auto 24px; }
.hero__headline { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 12px; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 auto 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card {
  display: block; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card__art { aspect-ratio: 1024 / 500; object-fit: cover; width: 100%; }
.card__body { display: flex; gap: 16px; align-items: center; padding: 16px 20px 20px; }
.card__body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card__icon { border-radius: 16px; flex: none; }

.hero--game { position: relative; }
.hero__art {
  width: 100%; max-height: 520px; object-fit: cover;
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
  mask-image: linear-gradient(#000 60%, transparent);
}
.hero__panel {
  display: flex; gap: 24px; align-items: center;
  max-width: 1100px; margin: -64px auto 0; padding: 24px clamp(16px, 4vw, 48px);
  position: relative;
}
.hero__panel .hero__lead { margin: 0 0 16px; text-align: left; }
.hero__icon { border-radius: 22px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); flex: none; }
.hero--game h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.store {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 800; text-decoration: none;
}
.store--soon { background: transparent; color: var(--accent); border: 2px solid var(--accent); }

.prose p, .prose ul { max-width: 820px; }
.prose p { margin: 0 0 1em; }

.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.features li { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 20px; }
.features p { margin: 0; color: var(--muted); }

.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.shots img { width: min(640px, 85vw); flex: none; border-radius: 14px; scroll-snap-align: start; }

.meta { color: var(--muted); }
.policy-list { padding-left: 1.2em; }
.policy-list li { margin: 0.4em 0; font-weight: 600; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.contact > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact p { margin: 0; color: var(--muted); }
.policy h2 { margin-top: 1.8em; font-size: 1.3rem; }
.services { list-style: none; padding: 0; }
.services li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.services p { margin: 0.3em 0; }

.foot { border-top: 1px solid var(--line); margin-top: 48px; }
.foot__inner { max-width: 1100px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: 0.9rem; }
.foot__links a { color: var(--muted); }

@media (max-width: 640px) {
  .hero__panel { flex-direction: column; align-items: flex-start; margin-top: -40px; }
  .bar__nav { gap: 14px; font-size: 0.95rem; }
}
