@font-face {
  font-family: "Source Code Pro";
  src: url("../fonts/latin_2.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Abel";
  src: url("../fonts/latin_1.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #03060c;
  --panel: rgba(3, 6, 12, 0.72);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Code Pro", monospace;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 5vw;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.brand {
  width: min(230px, 42vw);
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover {
  border-color: currentColor;
}

.burger {
  display: none;
  width: 32px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 160px 5vw 90px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.68));
}

.hero-content {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

h1,
h2 {
  margin: 0;
  font-family: "Abel", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1 {
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1;
}

.lead {
  margin: 28px 0 45px;
  font-size: clamp(16px, 2vw, 21px);
}

.newsletter {
  width: min(650px, 100%);
  margin: 0 auto 42px;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(5px);
}

.newsletter h2 {
  font-size: clamp(25px, 4vw, 38px);
}

.newsletter p {
  color: var(--muted);
  line-height: 1.6;
}

.newsletter-form {
  margin-top: 22px;
  text-align: left;
}

.newsletter-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-row {
  display: flex;
}

.form-row input {
  min-width: 0;
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #fff;
  outline: none;
  background: #fff;
  color: #111;
}

.form-row button {
  padding: 14px 24px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
}

.form-row button:hover {
  background: #fff;
  color: #111;
}

.store-widget {
  width: min(646px, 100%);
  margin: 0 auto 28px;
}

.store-widget iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.image-link,
.platforms {
  width: min(800px, 100%);
  margin: 20px auto 0;
}

.platforms {
  width: min(779px, 100%);
}

.copyright-copy {
  padding: 58px 7vw;
  background: #0a0d13;
}

.copyright-copy p {
  width: min(1100px, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  text-align: center;
  font-size: 13px;
}

.site-footer {
  padding: 42px 5vw 60px;
  background: #020307;
  text-align: center;
}

.back-to-top {
  display: inline-block;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 44px;
  font-size: 13px;
  text-transform: uppercase;
}

.social-links a:hover {
  text-decoration: underline;
}


@media (max-width: 760px) {
  .site-header {
    padding: 22px 20px;
  }

  .burger {
    display: block;
    position: relative;
    z-index: 22;
  }

  .site-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 100px 20px 30px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(2, 3, 7, 0.97);
  }

  .nav-toggle:checked ~ .site-header .site-nav {
    display: flex;
  }

  .hero {
    padding: 135px 20px 70px;
  }

  .newsletter {
    padding: 22px 18px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .store-widget iframe {
    height: 210px;
  }
}
