:root {
  color-scheme: dark;
  --bg: #12152a;
  --panel: #1b203a;
  --text: #f5f3ee;
  --muted: #b1b5cb;
  --lime: #d8f982;
  --purple: #b8a0ff;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 6px;
}
.site-header,
main,
footer {
  max-width: 1160px;
  margin: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.site-header {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  text-decoration: none;
  font-size: 23px;
  font-weight: 780;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.brand-mark {
  color: var(--lime);
  font-size: 36px;
  margin-right: 6px;
}
.brand-light {
  font-weight: 400;
  color: var(--muted);
}
.header-note {
  font-size: 13px;
  color: var(--muted);
}
.hero {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 40px 0 70px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 750;
  color: var(--purple);
}
.status-dot {
  display: inline-block;
  background: var(--lime);
  height: 6px;
  width: 6px;
  border-radius: 50%;
  margin-right: 7px;
  margin-bottom: 2px;
}
h1 {
  font-size: clamp(45px, 5.4vw, 69px);
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 26px 0;
}
h1 span {
  color: var(--lime);
}
.intro {
  font-size: 17px;
  line-height: 1.8;
  max-width: 435px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: var(--lime);
  color: var(--bg);
  padding: 16px 23px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 750;
  margin-top: 20px;
}
.button:hover {
  background: #e7ffb3;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}
.arcade-art {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  border: 1px solid #30344c;
  border-radius: 50%;
  width: 370px;
  height: 370px;
  transform: rotate(-25deg);
}
.orbit-two {
  width: 430px;
  height: 250px;
  transform: rotate(-35deg);
}
.game-window {
  position: relative;
  width: 350px;
  border: 2px solid #4e5271;
  background: #222740;
  border-radius: 14px;
  overflow: hidden;
  transform: rotate(-5deg);
  box-shadow: 15px 22px 0 #0d1021;
}
.window-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
}
.window-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #69708f;
}
.window-bar i:first-child {
  background: var(--purple);
}
.window-bar span {
  font-size: 8px;
  letter-spacing: 2px;
  margin-left: auto;
  color: var(--muted);
}
.game-scene {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#39325a, #242b47);
}
.moon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e5dcff;
  position: absolute;
  right: 40px;
  top: 22px;
  box-shadow: 0 0 45px #a88fe955;
}
.cloud {
  height: 13px;
  width: 55px;
  border-radius: 20px;
  background: #77708966;
  position: absolute;
}
.cloud-one {
  top: 42px;
  left: 25px;
}
.cloud-two {
  top: 85px;
  right: 12px;
  width: 70px;
}
.ground,
.platform {
  position: absolute;
  background: #706591;
  border-top: 5px solid #c3b0ed;
}
.ground {
  bottom: 0;
  width: 100%;
  height: 30px;
  background: repeating-linear-gradient(
    45deg,
    #39364c,
    #39364c 8px,
    #343147 8px,
    #343147 16px
  );
}
.platform-one {
  width: 85px;
  height: 17px;
  bottom: 70px;
  left: 45px;
}
.platform-two {
  width: 90px;
  height: 17px;
  bottom: 120px;
  right: 37px;
}
.player {
  position: absolute;
  left: 78px;
  bottom: 87px;
  width: 32px;
  height: 63px;
  transform: rotate(8deg);
  color: var(--lime);
}
.head {
  position: absolute;
  left: 9px;
  width: 19px;
  height: 19px;
  border: 4px solid;
  border-radius: 50%;
}
.body {
  position: absolute;
  width: 4px;
  height: 24px;
  background: currentColor;
  left: 16px;
  top: 17px;
}
.arms {
  position: absolute;
  width: 29px;
  height: 15px;
  border-left: 4px solid;
  border-bottom: 4px solid;
  top: 20px;
  left: 3px;
  transform: rotate(-35deg);
}
.legs {
  position: absolute;
  width: 24px;
  height: 23px;
  border-top: 4px solid;
  border-right: 4px solid;
  top: 37px;
  left: 5px;
  transform: rotate(-45deg);
}
.coin {
  position: absolute;
  width: 11px;
  height: 16px;
  background: #ffe395;
  border: 2px solid #b79a52;
  border-radius: 50%;
  top: 75px;
}
.coin-one {
  left: 149px;
}
.coin-two {
  left: 174px;
  top: 60px;
}
.coin-three {
  left: 199px;
  top: 55px;
}
.window-bottom {
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  color: var(--purple);
  font-size: 24px;
}
.window-bottom span:nth-child(2) {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}
.window-bottom span:last-child {
  font-size: 14px;
}
.spark {
  position: absolute;
  color: var(--lime);
  font-size: 33px;
}
.spark-one {
  right: 14px;
  top: 10px;
}
.spark-two {
  left: 8px;
  top: 65px;
  color: var(--purple);
}
.spark-three {
  right: 35px;
  bottom: 23px;
  font-size: 21px;
}
.art-label {
  position: absolute;
  bottom: 0;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}
.games {
  padding: 55px 0;
  border-top: 1px solid #30344c;
  scroll-margin-top: 25px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 12px 0 0;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
}
.game-card {
  display: grid;
  grid-template-columns: 290px 1fr;
  background: var(--panel);
  border: 1px solid #30364f;
  border-radius: 16px;
  overflow: hidden;
}
.game-thumbnail {
  min-height: 230px;
  background: #c2adee;
  position: relative;
  overflow: hidden;
  padding: 30px;
  color: #25203c;
}
.thumbnail-title {
  position: relative;
  font-size: 52px;
  font-weight: 900;
  line-height: 0.91;
  letter-spacing: -3px;
}
.thumbnail-star {
  position: absolute;
  font-size: 100px;
  right: -15px;
  top: -28px;
  color: #ded1ff;
}
.mini-player {
  position: absolute;
  right: 20px;
  bottom: -25px;
  font-size: 165px;
  font-weight: 900;
  color: #58447b;
  transform: rotate(-10deg);
}
.game-details {
  padding: 33px 38px;
}
.badge {
  border: 1px solid #596042;
  border-radius: 20px;
  color: var(--lime);
  padding: 5px 9px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.game-details h3 {
  font-size: 27px;
  margin: 17px 0 8px;
  letter-spacing: -0.6px;
}
.game-details p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 465px;
}
.game-details .release-note {
  font-size: 12px;
  margin-top: 22px;
}
.closing-note {
  padding: 15px 0 70px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.closing-note > span {
  font-size: 45px;
  color: var(--purple);
}
.closing-note p {
  line-height: 1.9;
  font-size: 13px;
  color: var(--muted);
}
.closing-note strong {
  font-weight: 500;
  color: var(--text);
}
footer {
  border-top: 1px solid #30344c;
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 35px;
  font-size: 11px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    height: 85px;
  }
  .header-note {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
    gap: 20px;
  }
  .hero-copy {
    max-width: 500px;
  }
  .arcade-art {
    max-width: 420px;
    width: 100%;
    justify-self: center;
    margin-top: 15px;
  }
  .game-window {
    width: calc(100% - 40px);
    max-width: 350px;
  }
  .orbit {
    width: 88%;
    height: 330px;
  }
  .orbit-two {
    width: 100%;
    height: 230px;
  }
  .section-heading {
    display: block;
  }
  .game-card {
    grid-template-columns: 1fr;
  }
  .game-thumbnail {
    min-height: 190px;
  }
  .game-details {
    padding: 30px;
  }
  .games {
    padding-top: 35px;
  }
  footer {
    gap: 25px;
    line-height: 1.7;
  }
  h1 {
    letter-spacing: -2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
