:root {
  color-scheme: dark;
  --ink: #07110b;
  --deep: #0c1f11;
  --moss: #183a19;
  --venom: #82e627;
  --slime: #b7ff38;
  --gold: #ffcd31;
  --ember: #e84b22;
  --bone: #f4f0dc;
  --mist: #b8cbb0;
  --line: rgba(183, 255, 56, 0.24);
  --shadow: rgba(0, 0, 0, 0.45);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255, 205, 49, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(183, 255, 56, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 72% 12%, rgba(130, 230, 39, 0.18), transparent 32rem),
    linear-gradient(180deg, #08120b 0%, #112414 46%, #070d09 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
  color: var(--bone);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 17, 11, 0.1), rgba(7, 17, 11, 0.74)),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 5px
    );
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(7, 17, 11, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  width: min(260px, 52vw);
}

.brand img {
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.6rem, 2vw, 1.5rem);
  color: var(--mist);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav a {
  padding: 0.65rem 0;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--slime);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  min-height: calc(74svh - 78px);
  padding: clamp(1.5rem, 3.5vw, 3.5rem) clamp(1rem, 5vw, 5rem);
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--slime);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  color: var(--gold);
  font-size: 5.4rem;
  text-shadow: 0 5px 0 #271407, 0 14px 22px var(--shadow);
}

h2 {
  color: var(--gold);
  font-size: 4rem;
  text-shadow: 0 4px 0 #271407;
}

h3 {
  color: var(--bone);
  font-size: 2rem;
}

.hero-copy > p:not(.eyebrow),
.section-heading,
.studio-copy > p,
.contact > p {
  color: var(--mist);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0.55rem 0 var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 0 var(--shadow);
}

.button-primary {
  background: linear-gradient(180deg, var(--gold), #f07620);
  color: #1c0b05;
  border-color: #331506;
}

.button-secondary {
  background: rgba(12, 31, 17, 0.72);
  color: var(--bone);
  border-color: var(--line);
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(36rem, 100%);
  filter: drop-shadow(0 2rem 2rem rgba(0, 0, 0, 0.48));
}

.hero-art::before {
  position: absolute;
  inset: 12% 7% 7%;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle, rgba(183, 255, 56, 0.42), rgba(24, 58, 25, 0.26) 42%, transparent 72%),
    conic-gradient(from 12deg, rgba(255, 205, 49, 0.18), rgba(130, 230, 39, 0.2), rgba(232, 75, 34, 0.14), rgba(255, 205, 49, 0.18));
  border: 1px solid rgba(183, 255, 56, 0.18);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.hero-art img {
  animation: float 5.8s ease-in-out infinite;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: rgba(7, 17, 11, 0.7);
}

.ticker span {
  min-height: 4.75rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  color: var(--bone);
  font-size: 0.95rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.ticker span:last-child {
  border-right: 0;
}

.games,
.studio,
.contact {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 58rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.game-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 22rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(130, 230, 39, 0.09), transparent 38%),
    rgba(7, 17, 11, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1.25rem 2rem var(--shadow);
}

.featured-game {
  background:
    linear-gradient(135deg, rgba(232, 75, 34, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(130, 230, 39, 0.12), rgba(7, 17, 11, 0.82)),
    rgba(7, 17, 11, 0.86);
}

.game-status {
  margin: 0 0 1rem;
  color: var(--slime);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.game-card p:not(.game-status) {
  color: var(--mist);
  line-height: 1.65;
}

.game-card a {
  width: fit-content;
  margin-top: 1.5rem;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.studio {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(255, 205, 49, 0.08), transparent),
    rgba(12, 31, 17, 0.55);
  border-block: 1px solid var(--line);
}

.studio-mark {
  max-width: 28rem;
  filter: drop-shadow(0 1.4rem 1.4rem rgba(0, 0, 0, 0.48));
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.stats div {
  min-height: 7rem;
  padding: 1rem;
  background: rgba(7, 17, 11, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

dt {
  color: var(--slime);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

dd {
  margin: 0.5rem 0 0;
  color: var(--bone);
  font-weight: 800;
  line-height: 1.35;
}

.contact {
  max-width: 58rem;
}

.contact .button {
  margin-top: 1.25rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: #070d09;
  color: var(--mist);
}

footer img {
  width: min(17rem, 50vw);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@media (max-width: 880px) {
  .site-header {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  h1 {
    font-size: 4.2rem;
    max-width: 11ch;
  }

  h2 {
    font-size: 3.2rem;
  }

  h3 {
    font-size: 1.65rem;
  }

  .hero-art {
    width: min(31rem, 100%);
  }

  .ticker,
  .game-grid,
  .studio,
  .stats {
    grid-template-columns: 1fr;
  }

  .ticker span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ticker span:last-child {
    border-bottom: 0;
  }

  .game-card {
    min-height: 18rem;
  }
}

@media (max-width: 560px) {
  .brand {
    width: min(230px, 76vw);
  }

  nav {
    font-size: 0.82rem;
    gap: 1.3rem;
  }

  h1 {
    max-width: 8ch;
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-bottom: 1rem;
  }

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

  .hero-copy > p:not(.eyebrow) {
    max-width: 29ch;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    display: none;
  }
}

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