:root {
  color-scheme: dark;
  --bg: #0a1022;
  --bg-2: #15113a;
  --bg-3: #21164a;
  --surface: rgba(18, 23, 48, 0.82);
  --surface-2: rgba(28, 30, 62, 0.9);
  --surface-3: rgba(245, 239, 217, 0.08);
  --ink: #f6efd9;
  --ink-soft: #e4dcc6;
  --muted: #bab2cf;
  --line: rgba(246, 239, 217, 0.14);
  --line-strong: rgba(246, 239, 217, 0.24);
  --amber: #ffd978;
  --mint: #59f2d4;
  --coral: #ff6f8a;
  --blue: #7bbcff;
  --purple: #a994ff;
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(10, 16, 34, 0.98), rgba(25, 20, 67, 0.96) 52%, rgba(16, 28, 64, 0.98)),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246, 239, 217, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 239, 217, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, transparent 0 30%, rgba(123, 188, 255, 0.1) 30% 31%, transparent 31% 58%, rgba(169, 148, 255, 0.12) 58% 59%, transparent 59%);
  background-size: 88px 88px, 88px 88px, auto;
}

::selection {
  color: #0a1022;
  background: var(--amber);
}

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

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p,
strong,
span,
td,
th,
code {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 10px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 16, 34, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 5px;
}

.nav a,
.button,
.copy-code,
.board-tab,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-3);
}

.button.primary {
  color: #0a1022;
  background: var(--amber);
}

.button.secondary,
.copy-code,
.board-tab,
.filter-chip {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(246, 239, 217, 0.07);
  cursor: pointer;
}

.button.secondary:hover,
.copy-code:hover,
.board-tab:hover,
.filter-chip:hover {
  border-color: var(--line-strong);
  background: rgba(246, 239, 217, 0.11);
}

.board-tab.is-active,
.filter-chip.is-active {
  color: #0a1022;
  border-color: transparent;
  background: var(--mint);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero,
.page-hero {
  padding: clamp(42px, 7vw, 84px) 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: stretch;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.lead {
  max-width: 740px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.hero-actions,
.control-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.status-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-note,
.build-log {
  position: relative;
  margin-top: 20px;
  padding: 14px 15px;
  border: 1px dashed rgba(255, 217, 120, 0.36);
  border-radius: 8px;
  color: var(--ink-soft);
  background:
    linear-gradient(180deg, rgba(255, 217, 120, 0.09), rgba(246, 239, 217, 0.045)),
    rgba(18, 23, 48, 0.74);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.project-note::before,
.build-log::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 74px;
  height: 12px;
  border-radius: 2px;
  background: rgba(255, 217, 120, 0.18);
  transform: rotate(-2deg);
}

.project-note span,
.build-log span {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
}

.project-note p,
.build-log {
  margin-bottom: 0;
  line-height: 1.55;
}

.build-log {
  max-width: 760px;
}

.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 239, 217, 0.05);
}

.status-row span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.status-row strong {
  color: var(--ink);
  font-size: 1rem;
}

.metric-grid,
.feature-grid,
.game-grid,
.shop-grid,
.fair-grid,
.sponsor-grid {
  display: grid;
  gap: 12px;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 38px;
}

.metric-card,
.link-card,
.game-card,
.reward-card,
.info-card,
.fair-card,
.sponsor-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.metric-card {
  min-height: 126px;
  padding: 18px;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: 30px 0;
}

.section-head {
  max-width: 800px;
  margin-bottom: 18px;
}

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

.social-launch {
  padding-top: 20px;
}

.social-launch-grid,
.updates-grid {
  display: grid;
  gap: 12px;
}

.social-launch-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.updates-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-card,
.update-card {
  min-height: 176px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.social-card > span,
.update-card > span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 900;
}

.social-card .button {
  margin-top: auto;
}

.update-card {
  min-height: 150px;
  border-style: dashed;
}

.update-card > span {
  color: var(--amber);
}

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

.demo-step {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.demo-step > span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--amber);
  font-size: 1.35rem;
  font-weight: 950;
}

