@font-face {
  font-family: "Silkscreen";
  src: url("/assets/fonts/Silkscreen-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: dark;
  --night-1000: #01030a;
  --night-950: #020611;
  --night-900: #041029;
  --night-850: #071a37;
  --night-800: #0b2445;
  --panel: rgba(5, 17, 38, 0.88);
  --panel-solid: #061329;
  --line: #1b4772;
  --line-bright: #377fa9;
  --text: #f6f1df;
  --muted: #9eb2ca;
  --cyan: #55ddff;
  --cyan-soft: #a4efff;
  --green: #61e6a8;
  --amber: #ffc24d;
  --orange: #ff6c2f;
  --red: #ff4d57;
  --shadow: 6px 6px 0 rgba(0, 2, 9, 0.9);
  --pixel: "Silkscreen", "Courier New", monospace;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1180px;
  --header-height: 76px;
  --refinery-art: url("/assets/img/refinery-night.png");
}

@supports (background-image: image-set(url("/assets/img/refinery-night.webp") 1x)) {
  :root {
    --refinery-art: image-set(
      url("/assets/img/refinery-night.avif") type("image/avif") 1x,
      url("/assets/img/refinery-night.webp") type("image/webp") 1x
    );
  }

  @media (max-width: 640px) {
    :root {
      --refinery-art: image-set(
        url("/assets/img/refinery-night-960.avif") type("image/avif") 1x,
        url("/assets/img/refinery-night-960.webp") type("image/webp") 1x
      );
    }
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  scroll-behavior: smooth;
  background: var(--night-1000);
}

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 52% 16%, rgba(28, 78, 131, 0.21), transparent 26rem),
    linear-gradient(180deg, var(--night-950), var(--night-1000));
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 12px 16px;
  color: var(--night-1000);
  background: var(--cyan);
  font: 0.7rem/1.2 var(--pixel);
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(85, 221, 255, 0.18);
  background: rgba(2, 6, 17, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-height);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
  font: 0.78rem/1 var(--pixel);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-pixel {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  background: #020611 url("/assets/favicon-bbr.svg?v=20260811-37") center / contain no-repeat;
  filter: drop-shadow(3px 3px 0 #00101e);
  image-rendering: pixelated;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font: 0.64rem/1.2 var(--pixel);
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-color: var(--cyan);
  background: rgba(85, 221, 255, 0.06);
}

.language-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  border: 1px solid var(--line);
  background: #07162d;
}

.language-control::before {
  content: "◎";
  margin-left: 10px;
  color: var(--cyan);
  font-weight: 700;
}

.language-control select {
  min-width: 82px;
  min-height: 44px;
  padding: 8px 28px 8px 8px;
  border: 0;
  color: var(--text);
  background-color: #07162d;
  color-scheme: dark;
  font: 0.64rem/1.2 var(--pixel);
  cursor: pointer;
}

.language-control select option {
  color: #f6f1df;
  background-color: #07162d;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  color: var(--text);
  background: #07162d;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(850px, calc(100svh - var(--header-height)));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: #031027;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(1, 4, 13, 0.93) 0%, rgba(1, 5, 15, 0.72) 43%, rgba(1, 6, 18, 0.16) 75%),
    linear-gradient(180deg, rgba(1, 4, 13, 0.08) 50%, rgba(1, 4, 13, 0.96) 100%),
    var(--refinery-art) center / cover no-repeat;
  image-rendering: pixelated;
  transform: scale(1.02);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.star-field,
.star-field::before,
.star-field::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    radial-gradient(circle, var(--cyan-soft) 0 1px, transparent 1.5px),
    radial-gradient(circle, #fff0b3 0 1px, transparent 1.5px),
    radial-gradient(circle, #7e9fff 0 1px, transparent 1.5px);
  background-position: 8% 11%, 24% 17%, 77% 9%;
  background-size: 173px 137px, 269px 193px, 337px 241px;
  opacity: 0.52;
  animation: star-twinkle 4.8s steps(2, end) infinite alternate;
  pointer-events: none;
}

.star-field::before {
  transform: translate(3%, 1%);
  opacity: 0.45;
  animation-delay: -1.5s;
}

.star-field::after {
  transform: translate(-2%, 2%);
  opacity: 0.28;
  animation-delay: -3s;
}

.hero-moon {
  position: absolute;
  top: clamp(60px, 10vh, 110px);
  right: clamp(20px, 8vw, 150px);
  z-index: -1;
  width: clamp(70px, 9vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.92;
  background:
    radial-gradient(circle at 30% 28%, #8ca6b9 0 4%, transparent 5%),
    radial-gradient(circle at 67% 62%, #6d879b 0 7%, transparent 8%),
    radial-gradient(circle at 52% 42%, #829db1 0 3%, transparent 4%),
    #c3d6df;
  box-shadow: 0 0 12px #d8f5ff, 0 0 48px rgba(85, 221, 255, 0.36), inset -18px -9px 0 #7691a7;
  image-rendering: pixelated;
  animation: moon-float 8s ease-in-out infinite alternate;
}

.hero-ufo {
  position: absolute;
  top: clamp(120px, 23vh, 240px);
  right: clamp(12%, 24vw, 32%);
  z-index: -1;
  width: clamp(46px, 5vw, 74px);
  height: 22px;
  border: 3px solid #78efff;
  border-radius: 50%;
  background: #153a62;
  box-shadow: 0 5px 0 #06152b, 0 9px 10px rgba(85, 221, 255, 0.5);
  animation: ufo-patrol 11s ease-in-out infinite;
}

.hero-ufo::before {
  content: "";
  position: absolute;
  left: 30%;
  bottom: 12px;
  width: 40%;
  height: 14px;
  border: 2px solid #8af3ff;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: rgba(84, 223, 255, 0.34);
}

.hero-ufo::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--amber);
  box-shadow: 15px 2px 0 var(--cyan), 31px 0 0 var(--amber);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  width: min(var(--content), calc(100% - 40px));
  margin: auto;
  padding-block: clamp(80px, 13vh, 150px) clamp(100px, 14vh, 160px);
}

.hero-copy {
  min-width: 0;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--cyan);
  font: clamp(0.58rem, 1.2vw, 0.74rem)/1.5 var(--pixel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 5px;
  background: var(--cyan);
  box-shadow: 5px 5px 0 #166083;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h1,
h2,
.pixel-heading {
  font-family: var(--pixel);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.55rem, 7.2vw, 6.85rem);
  line-height: 0.9;
  text-shadow: 0 5px 0 #7e3c17, 0 9px 0 rgba(1, 3, 11, 0.8), 0 0 36px rgba(255, 107, 47, 0.22);
}

.title-hot {
  display: block;
  margin-top: 0.12em;
  color: #ffe2a3;
}

.hero-summary {
  max-width: 690px;
  margin: 30px 0 0;
  color: #e3e9f2;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-tagline {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: clamp(.72rem, 1.25vw, .98rem);
  letter-spacing: .045em;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.pixel-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  max-width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--line-bright);
  color: var(--text);
  background: #07182f;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.025);
  font: clamp(0.61rem, 1.35vw, 0.75rem)/1.45 var(--pixel);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 130ms ease, background 130ms ease, border-color 130ms ease;
}

.pixel-button:hover {
  transform: translate(-2px, -2px);
  border-color: var(--cyan);
  background: #0b2647;
}

.pixel-button:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 rgba(0, 2, 9, 0.9);
}

.pixel-button.primary {
  border-color: #ffe18a;
  color: #10131d;
  background: linear-gradient(180deg, #ffe079 0%, #ffad32 73%, #f07628 74%);
  box-shadow: 6px 6px 0 #8b3b1f, inset 0 0 0 2px #fff2b9;
}

.pixel-button.support {
  border-color: #9cfbc8;
  color: #082119;
  background: linear-gradient(180deg, #8cf4bc 0%, #50d896 74%, #219f74 75%);
  box-shadow: 6px 6px 0 #145744, inset 0 0 0 2px #caffdf;
}

.pixel-button.disabled,
.pixel-button[aria-disabled="true"] {
  color: #7b8ca3;
  border-color: #2c4059;
  background: #0a1424;
  box-shadow: 4px 4px 0 #01040b;
  cursor: not-allowed;
  pointer-events: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--cyan-soft);
  font: 0.62rem/1.55 var(--pixel);
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}

.hero-video-panel {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 560px;
  justify-self: end;
}

.hero-video-label,
.hero-video-status {
  font-family: var(--pixel);
  text-transform: uppercase;
}

.hero-video-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--cyan-soft);
  font-size: clamp(0.55rem, 0.8vw, 0.68rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.hero-video-signal {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(97, 230, 168, 0.16), 0 0 10px var(--green);
  animation: indicator-blink 1.4s steps(2, end) infinite;
}

.hero-video-viewport {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid var(--cyan);
  background: #020916;
  box-shadow: 7px 7px 0 rgba(0, 2, 9, 0.9), 0 0 26px rgba(85, 221, 255, 0.24), inset 0 0 0 2px rgba(164, 239, 255, 0.14);
}

.hero-video-viewport::before,
.hero-video-viewport::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 8px;
  height: 8px;
  pointer-events: none;
}

.hero-video-viewport::before {
  top: 7px;
  left: 7px;
  border-top: 3px solid var(--green);
  border-left: 3px solid var(--green);
  box-shadow: -4px -4px 0 rgba(97, 230, 168, 0.22);
}

.hero-video-viewport::after {
  right: 7px;
  bottom: 7px;
  border-right: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  box-shadow: 4px 4px 0 rgba(255, 194, 77, 0.2);
}

.hero-video-poster,
.hero-video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video-poster {
  z-index: 0;
  object-fit: cover;
  image-rendering: pixelated;
  filter: brightness(0.68) saturate(0.9);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.hero-video-embed {
  z-index: 1;
  border: 0;
  opacity: 0;
  background: #000;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.hero-video-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 11px;
  width: min(68%, 230px);
  min-height: 70px;
  padding: 14px 18px;
  border: 1px solid rgba(126, 228, 255, 0.72);
  color: #e6f9ff;
  background: rgba(2, 9, 22, 0.86);
  box-shadow: 4px 4px 0 rgba(0, 2, 9, 0.8), inset 0 0 0 1px rgba(97, 230, 168, 0.12);
  font: clamp(0.54rem, 0.78vw, 0.66rem)/1.4 var(--pixel);
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.hero-video-loading-dots {
  display: flex;
  gap: 7px;
}

.hero-video-loading-dots i {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(85, 221, 255, 0.7);
  animation: hero-video-loading-dot 1.05s steps(2, end) infinite;
}

.hero-video-loading-dots i:nth-child(2) { animation-delay: 180ms; }
.hero-video-loading-dots i:nth-child(3) { animation-delay: 360ms; }

@keyframes hero-video-loading-dot {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

.hero-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(82%, 330px);
  min-height: 54px;
  padding: 12px 16px;
  border: 2px solid #ffe18a;
  color: #10131d;
  background: linear-gradient(180deg, #ffe079 0%, #ffad32 73%, #f07628 74%);
  box-shadow: 5px 5px 0 #8b3b1f, inset 0 0 0 2px #fff2b9;
  font: clamp(0.56rem, 0.8vw, 0.68rem)/1.4 var(--pixel);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, visibility 180ms ease, transform 130ms ease;
}

.hero-video-play:hover {
  transform: translate(calc(-50% - 2px), calc(-50% - 2px));
}

.hero-video-play:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}

.hero-video-play-icon {
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #10131d;
}

.hero-video-status {
  max-width: 48rem;
  margin: 12px 0 0;
  color: #bfcee0;
  font-size: clamp(0.48rem, 0.68vw, 0.58rem);
  line-height: 1.65;
  letter-spacing: 0.025em;
}

.hero-video-panel.is-ready .hero-video-poster,
.hero-video-panel.is-ready .hero-video-loading,
.hero-video-panel.is-ready .hero-video-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-video-panel.is-ready .hero-video-embed {
  opacity: 1;
}

.hero-video-panel.is-manual .hero-video-signal {
  background: var(--amber);
  box-shadow: 0 0 0 2px rgba(255, 194, 77, 0.15), 0 0 10px rgba(255, 194, 77, 0.7);
  animation: none;
}

.hero-video-panel.is-manual .hero-video-loading {
  opacity: 0;
  visibility: hidden;
}

.hero-video-panel.is-manual .hero-video-play {
  display: inline-flex;
}

.devgamm-feature {
  border-block: 1px solid rgba(255, 194, 77, 0.24);
  background: linear-gradient(105deg, rgba(255, 194, 77, 0.045), transparent 60%), #061022;
}

.devgamm-feature-inner,
.devgamm-card-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.devgamm-feature-inner {
  padding-block: clamp(22px, 3vw, 32px);
}

.devgamm-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 2vw, 20px);
  min-width: 0;
  max-width: 520px;
}

.devgamm-logos img {
  display: block;
  height: auto;
  object-fit: contain;
}

.devgamm-game-logo {
  width: 100%;
  max-width: 260px;
}

.devgamm-awards-mark {
  position: relative;
  display: block;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 826 / 221;
  overflow: hidden;
}

.devgamm-awards-logo {
  /* Hide only transparent margins, retaining 8px around the original artwork. */
  position: absolute;
  top: -63.348416%;
  left: -10.169492%;
  width: 121.186441%;
  max-width: none;
}

.devgamm-copy {
  min-width: 0;
}

.devgamm-title {
  margin: 0;
  color: var(--text);
  font: 700 clamp(0.98rem, 1.65vw, 1.2rem)/1.35 var(--body);
  overflow-wrap: anywhere;
}

.devgamm-status {
  margin: 6px 0 0;
  color: var(--cyan-soft);
  font-size: 0.87rem;
  line-height: 1.5;
}

.devgamm-link {
  display: inline-block;
  margin-top: 8px;
  padding-block: 4px;
  color: var(--amber);
  font-size: 0.82rem;
  line-height: 1.4;
  text-underline-offset: 3px;
}

.section.devgamm-press {
  padding-block: clamp(28px, 4vw, 48px);
}

.devgamm-card {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(255, 194, 77, 0.3);
  border-left: 3px solid var(--amber);
  background: #061022;
}

.devgamm-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 16px;
  border: 1px solid var(--line);
  background: var(--line);
}

.devgamm-timeline > div {
  min-width: 0;
  padding: 14px 16px;
  background: #07182f;
}

.devgamm-timeline dt {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.devgamm-timeline dd {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.devgamm-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.devgamm-card-links .devgamm-link {
  margin-top: 0;
}

.devgamm-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-top: 20px;
}

.devgamm-downloads .pixel-button {
  flex-direction: column;
  gap: 5px;
}

.devgamm-download-meta {
  color: var(--muted);
  font: 0.72rem/1.4 var(--body);
  text-transform: none;
}

.competition-strip {
  border-bottom: 1px solid rgba(55, 127, 169, 0.22);
  background: #030a18;
}

.competition-strip-inner {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 52px);
  row-gap: 8px;
  padding-block: clamp(20px, 2.5vw, 28px);
}

.competition-strip-title {
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--cyan);
  font: 0.72rem/1.45 var(--pixel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.competition-program-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
  list-style: none;
}

.competition-program-list li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.competition-program-list li::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  content: "";
  background: var(--amber);
}

.competition-strip-note {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.artist-credit-strip {
  border-bottom: 1px solid rgba(255, 67, 166, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 31, 155, 0.07), transparent 52%),
    #020713;
}

.artist-credit-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 26px);
  padding-block: clamp(14px, 2vw, 20px);
}

