:root {
  --navy-1000: #020a12;
  --navy-950: #04111f;
  --navy-900: #06192d;
  --navy-850: #082139;
  --navy-800: #0b2a48;
  --navy-700: #12456f;
  --blue-500: #2f85c5;
  --gold-600: #9d641b;
  --gold-500: #bd8231;
  --gold-400: #dba852;
  --gold-300: #f1d187;
  --paper: #f4f1ea;
  --white: #ffffff;
  --ink: #0b1825;
  --muted: #5b6671;
  --line: rgba(6, 25, 45, 0.13);
  --content: 1180px;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 28px 80px rgba(2, 10, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(24px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background: rgba(2, 10, 18, 0.93);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img,
.footer-brand img {
  border-radius: 50%;
  background: var(--navy-950);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-300);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 790px;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 70px;
  padding: 94px max(24px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 77% 36%, rgba(47, 133, 197, 0.22), transparent 26%),
    radial-gradient(circle at 18% 68%, rgba(189, 130, 49, 0.12), transparent 28%),
    linear-gradient(145deg, var(--navy-1000), var(--navy-900) 48%, #092d4d);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 900px;
  height: 900px;
  right: -410px;
  bottom: -470px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255,255,255,.018),
    0 0 0 180px rgba(255,255,255,.012);
}

.starfield {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(241,209,135,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1.4px);
  background-size: 190px 190px, 280px 280px, 340px 340px;
  background-position: 0 0, 70px 40px, 120px 180px;
}

.hero-copy,
.phone-stage {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-400);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.project-heading h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.8rem, 7.2vw, 7.4rem);
}

.hero h1 span {
  color: var(--gold-300);
}

.hero-text {
  max-width: 670px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.03rem, 1.8vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  color: var(--navy-1000);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 13px 36px rgba(189, 130, 49, 0.22);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.hero-tags span {
  padding: 7px 11px;
  color: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  font-size: .77rem;
  font-weight: 700;
}

.phone-stage {
  justify-self: center;
  width: min(410px, 100%);
  padding: 44px 30px 28px;
}

.phone {
  position: relative;
  z-index: 4;
  width: 290px;
  height: 590px;
  margin: 0 auto;
  padding: 12px;
  background: linear-gradient(145deg, #0b1622, #02070c);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 42px;
  box-shadow:
    0 40px 80px rgba(0,0,0,.45),
    inset 0 0 0 2px rgba(255,255,255,.04);
  transform: rotate(3deg);
}

.phone-speaker {
  position: absolute;
  z-index: 6;
  width: 64px;
  height: 7px;
  left: 50%;
  top: 17px;
  transform: translateX(-50%);
  background: #111820;
  border-radius: 999px;
}

.game-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, #092744 0%, #174b73 43%, #263445 44%, #111924 100%);
}

.game-sky {
  position: absolute;
  inset: 0 0 44% 0;
  background:
    radial-gradient(circle at 20% 22%, rgba(255,255,255,.25) 0 1px, transparent 1.5px),
    radial-gradient(circle at 75% 34%, rgba(255,255,255,.22) 0 1px, transparent 1.5px);
  background-size: 64px 64px, 90px 90px;
}

.moon {
  position: absolute;
  width: 62px;
  height: 62px;
  right: 28px;
  top: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f4d58c, #b57b30 55%, #76471a);
  box-shadow: 0 0 30px rgba(241,209,135,.26);
}

.distant-star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff;
}

.star-a { top: 90px; left: 46px; }
.star-b { top: 136px; left: 104px; }
.star-c { top: 46px; right: 95px; }

.game-hud {
  position: absolute;
  z-index: 8;
  inset: 28px 15px auto;
  display: flex;
  justify-content: space-between;
}

.level-pill,
.wave-pill {
  padding: 6px 9px;
  color: #fff;
  background: rgba(4,17,31,.62);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  backdrop-filter: blur(6px);
}

.battlefield {
  position: absolute;
  inset: 41% 0 86px;
  background:
    linear-gradient(180deg, rgba(36,61,78,.8), rgba(10,18,26,.95)),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(255,255,255,.025) 32px 33px);
}

.battlefield::before,
.battlefield::after {
  content: "";
  position: absolute;
  bottom: 37px;
  width: 80px;
  height: 86px;
  background: #0b151f;
  clip-path: polygon(15% 100%, 25% 32%, 35% 52%, 48% 10%, 58% 62%, 72% 30%, 88% 100%);
  opacity: .9;
}

.battlefield::before { left: -18px; }
.battlefield::after { right: -18px; transform: scaleX(-1); }

.ground-line {
  position: absolute;
  inset: auto 0 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(241,209,135,.5), transparent);
}

.hero-unit {
  position: absolute;
  z-index: 5;
  left: 54%;
  bottom: 45px;
  width: 42px;
  height: 78px;
  transform: translateX(-50%);
}

.hero-aura {
  position: absolute;
  width: 92px;
  height: 110px;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(69,176,255,.5), rgba(47,133,197,.12) 48%, transparent 70%);
  filter: blur(4px);
}

.hero-head,
.hero-body {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  background: #e8eef4;
  box-shadow: 0 0 15px rgba(255,255,255,.5);
}

.hero-head {
  width: 17px;
  height: 17px;
  top: 2px;
  border-radius: 50%;
}

.hero-body {
  width: 26px;
  height: 52px;
  top: 19px;
  clip-path: polygon(30% 0, 70% 0, 100% 65%, 72% 58%, 66% 100%, 36% 100%, 28% 58%, 0 65%);
}

