:root {
  color-scheme: dark;
  --ink: #fffaf0;
  --muted: #d8d5e6;
  --panel: rgba(18, 19, 34, 0.76);
  --line: rgba(255, 250, 240, 0.2);
  --black: #080914;
  --red: #ff4f79;
  --gold: #ffd84d;
  --teal: #35e7cf;
  --blue: #59a6ff;
  --lime: #b8ff4f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(8, 9, 20, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.contact-band,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 72px) 64px;
  align-items: center;
  background:
    linear-gradient(135deg, #080914 0%, #181032 42%, #082631 100%);
}

#stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 20, 0.88), rgba(8, 9, 20, 0.24) 62%, rgba(8, 9, 20, 0.08)),
    linear-gradient(0deg, rgba(8, 9, 20, 0.68), transparent 45%);
  pointer-events: none;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(740px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.4rem, 16vw, 11rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 10px 0 rgba(255, 79, 121, 0.32);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 640px;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.34);
}

.button.primary {
  background: var(--gold);
  color: var(--black);
}

.button.secondary {
  background: rgba(8, 9, 20, 0.48);
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-panel {
  width: min(360px, calc(100vw - 40px));
  margin-top: 56px;
  padding: 18px;
  background: var(--panel);
  border: 2px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.panel-label {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  margin: 6px 0;
  font-size: 1.1rem;
}

.hero-panel span:last-child,
.section p,
.game-card p,
.principles p {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.two-column,
.platform-layout,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro {
  background: #12132a;
}

.games {
  background: #0b1f28;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.single-game {
  grid-template-columns: minmax(0, 860px);
}

.game-card {
  min-width: 0;
  overflow: hidden;
  background: #15172b;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 0 rgba(0, 0, 0, 0.18);
}

.game-art {
  min-height: 220px;
  background-color: #101225;
  background-size: 36px 36px, 100% 100%;
}

.featured-game .game-art {
  min-height: 320px;
}

.pulse-a {
  background-image:
    linear-gradient(90deg, rgba(255, 250, 240, 0.2) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 79, 121, 0.98), rgba(255, 216, 77, 0.94) 42%, rgba(53, 231, 207, 0.9));
}

.pulse-b {
  background-image:
    linear-gradient(0deg, rgba(246, 242, 232, 0.13) 1px, transparent 1px),
    linear-gradient(135deg, rgba(69, 119, 255, 0.92), rgba(240, 68, 68, 0.78) 46%, rgba(246, 242, 232, 0.72));
}

.pulse-c {
  background-image:
    linear-gradient(45deg, rgba(246, 242, 232, 0.15) 1px, transparent 1px),
    linear-gradient(135deg, rgba(32, 198, 180, 0.92), rgba(24, 32, 38, 0.85) 42%, rgba(240, 186, 69, 0.82));
}

.game-copy {
  padding: 22px;
}

.studio {
  background: #181032;
}

.principles {
  display: grid;
  gap: 24px;
}

.principles div {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.platform {
  background: #101225;
}

.platform-layout p {
  max-width: 620px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.spec-list span {
  min-height: 58px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.07);
  font-weight: 800;
}

.spec-list span:nth-child(1),
.spec-list span:nth-child(4) {
  border-color: rgba(255, 216, 77, 0.62);
}

.spec-list span:nth-child(2),
.spec-list span:nth-child(5) {
  border-color: rgba(53, 231, 207, 0.62);
}

.spec-list span:nth-child(3),
.spec-list span:nth-child(6) {
  border-color: rgba(255, 79, 121, 0.62);
}

.contact {
  background: #12132a;
}

.contact-band {
  align-items: center;
}

.footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 116px;
  }

  .two-column,
  .platform-layout,
  .contact-band,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-art {
    min-height: 180px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(4rem, 22vw, 6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }
}
