
:root {
  --night: #05070d;
  --navy: #0c1426;
  --navy-soft: #111b31;
  --indigo: #6557ff;
  --violet: #8a5cff;
  --gold: #f3b84b;
  --gold-bright: #ffd773;
  --warm-white: #f5f1e8;
  --muted: #8993a8;
  --line: rgba(143, 160, 194, 0.22);
  --hud-height: 64px;
  --header-height: 76px;
  --silk: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--night);
  scroll-behavior: auto;
}

body {
  background: var(--night);
  color: var(--warm-white);
  font-family: "Segoe UI", "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

::selection {
  background: var(--gold);
  color: var(--night);
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--night);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--indigo), var(--gold));
}

.scroll-spacer {
  height: 500vh;
}

.z-card {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  transform-origin: top center;
  will-change: transform, opacity;
}

.z-card[data-card="1"] { z-index: 10; }
.z-card[data-card="2"] { z-index: 20; transform: translateY(100%); }
.z-card[data-card="3"] { z-index: 30; transform: translateY(100%); }
.z-card[data-card="4"] { z-index: 40; transform: translateY(100%); }
.z-card[data-card="5"] { z-index: 50; transform: translateY(100%); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4.4vw, 68px);
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.84), rgba(5, 7, 13, 0));
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--warm-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.brand strong {
  color: var(--gold);
  font-weight: 700;
}

.brand-core {
  position: relative;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 184, 75, 0.6);
  transform: rotate(45deg);
}

.brand-core::before,
.brand-core::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(101, 87, 255, 0.72);
}

.brand-core::after {
  inset: -5px;
  border-color: rgba(101, 87, 255, 0.18);
}

.brand-core span {
  width: 4px;
  height: 4px;
  background: var(--gold);
  box-shadow: 0 0 13px var(--gold);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.6vw, 56px);
}

.site-header nav button,
.site-header nav a {
  position: relative;
  color: rgba(245, 241, 232, 0.72);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.08em;
  transition: color 280ms ease;
}

.site-header nav button::before,
.site-header nav a::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 2px;
  height: 14px;
  background: var(--gold);
  transform: translateY(-50%) scaleY(0.25);
  opacity: 0.45;
  transition: transform 280ms ease, opacity 280ms ease;
}

.site-header nav button:hover,
.site-header nav button.active,
.site-header nav a:hover {
  color: var(--warm-white);
}

.site-header nav button:hover::before,
.site-header nav button.active::before,
.site-header nav a:hover::before {
  transform: translateY(-50%) scaleY(1);
  opacity: 1;
}

.hero-card {
  background: #050812;
  display: flex;
  align-items: center;
}

.hero-image,
.feature-background {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-image {
  background-image:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.85) 27%, rgba(5, 7, 13, 0.2) 58%, rgba(5, 7, 13, 0.03) 100%),
    url("images/hero-portal.webp");
  animation: hero-breathe 16s ease-in-out infinite alternate;
}

@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.technical-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(101, 87, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 87, 255, 0.34) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}

.orbital-line {
  position: absolute;
  border: 1px solid rgba(101, 87, 255, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.orbital-one {
  width: 500px;
  height: 500px;
  right: 17%;
  top: 17%;
  animation: orbit 34s linear infinite;
}

.orbital-two {
  width: 690px;
  height: 290px;
  right: 7%;
  top: 35%;
  transform: rotate(-11deg);
  border-color: rgba(243, 184, 75, 0.2);
  animation: orbit-wide 42s linear infinite reverse;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes orbit-wide {
  from { transform: rotate(-11deg); }
  to { transform: rotate(349deg); }
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(650px, 51vw);
  margin-left: clamp(30px, 4.6vw, 72px);
  padding-top: 24px;
}

.eyebrow,
.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.24em;
}

.eyebrow span {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 14px rgba(243, 184, 75, 0.85);
}

.hero-content h1 {
  margin-top: 20px;
  color: var(--warm-white);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(58px, 7.2vw, 112px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.48);
}

.hero-content h1 span,
.feature-copy h2 span {
  color: var(--gold);
}

.hero-copy {
  max-width: 460px;
  margin-top: 24px;
  color: #abb4c8;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.55;
}

.hero-actions,
.feature-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: transform 300ms var(--silk), background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span:last-child {
  transition: transform 300ms var(--silk);
}

.button:hover span:last-child {
  transform: translateX(5px);
}

.button-gold {
  background: linear-gradient(135deg, var(--gold-bright), #d89627);
  color: #171005;
  box-shadow: 0 12px 38px rgba(243, 184, 75, 0.18);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.button-gold:hover {
  box-shadow: 0 13px 42px rgba(243, 184, 75, 0.34);
}

.button-ghost {
  border-color: rgba(116, 132, 169, 0.66);
  background: rgba(7, 12, 24, 0.48);
  color: #b8c3dc;
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: var(--indigo);
  background: rgba(101, 87, 255, 0.13);
  color: white;
}

.discord-mark {
  color: #9d95ff;
  font-size: 20px;
}

.launch-line {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  color: #8f99af;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.launch-line strong {
  color: var(--gold-bright);
}

.launch-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warm-white);
}

.diamond {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 2px var(--night), inset 0 0 0 4px var(--gold);
}

.hero-coordinate {
  position: absolute;
  z-index: 5;
  top: 47%;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: rgba(245, 241, 232, 0.38);
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-align: right;
}

.hero-coordinate strong {
  margin-top: 5px;
  color: var(--gold);
  font-size: 8px;
}

.feature-card {
  background: #080b13;
}

.feature-background {
  background-image: url("images/ragnalife-world.webp");
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.97) 0%, rgba(5, 7, 13, 0.75) 34%, rgba(5, 7, 13, 0.08) 68%),
    linear-gradient(0deg, rgba(5, 7, 13, 0.72) 0%, transparent 55%);
}

.crosshair {
  position: absolute;
  z-index: 2;
  background: rgba(245, 241, 232, 0.2);
}

.crosshair-v {
  top: 0;
  bottom: 0;
  left: 66%;
  width: 1px;
}

.crosshair-h {
  left: 0;
  right: 0;
  top: 44%;
  height: 1px;
}

.feature-node {
  position: absolute;
  z-index: 3;
  left: 66%;
  top: 44%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(243, 184, 75, 0.16), 0 0 36px rgba(243, 184, 75, 0.9);
  animation: node-pulse 2.5s ease-in-out infinite;
}

@keyframes node-pulse {
  50% { box-shadow: 0 0 0 15px rgba(243, 184, 75, 0.05), 0 0 48px rgba(243, 184, 75, 1); }
}

.feature-copy {
  position: absolute;
  z-index: 4;
  left: clamp(30px, 5vw, 76px);
  bottom: calc(var(--hud-height) + 9vh);
  width: min(560px, 48vw);
}