.artist-credit-logo {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  overflow: hidden;
  border: 1px solid rgba(255, 67, 166, 0.62);
  background: #000014;
  box-shadow: 0 0 18px rgba(255, 31, 155, 0.16);
}

.artist-credit-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-credit-copy {
  min-width: 0;
}

.artist-credit-title {
  margin: 0 0 4px;
  color: #ff72bc;
  font: 0.68rem/1.35 var(--pixel);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.artist-credit-body {
  max-width: 72ch;
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.5;
}

.artist-credit-link {
  display: inline-block;
  margin-top: 5px;
  color: var(--cyan);
  font: 0.67rem/1.45 var(--pixel);
  letter-spacing: 0.02em;
}

.section {
  position: relative;
  padding-block: clamp(76px, 10vw, 140px);
  border-bottom: 1px solid rgba(55, 127, 169, 0.22);
}

.section.alt {
  background:
    linear-gradient(135deg, rgba(85, 221, 255, 0.025) 25%, transparent 25%) 0 0 / 14px 14px,
    linear-gradient(315deg, rgba(85, 221, 255, 0.018) 25%, transparent 25%) 0 0 / 14px 14px,
    #030a18;
}

.home-serious {
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49px, rgba(85, 221, 255, 0.022) 50px) 0 0 / 50px 50px,
    linear-gradient(0deg, transparent 49px, rgba(85, 221, 255, 0.022) 50px) 0 0 / 50px 50px;
}