.enemy {
  position: absolute;
  z-index: 3;
  bottom: 45px;
  width: 30px;
  height: 45px;
  background: #a53431;
  border-radius: 45% 45% 22% 22%;
  box-shadow: 0 0 18px rgba(201,63,56,.32);
}

.enemy::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 18px;
  left: 5px;
  top: -12px;
  background: #c74a43;
  border-radius: 48% 48% 35% 35%;
}

.enemy-one { left: 24px; transform: scale(.84); }
.enemy-two { left: 72px; bottom: 48px; transform: scale(.66); opacity: .82; }
.enemy-three { right: 26px; transform: scale(.94); }

.impact {
  position: absolute;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(241,209,135,.7);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(241,209,135,.4);
}

.impact::before,
.impact::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f1d187, transparent);
  transform: translate(-50%, -50%);
}

.impact::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.impact-one { left: 15px; bottom: 68px; transform: scale(.6); }
.impact-two { right: 12px; bottom: 73px; transform: scale(.72); }

.ability-bar {
  position: absolute;
  z-index: 10;
  inset: auto 12px 15px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr;
  gap: 7px;
}

.ability-bar button {
  min-height: 48px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 30%, rgba(47,133,197,.7), rgba(6,25,45,.96) 70%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  box-shadow: inset 0 0 18px rgba(47,133,197,.2);
}

.ability-bar button span {
  font-size: .58rem;
  font-weight: 900;
}

.ability-bar .ultimate {
  color: var(--navy-1000);
  background: radial-gradient(circle at 50% 30%, #fff2bd, var(--gold-400) 50%, var(--gold-600));
  border-color: rgba(255,255,255,.6);
  box-shadow: 0 0 20px rgba(219,168,82,.25);
}

.orbit {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: 12%;
  top: 12%;
  background: var(--gold-300);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--gold-400);
}

.orbit-one {
  width: 390px;
  height: 480px;
}

.orbit-two {
  width: 460px;
  height: 300px;
  transform: translate(-50%, -50%) rotate(18deg);
}

.concept-note {
  margin: 22px 0 0;
  color: rgba(255,255,255,.42);
  text-align: center;
  font-size: .68rem;
  letter-spacing: .04em;
}

.section {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 830px;
}

.section-heading h2,
.contact-section h2,
.project-heading h2 {
  color: var(--navy-900);
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
}

.studio-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: start;
}

.studio-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.15rem;
}

.studio-copy p:first-child {
  margin-top: 5px;
}

.studio-parent {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .97rem;
}

.studio-parent a {
  color: var(--navy-700);
  font-weight: 800;
}

.project-section {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(47,133,197,.16), transparent 28%),
    linear-gradient(145deg, #03101c, #071d33 58%, #0b2e4b);
}

.project-inner {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 116px 0;
}

.project-heading {
  max-width: 860px;
}

.project-heading h2 {
  color: var(--white);
}

.project-status {
  display: inline-block;
  margin: 0 0 24px;
  padding: 7px 11px;
  color: var(--gold-300);
  background: rgba(189,130,49,.11);
  border: 1px solid rgba(219,168,82,.22);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-lede {
  max-width: 780px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.7);
  font-size: 1.15rem;
}

.project-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.project-labels span {
  padding: 7px 11px;
  color: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.feature-grid article {
  min-height: 245px;
  padding: 32px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-md);
}

.feature-number {
  color: var(--gold-400);
  font-size: .76rem;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 58px 0 8px;
  font-size: 1.42rem;
}

.feature-grid p {
  margin: 0;
  color: rgba(255,255,255,.62);
}

.development-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.roadmap {
  border-top: 1px solid var(--line);
}

.roadmap article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.roadmap-marker {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-radius: 50%;
  font-weight: 900;
}

.roadmap-state {
  margin: 0;
  color: var(--gold-600);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.roadmap h3 {
  margin: 5px 0 7px;
  color: var(--navy-900);
  font-size: 1.4rem;
}

.roadmap article div:last-child > p:last-child {
  margin: 0;
  color: var(--muted);
}

.values-section {
  padding: 105px max(24px, calc((100vw - var(--content)) / 2));
  background: #e9e5dc;
}

.values-inner {
  width: min(var(--content), 100%);
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.values-grid article {
  padding-top: 22px;
  border-top: 2px solid rgba(6,25,45,.16);
}

.values-grid h3 {
  margin: 0 0 8px;
  color: var(--navy-900);
  font-size: 1.3rem;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}

.contact-section > div:first-child > p:last-child {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-card {
  padding: 36px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.contact-card p {
  margin: 0 0 6px;
  color: rgba(255,255,255,.5);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-card > a:first-of-type {
  display: block;
  color: var(--gold-300);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card .contact-label {
  margin-top: 28px;
}

.small-link {
  display: block;
  width: fit-content;
  margin-top: 7px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(24px, calc((100vw - var(--content)) / 2));
  color: rgba(255,255,255,.58);
  background: var(--navy-1000);
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .84rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand span {
  color: rgba(255,255,255,.48);
  font-size: .72rem;
}

@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 75px;
  }

  .phone-stage {
    justify-self: center;
  }

  .studio-section,
  .development-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 68px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(2,10,18,.98);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: auto;
    gap: 48px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .phone-stage {
    padding-inline: 0;
  }

  .phone {
    width: min(275px, 85vw);
    height: 555px;
    transform: none;
  }

  .orbit-one {
    width: 330px;
    height: 430px;
  }

  .orbit-two {
    width: 360px;
    height: 260px;
  }

  .section,
  .project-inner {
    width: min(var(--content), calc(100% - 34px));
    padding: 78px 0;
  }

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

  .feature-grid article {
    min-height: 220px;
  }

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