.feature-kicker {
  margin-top: 18px;
  color: #c7cede;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.feature-copy h2 {
  margin-top: 8px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(72px, 9vw, 138px);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.feature-copy > p:not(.section-index):not(.feature-kicker) {
  max-width: 470px;
  margin-top: 18px;
  color: #abb4c8;
  font-size: 15px;
  line-height: 1.65;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(243, 184, 75, 0.5);
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  background: rgba(5, 7, 13, 0.52);
}

.telemetry {
  position: absolute;
  z-index: 4;
  left: calc(66% + 30px);
  top: calc(44% + 30px);
  width: min(295px, calc(34vw - 60px));
  padding: 22px;
  border: 1px solid rgba(197, 209, 234, 0.24);
  background: rgba(5, 7, 13, 0.76);
  backdrop-filter: blur(12px);
}

.telemetry > p {
  margin-bottom: 14px;
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.telemetry div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(197, 209, 234, 0.12);
  font-family: "Consolas", monospace;
  font-size: 10px;
}

.telemetry div span {
  color: #7f899d;
}

.telemetry div strong {
  color: var(--warm-white);
  font-weight: 600;
}

.telemetry a {
  display: inline-block;
  margin-top: 17px;
  color: var(--gold-bright);
  font-size: 11px;
}

.projects-card {
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
  background: #f0eee8;
  color: #111521;
}

.projects-heading {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 24px clamp(26px, 4.6vw, 70px) 18px;
}

.dark-index {
  color: #6657da;
}

.projects-heading h2 {
  margin-top: 7px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(34px, 4.3vw, 66px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.projects-heading > p {
  color: #687084;
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.project-accordion {
  flex: 1;
  min-height: 0;
  display: flex;
  border-top: 1px solid rgba(17, 21, 33, 0.16);
}

.project-slice {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
  border-right: 1px solid rgba(17, 21, 33, 0.16);
  text-align: left;
  transition: flex-grow 1s var(--silk);
}

.project-slice:last-child {
  border-right: 0;
}

.project-slice.active {
  flex-grow: 3.85;
}

.project-image,
.project-shade {
  position: absolute;
  inset: 0;
}

.project-image {
  background-image: var(--project-image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.055);
  filter: saturate(0.9);
  transition: opacity 900ms var(--silk), transform 1.2s var(--silk);
}

.project-slice.active .project-image {
  opacity: 1;
  transform: scale(1);
}

.project-shade {
  background: linear-gradient(0deg, rgba(5, 7, 13, 0.9), rgba(5, 7, 13, 0.04) 70%);
  opacity: 0;
  transition: opacity 700ms ease;
}

.project-slice.active .project-shade {
  opacity: 1;
}

.project-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 calc(var(--hud-height) + 22px);
  color: #141824;
  transition: opacity 400ms ease;
}

.project-idle > span,
.project-idle i {
  font-family: "Consolas", monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.project-idle strong {
  writing-mode: vertical-rl;
  font-size: clamp(15px, 1.7vw, 23px);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-slice.active .project-idle {
  opacity: 0;
}

.project-reveal {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: calc(var(--hud-height) + 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--warm-white);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 850ms var(--silk), transform 850ms var(--silk);
}

.project-slice.active .project-reveal {
  opacity: 1;
  transform: translateY(0);
}

.project-reveal > strong {
  margin-top: 10px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.project-reveal small {
  margin-top: 3px;
  color: #c1c9d9;
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-description {
  max-width: 420px;
  margin-top: 13px;
  color: #c4ccdc;
  font-size: 13px;
  line-height: 1.55;
}

.project-link {
  margin-top: 13px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 650;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Consolas", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.status-gold { color: var(--gold-bright); }
.status-indigo { color: #a9a2ff; }
.status-blue { color: #78d7ff; }
.status-violet { color: #d5a8ff; }

.studio-card {
  display: grid;
  grid-template-columns: 46% 54%;
  padding-top: var(--header-height);
  padding-bottom: var(--hud-height);
  background: #070a12;
}

.studio-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px clamp(28px, 4.8vw, 72px);
  background:
    radial-gradient(circle at 20% 22%, rgba(101, 87, 255, 0.12), transparent 38%),
    #070a12;
}

.studio-copy h2 {
  max-width: 600px;
  margin-top: 18px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.studio-intro {
  max-width: 520px;
  margin-top: 18px;
  color: #a9b2c5;
  font-size: 14px;
  line-height: 1.65;
}

.studio-tabs {
  display: flex;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-tabs button {
  position: relative;
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 16px 10px;
  border-right: 1px solid var(--line);
  color: #6e788d;
  text-align: left;
  transition: color 250ms ease, background 250ms ease;
}

.studio-tabs button:last-child {
  border-right: 0;
}

.studio-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transition: right 400ms var(--silk);
}

.studio-tabs button.active {
  color: var(--warm-white);
  background: rgba(243, 184, 75, 0.06);
}

.studio-tabs button.active::after {
  right: 0;
}

.studio-tabs span {
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 9px;
}

.studio-tabs strong {
  font-size: 11px;
  letter-spacing: 0.11em;
}

.studio-cta {
  align-self: flex-start;
  margin-top: 25px;
}

.studio-visual {
  position: relative;
  overflow: hidden;
}

.studio-image,
.studio-shade {
  position: absolute;
  inset: 0;
}

.studio-image {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 800ms var(--silk), transform 1.2s var(--silk);
}

.studio-image.active {
  opacity: 1;
  transform: scale(1);
}

.studio-shade {
  background:
    linear-gradient(90deg, #070a12 0%, rgba(7, 10, 18, 0.4) 30%, rgba(7, 10, 18, 0.02) 65%),
    linear-gradient(0deg, rgba(7, 10, 18, 0.65), transparent 50%);
}

.studio-metrics {
  position: absolute;
  right: 30px;
  top: 48%;
  width: min(300px, calc(100% - 60px));
  padding: 20px;
  border: 1px solid rgba(233, 239, 250, 0.24);
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(12px);
}

.studio-metrics > p {
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.studio-metrics div {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(233, 239, 250, 0.14);
}

.studio-metrics div span {
  color: #79849a;
  font-family: "Consolas", monospace;
  font-size: 10px;
}

.studio-metrics div strong {
  color: var(--warm-white);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.studio-caption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: rgba(245, 241, 232, 0.62);
  font-family: "Consolas", monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.hud {
  position: fixed;
  z-index: 2000;
  inset: auto 0 0;
  height: var(--hud-height);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.5vw, 54px);
  padding: 0 clamp(20px, 4vw, 60px);
  border-top: 1px solid rgba(142, 158, 190, 0.25);
  background: rgba(5, 7, 13, 0.86);
  backdrop-filter: blur(16px);
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c7cfe0;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.19em;
}

.hud-brand span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(243, 184, 75, 0.55);
}

.hud-location {
  color: #69748a;
  font-family: "Consolas", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.hud-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.hud-track {
  position: relative;
  flex: 1;
  height: 2px;
  background: rgba(142, 158, 190, 0.27);
}

.hud-track i {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--indigo), var(--gold));
  box-shadow: 0 0 13px rgba(243, 184, 75, 0.38);
  transition: width 100ms linear;
}

.hud-progress strong {
  min-width: 42px;
  color: #93a0b8;
  font-family: "Consolas", monospace;
  font-size: 9px;
  font-weight: 500;
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hud-nav button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(142, 158, 190, 0.3);
  color: #b8c2d5;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease;
}

.hud-nav button:hover:not(:disabled) {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--night);
}

.hud-nav button:disabled {
  opacity: 0.25;
  cursor: default;
}

.hud-nav span {
  color: #929db1;
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
    --hud-height: 58px;
  }

  .site-header nav {
    gap: 26px;
  }

  .hero-content {
    width: min(620px, 70vw);
  }

  .hero-image {
    background-image:
      linear-gradient(90deg, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.76) 46%, rgba(5, 7, 13, 0.2) 100%),
      url("images/hero-portal.webp");
  }

  .crosshair-v,
  .feature-node {
    left: 58%;
  }

  .telemetry {
    left: calc(58% + 24px);
    width: calc(42% - 48px);
  }

  .project-accordion {
    flex-direction: column;
  }

  .project-slice {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 21, 33, 0.16);
  }

  .project-slice:last-child {
    border-bottom: 0;
  }

  .project-idle {
    flex-direction: row;
    padding: 0 24px;
  }

  .project-idle strong {
    writing-mode: horizontal-tb;
  }

  .project-slice.active {
    flex-grow: 3.25;
  }

  .project-reveal {
    bottom: 18px;
  }

  .studio-card {
    grid-template-columns: 1fr;
    grid-template-rows: 54% 46%;
  }

  .studio-copy {
    padding: 25px 26px 18px;
    justify-content: flex-start;
  }

  .studio-copy h2 {
    max-width: 730px;
    font-size: clamp(34px, 7vw, 58px);
  }

  .studio-intro {
    max-width: 700px;
  }

  .studio-tabs {
    margin-top: 19px;
  }

  .studio-cta {
    display: none;
  }

  .studio-metrics {
    top: 18px;
  }

  .hud-location {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0 18px;
  }

  .brand {
    font-size: 11px;
    letter-spacing: 0.15em;
  }

  .brand-core {
    width: 19px;
    height: 19px;
  }

  .site-header nav {
    gap: 0;
  }

  .site-header nav button {
    display: none;
  }

  .site-header nav a {
    padding: 9px 11px;
    border: 1px solid rgba(243, 184, 75, 0.45);
    color: var(--gold-bright);
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .site-header nav a::before {
    display: none;
  }

  .hero-image {
    background-position: 62% center;
    background-image:
      linear-gradient(90deg, rgba(5, 7, 13, 0.97) 0%, rgba(5, 7, 13, 0.78) 66%, rgba(5, 7, 13, 0.35)),
      url("images/hero-portal.webp");
  }

  .hero-content {
    width: auto;
    margin: 0 20px;
    padding-top: 8px;
  }

  .hero-content h1 {
    margin-top: 15px;
    font-size: clamp(52px, 16vw, 78px);
  }

  .hero-copy {
    max-width: 340px;
    margin-top: 18px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 310px;
    gap: 10px;
    margin-top: 20px;
  }

  .button {
    min-height: 47px;
    padding: 0 18px;
    font-size: 11px;
  }

  .launch-line {
    margin-top: 17px;
    font-size: 10px;
  }

  .hero-coordinate,
  .orbital-two {
    display: none;
  }

  .feature-background {
    background-position: 65% center;
  }

  .feature-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.68) 65%, rgba(5, 7, 13, 0.28)),
      linear-gradient(0deg, rgba(5, 7, 13, 0.8), transparent 60%);
  }

  .feature-copy {
    left: 20px;
    right: 20px;
    bottom: calc(var(--hud-height) + 38px);
    width: auto;
  }

  .feature-copy h2 {
    font-size: clamp(64px, 20vw, 92px);
  }

  .feature-copy > p:not(.section-index):not(.feature-kicker) {
    max-width: 360px;
    font-size: 12px;
  }

  .feature-kicker {
    font-size: 8px;
  }

  .feature-actions {
    gap: 10px;
  }

  .date-pill {
    height: 47px;
    padding: 0 13px;
    font-size: 9px;
  }

  .telemetry,
  .crosshair,
  .feature-node {
    display: none;
  }

  .projects-heading {
    padding: 13px 20px 12px;
  }

  .projects-heading h2 {
    font-size: 34px;
  }

  .projects-heading > p {
    display: none;
  }

  .project-idle {
    padding: 0 18px;
  }

  .project-idle strong {
    font-size: 13px;
  }

  .project-reveal {
    left: 18px;
    right: 18px;
    bottom: 12px;
  }

  .project-reveal > strong {
    margin-top: 5px;
    font-size: 31px;
  }

  .project-description {
    display: none;
  }

  .studio-card {
    grid-template-rows: 61% 39%;
  }

  .studio-copy {
    padding: 18px 20px 12px;
  }

  .studio-copy h2 {
    margin-top: 11px;
    font-size: clamp(34px, 10vw, 47px);
  }

  .studio-intro {
    margin-top: 11px;
    font-size: 11px;
    line-height: 1.5;
  }

  .studio-tabs {
    margin-top: 14px;
  }

  .studio-tabs button {
    padding: 11px 6px;
    gap: 5px;
  }

  .studio-tabs span {
    display: none;
  }

  .studio-tabs strong {
    font-size: 8px;
  }

  .studio-metrics {
    top: 12px;
    right: 16px;
    width: 230px;
    padding: 14px;
  }

  .studio-metrics div {
    margin-top: 9px;
    padding-top: 9px;
  }

  .studio-caption {
    bottom: 11px;
    right: 16px;
  }

  .hud {
    gap: 12px;
    padding: 0 14px;
  }

  .hud-brand {
    font-size: 0;
  }

  .hud-progress strong {
    display: none;
  }

  .hud-nav {
    gap: 7px;
  }

  .hud-nav button {
    width: 30px;
    height: 30px;
  }
}

@media (max-height: 700px) and (min-width: 681px) {
  .hero-content h1 {
    font-size: clamp(52px, 10vh, 83px);
  }

  .hero-copy {
    margin-top: 15px;
  }

  .hero-actions,
  .launch-line {
    margin-top: 15px;
  }

  .feature-copy h2 {
    font-size: 84px;
  }

  .feature-copy > p:not(.section-index):not(.feature-kicker) {
    margin-top: 10px;
  }

  .studio-copy h2 {
    font-size: 48px;
  }

  .studio-intro {
    margin-top: 10px;
  }

  .studio-tabs {
    margin-top: 15px;
  }

  .studio-cta {
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: smooth;
  }

  .scroll-spacer {
    display: none;
  }

  .z-card {
    position: relative;
    min-height: 100vh;
    transform: none !important;
    opacity: 1 !important;
  }

  .hero-image,
  .orbital-line,
  .feature-node {
    animation: none !important;
  }

  .project-slice,
  .project-image,
  .project-reveal,
  .studio-image {
    transition: none !important;
  }
}


/* Navegação assistida */
.nav-menu-toggle {
  display: none;
  position: fixed;
  z-index: 2100;
  top: 15px;
  right: 16px;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(243, 184, 75, 0.5);
  background: rgba(5, 7, 13, 0.88);
  color: var(--gold-bright);
  backdrop-filter: blur(14px);
}

.nav-menu-toggle span {
  font-size: 15px;
}

.nav-menu-toggle strong {
  font-size: 9px;
  letter-spacing: 0.15em;
}

.nav-backdrop {
  position: fixed;
  z-index: 2040;
  inset: 0;
  background: rgba(2, 4, 9, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
  backdrop-filter: blur(4px);
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.section-nav {
  position: fixed;
  z-index: 1750;
  right: 18px;
  top: 50%;
  width: 154px;
  padding: 11px;
  border: 1px solid rgba(142, 158, 190, 0.22);
  background: rgba(5, 7, 13, 0.72);
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
}

.section-nav-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 5px 10px;
  color: #69748a;
  font-family: "Consolas", monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.section-nav-heading button {
  display: none;
  color: var(--warm-white);
  font-size: 26px;
  line-height: 1;
}

.section-nav > button:not(#navMenuClose) {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 24px 1fr 8px;
  align-items: center;
  gap: 7px;
  min-height: 37px;
  padding: 0 7px;
  color: #7e899f;
  text-align: left;
  transition: color 220ms ease, background 220ms ease;
}

.section-nav > button:not(#navMenuClose):hover,
.section-nav > button:not(#navMenuClose).active {
  color: var(--warm-white);
  background: rgba(243, 184, 75, 0.07);
}

.section-nav > button span {
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 8px;
}

.section-nav > button strong {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-nav > button i {
  width: 5px;
  height: 5px;
  border: 1px solid #69748a;
  transform: rotate(45deg);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.section-nav > button.active i {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 10px rgba(243, 184, 75, 0.7);
}

.section-nav > a {
  display: block;
  margin-top: 8px;
  padding: 11px 7px 4px;
  border-top: 1px solid rgba(142, 158, 190, 0.18);
  color: var(--gold-bright);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.navigation-guide {
  position: fixed;
  z-index: 2200;
  left: 50%;
  bottom: calc(var(--hud-height) + 18px);
  width: min(570px, calc(100vw - 32px));
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 16px 14px 20px;
  border: 1px solid rgba(243, 184, 75, 0.48);
  background: rgba(5, 7, 13, 0.94);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition: opacity 300ms ease, transform 400ms var(--silk), visibility 300ms ease;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.navigation-guide.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.navigation-guide div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navigation-guide strong {
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.navigation-guide span {
  color: #b7c0d2;
  font-size: 12px;
  line-height: 1.4;
}

.navigation-guide button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 15px;
  background: var(--gold);
  color: var(--night);
  font-size: 10px;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  z-index: 6;
  left: clamp(30px, 4.6vw, 72px);
  bottom: calc(var(--hud-height) + 18px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9aa5ba;
  text-align: left;
}

.scroll-cue:hover {
  color: var(--warm-white);
}

.scroll-cue-icon {
  position: relative;
  width: 24px;
  height: 38px;
  border: 1px solid rgba(243, 184, 75, 0.58);
  border-radius: 14px;
}

.scroll-cue-icon i {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scroll-cue-move 1.7s ease-in-out infinite;
}

@keyframes scroll-cue-move {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 13px); }
}

.scroll-cue > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scroll-cue strong {
  color: var(--gold-bright);
  font-family: "Consolas", monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.scroll-cue small {
  font-size: 9px;
}

.hud-section-copy {
  min-width: 92px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #929db1;
  font-family: "Consolas", monospace;
  white-space: nowrap;
}

.hud-section-copy b {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.hud-section-copy small {
  color: var(--gold);
  font-size: 7px;
  letter-spacing: 0.14em;
}

@media (max-width: 1100px) {
  .section-nav {
    right: 10px;
    width: 126px;
  }

  .section-nav > button:not(#navMenuClose) {
    grid-template-columns: 19px 1fr 7px;
    gap: 5px;
    padding: 0 5px;
  }

  .section-nav > button strong {
    font-size: 8px;
  }
}

@media (max-width: 900px) {
  .site-header nav {
    display: none;
  }

  .nav-menu-toggle {
    display: inline-flex;
  }

  .section-nav {
    z-index: 2050;
    top: auto;
    right: 12px;
    bottom: calc(var(--hud-height) + 12px);
    left: 12px;
    width: auto;
    padding: 15px;
    transform: translateY(calc(100% + var(--hud-height) + 40px));
    opacity: 0;
    visibility: hidden;
    transition: transform 420ms var(--silk), opacity 250ms ease, visibility 250ms ease;
  }

  .section-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .section-nav-heading {
    padding: 0 5px 12px;
  }

  .section-nav-heading button {
    display: block;
  }

  .section-nav > button:not(#navMenuClose) {
    grid-template-columns: 28px 1fr 10px;
    min-height: 46px;
    border-top: 1px solid rgba(142, 158, 190, 0.12);
  }

  .section-nav > button strong {
    font-size: 11px;
  }

  .section-nav > a {
    padding: 14px 7px 3px;
    font-size: 10px;
  }

  .navigation-guide {
    bottom: calc(var(--hud-height) + 10px);
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }

  .navigation-guide span {
    font-size: 11px;
  }

  .navigation-guide button {
    min-height: 34px;
    padding: 0 11px;
  }

  .scroll-cue {
    left: 20px;
    bottom: calc(var(--hud-height) + 10px);
  }

  .hud-section-copy {
    min-width: 68px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  .navigation-guide {
    flex-direction: column;
    align-items: stretch;
  }

  .navigation-guide button {
    width: 100%;
  }

  .scroll-cue small {
    display: none;
  }
}

/* =========================================================
   NOVACORE GAMES — CAMADA ESPECÍFICA
   Mantém o núcleo visual oficial e especializa a experiência.
   ========================================================= */

body.modal-open,
body.pulse-open,
body.nav-open {
  overflow: hidden;
}

.site-header nav {
  gap: clamp(20px, 2.7vw, 42px);
}

.site-header nav .header-external {
  margin-left: -8px;
  padding: 10px 14px;
  border: 1px solid rgba(143, 160, 194, 0.34);
}

.site-header nav .header-external::before {
  display: none;
}

.site-header nav .header-external:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.games-hero .hero-image {
  background-image:
    linear-gradient(90deg, rgba(5, 7, 13, 0.99) 0%, rgba(5, 7, 13, 0.92) 30%, rgba(5, 7, 13, 0.33) 61%, rgba(5, 7, 13, 0.05) 100%),
    linear-gradient(0deg, rgba(5, 7, 13, 0.28), transparent 48%),
    url("images/hero-portal.webp");
}

.games-hero .hero-content {
  width: min(760px, 57vw);
}

.games-hero .hero-content h1 {
  font-size: clamp(58px, 7vw, 108px);
}

.games-hero-telemetry {
  position: absolute;
  z-index: 7;
  right: clamp(190px, 14vw, 250px);
  bottom: calc(var(--hud-height) + 32px);
  width: min(340px, 25vw);
  padding: 17px 19px;
  border: 1px solid rgba(190, 202, 228, 0.2);
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 68px rgba(0, 0, 0, 0.26);
}

.games-hero-telemetry > p {
  padding-bottom: 10px;
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
}

.games-hero-telemetry div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(190, 202, 228, 0.11);
  font-family: "Consolas", monospace;
  font-size: 9px;
}

.games-hero-telemetry span {
  color: #9ba6bb;
}

.games-hero-telemetry strong {
  color: #d6dceb;
  font-size: 8px;
  font-weight: 600;
  text-align: right;
}

.ragna-feature .feature-background {
  background-image: url("images/ragnalife-world.webp");
  background-position: center 42%;
}

.ragna-feature .feature-overlay {
  background:
    linear-gradient(90deg, rgba(4, 6, 12, 0.99) 0%, rgba(4, 6, 12, 0.91) 31%, rgba(4, 6, 12, 0.3) 61%, rgba(4, 6, 12, 0.08) 100%),
    linear-gradient(0deg, rgba(4, 6, 12, 0.72) 0%, transparent 54%);
}

.ragna-feature .feature-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(70px, 8.4vw, 132px);
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.ragna-feature .feature-copy h2 span {
  color: #8ba1ff;
}

.ragna-feature .feature-kicker {
  color: #d9bb78;
}

.ragna-feature .date-pill {
  white-space: nowrap;
}

.active-universe-link {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(17, 21, 33, 0.26);
  color: #3c4050;
  font-family: "Consolas", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.active-universe-link:hover {
  border-color: #6657da;
  background: rgba(101, 87, 255, 0.08);
  color: #5141c6;
}

.active-universe-link.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.games-projects .project-slice.active {
  flex-grow: 4.4;
}


/* Atualizações */
.updates-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(430px, 1.16fr) minmax(330px, 0.82fr);
  grid-template-rows: 1fr;
  gap: clamp(20px, 2.3vw, 38px);
  align-items: stretch;
  padding: calc(var(--header-height) + 34px) clamp(180px, 13vw, 225px) calc(var(--hud-height) + 30px) clamp(30px, 4.7vw, 72px);
  background:
    radial-gradient(circle at 19% 28%, rgba(101, 87, 255, 0.13), transparent 34%),
    #060911;
}

.updates-noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(119, 132, 171, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 132, 171, 0.08) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at center, black, transparent 83%);
}

.updates-heading,
.update-featured,
.update-log {
  position: relative;
  z-index: 2;
}

.updates-heading {
  align-self: center;
}

.updates-heading h2 {
  margin-top: 17px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(54px, 5.6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.updates-heading h2 span {
  color: var(--gold);
}

.updates-heading > p:last-child {
  max-width: 350px;
  margin-top: 20px;
  color: #9ea9bd;
  font-size: 14px;
  line-height: 1.65;
}

.update-featured {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(162, 177, 208, 0.18);
  background: #0a0e19;
}

.update-featured-image,
.update-featured-shade {
  position: absolute;
  inset: 0;
}

.update-featured-image {
  background: url("images/ragnalife-world.webp") center/cover no-repeat;
  filter: saturate(0.83);
  transform: scale(1.02);
  transition: transform 900ms var(--silk), filter 500ms ease;
}

.update-featured:hover .update-featured-image {
  transform: scale(1.055);
  filter: saturate(1.05);
}

.update-featured-shade {
  background:
    linear-gradient(0deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.61) 47%, rgba(5, 7, 13, 0.06) 82%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.28), transparent 55%);
}

.update-featured-copy {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 2.2vw, 34px);
  bottom: clamp(24px, 3vw, 42px);
  left: clamp(20px, 2.2vw, 34px);
}

.update-featured-copy > p:first-child {
  color: #9ba7bc;
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.update-featured-copy > p:first-child span {
  display: inline-flex;
  margin-right: 8px;
  padding: 5px 7px;
  background: var(--gold);
  color: var(--night);
  font-weight: 800;
}

.update-featured-copy h3 {
  max-width: 610px;
  margin-top: 13px;
  font-size: clamp(24px, 2.3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.update-featured-copy > p:nth-of-type(2) {
  max-width: 600px;
  margin-top: 13px;
  color: #bac3d3;
  font-size: 13px;
  line-height: 1.58;
}

.update-featured-copy button {
  margin-top: 18px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
}

.update-featured-copy button span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 260ms var(--silk);
}

.update-featured-copy button:hover span {
  transform: translateX(5px);
}

.update-log {
  display: grid;
  align-content: center;
  border-top: 1px solid rgba(162, 177, 208, 0.18);
}

.update-log article {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 24px;
  gap: 15px;
  padding: 22px 3px;
  border-bottom: 1px solid rgba(162, 177, 208, 0.18);
}

.update-log time,
.update-log article > span {
  color: var(--gold);
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.update-log article > span {
  color: #606b80;
  text-align: right;
}

.update-log small {
  color: #6f7a90;
  font-family: "Consolas", monospace;
  font-size: 8px;
  letter-spacing: 0.17em;
}

.update-log h3 {
  margin-top: 7px;
  color: #e0e4eb;
  font-size: 14px;
  line-height: 1.35;
}

.update-log p {
  margin-top: 5px;
  color: #8994a8;
  font-size: 11px;
  line-height: 1.45;
}

/* Estúdio */
.games-studio .studio-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.games-studio .studio-secondary-link {
  margin-top: 25px;
  color: #9ca7bb;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.games-studio .studio-secondary-link:hover {
  color: var(--gold-bright);
}

/* Modal de prévia */
.preview-modal[hidden] {
  display: none;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 260ms ease;
}

.preview-modal.open {
  opacity: 1;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 4, 9, 0.86);
  backdrop-filter: blur(12px);
}

.preview-window {
  position: relative;
  width: min(1180px, 94vw);
  max-height: min(820px, 88vh);
  display: grid;
  grid-template-rows: 46px minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(155, 170, 202, 0.3);
  background: #070a12;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.62);
  transform: translateY(18px) scale(0.986);
  transition: transform 360ms var(--silk);
}

.preview-modal.open .preview-window {
  transform: none;
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(155, 170, 202, 0.18);
}

.preview-bar > div {
  display: flex;
  gap: 6px;
}

.preview-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #606b80;
}

.preview-bar i:nth-child(2) { background: var(--gold); }
.preview-bar i:nth-child(3) { background: var(--indigo); }

.preview-bar p {
  color: #8e99ae;
  font-family: "Consolas", monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.preview-bar button {
  color: #c6cedd;
  font-size: 24px;
}

.preview-window img {
  width: 100%;
  min-height: 0;
  object-fit: contain;
  background: #02040a;
}

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border-top: 1px solid rgba(155, 170, 202, 0.18);
}

.preview-footer p {
  max-width: 720px;
  color: #919caf;
  font-size: 11px;
  line-height: 1.5;
}

.preview-footer a {
  flex: 0 0 auto;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .games-hero-telemetry {
    right: 155px;
    width: 300px;
  }

  .updates-card {
    grid-template-columns: minmax(270px, 0.65fr) minmax(370px, 1.15fr) minmax(280px, 0.8fr);
    padding-right: 155px;
  }
}

@media (max-width: 1100px) {
  .site-header nav {
    gap: 20px;
  }

  .site-header nav button,
  .site-header nav a {
    font-size: 11px;
  }

  .games-hero-telemetry {
    display: none;
  }

  .updates-card {
    grid-template-columns: minmax(260px, 0.72fr) minmax(380px, 1.28fr);
    padding-right: 155px;
  }

  .update-log {
    display: none;
  }
}

@media (max-width: 900px) {
  .games-hero .hero-content {
    width: min(660px, 74vw);
  }

  .ragna-feature .feature-copy h2 {
    font-size: clamp(64px, 12vw, 98px);
  }

  .updates-card {
    grid-template-columns: minmax(230px, 0.72fr) minmax(340px, 1.28fr);
    padding-right: 135px;
  }

  .updates-heading h2 {
    font-size: clamp(48px, 7vw, 70px);
  }
}

@media (max-width: 900px) {
  .site-header .brand {
    max-width: calc(100vw - 125px);
    overflow: hidden;
  }

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

  .games-hero .hero-content h1 {
    font-size: clamp(50px, 14.8vw, 76px);
  }

  .ragna-feature .feature-actions {
    flex-wrap: wrap;
  }

  .ragna-feature .date-pill {
    display: none;
  }

  .projects-heading {
    align-items: flex-start;
  }

  .active-universe-link {
    min-height: 34px;
    padding: 0 10px;
    font-size: 8px;
  }

  .updates-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 16px;
    padding: calc(var(--header-height) + 18px) 20px calc(var(--hud-height) + 18px);
  }

  .updates-heading {
    align-self: start;
  }

  .updates-heading h2 {
    margin-top: 9px;
    font-size: clamp(42px, 12vw, 58px);
  }

  .updates-heading > p:last-child {
    display: none;
  }

  .update-featured {
    min-height: 0;
  }

  .update-featured-copy h3 {
    font-size: clamp(22px, 6.8vw, 32px);
  }

  .update-featured-copy > p:nth-of-type(2) {
    font-size: 11px;
  }

  .preview-modal {
    padding: 10px;
  }

  .preview-window {
    width: 100%;
    max-height: calc(100svh - 20px);
  }

  .preview-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 11px;
    letter-spacing: 0.17em;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 300px;
  }

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

  .launch-line {
    max-width: 310px;
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 1.45;
  }

  .ragna-feature .feature-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 310px;
  }

  .ragna-feature .feature-actions .button {
    width: 100%;
  }

  .projects-heading h2 {
    max-width: 250px;
    font-size: 28px;
  }

  .active-universe-link {
    align-self: center;
    max-width: 125px;
    text-align: center;
  }

  .update-featured-copy {
    right: 18px;
    bottom: 20px;
    left: 18px;
  }

  .update-featured-copy > p:nth-of-type(2) {
    display: none;
  }

  .games-studio .studio-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
}

/* Ajustes finais de composição */
.updates-heading h2 {
  font-size: clamp(50px, 4.75vw, 76px);
}

.games-studio .studio-metrics {
  right: clamp(165px, 12vw, 210px);
}

@media (max-width: 1100px) {
  .games-studio .studio-metrics {
    right: 135px;
  }
}

@media (max-width: 900px) {
  .games-studio .studio-metrics {
    right: 16px;
  }
}

.ragna-feature .telemetry {
  left: auto;
  right: clamp(165px, 13vw, 215px);
  width: min(330px, 26vw);
}

@media (max-width: 900px) {
  .games-projects {
    padding-bottom: var(--hud-height);
  }
}

@media (max-height: 820px) and (min-width: 681px) {
  .games-hero .scroll-cue {
    display: none;
  }
}

/* =========================================================
   v0.3 — ASSETS SEM ESTILO INLINE + MOBILE EM FLUXO NATURAL
   A experiência de cartões fixos permanece no desktop.
   No celular, as seções voltam ao fluxo normal para evitar
   cortes, sobreposições e dependência da altura da tela.
   ========================================================= */

.project-ragnalife { --project-image: url("images/ragnalife-world.webp"); }
.project-moon { --project-image: url("images/moon-gunz-world.webp"); }

.studio-image-division { background-image: url("images/hero-portal.webp"); }
.studio-image-process { background-image: url("images/moon-gunz-world.webp"); }
.studio-image-community { background-image: url("images/ragnalife-world.webp"); }

.mobile-navigation-hint,
.noscript-warning {
  display: none;
}

.noscript-warning {
  position: fixed;
  z-index: 5000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(243, 184, 75, 0.6);
  background: #080b13;
  color: #f5f1e8;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
    --hud-height: 0px;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
  }

  body {
    min-width: 320px;
    overflow-x: clip;
    overflow-y: auto;
  }

  body.modal-open,
  body.pulse-open,
  body.nav-open {
    overflow: hidden;
  }

  main {
    position: relative;
    display: block;
    overflow: clip;
  }

  .scroll-spacer {
    display: none !important;
  }

  .z-card,
  .z-card[data-card] {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }

  .site-header {
    height: var(--header-height);
    padding: 0 16px;
    border-bottom: 1px solid rgba(143, 160, 194, 0.14);
    background: linear-gradient(180deg, rgba(5, 7, 13, 0.98), rgba(5, 7, 13, 0.9));
    backdrop-filter: blur(16px);
  }

  .site-header .brand {
    max-width: calc(100vw - 132px);
    gap: 9px;
    overflow: visible;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .brand-core {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  .site-header nav {
    display: none !important;
  }

  .nav-menu-toggle {
    top: 13px;
    right: 14px;
    z-index: 2100;
    min-height: 38px;
    padding: 0 12px;
    background: rgba(5, 7, 13, 0.96);
  }

  .nav-menu-toggle span {
    font-size: 13px;
  }

  .section-nav {
    z-index: 2050;
    top: 74px;
    right: 12px;
    bottom: auto;
    left: 12px;
    width: auto;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    padding: 14px;
    transform: translateY(-18px) scale(0.985);
    transform-origin: top center;
  }

  .section-nav.open {
    transform: none;
  }

  .nav-backdrop {
    z-index: 2040;
  }

  .section-nav > button:not(#navMenuClose) {
    min-height: 48px;
  }

  .section-nav > a {
    min-height: 42px;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding: 0 7px;
  }

  .hero-card,
  .games-hero {
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    padding: calc(var(--header-height) + 42px) 20px 52px;
  }

  .games-hero .hero-image {
    background-position: 64% center;
    background-image:
      linear-gradient(180deg, rgba(5, 7, 13, 0.35) 0%, rgba(5, 7, 13, 0.78) 58%, rgba(5, 7, 13, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 7, 13, 0.94) 0%, rgba(5, 7, 13, 0.53) 82%, rgba(5, 7, 13, 0.28)),
      url("images/hero-portal.webp");
    animation: none;
  }

  .technical-grid {
    opacity: 0.09;
    background-size: 48px 48px;
  }

  .orbital-line,
  .games-hero-telemetry,
  .hero-coordinate,
  .scroll-cue {
    display: none !important;
  }

  .games-hero .hero-content {
    width: 100%;
    max-width: 520px;
    margin: 0;
    padding: 0;
  }

  .eyebrow,
  .section-index {
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.18em;
    line-height: 1.5;
  }

  .games-hero .hero-content h1 {
    max-width: 390px;
    margin-top: 15px;
    font-size: clamp(48px, 14.2vw, 64px);
    line-height: 0.88;
    letter-spacing: -0.04em;
    overflow-wrap: normal;
  }

  .hero-copy {
    max-width: 355px;
    margin-top: 18px;
    color: #c0c7d4;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;
    max-width: 355px;
    margin-top: 20px;
    gap: 9px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .launch-line {
    max-width: 355px;
    margin-top: 18px;
    gap: 9px;
    font-size: 9px;
    line-height: 1.45;
  }

  .launch-line i {
    display: none;
  }

  .mobile-navigation-hint {
    max-width: 355px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    color: #7f899c;
    font-family: "Consolas", monospace;
    font-size: 8px;
    line-height: 1.45;
    letter-spacing: 0.08em;
  }

  .mobile-navigation-hint > span {
    color: var(--gold);
    font-size: 15px;
  }

  .mobile-navigation-hint strong {
    color: #c9d0dc;
  }

  .ragna-feature {
    min-height: 760px;
    display: flex;
    align-items: flex-end;
    padding: 110px 20px 58px;
  }

  .ragna-feature .feature-background {
    background-position: 68% center;
  }

  .ragna-feature .feature-overlay {
    background:
      linear-gradient(180deg, rgba(5, 7, 13, 0.14), rgba(5, 7, 13, 0.62) 42%, rgba(5, 7, 13, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 7, 13, 0.88), rgba(5, 7, 13, 0.28));
  }

  .ragna-feature .feature-copy {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 520px;
  }

  .ragna-feature .feature-kicker {
    max-width: 330px;
    margin-top: 12px;
    font-size: 8px;
    line-height: 1.5;
  }

  .ragna-feature .feature-copy h2 {
    margin-top: 7px;
    font-size: clamp(58px, 18vw, 78px);
    line-height: 0.9;
  }

  .ragna-feature .feature-copy > p:not(.section-index):not(.feature-kicker) {
    max-width: 360px;
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.58;
  }

  .ragna-feature .feature-actions {
    width: 100%;
    max-width: 355px;
    margin-top: 19px;
    gap: 9px;
  }

  .ragna-feature .feature-actions .button {
    width: 100%;
    min-height: 47px;
  }

  .ragna-feature .date-pill,
  .ragna-feature .telemetry,
  .ragna-feature .crosshair,
  .ragna-feature .feature-node {
    display: none !important;
  }

  .games-projects {
    min-height: auto;
    display: block;
    padding: 78px 18px 64px;
  }

  .projects-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 20px;
  }

  .projects-heading h2 {
    max-width: 330px;
    margin-top: 6px;
    font-size: clamp(34px, 10.8vw, 46px);
    line-height: 0.95;
  }

  .active-universe-link {
    justify-self: start;
    align-self: auto;
    max-width: none;
    min-height: 38px;
    padding: 0 12px;
    font-size: 8px;
  }

  .project-accordion {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    border-top: 0;
  }

  .project-slice,
  .project-slice.active {
    width: 100%;
    min-height: 112px;
    flex: none;
    border: 1px solid rgba(17, 21, 33, 0.16);
    transition: min-height 520ms var(--silk), border-color 260ms ease;
  }

  .project-slice.active {
    min-height: 330px;
    border-color: rgba(101, 87, 255, 0.34);
  }

  .project-slice .project-image {
    opacity: 0.26;
    transform: scale(1.03);
  }

  .project-slice.active .project-image {
    opacity: 1;
    transform: scale(1);
  }

  .project-idle {
    position: relative;
    min-height: 112px;
    flex-direction: row;
    padding: 0 18px;
  }

  .project-idle strong {
    writing-mode: horizontal-tb;
    font-size: 13px;
  }

  .project-slice.active .project-idle {
    opacity: 0;
    pointer-events: none;
  }

  .project-reveal {
    right: 18px;
    bottom: 20px;
    left: 18px;
  }

  .project-reveal > strong {
    font-size: clamp(35px, 11vw, 48px);
  }

  .project-description {
    display: block;
    max-width: 340px;
    font-size: 11px;
  }

  .updates-card {
    min-height: auto;
    display: block;
    padding: 78px 18px 64px;
  }

  .updates-heading h2,
  .updates-heading h2:last-of-type {
    margin-top: 10px;
    font-size: clamp(43px, 13vw, 58px);
  }

  .updates-heading > p:last-child {
    display: block;
    max-width: 340px;
    margin-top: 14px;
    font-size: 12px;
  }

  .update-featured {
    min-height: 470px;
    margin-top: 24px;
  }

  .update-featured-copy {
    right: 18px;
    bottom: 22px;
    left: 18px;
  }

  .update-featured-copy h3 {
    max-width: 360px;
    font-size: clamp(24px, 7.8vw, 34px);
  }

  .update-featured-copy > p:nth-of-type(2) {
    display: block;
    font-size: 11px;
  }

  .update-log {
    display: grid;
    margin-top: 18px;
  }

  .update-log article {
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 18px 0;
  }

  .studio-card,
  .games-studio {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 430px;
    padding: 0;
  }

  .games-studio .studio-copy {
    padding: 78px 18px 48px;
  }

  .games-studio .studio-copy h2 {
    max-width: 500px;
    margin-top: 13px;
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: 0.98;
  }

  .studio-intro {
    max-width: 420px;
    margin-top: 14px;
    font-size: 12px;
  }

  .studio-tabs {
    margin-top: 20px;
  }

  .studio-tabs button {
    min-height: 48px;
    justify-content: center;
    padding: 10px 5px;
    text-align: center;
  }

  .studio-tabs strong {
    font-size: 8px;
  }

  .games-studio .studio-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .games-studio .studio-cta {
    display: inline-flex;
    width: 100%;
    max-width: 355px;
    margin-top: 0;
  }

  .games-studio .studio-secondary-link {
    margin-top: 0;
    padding: 8px 0;
  }

  .studio-visual {
    min-height: 430px;
  }

  .studio-shade {
    background:
      linear-gradient(180deg, #070a12 0%, rgba(7, 10, 18, 0.12) 34%, rgba(7, 10, 18, 0.74) 100%);
  }

  .games-studio .studio-metrics {
    top: auto;
    right: 16px;
    bottom: 50px;
    left: 16px;
    width: auto;
    padding: 15px;
  }

  .studio-caption {
    right: 16px;
    bottom: 18px;
  }

  .hud {
    display: none !important;
  }

  .preview-modal {
    align-items: center;
    padding: 10px;
  }

  .preview-window {
    width: 100%;
    max-height: calc(100dvh - 20px);
  }

  .preview-window img {
    max-height: 56dvh;
  }

  .preview-footer {
    padding: 13px 14px;
  }

  .noscript-warning {
    display: block;
  }
}

@media (max-width: 430px) {
  .site-header .brand {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .nav-menu-toggle strong {
    font-size: 8px;
  }

  .games-hero {
    padding-right: 17px;
    padding-left: 17px;
  }

  .games-hero .hero-content h1 {
    font-size: clamp(45px, 13.8vw, 59px);
  }

  .ragna-feature,
  .games-projects,
  .updates-card,
  .games-studio .studio-copy {
    padding-right: 17px;
    padding-left: 17px;
  }

  .project-slice.active {
    min-height: 310px;
  }

  .update-featured {
    min-height: 440px;
  }
}

@media (max-width: 900px) and (max-height: 650px) {
  .games-hero {
    min-height: 690px;
  }

  .ragna-feature {
    min-height: 700px;
  }
}

/* Correções finais de alinhamento da v0.3 */
@media (max-width: 900px) {
  .z-card.games-hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .z-card.ragna-feature {
    min-height: 760px;
  }

  .z-card.games-projects,
  .z-card.updates-card,
  .z-card.games-studio {
    min-height: 0;
  }

  .ragna-feature .feature-copy h2 {
    max-width: 100%;
    font-size: clamp(52px, 15vw, 66px);
    letter-spacing: -0.05em;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  html { scroll-behavior: auto; }
}

/* Revisão final — acessibilidade e áreas seguras */
.skip-link {
  position: fixed;
  z-index: 6000;
  top: 10px;
  left: 10px;
  padding: 11px 14px;
  border: 1px solid var(--gold);
  background: #05070d;
  color: #f5f1e8;
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .games-hero,
  .ragna-feature,
  .games-projects,
  .updates-card,
  .games-studio .studio-copy {
    padding-right: max(17px, env(safe-area-inset-right));
    padding-left: max(17px, env(safe-area-inset-left));
  }
}

@media (min-width: 521px) and (max-width: 900px) {
  .games-hero .hero-actions {
    max-width: 470px;
  }

  .games-hero .hero-actions .button {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
  }
}


/* =========================================================
   v1.1 — ORIENTAÇÃO DE NAVEGAÇÃO E DESCOBERTA
   Ensina a interação sem bloquear ou descaracterizar o site.
   ========================================================= */

.interaction-prompt {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 560px;
  margin-top: 16px;
  color: #9da8bb;
  font-family: "Consolas", monospace;
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: 0.045em;
}

.interaction-prompt > span {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.05;
}

.interaction-prompt strong {
  color: var(--gold-bright);
  font-size: 8px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.hero-interaction-prompt {
  margin-top: 13px;
  color: #8995a9;
}

.interaction-prompt-dark {
  max-width: 540px;
  color: #667086;
}

.interaction-prompt-dark strong {
  color: #43389b;
}

.interaction-prompt-compact {
  margin-top: 12px;
  font-size: 8px;
}

.navigation-guide-copy {
  min-width: 0;
}

.navigation-guide-actions {
  display: flex !important;
  flex: 0 0 auto;
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}

.navigation-guide-actions button:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.navigation-guide-actions button:last-child {
  width: 36px;
  min-width: 36px;
  padding: 0;
  border: 1px solid rgba(157, 174, 209, 0.25);
  background: transparent;
  color: #9aa5b8;
  font-size: 18px;
}

.navigation-guide-actions button:last-child:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@keyframes interaction-attention {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 184, 75, 0); }
  45% { box-shadow: 0 0 0 5px rgba(243, 184, 75, 0.12), 0 0 26px rgba(243, 184, 75, 0.16); }
}

body.interaction-coach-active .button-gold,
body.interaction-coach-active .project-slice:not(.active) .project-idle i,
body.interaction-coach-active .studio-tabs button:not(.active) {
  animation: interaction-attention 1.9s ease-in-out 2;
}

@media (max-width: 900px) {
  .interaction-prompt {
    max-width: 100%;
    margin-top: 14px;
    font-size: 8px;
    line-height: 1.5;
  }

  .interaction-prompt strong {
    white-space: normal;
  }

  .projects-heading .interaction-prompt {
    margin-top: 11px;
  }

  .navigation-guide {
    bottom: 14px;
    width: calc(100vw - 24px);
  }
}

@media (max-width: 560px) {
  .navigation-guide {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .navigation-guide-actions {
    width: 100%;
  }

  .navigation-guide-actions button:first-child {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.interaction-coach-active .button-gold,
  body.interaction-coach-active .project-slice:not(.active) .project-idle i,
  body.interaction-coach-active .studio-tabs button:not(.active) {
    animation: none;
  }
}

/* =========================================================
   v1.2 — UNIVERSOS EM DUPLA
   Dois painéis centrais, metade para cada jogo, com expansão
   por hover, foco ou toque. Remove o bloco reservado.
   ========================================================= */

.universe-heading-tools {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.universe-hover-hint {
  color: #6556d8;
  font-family: "Consolas", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  white-space: nowrap;
}

.universe-hover-hint::before {
  content: "↔";
  margin-right: 8px;
  color: #d39724;
}

.universe-heading-tools .active-universe-link[aria-hidden="true"] {
  display: none;
}

.project-duo {
  position: relative;
  width: min(1160px, calc(100% - 104px));
  margin: 0 auto calc(var(--hud-height) + 18px);
  overflow: hidden;
  border: 1px solid rgba(17, 21, 33, 0.2);
  background: #080b14;
  box-shadow: 0 24px 70px rgba(12, 16, 28, 0.14);
}

.project-duo::after {
  content: "";
  position: absolute;
  z-index: 6;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(238, 233, 222, 0.35);
  pointer-events: none;
  transition: opacity 260ms ease;
}

.project-duo.has-active::after {
  opacity: 0.15;
}

.project-duo-guide {
  position: absolute;
  z-index: 8;
  top: 24px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(245, 241, 232, 0.22);
  background: rgba(5, 7, 13, 0.76);
  color: #f5f1e8;
  font-family: "Consolas", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  white-space: nowrap;
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.project-duo-guide b {
  color: var(--gold);
  font-size: 13px;
}

.project-duo.has-active .project-duo-guide {
  opacity: 0;
  transform: translate(-50%, -8px);
}

.project-duo .project-slice {
  flex: 1 1 50%;
  min-width: 0;
  border-right-color: rgba(238, 233, 222, 0.24);
  background: #080b14;
  transition: flex-grow 760ms var(--silk), flex-basis 760ms var(--silk), filter 400ms ease;
}

.project-duo.has-active .project-slice {
  flex-grow: 0.72;
  flex-basis: 38%;
}

.project-duo.has-active .project-slice.active {
  flex-grow: 1.35;
  flex-basis: 62%;
}

.games-projects .project-duo .project-slice.active {
  flex-grow: 1.35;
}

.project-duo .project-image {
  opacity: 0.72;
  transform: scale(1.025);
  filter: saturate(0.82) brightness(0.82);
}

.project-duo .project-shade {
  opacity: 1;
  background:
    linear-gradient(0deg, rgba(5, 7, 13, 0.92) 0%, rgba(5, 7, 13, 0.18) 63%, rgba(5, 7, 13, 0.1) 100%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.24), transparent 42%, rgba(5, 7, 13, 0.12));
}

.project-duo .project-slice.active .project-image {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1) brightness(0.96);
}

.project-duo.has-active .project-slice:not(.active) .project-image {
  opacity: 0.4;
  filter: saturate(0.52) brightness(0.6);
}

.project-duo .project-idle {
  z-index: 4;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 7px;
  padding: 28px 30px calc(var(--hud-height) + 25px);
  color: #f5f1e8;
  background: linear-gradient(0deg, rgba(5, 7, 13, 0.48), transparent 46%);
}

.project-duo .project-idle > span {
  color: #c8cede;
  font-size: 8px;
}

.project-duo .project-idle strong {
  writing-mode: horizontal-tb;
  color: #f5f1e8;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(34px, 4.2vw, 66px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.project-duo .project-idle i {
  margin-top: 5px;
  color: var(--gold-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.project-duo.has-active .project-slice:not(.active) .project-idle strong {
  font-size: clamp(26px, 3.1vw, 46px);
}

.project-duo .project-reveal {
  left: 30px;
  right: 30px;
  bottom: calc(var(--hud-height) + 26px);
  max-width: 520px;
}

.project-duo .project-reveal > strong {
  font-size: clamp(44px, 5.4vw, 82px);
}

.project-duo .project-description {
  max-width: 470px;
}

.project-duo .project-slice:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

@media (hover: hover) and (pointer: fine) {
  .project-duo:not(.has-active) .project-slice:hover .project-image {
    opacity: 0.88;
    filter: saturate(0.95) brightness(0.92);
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .project-duo {
    width: calc(100% - 74px);
  }

  .project-duo .project-idle {
    padding-right: 22px;
    padding-left: 22px;
  }
}

@media (max-width: 900px) {
  .universe-heading-tools {
    align-items: flex-start;
  }

  .universe-hover-hint {
    display: none;
  }

  .project-duo {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .project-duo::after,
  .project-duo-guide {
    display: none;
  }

  .project-duo .project-slice,
  .project-duo.has-active .project-slice,
  .project-duo.has-active .project-slice.active,
  .games-projects .project-duo .project-slice.active {
    width: 100%;
    min-height: 160px;
    flex: none;
    border: 1px solid rgba(17, 21, 33, 0.17);
  }

  .project-duo .project-slice.active,
  .project-duo.has-active .project-slice.active,
  .games-projects .project-duo .project-slice.active {
    min-height: 340px;
  }

  .project-duo .project-image,
  .project-duo.has-active .project-slice:not(.active) .project-image {
    opacity: 0.68;
    filter: saturate(0.82) brightness(0.82);
  }

  .project-duo .project-slice.active .project-image {
    opacity: 1;
    filter: saturate(1) brightness(0.94);
  }

  .project-duo .project-idle {
    min-height: 160px;
    padding: 20px;
  }

  .project-duo .project-idle strong,
  .project-duo.has-active .project-slice:not(.active) .project-idle strong {
    font-size: clamp(32px, 10vw, 46px);
  }

  .project-duo .project-reveal {
    right: 20px;
    bottom: 22px;
    left: 20px;
  }

  .project-duo .project-reveal > strong {
    font-size: clamp(40px, 12vw, 56px);
  }

  .universe-heading-tools .active-universe-link:not([aria-hidden="true"]) {
    display: inline-flex;
  }
}

@media (max-width: 430px) {
  .project-duo .project-slice,
  .project-duo.has-active .project-slice,
  .project-duo.has-active .project-slice.active,
  .games-projects .project-duo .project-slice.active {
    min-height: 145px;
  }

  .project-duo .project-slice.active,
  .project-duo.has-active .project-slice.active,
  .games-projects .project-duo .project-slice.active {
    min-height: 315px;
  }
}