.home-serious .section-heading {
  margin-bottom: 34px;
}

.future-scene {
  position: relative;
  isolation: isolate;
  height: clamp(210px, 27vw, 286px);
  margin: 0 0 26px;
  overflow: hidden;
  border: 2px solid #245a82;
  background:
    linear-gradient(180deg, rgba(2, 7, 21, 0.16) 0 42%, rgba(2, 7, 17, 0.72) 88%),
    var(--refinery-art) 50% 62% / cover no-repeat;
  box-shadow:
    7px 7px 0 rgba(0, 2, 9, 0.72),
    inset 0 0 0 4px rgba(3, 12, 29, 0.78),
    inset 0 0 52px rgba(1, 5, 15, 0.36);
  image-rendering: pixelated;
}

.future-scene::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 47px;
  left: 8px;
  height: 1px;
  background: rgba(85, 221, 255, 0.55);
  box-shadow: 0 -2px 0 rgba(2, 8, 19, 0.86), 0 3px 0 rgba(2, 8, 19, 0.92);
}

.future-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(1, 4, 13, 0.12) 3px 4px),
    linear-gradient(90deg, transparent, rgba(85, 221, 255, 0.04), transparent);
}

.coop-demo-hud {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 14px;
  left: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #b6c8d9;
  font: clamp(0.43rem, 1.1vw, 0.58rem)/1.2 var(--pixel);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0 #01050d;
}

