@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --navy-950: #060918;
  --navy-900: #0a1025;
  --navy-800: #111936;
  --blue-500: #668cff;
  --blue-400: #86a1ff;
  --violet-500: #8e72ff;
  --text: #f4f6ff;
  --muted: #adb5cf;
  --line: rgba(168, 181, 222, 0.16);
  --surface: rgba(18, 25, 54, 0.82);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(98, 91, 211, 0.12), transparent 32rem),
    var(--navy-950);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-400);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: "Manrope", "DM Sans", Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  max-width: 900px;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.text-strong {
  color: var(--text);
}

.lead {
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 24, 0.88);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(134, 161, 255, 0.5);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(102, 140, 255, 0.24), rgba(142, 114, 255, 0.08));
  color: #b9c7ff;
  font-size: 0.78rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  object-position: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:not(.button) {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav-links a:not(.button):hover,
.nav-links a.active:not(.button) {
  color: var(--text);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 18px;
  color: var(--text);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(134, 161, 255, 0.55);
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
  box-shadow: 0 12px 36px rgba(102, 140, 255, 0.16);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.025);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -180px;
  bottom: -210px;
  border: 1px solid rgba(134, 161, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(142, 114, 255, 0.025),
    0 0 0 140px rgba(102, 140, 255, 0.018);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 90px 0;
}

.hero h1 span {
  color: var(--blue-400);
}

.hero .lead {
  color: #bdc5de;
}

.page-hero {
  padding: 86px 0 60px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(102, 140, 255, 0.06), transparent 60%);
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.2rem);
}

.page-hero .lead {
  max-width: 720px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.value-card,
.contact-card,
.meta-card,
.principle-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.feature-card,
.value-card,
.principle-card,
.contact-card {
  padding: 28px;
}

.card-index,
.value-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(134, 161, 255, 0.24);
  border-radius: 10px;
  background: rgba(102, 140, 255, 0.08);
  color: var(--blue-400);
  font-weight: 800;
}

.project-stage {
  min-height: 480px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(102, 140, 255, 0.15), rgba(142, 114, 255, 0.04)),
    linear-gradient(to bottom right, #101935, #080c20);
}

.project-stage::before,
.project-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.project-stage::before {
  width: 280px;
  height: 280px;
  top: -100px;
  right: -60px;
  border: 1px solid rgba(134, 161, 255, 0.24);
  box-shadow: 0 0 80px rgba(102, 140, 255, 0.12);
}

.project-stage::after {
  width: 180px;
  height: 180px;
  bottom: -70px;
  left: 30px;
  background: rgba(142, 114, 255, 0.06);
}

.game-wordmark {
  position: relative;
  z-index: 1;
  padding: 24px;
  text-align: center;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow: 0 12px 50px rgba(102, 140, 255, 0.26);
}

.game-wordmark small {
  display: block;
  margin-top: 18px;
  color: var(--blue-400);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(134, 161, 255, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  color: #c9d4ff;
  background: rgba(102, 140, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 12px var(--blue-400);
}

.metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.meta-card {
  padding: 16px;
}

.meta-card dt {
  color: #7f89a8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-card dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.wide-panel {
  border-block: 1px solid var(--line);
  background: rgba(14, 20, 44, 0.5);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.feature-grid .feature-card {
  border: 0;
  border-radius: 0;
  background: var(--navy-900);
}

.founder-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.founder-mark {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(102, 140, 255, 0.18), transparent),
    var(--navy-900);
  color: #b7c4f9;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.policy {
  max-width: 820px;
}

.policy h2 {
  margin-top: 52px;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.policy h2:first-child {
  margin-top: 0;
}

.policy ul {
  color: var(--muted);
  padding-left: 20px;
}

.policy li {
  margin: 8px 0;
}

.notice {
  border-left: 3px solid var(--blue-400);
  padding: 18px 20px;
  background: rgba(102, 140, 255, 0.07);
  color: #cdd5ef;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.placeholder-value {
  color: var(--blue-400);
  font-weight: 700;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.media-placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(102, 140, 255, 0.12), transparent),
    var(--navy-900);
  color: #7f89a8;
  font-size: 0.82rem;
  text-align: center;
}

.media-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #08090d;
}

.project-shot {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border: 0;
  border-radius: 18px;
}

.game-page {
  background:
    radial-gradient(circle at 78% 8%, rgba(180, 16, 30, 0.12), transparent 28rem),
    #08090b;
}

.game-page .site-header {
  background: rgba(8, 9, 11, 0.94);
  border-bottom-color: rgba(220, 32, 46, 0.16);
}

.game-page .brand-logo {
  filter: saturate(0.5) contrast(1.12);
}

.game-page .nav-links a:not(.button):hover,
.game-page .nav-links a.active:not(.button) {
  color: #ff8a91;
}

.game-page .button-primary {
  background: linear-gradient(135deg, #a9101d, #52070e);
  box-shadow: 0 12px 36px rgba(169, 16, 29, 0.22);
}

.game-page .button-secondary,
.game-page .feature-card,
.game-page .meta-card,
.game-page .status {
  border-color: rgba(220, 32, 46, 0.18);
}

.game-page .eyebrow,
.game-page .status,
.game-page .game-hero h1 span {
  color: #d52634;
}

.game-page .status::before {
  background: #d52634;
  box-shadow: 0 0 12px #d52634;
}

.game-page .game-hero {
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.62) 48%, rgba(8, 9, 11, 0.28) 100%),
    url("screenshots/menu.png") center / cover no-repeat,
    #08090b;
}

