@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  font-family: "Space Grotesk", sans-serif;
  color: #eef3ff;
  background: #080b12;
  font-synthesis: none;
  --line: rgba(188, 204, 233, 0.16);
  --muted: #8d98aa;
  --acid: #b8ff57;
  --blue: #6d83ff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #080b12;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 19%, rgba(77, 92, 255, 0.17), transparent 26rem),
    linear-gradient(rgba(188, 204, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 204, 233, 0.035) 1px, transparent 1px),
    #080b12;
  background-size: auto, 56px 56px, 56px 56px, auto;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

nav,
footer,
.section-heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  border-bottom: 1px solid var(--line);
}

a {
  color: inherit;
}

.brand {
  font-weight: 500;
  text-decoration: none;
}

.status {
  color: var(--muted);
}

.status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px var(--acid);
}

.hero {
  padding: 104px 0 88px;
}

.eyebrow,
.coming,
.slot {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.69rem;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--acid);
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.15rem, 8.7vw, 7.8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(220, 228, 255, 0.55);
}

.intro {
  max-width: 570px;
  margin: 38px 0 0 auto;
  color: #aab3c3;
  font-size: 1rem;
  line-height: 1.75;
}

.games {
  padding: 0 0 104px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  padding: 17px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  color: #eef3ff;
  font: inherit;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
}

.empty-card,
.game-card {
  position: relative;
  min-height: 420px;
  padding: 28px;
  overflow: hidden;
  background: #0b0f18;
}

.game-card:only-child,
.game-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.game-card:only-child img,
.game-card:last-child:nth-child(odd) img {
  height: 360px;
}

.empty-card {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.slot {
  position: absolute;
  top: 28px;
  left: 28px;
  color: var(--muted);
}

.orb {
  width: 130px;
  aspect-ratio: 1;
  margin-bottom: 32px;
  border: 1px solid rgba(184, 255, 87, 0.62);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, rgba(184, 255, 87, 0.36), transparent 17%), #0e1720;
  box-shadow: inset -20px -28px 55px rgba(45, 66, 255, 0.24), 0 0 65px rgba(123, 153, 255, 0.08);
  animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    transform: scale(1.035);
    box-shadow: inset -20px -28px 55px rgba(45, 66, 255, 0.3), 0 0 88px rgba(123, 153, 255, 0.13);
  }
}

.empty-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.empty-card p {
  margin: 0 0 27px;
  color: var(--muted);
}

.coming {
  padding: 9px 13px;
  color: var(--acid);
  border: 1px solid rgba(184, 255, 87, 0.35);
}

.game-card {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  text-decoration: none;
  transition: background 180ms ease;
}

.game-card:hover {
  background: #101622;
}

.game-card img {
  width: calc(100% + 56px);
  height: 255px;
  margin: -28px -28px 30px;
  object-fit: cover;
}

.game-card h3 {
  margin: auto 0 10px;
  font-size: 2rem;
  font-weight: 500;
}

.game-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 0 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  nav {
    min-height: 68px;
  }

  .status {
    font-size: 0;
  }

  .status i {
    margin-right: 0;
  }

  .hero {
    padding: 76px 0 70px;
  }

  .intro {
    margin-left: 0;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-card:only-child img,
  .game-card:last-child:nth-child(odd) img {
    height: 255px;
  }

  .empty-card {
    min-height: 390px;
  }

  footer span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
