:root {
  --bg: #0b0f18;
  --bg-soft: #111827;
  --panel: #151d2e;
  --panel-2: #1b2537;
  --line: #26324a;
  --text: #e7ecf5;
  --muted: #9aa8c0;
  --accent: #4cc2ff;
  --accent-2: #7c5cff;
  --steam: #1b2838;
  --radius: 16px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 24, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #071019; font-weight: 800; font-size: 14px; font-family: 'Space Grotesk', sans-serif;
}
.brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.topnav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topnav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.topnav a:hover { color: var(--text); text-decoration: none; }
.topnav a.cta {
  color: #071019; background: linear-gradient(135deg, var(--accent), #6fe0ff);
  padding: 8px 16px; border-radius: 999px; font-weight: 600;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 640px; pointer-events: none;
  background:
    radial-gradient(600px 320px at 18% 30%, rgba(76, 194, 255, .22), transparent 70%),
    radial-gradient(560px 320px at 82% 20%, rgba(124, 92, 255, .22), transparent 70%);
}
.hero-inner {
  position: relative; padding: 72px 24px 80px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 600;
  color: var(--accent); margin: 0 0 14px;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 7vw, 74px); line-height: 1.02; margin: 0 0 18px; letter-spacing: -.02em;
}
.lede { color: var(--muted); margin: 0 0 14px; max-width: 60ch; }
.lede b { color: var(--text); font-weight: 600; }
.lede.small { font-size: 15px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-steam {
  background: linear-gradient(135deg, #4cc2ff, #1b6ef3); color: #04101d;
  box-shadow: 0 10px 28px rgba(76, 194, 255, .22);
}
.btn-ghost { background: var(--panel); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--panel-2); }
.btn img { width: 22px; height: 22px; object-fit: contain; }

.platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; }
.platforms li {
  font-size: 13px; color: var(--muted); border: 1px solid var(--line);
  background: rgba(255,255,255,.02); padding: 5px 12px; border-radius: 999px;
}
.hero-art img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .5);
}

/* ---------- sections ---------- */
.section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section-title {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 3.4vw, 36px);
  margin: 0 0 10px; letter-spacing: -.01em;
}
.section-sub { color: var(--muted); margin: 0 0 30px; }

.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #000; box-shadow: 0 22px 60px rgba(0,0,0,.45);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.shot {
  margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--panel);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* ---------- features ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 0 0 54px; }
.feature.reverse .feature-art { order: 2; }
.feature-art img {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.4); background: var(--panel);
}
.feature-text h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 2.4vw, 29px); margin: 0 0 10px;
}
.feature-text p { color: var(--muted); margin: 0; }
.feature-text b { color: var(--text); }

.features-list {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
}
.features-head img { max-width: 420px; margin: 0 auto 24px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.checklist li { position: relative; padding-left: 32px; color: var(--muted); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px;
  border-radius: 3px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.checklist li { break-inside: avoid; }

@media (min-width: 780px) and (max-width: 1120px) {
  .checklist { grid-template-columns: 1fr 1fr; }
}

/* ---------- buy ---------- */
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.buy-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; scroll-margin-top: 90px;
}
.buy-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; margin: 0 0 10px; }
.buy-note { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.buy-note b { color: var(--text); }
.steam-widget { width: 100%; max-width: 646px; height: 190px; border: 0; border-radius: 10px; }
.itch-widget { width: 100%; max-width: 552px; height: 167px; border: 0; border-radius: 10px; }
.includes { display: grid; gap: 22px; margin-top: 24px; }
.includes-title { font-weight: 600; color: var(--text); margin: 0 0 8px; font-size: 15px; }
.includes ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.includes li { margin-bottom: 6px; }
.drm-note { color: var(--muted); font-size: 15px; margin: 24px 0 0; }
.drm-note b { color: var(--text); }

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.news-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.news-card:first-child { grid-row: span 2; }
.news-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 21px; margin: 0 0 4px; }
.news-date { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.news-date a { color: var(--muted); }
.news-card p { color: var(--muted); font-size: 15.5px; }
.news-card h4 { font-size: 15px; margin: 20px 0 6px; color: var(--text); }
.news-card ul { color: var(--muted); font-size: 15px; padding-left: 20px; }
.news-card li { margin-bottom: 6px; }
.news-link { margin-top: 18px; font-size: 15px; }
.news-more { margin: 30px 0 0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.about-text .section-sub { margin-bottom: 14px; }
.about-owner { color: var(--text); margin: 0 0 6px; font-size: 17px; }
.about-owner b { font-weight: 600; }
.about-legal { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.about-portrait img { width: 200px; height: 200px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { order: -1; }
}

/* ---------- footer ---------- */
.footer { padding: 46px 0 60px; background: var(--bg-soft); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; max-width: 620px; }
.footer-nav a { color: var(--muted); font-size: 15px; }
.footer-credits { color: var(--muted); font-size: 14px; }
.footer-credits p { margin: 0 0 10px; }
.footer-credits img { margin: 6px 0; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 60px; }
  .hero-art { order: -1; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 22px; }
  .feature.reverse .feature-art { order: 0; }
  .buy-grid, .news-grid { grid-template-columns: 1fr; }
  .news-card:first-child { grid-row: auto; }
  .topnav { gap: 14px; }
  .topnav a { font-size: 14px; }
  .brand-name { display: none; }
}