.game-page .game-hero::before {
  border-color: rgba(213, 38, 52, 0.18);
  box-shadow:
    0 0 0 70px rgba(169, 16, 29, 0.018),
    0 0 0 140px rgba(213, 38, 52, 0.012);
}

.game-page .game-hero h1 {
  text-shadow: 0 14px 50px rgba(0, 0, 0, 0.85);
}

.game-page .wide-panel {
  border-block-color: rgba(220, 32, 46, 0.12);
  background: rgba(16, 10, 12, 0.78);
}

.game-page .feature-grid {
  background: rgba(220, 32, 46, 0.12);
  border-color: rgba(220, 32, 46, 0.16);
}

.game-page .feature-grid .feature-card {
  background: #0d0d10;
}

.game-page .card-index,
.game-page .value-icon {
  border-color: rgba(220, 32, 46, 0.24);
  background: rgba(169, 16, 29, 0.09);
  color: #d52634;
}

.game-page .media-image {
  border-color: rgba(220, 32, 46, 0.16);
}

.game-page .site-footer {
  background: #070809;
  border-top-color: rgba(220, 32, 46, 0.16);
}

.game-hero {
  min-height: 650px;
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 40%, rgba(142, 114, 255, 0.16), transparent 22rem),
    linear-gradient(135deg, #0d1430 0%, #080c20 72%);
}

.game-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: 8%;
  top: 5%;
  border: 1px solid rgba(134, 161, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(102, 140, 255, 0.018),
    0 0 0 140px rgba(142, 114, 255, 0.012);
}

.game-hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 0 76px;
}

.game-hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 10vw, 8.2rem);
  text-transform: uppercase;
}

.game-hero h1 span {
  display: block;
  color: var(--blue-400);
  font-size: 0.32em;
  letter-spacing: 0.18em;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #070a19;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.7fr);
  gap: 40px;
  padding: 64px 0 44px;
}

.footer-about {
  max-width: 340px;
}

.footer-about p {
  margin-top: 18px;
  font-size: 0.92rem;
}

.footer-column h2 {
  margin: 6px 0 16px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: #7f89a8;
  font-size: 0.84rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .grid-2,
  .founder-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .feature-grid,
  .contact-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .nav-toggle-label {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    width: 18px;
    height: 2px;
    display: block;
    position: relative;
    background: var(--text);
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    position: absolute;
  }

  .nav-toggle-label span::before {
    top: -6px;
  }

  .nav-toggle-label span::after {
    top: 6px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    background: #0b1027;
  }

  .nav-links a {
    padding: 10px 12px;
  }

  .nav-links .button {
    margin-top: 4px;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
    flex-direction: column;
  }

  .project-stage {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .section {
    padding: 68px 0;
  }

  .grid-3,
  .feature-grid,
  .contact-grid,
  .media-grid,
  .footer-main,
  .metadata {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner,
  .game-hero-content {
    padding: 72px 0 56px;
  }

  .page-hero {
    padding: 64px 0 48px;
  }

  .founder-layout {
    gap: 28px;
  }

  .founder-mark {
    max-width: 220px;
  }

  .game-hero {
    min-height: 580px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