.coop-live,
.coop-power {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(85, 221, 255, 0.34);
  background: rgba(2, 8, 22, 0.84);
  box-shadow: inset 2px 0 0 rgba(85, 221, 255, 0.28);
}

.coop-live i {
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: indicator-blink 1.4s steps(2, end) infinite;
}

.coop-power strong {
  color: var(--amber);
  font-weight: 400;
}

.coop-charge {
  position: absolute;
  top: 53px;
  left: 50%;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(76px, 12vw) auto;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  color: #dce9ef;
  background: rgba(2, 8, 22, 0.75);
  font: clamp(0.38rem, 0.85vw, 0.5rem)/1 var(--pixel);
  transform: translateX(-50%);
  white-space: nowrap;
}

.coop-charge > i {
  display: block;
  width: 100%;
  height: 6px;
  padding: 1px;
  border: 1px solid rgba(85, 221, 255, 0.65);
}

.coop-charge b {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 7px rgba(85, 221, 255, 0.58);
  animation: coop-charge-pulse 2.6s steps(4, end) infinite alternate;
}

.coop-charge strong {
  color: var(--green);
  font-weight: 400;
}

.coop-road {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 48px;
  background:
    repeating-linear-gradient(90deg, transparent 0 33px, rgba(113, 139, 155, 0.45) 33px 57px, transparent 57px 88px) 0 27px / auto 3px no-repeat,
    linear-gradient(180deg, rgba(8, 22, 34, 0.96), #020712);
  border-top: 2px solid #2d5268;
}

.coop-rider {
  --rider-accent: var(--cyan);
  position: absolute;
  z-index: 5;
  bottom: 27px;
  width: clamp(58px, 8vw, 88px);
  filter: drop-shadow(2px 3px 0 rgba(0, 3, 10, 0.9));
  animation: coop-rider-bob 0.44s steps(2, end) infinite alternate;
}

.coop-avatar-canvas {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.24);
  transform-origin: 50% 100%;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.coop-rider-tag {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 18px;
  padding: 3px 5px;
  border: 1px solid var(--rider-accent);
  color: #edf7f6;
  background: rgba(2, 8, 21, 0.92);
  box-shadow: 2px 2px 0 rgba(0, 2, 8, 0.82);
  font: clamp(0.4rem, 0.8vw, 0.52rem)/1 var(--pixel);
  letter-spacing: 0.02em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.coop-rider-org {
  max-width: 100%;
  overflow: hidden;
  color: var(--rider-accent);
  font-size: 0.78em;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
}

.coop-rider-name {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.coop-rider-tag::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 5px;
  background: var(--rider-accent);
}

.coop-flag {
  display: inline-block;
  width: 12px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.flag-sk { background: linear-gradient(#fff 0 33%, #2454c6 33% 66%, #e43c48 66%); }
.flag-de { background: linear-gradient(#101010 0 33%, #e3383e 33% 66%, #f6c744 66%); }
.flag-es { background: linear-gradient(#d62f37 0 26%, #f2c542 26% 74%, #d62f37 74%); }
.flag-fr { background: linear-gradient(90deg, #2558b8 0 33%, #fff 33% 66%, #e63b45 66%); }

.coop-rider-ema { left: 5%; --rider-accent: #ff8cba; animation-delay: -0.12s; }
.coop-rider-ana { left: 29%; --rider-accent: #61e6a8; animation-delay: -0.34s; }
.coop-rider-joseph { left: 53%; --rider-accent: #55ddff; animation-delay: -0.22s; }
.coop-rider-leo { left: 77%; --rider-accent: #ff7a45; animation-delay: -0.41s; }
.coop-rider-ana { animation-name: coop-rider-hop; animation-duration: 2.8s; animation-timing-function: steps(8, end); }

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading h2,
.page-hero h1 {
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  line-height: 1.04;
}

.section-heading p,
.page-intro {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

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

.feature-card,
.content-card,
.fact-card,
.asset-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(12, 37, 70, 0.72), rgba(4, 13, 29, 0.94));
  box-shadow: 7px 7px 0 rgba(0, 2, 9, 0.72);
}

.feature-card {
  min-height: 250px;
  overflow: hidden;
  padding: 26px 25px 28px;
}

.feature-card::before {
  content: attr(data-index);
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--amber);
  font: 0.65rem/1 var(--pixel);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 104px;
  height: 72px;
  opacity: 0.22;
  background: repeating-linear-gradient(135deg, var(--line-bright) 0 5px, transparent 5px 12px);
  transform: skewX(-18deg);
  pointer-events: none;
}

.feature-picto {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border: 1px solid var(--line-bright);
  background: #061830;
  box-shadow: 4px 4px 0 #010611, inset 0 0 0 3px rgba(85, 221, 255, 0.035);
}

.feature-picto::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 5px;
  height: 5px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: indicator-blink 1.9s steps(2, end) infinite;
}

.feature-picto-air,
.feature-picto-green,
.feature-picto-people {
  background-color: #061830;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60px 60px;
  image-rendering: pixelated;
}

.feature-picto-air { background-image: url("/assets/icons/feature-clean-air.svg"); }
.feature-picto-green { background-image: url("/assets/icons/feature-green-city.svg"); }
.feature-picto-people { background-image: url("/assets/icons/feature-public-space.svg"); }

.feature-picto > i { display: none; }

.feature-card h3,
.content-card h2,
.content-card h3,
.fact-card h2,
.asset-card h3 {
  font: 1rem/1.35 var(--pixel);
}

.feature-card p,
.content-card p,
.asset-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.gameplay-layout,
.social-layout,
.support-final,
.publisher-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.gameplay-section {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(85, 221, 255, 0.025) 25%, transparent 25%) 0 0 / 14px 14px,
    radial-gradient(circle at 10% 40%, rgba(22, 97, 141, 0.16), transparent 28rem),
    #030a18;
}

.poster-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 560px);
  margin-inline: auto;
  padding: 26px 16px 35px;
}

.poster-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border: 1px solid rgba(55, 127, 169, 0.38);
  background:
    linear-gradient(90deg, transparent 19px, rgba(85, 221, 255, 0.045) 20px) 0 0 / 20px 20px,
    linear-gradient(0deg, transparent 19px, rgba(85, 221, 255, 0.045) 20px) 0 0 / 20px 20px,
    rgba(3, 13, 29, 0.72);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.poster-stage::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: 18%;
  z-index: -1;
  width: 104px;
  height: 5px;
  background: var(--orange);
  box-shadow: -24px 14px 0 var(--amber), 13px 28px 0 #1d86ae;
  animation: speed-lines 2.4s steps(4, end) infinite;
}

.poster-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-inline: auto;
  overflow: hidden;
  border: 2px solid var(--line-bright);
  padding: 7px;
  background: #031026;
  box-shadow: 11px 11px 0 #01030a, 0 0 60px rgba(38, 138, 190, 0.18);
}

.poster-frame::before,
.poster-frame::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--cyan);
}

.poster-frame::before {
  top: -5px;
  left: -5px;
}

.poster-frame::after {
  right: -5px;
  bottom: -5px;
  background: var(--orange);
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 83%;
  image-rendering: pixelated;
}

.poster-frame > picture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.poster-moon {
  position: absolute;
  top: 2px;
  left: 7px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #bed5e0;
  box-shadow: inset -7px -3px 0 #6d879b, 0 0 16px rgba(164, 239, 255, 0.55);
}

.poster-ufo {
  position: absolute;
  top: 14px;
  right: 30px;
  z-index: 4;
  width: 38px;
  height: 12px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: #163c60;
  box-shadow: 0 4px 0 #061329, 0 8px 12px rgba(85, 221, 255, 0.34);
  animation: ufo-patrol-small 5.5s ease-in-out infinite;
}

.poster-ufo::before {
  content: "";
  position: absolute;
  left: 11px;
  bottom: 7px;
  width: 12px;
  height: 7px;
  border: 2px solid var(--cyan-soft);
  border-bottom: 0;
  background: rgba(85, 221, 255, 0.28);
}

.poster-hud {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  height: 22px;
  margin-top: 14px;
  padding-inline: 8px;
}

.hud-heart {
  width: 8px;
  height: 8px;
  background: var(--orange);
  box-shadow: 8px 0 0 var(--orange), 0 8px 0 var(--orange), 8px 8px 0 var(--orange), 4px 13px 0 var(--orange);
  transform: rotate(45deg) scale(0.7);
}

.hud-line {
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 22px, rgba(55, 127, 169, 0.25) 22px 30px);
}

.hud-signal {
  width: 5px;
  height: 5px;
  background: var(--green);
  box-shadow: 7px -3px 0 rgba(97, 230, 168, 0.72), 14px -7px 0 rgba(97, 230, 168, 0.42);
  animation: indicator-blink 1.4s steps(2, end) infinite;
}

.gameplay-list {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.gameplay-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  align-items: center;
  min-width: 0;
  padding: 12px 14px 12px 10px;
  border: 1px solid rgba(55, 127, 169, 0.32);
  border-left: 3px solid var(--line-bright);
  background: linear-gradient(90deg, rgba(12, 40, 72, 0.72), rgba(4, 13, 29, 0.42));
}

.gameplay-picto {
  position: relative;
  display: block;
  width: 56px;
  height: 52px;
  border: 1px solid var(--cyan);
  background: #071a34;
  box-shadow: 3px 3px 0 #01050d;
}

.gameplay-picto::after {
  content: attr(data-step);
  position: absolute;
  top: 4px;
  right: 4px;
  color: var(--cyan);
  font: 0.42rem/1 var(--pixel);
}

.picto-bike,
.picto-barrel,
.picto-ufo {
  background-color: #071a34;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 94%;
  image-rendering: pixelated;
}

.picto-bike { background-image: url("/assets/icons/game-rider.svg"); }
.picto-barrel { background-image: url("/assets/icons/game-barrel.svg"); }
.picto-ufo { background-image: url("/assets/icons/game-exocom.svg"); }

.gameplay-item h3 {
  font: 0.85rem/1.4 var(--pixel);
}

.gameplay-item p {
  margin: 5px 0 0;
  color: var(--muted);
}

.game-time {
  display: inline-flex;
  margin-top: 25px;
  padding: 10px 14px;
  border-left: 4px solid var(--green);
  color: var(--green);
  background: rgba(97, 230, 168, 0.07);
  font: 0.63rem/1.5 var(--pixel);
  text-transform: uppercase;
}

.multiplayer-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(85, 221, 255, 0.58);
  color: var(--text);
  background:
    radial-gradient(circle at 86% 50%, rgba(85, 221, 255, 0.15), transparent 17rem),
    linear-gradient(135deg, #071a31, #06101e 68%);
  box-shadow:
    inset 0 0 0 3px rgba(85, 221, 255, 0.04),
    0 22px 70px rgba(0, 0, 0, 0.24);
}

.multiplayer-card::after {
  content: "";
  position: absolute;
  right: 7%;
  top: 50%;
  width: 132px;
  height: 70px;
  border: 7px solid rgba(85, 221, 255, 0.18);
  border-radius: 28px 28px 42px 42px;
  background:
    radial-gradient(circle, rgba(97, 230, 168, 0.56) 0 6px, transparent 7px) 91px 20px / 18px 18px no-repeat,
    radial-gradient(circle, rgba(85, 221, 255, 0.42) 0 6px, transparent 7px) 105px 33px / 18px 18px no-repeat;
  transform: translateY(-50%) rotate(-7deg);
}

.multiplayer-card::before {
  content: "+";
  position: absolute;
  top: 50%;
  right: calc(7% + 91px);
  z-index: 1;
  color: rgba(85, 221, 255, 0.36);
  font: 2.5rem/1 var(--pixel);
  transform: translateY(-58%) rotate(-7deg);
}

.multiplayer-card h2 {
  color: var(--text);
  font: clamp(1.3rem, 3vw, 2.2rem)/1.1 var(--pixel);
}

.multiplayer-card p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.multiplayer-copy {
  position: relative;
  z-index: 2;
}

.multiplayer-copy .status-badge {
  display: inline-flex;
  margin-bottom: 17px;
  border-color: rgba(97, 230, 168, 0.62);
  color: var(--green);
  background: rgba(97, 230, 168, 0.08);
}

.multiplayer-cta {
  position: relative;
  z-index: 2;
  min-width: 146px;
}

.status-badge {
  position: relative;
  z-index: 1;
  padding: 12px 15px;
  border: 1px solid #4a5d73;
  background: #0d1928;
  font: 0.62rem/1.4 var(--pixel);
  text-transform: uppercase;
}

.social-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.social-visual::before,
.social-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  pointer-events: none;
}

.social-visual::before {
  top: 14%;
  left: 8%;
  background: var(--orange);
  box-shadow: 9px 0 0 var(--orange), 0 9px 0 var(--orange), 9px 9px 0 var(--orange), 5px 15px 0 var(--orange);
  transform: rotate(45deg);
  animation: social-pixel-float 3.2s steps(3, end) infinite alternate;
}

.social-visual::after {
  right: 6%;
  bottom: 17%;
  border: 3px solid var(--cyan);
  background: #082343;
  box-shadow: 8px -8px 0 -3px #082343, 8px -8px 0 0 var(--cyan);
  animation: social-pixel-float 3.7s steps(3, end) -1.8s infinite alternate;
}

.social-avatar {
  position: relative;
  width: min(350px, 78vw);
  aspect-ratio: 1;
  border: 8px solid #071429;
  outline: 2px solid var(--line-bright);
  border-radius: 23%;
  overflow: hidden;
  box-shadow: 14px 14px 0 #01030b, 0 0 70px rgba(85, 221, 255, 0.16);
}

.social-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.social-avatar > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.final-cta {
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 107, 47, 0.24), transparent 45%),
    linear-gradient(180deg, #06142e, #020611);
}

.final-cta::before {
  content: "";
  position: absolute;
  bottom: -55px;
  left: clamp(-30px, 7vw, 110px);
  width: clamp(120px, 17vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.7;
  background: repeating-linear-gradient(0deg, #ff6c2f 0 10px, transparent 10px 16px), linear-gradient(#ffe17a, #ff6c2f);
  box-shadow: 0 0 48px rgba(255, 108, 47, 0.28);
}

.final-cta::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  opacity: 0.18;
  background:
    repeating-linear-gradient(90deg, transparent 0 58px, var(--cyan) 59px 60px),
    repeating-linear-gradient(0deg, transparent 0 18px, var(--cyan) 19px 20px);
  transform: perspective(160px) rotateX(54deg) scaleX(1.35);
  transform-origin: bottom;
}

.final-cta .section-inner {
  position: relative;
  z-index: 1;
}

.final-cta .section-heading {
  margin-inline: auto;
}

.final-cta .section-heading p {
  margin-inline: auto;
}

.final-cta .action-row {
  justify-content: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 12vw, 150px) clamp(70px, 9vw, 110px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(2, 6, 17, 0.93), rgba(2, 6, 17, 0.67)),
    var(--refinery-art) center 68% / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, var(--night-950));
}

.page-hero .section-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  text-shadow: 0 4px 0 #0a294d, 0 8px 0 #01030b;
}