.demo-step .button {
  margin-top: 10px;
}

.link-card,
.info-card,
.fair-card,
.sponsor-card {
  min-height: 170px;
  padding: 20px;
}

.link-card h3 {
  color: var(--ink);
}

.info-card h2,
.fair-card h2,
.sponsor-card h2 {
  font-size: 1.22rem;
  line-height: 1.2;
}

.link-card p,
.info-card p,
.fair-card p,
.sponsor-card p {
  margin-bottom: 18px;
}

.link-card span {
  color: var(--amber);
  font-weight: 850;
}

.link-card:hover,
.game-card:hover,
.crosshair-card:hover,
.reward-card:hover,
.rank-card:hover,
.sponsor-card:hover,
.fair-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(22, 27, 58, 0.9);
}

.game-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.game-card {
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 18px;
}

.game-card.is-active {
  border-color: rgba(255, 217, 120, 0.65);
  background: rgba(33, 26, 76, 0.92);
}

.game-card.is-featured {
  border-color: rgba(89, 242, 212, 0.44);
}

.card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}

.card-kicker span {
  color: var(--purple);
  font-size: 1.4rem;
  font-weight: 950;
}

.card-kicker b,
.price {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 7px;
  color: #0a1022;
  background: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.featured-label {
  display: inline-flex;
  width: fit-content;
  margin: -12px 0 12px;
  padding: 5px 8px;
  border: 1px solid rgba(89, 242, 212, 0.34);
  border-radius: 7px;
  color: var(--mint);
  background: rgba(89, 242, 212, 0.08);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.game-card dl {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 6px 10px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.play-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin-top: auto;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #0a1022;
  background: var(--amber);
  cursor: pointer;
  font-weight: 900;
}

.play-game:hover {
  background: #ffe39b;
}

.game-play-section {
  scroll-margin-top: 88px;
}

.game-arena,
.play-panel,
.game-empty,
.finish-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.game-empty,
.play-panel {
  padding: 18px;
}

.play-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 230px);
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.play-score {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 239, 217, 0.06);
}

.play-score span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.play-score strong {
  color: var(--amber);
}

.play-stage {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(246, 239, 217, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 239, 217, 0.05) 1px, transparent 1px),
    rgba(5, 8, 18, 0.52);
  background-size: 34px 34px;
}

.play-message {
  min-height: 44px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  background: rgba(246, 239, 217, 0.05);
  font-weight: 760;
}

.aim-board,
.trace-board,
.lineup-board,
.map-board,
.lab-board {
  position: relative;
  width: 100%;
  min-height: 360px;
}

.aim-target,
.map-ping {
  position: absolute;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid var(--amber);
  border-radius: 999px;
  background: rgba(255, 111, 138, 0.88);
  box-shadow: 0 0 22px rgba(255, 111, 138, 0.48);
  cursor: crosshair;
}

.aim-target::before,
.map-ping::before {
  content: "";
  width: 34%;
  height: 34%;
  border-radius: 999px;
  background: var(--ink);
}

.aim-target.small {
  width: 42px;
  height: 42px;
}

.memory-sequence {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  padding: 22px;
}

.memory-sequence span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--amber);
  background: rgba(246, 239, 217, 0.07);
  font-weight: 900;
}

.choice-grid,
.lab-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.choice-grid button,
.lab-picker button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(246, 239, 217, 0.07);
  cursor: pointer;
  font-weight: 800;
}

.choice-grid button:hover,
.lab-picker button:hover {
  border-color: var(--amber);
}

.question-card {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: 18px;
}

.question-card h3 {
  max-width: 780px;
  margin: 0 auto 14px;
  color: var(--ink);
  text-align: center;
  font-size: 1.35rem;
}

