:root {
  color-scheme: dark;
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f2f7ff;
  background: #050b19;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 280px; }
body { margin: 0; min-height: 100vh; min-height: 100svh; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #8eeeff; outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }

.space {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(3, 8, 24, .13) 0%, rgba(3, 8, 24, .47) 37%, rgba(5, 11, 25, .95) 78%, #050b19 100%),
    linear-gradient(90deg, rgba(3, 8, 24, .35) 0%, rgba(3, 8, 24, .5) 43%, rgba(3, 8, 24, .16) 100%),
    url("assets/sectors-background.webp");
  background-size: cover;
  background-position: right top;
}

.page {
  width: min(100% - 64px, 1000px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand { width: 100%; padding-top: clamp(48px, 7vh, 82px); }
.brand h1 { line-height: 0; }
.logo {
  display: block;
  width: min(100%, 510px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 3px 26px rgba(0, 52, 125, .5));
}

main { width: 100%; outline: none; }
.game-links { margin-top: 35px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.steam-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 54px;
  min-width: 267px;
  padding: 14px 24px;
  border: 1px solid #69c8ff;
  border-radius: 5px;
  background: linear-gradient(120deg, #1176b6, #13508e);
  box-shadow: 0 6px 32px rgba(0, 109, 213, .2), inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.steam-button:hover {
  background: linear-gradient(120deg, #148bd0, #1b65a9);
  box-shadow: 0 6px 40px rgba(0, 161, 255, .3);
  transform: translateY(-2px);
}
.external-icon { flex: 0 0 auto; }

.intro { max-width: 588px; margin: 37px auto 0; }
.intro h2 { font-size: clamp(23px, 3.5vw, 28px); font-weight: 550; letter-spacing: -.025em; line-height: 1.3; }
.intro p { margin-top: 14px; font-size: 16px; line-height: 1.8; color: #c7d4e7; text-wrap: pretty; }
.development { margin-top: 28px; }
.status { display: flex; justify-content: center; align-items: center; gap: 9px; color: #a9efff; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.status-light { width: 6px; height: 6px; border-radius: 50%; background: #63dbf1; box-shadow: 0 0 10px rgba(99, 219, 241, .6); }
.coming-soon { margin-top: 10px; color: #b3c1d5; font-size: 14px; letter-spacing: .02em; }

.contact { max-width: 650px; margin: 37px auto 0; padding-top: 24px; border-top: 1px solid rgba(151, 189, 232, .19); }
.contact h2 { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #9eb0ca; }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 19px; }
.contact-item h3 { font-size: 12px; font-weight: 400; color: #a6b7d0; line-height: 1.6; }
.contact-item a { display: inline-block; padding-block: 8px; font-size: 14px; line-height: 1.5; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .15s ease, text-decoration-color .15s ease; overflow-wrap: anywhere; }
.contact-item a:hover { color: #8eeeff; text-decoration-color: currentColor; }

footer { width: 100%; margin-top: auto; padding: 40px 0 25px; color: #9baac1; font-size: 11px; line-height: 1.7; }
.trade-mark { margin-top: 4px; font-size: 10px; color: #94a4bd; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: #e4f5ff; color: #071329; padding: 12px 18px; border-radius: 4px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 1600px) {
  .space { background-position: center top; }
}

@media (max-width: 600px) {
  .page { width: calc(100% - 40px); }
  .brand { padding-top: 49px; }
  .logo { max-width: 390px; }
  .space {
    background-image:
      linear-gradient(180deg, rgba(3, 8, 24, .24), rgba(5, 11, 25, .78) 42%, #050b19 78%),
      url("assets/sectors-background.webp");
    background-size: cover, auto 600px;
    background-position: center, 80% top;
    background-repeat: no-repeat;
  }
  .game-links { margin-top: 29px; }
  .steam-button { min-height: 54px; min-width: min(267px, 100%); max-width: 100%; }
  .intro { margin-top: 31px; }
  .intro p { margin-top: 14px; font-size: 15px; line-height: 1.75; }
  .development { margin-top: 26px; }
  .status { font-size: 11px; letter-spacing: .1em; }
  .contact { margin-top: 30px; padding-top: 22px; }
  .contact-links { grid-template-columns: 1fr; gap: 13px; margin-top: 16px; }
  .contact-item a { min-height: 44px; padding-block: 10px; }
  footer { padding-top: 32px; padding-bottom: max(23px, env(safe-area-inset-bottom)); }
  .trade-mark { max-width: 340px; margin: 7px auto 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