.content-stack {
  display: grid;
  gap: 24px;
}

.content-card {
  padding: clamp(26px, 5vw, 50px);
}

.content-card.accent {
  border-color: var(--amber);
  background: linear-gradient(145deg, rgba(63, 38, 20, 0.58), rgba(8, 14, 28, 0.96));
}

.content-card.legal {
  border-left: 6px solid var(--cyan);
}

.content-card p:first-of-type {
  color: #d5e0ed;
}

.support-final {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--green);
  background: linear-gradient(140deg, rgba(29, 86, 70, 0.35), rgba(5, 16, 32, 0.95));
  box-shadow: 8px 8px 0 #01100d;
}

.support-final h2 {
  font: clamp(1.15rem, 2.5vw, 2rem)/1.3 var(--pixel);
}

.support-final p {
  margin: 14px 0 0;
  color: var(--muted);
}

.fine-print {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.fact-card {
  padding: 23px;
}

.fact-card dt {
  color: var(--cyan);
  font: 0.61rem/1.4 var(--pixel);
  text-transform: uppercase;
}

.fact-card dd {
  margin: 9px 0 0;
  color: #e4eaf1;
}

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

.approved-asset-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asset-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.asset-preview {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #01050e;
}

.asset-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.asset-card.square .asset-preview img {
  object-position: center 34%;
}

.logo-preview {
  display: grid;
  place-items: center;
  padding: clamp(20px, 3.5vw, 42px);
  background:
    linear-gradient(45deg, rgba(85, 221, 255, 0.035) 25%, transparent 25%, transparent 75%, rgba(85, 221, 255, 0.035) 75%) 0 0 / 20px 20px,
    linear-gradient(45deg, rgba(85, 221, 255, 0.035) 25%, transparent 25%, transparent 75%, rgba(85, 221, 255, 0.035) 75%) 10px 10px / 20px 20px,
    #01050e;
}

.logo-preview img {
  object-fit: contain;
}

.asset-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.asset-body .asset-downloads .pixel-button {
  flex: 1 1 108px;
  margin-top: 0;
}

.screenshot-grid .asset-preview {
  aspect-ratio: 16 / 9;
}

.screenshot-grid .portrait-asset-card {
  grid-column: 1 / -1;
  width: min(100%, 420px);
  justify-self: center;
}

.screenshot-grid .portrait-asset-card .asset-preview {
  aspect-ratio: 9 / 16;
}

.asset-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.asset-body .pixel-button {
  margin-top: auto;
}

.publisher-layout {
  padding: clamp(28px, 5vw, 55px);
  border: 1px solid var(--line);
  background: #061329;
}

.publisher-signal {
  display: grid;
  place-items: center;
  width: min(260px, 62vw);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 2px solid var(--cyan);
  box-shadow: 12px 12px 0 #01030b;
  color: var(--cyan-soft);
  background:
    linear-gradient(90deg, transparent 48%, rgba(85, 221, 255, 0.15) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(85, 221, 255, 0.15) 49% 51%, transparent 52%),
    radial-gradient(circle, transparent 0 29%, rgba(85, 221, 255, 0.13) 30% 31%, transparent 32% 58%, rgba(85, 221, 255, 0.16) 59% 60%, transparent 61%),
    #05162e;
  font: 2rem/1 var(--pixel);
}

.site-footer {
  padding-block: 52px max(52px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #01040c;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 32px;
  align-items: end;
}

.footer-brand {
  font: 0.76rem/1.5 var(--pixel);
}

.footer-disclaimer {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  font: 0.59rem/1.5 var(--pixel);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cyan);
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(55, 127, 169, 0.2);
  color: #60738d;
  font-size: 0.78rem;
}

.is-unavailable {
  opacity: 0.68;
  cursor: default;
}

@keyframes star-twinkle {
  to { opacity: 0.8; filter: brightness(1.35); }
}

@keyframes moon-float {
  to { transform: translateY(9px) rotate(2deg); }
}

@keyframes ufo-patrol {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  45% { transform: translate(-42px, 14px) rotate(3deg); }
  65% { transform: translate(-26px, -7px) rotate(0); }
}

@keyframes cloud-drift {
  from { transform: translateX(-12px); }
  to { transform: translateX(38px); }
}

@keyframes smoke-puff {
  0% { transform: translate(0, 4px); opacity: 0.18; }
  55% { opacity: 0.48; }
  100% { transform: translate(15px, -11px); opacity: 0.08; }
}

@keyframes bike-roll {
  from { transform: translateX(-18px); }
  to { transform: translateX(28px); }
}

@keyframes indicator-blink {
  50% { opacity: 0.32; filter: brightness(0.72); }
}

@keyframes speed-lines {
  0%, 100% { transform: translateX(12px); opacity: 0.2; }
  45% { transform: translateX(-28px); opacity: 0.8; }
}

@keyframes ufo-patrol-small {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  50% { transform: translate(-16px, 6px) rotate(3deg); }
}

@keyframes social-pixel-float {
  from { translate: 0 6px; }
  to { translate: 0 -8px; }
}

@keyframes coop-rider-bob {
  from { transform: translateY(0); }
  to { transform: translateY(-2px); }
}

@keyframes coop-rider-hop {
  0%, 38%, 100% { transform: translateY(0); }
  48%, 62% { transform: translateY(-15px) rotate(-2deg); }
  70% { transform: translateY(-5px); }
}

@keyframes coop-charge-pulse {
  from { width: 68%; filter: brightness(0.82); }
  to { width: 76%; filter: brightness(1.18); }
}

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

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 7, 19, 0.98);
  }

  .site-nav[data-open="true"] { display: flex; }

  .site-nav a {
    justify-content: flex-start;
    min-height: 48px;
    border-bottom-color: rgba(55, 127, 169, 0.14);
  }

  .language-control {
    width: 100%;
    margin: 14px 0 0;
  }

  .language-control select { flex: 1; }

  .hero {
    min-height: max(720px, calc(100svh - var(--header-height)));
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(30px, 5vw, 44px);
  }

  .hero-copy {
    max-width: 730px;
  }

  .hero-video-panel {
    max-width: 720px;
    justify-self: start;
  }

  .hero-backdrop {
    background:
      linear-gradient(90deg, rgba(1, 4, 13, 0.92), rgba(1, 5, 15, 0.48)),
      linear-gradient(180deg, rgba(1, 4, 13, 0.04) 48%, rgba(1, 4, 13, 0.95) 100%),
      var(--refinery-art) 62% center / cover no-repeat;
  }

  .feature-grid,
  .facts-grid,
  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gameplay-layout,
  .social-layout,
  .publisher-layout {
    grid-template-columns: 1fr;
  }

  .poster-stage { width: min(100%, 680px); }

  .poster-frame { width: 100%; }

  .support-final {
    grid-template-columns: 1fr;
  }

  .support-final .pixel-button { justify-self: start; }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(100% - 28px, var(--content));
  }

  .brand-mark {
    font-size: 0.66rem;
  }

  .brand-pixel {
    width: 27px;
    height: 27px;
  }

  .hero {
    min-height: max(680px, calc(100svh - var(--header-height)));
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(1, 4, 13, 0.48) 0%, rgba(1, 4, 13, 0.7) 48%, rgba(1, 4, 13, 0.98) 100%),
      var(--refinery-art) 62% center / auto 100% no-repeat;
  }

  .hero-inner {
    display: grid;
    align-content: end;
    align-items: initial;
    gap: 28px;
    min-height: inherit;
    padding-top: 124px;
    padding-bottom: 52px;
  }

  .hero-moon {
    top: 45px;
    right: 20px;
    width: 76px;
  }

  .hero-ufo {
    top: 115px;
    right: 35%;
  }

  h1 { font-size: clamp(2.25rem, 13.8vw, 4rem); }

  .hero-summary {
    margin-top: 24px;
    font-size: 1rem;
  }

  .hero-actions,
  .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pixel-button { width: 100%; }

  .hero-meta {
    display: grid;
    gap: 10px;
  }

  .hero-video-panel {
    width: 100%;
  }

  .hero-video-viewport {
    min-height: 200px;
  }

  .hero-video-label {
    font-size: 0.54rem;
  }

  .hero-video-status {
    font-size: 0.49rem;
  }

  .devgamm-feature-inner,
  .devgamm-card-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .devgamm-logos {
    width: 100%;
    max-width: 400px;
  }

  .devgamm-timeline {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .devgamm-timeline > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
  }

  .devgamm-timeline dd {
    margin-top: 0;
    text-align: right;
  }

  .devgamm-downloads {
    grid-template-columns: 1fr;
  }

  .competition-strip-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 18px;
  }

  .competition-strip-title {
    grid-row: auto;
  }

  .competition-program-list {
    gap: 3px 12px;
    font-size: 0.86rem;
  }

  .competition-strip-note {
    grid-column: 1;
    font-size: 0.72rem;
  }

  .artist-credit-inner {
    gap: 14px;
    padding-block: 14px;
  }

  .artist-credit-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .artist-credit-title {
    font-size: 0.62rem;
  }

  .artist-credit-body {
    font-size: 0.8rem;
  }

  .artist-credit-link {
    font-size: 0.62rem;
  }

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

  .section {
    padding-block: 56px;
  }

  .home-serious .section-heading {
    margin-bottom: 24px;
  }

  .home-serious .section-heading p {
    margin-top: 13px;
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .future-scene {
    height: 220px;
    margin-bottom: 18px;
    background-position: 50% 62%;
  }

  .coop-demo-hud {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .coop-live,
  .coop-power {
    padding: 6px;
  }

  .coop-charge {
    top: 46px;
    grid-template-columns: minmax(70px, 24vw) auto;
  }

  .coop-charge > span { display: none; }

  .coop-rider {
    bottom: 29px;
    width: clamp(54px, 17vw, 70px);
  }

  .coop-rider-ema { left: 1%; }
  .coop-rider-ana { left: 25%; }
  .coop-rider-joseph { left: 50%; }
  .coop-rider-leo { left: 74%; }

  .coop-rider-tag {
    width: clamp(52px, 19vw, 68px);
    min-height: 16px;
    padding: 3px 4px;
    font-size: clamp(0.34rem, 1.7vw, 0.45rem);
  }

  .coop-rider-name { gap: 3px; }

  .coop-rider-joseph .coop-rider-tag {
    width: clamp(62px, 21vw, 74px);
    bottom: calc(100% + 25px);
  }

  .coop-rider-ema .coop-rider-tag {
    left: 0;
    transform: none;
  }

  .coop-rider-ema .coop-rider-tag::after { left: 24px; }

  .coop-rider-leo .coop-rider-tag {
    right: 0;
    left: auto;
    width: clamp(62px, 21vw, 74px);
    transform: none;
  }

  .coop-rider-leo .coop-rider-tag::after {
    right: 24px;
    left: auto;
  }

  .coop-flag {
    width: 10px;
    height: 7px;
  }

  .feature-grid {
    gap: 12px;
  }

  .feature-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 16px;
    min-height: 0;
    padding: 18px 35px 18px 16px;
  }

  .feature-picto {
    grid-row: 1 / 3;
    margin: 0;
  }

  .feature-card h3 {
    align-self: end;
    font-size: 0.8rem;
  }

  .feature-card p {
    margin-top: 7px;
    font-size: 0.88rem;
    line-height: 1.44;
  }

  .gameplay-layout {
    gap: 28px;
  }

  .poster-stage {
    width: 100%;
    padding: 22px 8px 28px;
  }

  .poster-frame {
    aspect-ratio: 16 / 9;
    padding: 5px;
  }

  .poster-frame img {
    object-position: center 84%;
  }

  .poster-moon {
    left: 1px;
    width: 29px;
    height: 29px;
  }

  .poster-ufo { right: 18px; }

  .gameplay-section .section-heading {
    margin-bottom: 20px;
  }

  .gameplay-section .section-heading p {
    margin-top: 13px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .gameplay-section .eyebrow {
    margin-bottom: 12px;
  }

  .gameplay-list {
    gap: 8px;
    margin-top: 0;
  }

  .gameplay-item {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 10px 9px 8px;
  }

  .gameplay-picto {
    width: 48px;
    height: 46px;
    transform: scale(0.9);
    transform-origin: left center;
  }

  .gameplay-item h3 {
    font-size: 0.72rem;
  }

  .gameplay-item p {
    margin-top: 3px;
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .game-time {
    margin-top: 15px;
    padding: 8px 11px;
  }

  .multiplayer-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .status-badge { justify-self: start; }

  .multiplayer-card::before,
  .multiplayer-card::after {
    opacity: 0.72;
  }

  .section-heading { margin-bottom: 34px; }

  .social-layout { gap: 32px; }

  .social-avatar {
    width: min(230px, 64vw);
  }

  .final-cta::before {
    left: -38px;
    opacity: 0.44;
  }

  .footer-inner { grid-template-columns: 1fr; }

  .footer-links { justify-content: flex-start; }

  .page-hero {
    padding-block: 78px 64px;
    background:
      linear-gradient(180deg, rgba(2, 6, 17, 0.55), rgba(2, 6, 17, 0.95)),
      var(--refinery-art) 62% center / auto 100% no-repeat;
  }
}

@media (max-width: 340px) {
  .brand-mark span:last-child { max-width: 152px; white-space: normal; line-height: 1.2; }
  .header-inner { gap: 10px; }
  .feature-card, .content-card, .fact-card { padding: 22px 18px; }
  h1 { font-size: 2.12rem; }
}

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

  .coop-rider,
  .coop-charge b,
  .coop-live i,
  .hero-video-signal,
  .hero-video-loading-dots i,
  .poster-stage::after,
  .poster-ufo,
  .feature-picto::after,
  .hud-signal,
  .social-visual::before,
  .social-visual::after {
    animation: none !important;
  }

  .coop-rider,
  .poster-stage::after,
  .poster-ufo {
    transform: none;
  }
}

@media (forced-colors: active) {
  .language-control,
  .language-control select,
  .language-control select option {
    color: CanvasText;
    background: Canvas;
  }

  .language-control {
    border-color: ButtonText;
  }

  .language-control::before {
    color: CanvasText;
  }

  .pixel-button,
  .feature-card,
  .content-card,
  .fact-card,
  .asset-card,
  .support-final {
    border: 2px solid ButtonText;
  }

  .devgamm-feature,
  .devgamm-card,
  .devgamm-timeline,
  .hero-video-viewport {
    border-color: CanvasText;
  }

  .hero-video-play,
  .hero-video-loading {
    color: ButtonText;
    background: ButtonFace;
    border-color: ButtonText;
    forced-color-adjust: auto;
  }

  .devgamm-logos {
    padding: 8px;
    background: #061022;
    forced-color-adjust: none;
  }

  .competition-strip {
    border-color: CanvasText;
  }

  .artist-credit-strip {
    border-color: CanvasText;
    background: Canvas;
  }

  .artist-credit-logo {
    border: 2px solid LinkText;
    box-shadow: none;
  }

  .competition-program-list li::before {
    background: CanvasText;
  }
}