.timer-track {
  position: relative;
  width: min(760px, calc(100% - 36px));
  height: 72px;
  margin: 110px auto 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 239, 217, 0.08);
}

.safe-zone {
  position: absolute;
  top: 0;
  left: 43%;
  width: 14%;
  height: 100%;
  background: rgba(89, 242, 212, 0.24);
}

.timer-needle {
  position: absolute;
  top: -12px;
  width: 5px;
  height: 96px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(255, 217, 120, 0.4);
}

#defuseButton {
  margin: 0 auto;
}

.trace-point {
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(246, 239, 217, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.trace-point.is-current {
  color: #0a1022;
  border-color: transparent;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(89, 242, 212, 0.42);
}

.lineup-target {
  position: absolute;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--mint);
  border-radius: 999px;
  background: rgba(89, 242, 212, 0.12);
  box-shadow: 0 0 28px rgba(89, 242, 212, 0.34);
}

.lineup-target::after {
  content: "";
  position: absolute;
  inset: 19px;
  border-radius: 999px;
  background: var(--mint);
}

.lab-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 0;
}

.lab-board {
  min-height: 300px;
}

.tracking-board {
  position: relative;
  min-height: 260px;
  margin: 12px 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(246, 239, 217, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 239, 217, 0.07) 1px, transparent 1px),
    rgba(5, 8, 18, 0.48);
  background-size: 32px 32px;
}

.tracking-center {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(255, 217, 120, 0.38);
}

.moving-target {
  position: absolute;
  top: 50%;
  left: 12%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border: 2px solid var(--coral);
  border-radius: 999px;
  background: rgba(255, 111, 138, 0.2);
  box-shadow: 0 0 22px rgba(255, 111, 138, 0.4);
}

.moving-target::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background: var(--coral);
}

.lab-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 900;
  pointer-events: none;
  text-shadow: 0 0 12px currentColor;
}

.fire-button {
  display: flex;
  width: min(260px, calc(100% - 36px));
  margin: 12px auto 18px;
}

.map-board {
  background:
    radial-gradient(circle at 28% 32%, rgba(89, 242, 212, 0.12), transparent 18%),
    radial-gradient(circle at 72% 68%, rgba(169, 148, 255, 0.14), transparent 20%),
    rgba(5, 8, 18, 0.45);
}

.map-line {
  position: absolute;
  background: rgba(246, 239, 217, 0.11);
}

.map-line.h {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
}

.map-line.v {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
}

.map-ping {
  width: 44px;
  height: 44px;
}

.tactical-map {
  min-height: 420px;
}

.map-zone {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 96px;
  min-height: 52px;
  padding: 0 12px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(246, 239, 217, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.map-zone:hover {
  border-color: var(--amber);
  background: rgba(255, 217, 120, 0.14);
}

.finish-card {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 360px;
  padding: 20px;
  text-align: center;
}

.finish-card span {
  color: var(--muted);
  font-weight: 900;
}

.finish-card strong {
  color: var(--amber);
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  line-height: 1;
}

.result-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.result-summary span {
  color: var(--muted);
  font-weight: 800;
}

.result-summary strong {
  margin-right: auto;
  color: var(--amber);
  font-size: 1.6rem;
}

.game-card dt {
  color: var(--muted);
  font-weight: 800;
}

.game-card dd {
  margin: 0;
  font-weight: 800;
}

.crosshair-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 18px 0 18px;
}

.search-input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(246, 239, 217, 0.07);
  outline: none;
}

.search-input:focus {
  border-color: var(--amber);
}

.count-pill {
  justify-self: end;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.crosshair-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.crosshair-card {
  display: flex;
  flex-direction: column;
  min-height: 384px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.reticle-preview {
  position: relative;
  display: grid;
  place-items: center;
  height: 150px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(246, 239, 217, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 239, 217, 0.07) 1px, transparent 1px),
    rgba(8, 12, 28, 0.84);
  background-size: 26px 26px;
}

.reticle-preview::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(246, 239, 217, 0.08);
}

