:root {
  color-scheme: dark;
  --bg: #070914;
  --bg-2: #0d1224;
  --surface: rgba(13, 18, 36, 0.82);
  --surface-strong: rgba(20, 29, 55, 0.94);
  --text: #f8fbff;
  --muted: #a8b4ca;
  --line: rgba(164, 187, 232, 0.18);
  --cyan: #25d8ff;
  --amber: #ffb347;
  --rose: #ff6a91;
  --green: #7ee7ba;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 20, 0.55), var(--bg) 760px),
    url("games/void-hangar.png") center top / min(1200px, 140vw) auto no-repeat,
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 24% 18%, rgba(37, 216, 255, 0.18), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(255, 179, 71, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  content: "";
  pointer-events: none;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: #8eedff;
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.site-header,
.site-footer,
.hero,
.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.footer-links,
.actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  color: var(--text);
  font-weight: 780;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 138px;
  height: auto;
}

.nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.footer-links a {
  color: #d7e4ff;
  font-size: 0.92rem;
  font-weight: 720;
}

.nav a[aria-current="page"] {
  color: var(--amber);
}

.hero {
  display: flex;
  min-height: calc(100vh - 134px);
  align-items: flex-end;
  padding: 72px 0 74px;
}

.hero-copy {
  max-width: 800px;
}

.hero-logo {
  width: min(520px, 88vw);
  margin-bottom: 22px;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.42));
}

.eyebrow,
.project-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 880px;
  font-size: clamp(3.4rem, 12vw, 8rem);
  letter-spacing: 0;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.58);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d8e3f8;
  font-size: clamp(1.08rem, 2.5vw, 1.42rem);
}

.actions {
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 820;
}

.button:hover {
  text-decoration: none;
}

.button-primary {
  border-color: rgba(37, 216, 255, 0.62);
  background: linear-gradient(135deg, #1bd8ff, #ff9f40);
  color: #07101c;
  box-shadow: 0 18px 44px rgba(37, 216, 255, 0.18);
}

.button-primary:hover {
  color: #07101c;
  filter: brightness(1.06);
}

.button-secondary {
  background: rgba(8, 12, 25, 0.68);
  color: var(--text);
}

.section {
  padding: 52px 0 108px;
}

.section-heading {
  max-width: 780px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.project-card,
.identity-grid article,
.support-panel,
.policy {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 26px;
}

.project-media {
  position: relative;
  min-height: 290px;
  margin: -26px -26px 26px;
  border-bottom: 1px solid var(--line);
  background-position: center;
  background-size: cover;
}

.project-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(7, 9, 20, 0.82)),
    linear-gradient(90deg, rgba(7, 9, 20, 0.72), transparent 58%);
  content: "";
}

.project-media-space {
  background-image: url("games/void-field.png");
}

.project-media-market {
  background-image:
    linear-gradient(180deg, rgba(255, 196, 108, 0.04), rgba(7, 9, 20, 0.68)),
    url("games/checkout-market.png");
}

.project-symbol {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 72px;
  image-rendering: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6));
}

.symbol-a {
  right: 28px;
  bottom: 34px;
}

.symbol-b {
  right: 104px;
  bottom: 86px;
}

.project-card p:not(.project-kicker) {
  max-width: 560px;
  color: var(--muted);
}

.project-status {
  display: inline-flex;
  margin-top: 14px;
  border: 1px solid rgba(255, 179, 71, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffdba4;
  font-size: 0.82rem;
  font-weight: 780;
}

.identity-section {
  padding-top: 12px;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.identity-grid article {
  min-height: 138px;
  padding: 22px;
}

.identity-grid h3 {
  color: var(--amber);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.identity-grid p {
  margin: 14px 0 0;
  color: #eef5ff;
  font-size: 1.2rem;
  font-weight: 760;
}

.content-page {
  width: min(900px, calc(100% - 32px));
  min-height: calc(100vh - 166px);
  margin: 0 auto;
  padding: 56px 0 88px;
}

.policy,
.support-panel {
  padding: clamp(24px, 5vw, 48px);
  background: var(--surface-strong);
}

.policy h1,
.support-panel h1 {
  font-size: clamp(2.6rem, 8vw, 5rem);
}

.policy h2,
.support-details h2 {
  margin-top: 36px;
  font-size: 1.25rem;
}

.policy p,
.support-panel p {
  color: var(--muted);
}

.support-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.site-footer {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  body {
    background-size: 920px auto, auto;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .brand-logo {
    width: 120px;
  }

  .hero {
    min-height: 76vh;
    padding-top: 44px;
  }

  .project-grid,
  .identity-grid,
  .support-details {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .project-media {
    min-height: 240px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 72vh;
    padding-bottom: 50px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .project-card {
    padding: 20px;
  }

  .project-media {
    min-height: 210px;
    margin: -20px -20px 22px;
  }
}