.crosshair-canvas {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 128px;
  image-rendering: pixelated;
}

.crosshair-meta span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.crosshair-card code {
  display: block;
  margin-top: auto;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(5, 8, 18, 0.66);
  font-size: 0.76rem;
  white-space: nowrap;
}

.copy-code {
  width: 100%;
  margin-top: 10px;
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

td {
  color: var(--ink-soft);
  font-weight: 760;
}

tr:last-child td {
  border-bottom: 0;
}

.shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.rank-card {
  min-height: 214px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--rank) 48%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rank) 16%, transparent), transparent),
    var(--surface);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rank-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.rank-top span {
  color: var(--rank);
  font-size: 1.5rem;
  font-weight: 950;
}

.rank-top b {
  display: inline-flex;
  padding: 6px 8px;
  border-radius: 7px;
  color: #0a1022;
  background: var(--rank);
  font-size: 0.78rem;
}

.rank-card h3 {
  color: var(--rank);
}

.reward-card {
  min-height: 230px;
  padding: 18px;
}

@media (min-width: 921px) {
  .status-panel {
    transform: rotate(0.25deg);
  }

  .project-note {
    max-width: 650px;
    transform: rotate(-0.35deg);
  }

  .metric-card:nth-child(2),
  .demo-step:nth-child(2),
  .link-card:nth-child(3n + 2),
  .game-card:nth-child(4n + 2),
  .crosshair-card:nth-child(4n + 2),
  .rank-card:nth-child(3n + 2),
  .reward-card:nth-child(3n + 2),
  .sponsor-card:nth-child(3n + 2) {
    transform: translateY(5px);
  }

  .metric-card:nth-child(3),
  .demo-step:nth-child(3),
  .link-card:nth-child(3n),
  .game-card:nth-child(4n),
  .crosshair-card:nth-child(4n),
  .rank-card:nth-child(3n),
  .reward-card:nth-child(3n),
  .sponsor-card:nth-child(3n) {
    transform: translateY(-3px);
  }

  .demo-step:nth-child(1),
  .link-card:nth-child(4n + 1),
  .game-card:nth-child(5n + 1),
  .crosshair-card:nth-child(5n + 1) {
    border-color: rgba(255, 217, 120, 0.2);
  }
}

.reward-card b {
  display: inline-flex;
  margin-top: 8px;
  color: var(--mint);
  font-size: 0.9rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
}

.info-card ul,
.fair-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

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

.sponsor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px dashed rgba(89, 242, 212, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(89, 242, 212, 0.1), rgba(255, 217, 120, 0.06)),
    var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.15rem);
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.note {
  padding: 14px;
  border: 1px solid rgba(255, 217, 120, 0.28);
  border-radius: 8px;
  color: var(--ink-soft);
  background: rgba(255, 217, 120, 0.08);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
  padding: 26px clamp(16px, 4vw, 52px) 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(6, 9, 22, 0.72);
}

.footer-social {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  color: var(--amber);
  font-weight: 850;
}

@media (max-width: 1140px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crosshair-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .info-grid,
  .contact-panel,
  .crosshair-toolbar,
  .play-head {
    grid-template-columns: 1fr;
  }

  .count-pill {
    justify-self: start;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .metric-grid,
  .feature-grid,
  .social-launch-grid,
  .updates-grid,
  .demo-flow-grid,
  .shop-grid,
  .rank-grid,
  .fair-grid,
  .choice-grid,
  .lab-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .metric-grid,
  .feature-grid,
  .social-launch-grid,
  .updates-grid,
  .demo-flow-grid,
  .game-grid,
  .crosshair-grid,
  .shop-grid,
  .rank-grid,
  .fair-grid,
  .sponsor-grid,
  .choice-grid,
  .lab-picker {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
