/* Public landing page. Kept isolated from the game and authenticated lobby. */
@keyframes cpStageDrift {
  0%, 100% { transform: scale(1.01) translate3d(0, 0, 0); }
  50% { transform: scale(1.025) translate3d(-0.35%, 0.25%, 0); }
}

@keyframes cpHudFloat {
  0%, 100% { transform: translate3d(var(--cp-card-x), 0, 0) rotate(var(--cp-card-rotation)); }
  50% { transform: translate3d(var(--cp-card-x), -7px, 0) rotate(var(--cp-card-rotation)); }
}

@keyframes cpRunnerIdle {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 16px rgba(240, 185, 11, 0.22)); }
  50% { transform: translateY(-5px); filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 22px rgba(240, 185, 11, 0.34)); }
}

@keyframes cpButtonSheen {
  0%, 52% { transform: translateX(-150%) skewX(-18deg); }
  82%, 100% { transform: translateX(180%) skewX(-18deg); }
}

@keyframes cpSignalPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes cpEqualizer {
  0%, 100% { transform: scaleY(0.35); opacity: 0.72; }
  50% { transform: scaleY(1); opacity: 1; }
}

#screen-landing {
  background: #01040b;
  color: #f5f8ff;
  scrollbar-color: rgba(80, 172, 220, 0.5) #020711;
}

.cp-landing {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: visible;
  background: linear-gradient(180deg, #01040b 0%, #020817 68%, #01040b 100%);
}

.cp-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.12;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
}

.cp-nav {
  position: sticky;
  top: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1820px, calc(100% - 36px));
  min-height: 66px;
  margin: 26px auto 0;
  padding: 7px 13px 7px 18px;
  border: 1px solid rgba(133, 199, 235, 0.16);
  border-radius: 18px;
  background: rgba(3, 9, 20, 0.76);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.cp-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
}

.cp-brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 234, 157, 0.72);
  border-radius: 10px;
  background: linear-gradient(145deg, #ffdf63, #f0b90b 60%, #c87a00);
  color: #090702;
  font-family: "Orbitron", sans-serif;
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(240, 185, 11, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.cp-brand-name {
  color: #ffe08a;
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1.7px;
  line-height: 1.1;
  white-space: nowrap;
}

.cp-brand-sub {
  margin-top: 4px;
  color: #84a8c8;
  font-family: "Share Tech Mono", monospace;
  font-size: 9px;
  letter-spacing: 2px;
  white-space: nowrap;
}

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

.cp-nav-button,
.cp-nav-sound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(126, 169, 211, 0.28);
  border-radius: 10px;
  background: rgba(5, 13, 28, 0.78);
  color: #b8cade;
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.cp-nav-button {
  padding: 9px 16px;
}

.cp-nav-button:hover,
.cp-nav-sound:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 216, 255, 0.62);
  color: #e4f6ff;
}

.cp-nav-button:focus-visible,
.cp-nav-sound:focus-visible,
.cp-cta:focus-visible,
.cp-social-link:focus-visible {
  outline: 2px solid #7fd8ff;
  outline-offset: 3px;
}

.cp-nav-button.is-primary {
  border-color: rgba(255, 225, 138, 0.78);
  background: linear-gradient(145deg, #ffdc5c, #f0b90b 60%, #d88a00);
  color: #080701;
  box-shadow: 0 12px 30px rgba(240, 185, 11, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.cp-nav-sound {
  position: relative;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 50%;
  border-color: rgba(255, 225, 138, 0.66);
  color: #ffd85d;
  box-shadow: 0 12px 30px rgba(240, 185, 11, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.cp-nav-sound .landing-audio-icon {
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  width: 25px;
  height: 24px;
  color: currentColor;
  line-height: 1;
}

#sound-toggle .sound-icon {
  align-items: end;
  gap: 3px;
}

.cp-nav-sound .landing-audio-icon span,
#sound-toggle .sound-icon span {
  display: block;
  width: 4px;
  min-height: 5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: bottom;
  animation: cpEqualizer 900ms ease-in-out infinite;
}

.cp-nav-sound .landing-audio-icon span:nth-child(2),
#sound-toggle .sound-icon span:nth-child(2) {
  height: 18px;
  animation-delay: 140ms;
}

.cp-nav-sound .landing-audio-icon span:nth-child(3),
#sound-toggle .sound-icon span:nth-child(3) {
  height: 12px;
  animation-delay: 280ms;
}

.cp-nav-sound .landing-audio-icon span:first-child,
#sound-toggle .sound-icon span:first-child {
  height: 14px;
}

.cp-nav-sound.sound-off {
  color: #7188a2;
  border-color: rgba(126, 169, 211, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cp-nav-sound.sound-off .landing-audio-icon {
  align-items: center;
}

.cp-nav-sound.sound-off .landing-audio-icon span,
#sound-toggle.sound-off .sound-icon span {
  position: relative;
  width: 18px;
  height: 2px;
  min-height: 2px;
  border-radius: 999px;
  animation: none;
  transform: rotate(45deg);
  opacity: 0.8;
}

.cp-nav-sound.sound-off .landing-audio-icon span::after,
#sound-toggle.sound-off .sound-icon span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  transform: rotate(90deg);
}

.cp-nav-sound[data-tooltip]::after,
#sound-toggle[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  z-index: 50;
  padding: 8px 10px;
  border: 1px solid rgba(126, 169, 211, 0.28);
  border-radius: 8px;
  background: rgba(4, 12, 27, 0.94);
  color: #d9edff;
  font-family: "Share Tech Mono", monospace;
  font-size: 9px;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: opacity 150ms ease, transform 150ms ease;
}

.cp-nav-sound[data-tooltip]:hover::after,
.cp-nav-sound[data-tooltip]:focus-visible::after,
#sound-toggle[data-tooltip]:hover::after,
#sound-toggle[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cp-main {
  position: relative;
  z-index: 1;
}

.cp-hero-scene {
  position: relative;
  isolation: isolate;
  width: min(1820px, calc(100% - 36px));
  min-height: 840px;
  height: 88svh;
  max-height: 1120px;
  margin: 68px auto 0;
  overflow: hidden;
  border: 1px solid rgba(126, 169, 211, 0.16);
  border-radius: 26px;
  background: #04091b;
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cp-stage {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  transform-origin: 64% 44%;
  animation: cpStageDrift 16s ease-in-out infinite;
}

#landing-stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(1.12) contrast(1.04);
}

.cp-hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 4, 13, 0.62) 0%, rgba(1, 4, 13, 0.26) 46%, rgba(1, 4, 13, 0.03) 72%),
    linear-gradient(0deg, rgba(1, 4, 13, 0.72) 0%, transparent 32%);
}

.cp-hero-scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #f0b90b 13% 77%, transparent);
  box-shadow: 0 0 24px rgba(240, 185, 11, 0.34);
}

.cp-hero-copy {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: clamp(32px, 2.5%, 56px);
  width: min(50%, 820px);
  transform: translateY(-50%);
}

.cp-kicker,
.cp-section-kicker,
.cp-hud-label {
  color: #8edcff;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.cp-hero-title {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin: 18px 0 0;
  color: #ffe49a;
  font-family: "Orbitron", sans-serif;
  font-size: 112px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow: 0 0 34px rgba(240, 185, 11, 0.32), 0 18px 44px rgba(0, 0, 0, 0.46);
}

.cp-hero-title span {
  color: #ffe8a8;
  font-size: 0.86em;
}

.cp-tagline {
  margin-top: 22px;
  color: #f7f9ff;
  font-family: "Orbitron", sans-serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
}

.cp-lede {
  max-width: 760px;
  margin-top: 22px;
  color: #b8cae0;
  font-size: 19px;
  line-height: 1.6;
}

.cp-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.cp-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  overflow: hidden;
  border: 1px solid rgba(127, 216, 255, 0.45);
  border-radius: 10px;
  padding: 15px 24px;
  background: rgba(4, 13, 29, 0.82);
  color: #91dfff;
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 16px 34px rgba(0, 0, 0, 0.24);
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.cp-cta:hover {
  transform: translateY(-3px);
  border-color: rgba(158, 223, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 44px rgba(0, 0, 0, 0.32);
}

.cp-cta.is-primary {
  min-width: 174px;
  border-color: rgba(255, 237, 174, 0.9);
  background: linear-gradient(145deg, #ffdf63, #f0b90b 58%, #d38400);
  color: #080701;
  box-shadow: 0 18px 46px rgba(240, 185, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.cp-cta.is-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  animation: cpButtonSheen 5.8s ease-in-out infinite;
}

.cp-cta-icon {
  font-family: "Share Tech Mono", monospace;
  font-size: 19px;
  line-height: 1;
}

.cp-meta-row {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 62px;
  clear: both;
}

.cp-socials {
  display: flex;
  gap: 8px;
}

.cp-link-group {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 8px 11px 10px;
  border: 1px solid rgba(126, 169, 211, 0.12);
  border-radius: 12px;
  background: rgba(4, 12, 27, 0.68);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.038);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cp-link-group:hover,
.cp-link-group:focus-within {
  z-index: 30;
}

.cp-link-group-label {
  color: #789dbd;
  font-family: "Share Tech Mono", monospace;
  font-size: 8px;
  letter-spacing: 1.8px;
  line-height: 1;
  text-transform: uppercase;
}

.cp-social-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(126, 169, 211, 0.28);
  border-radius: 50%;
  background: rgba(4, 12, 27, 0.78);
  color: #d9edff;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cp-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 216, 255, 0.68);
  color: #7fd8ff;
}

.cp-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cp-social-link .cp-pump-logo {
  width: 22px;
  height: 22px;
}

.cp-social-link .cp-solana-logo {
  flex: 0 0 auto;
  width: 20px;
  height: 16px;
}

.cp-social-link[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 10;
  padding: 8px 10px;
  border: 1px solid rgba(126, 169, 211, 0.28);
  border-radius: 8px;
  background: rgba(4, 12, 27, 0.94);
  color: #d9edff;
  font-family: "Share Tech Mono", monospace;
  font-size: 9px;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: opacity 150ms ease, transform 150ms ease;
}

.cp-social-link[data-tooltip]:hover::after,
.cp-social-link[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cp-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 225, 138, 0.28);
  border-radius: 23px;
  background: rgba(240, 185, 11, 0.075);
  color: #ffe08a;
  font-family: "Share Tech Mono", monospace;
  font-size: 9px;
  letter-spacing: 1.4px;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cp-status-group {
  z-index: 1;
  align-content: start;
}

.cp-hud-stack {
  position: absolute;
  z-index: 6;
  top: 14.5%;
  left: 48%;
  width: min(30%, 540px);
  pointer-events: none;
  perspective: 900px;
}

.cp-hud-card {
  --cp-card-x: 0px;
  --cp-card-rotation: 0deg;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  min-height: 118px;
  overflow: hidden;
  padding: 20px 24px;
  border: 1px solid rgba(126, 169, 211, 0.34);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(7, 16, 33, 0.93), rgba(2, 7, 16, 0.92));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  animation: cpHudFloat 6s ease-in-out infinite;
}

.cp-hud-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 216, 255, 0.6), transparent);
}

.cp-hud-card + .cp-hud-card {
  margin-top: 14px;
}

.cp-hud-card:nth-child(1) {
  --cp-card-x: 26px;
  --cp-card-rotation: -1deg;
  animation-delay: -0.8s;
}

.cp-hud-card:nth-child(2) {
  --cp-card-x: -18px;
  --cp-card-rotation: 1deg;
  border-color: rgba(240, 185, 11, 0.32);
  animation-delay: -2.5s;
}

.cp-hud-card:nth-child(3) {
  --cp-card-x: 30px;
  --cp-card-rotation: 1.4deg;
  border-color: rgba(0, 228, 176, 0.25);
  animation-delay: -4.1s;
}

.cp-hud-card strong {
  display: block;
  margin-top: 8px;
  color: #fff1b9;
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.cp-hud-card p {
  margin-top: 7px;
  color: rgba(169, 194, 220, 0.9);
  font-family: "Share Tech Mono", monospace;
  font-size: 11.5px;
  line-height: 1.45;
  letter-spacing: 1px;
}

.cp-runner-stage {
  position: absolute;
  z-index: 5;
  right: 12%;
  bottom: 2%;
  width: 250px;
  aspect-ratio: 5 / 6;
  pointer-events: none;
  animation: cpRunnerIdle 4.4s ease-in-out infinite;
}

.cp-runner-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: 72%;
  height: 12%;
  transform: translateX(-50%);
  border: 1px solid rgba(240, 185, 11, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 36px rgba(240, 185, 11, 0.17);
}

#landing-runner-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.cp-section {
  position: relative;
  padding: 88px 28px;
}

.cp-section.is-dark {
  border-top: 1px solid rgba(126, 169, 211, 0.1);
  border-bottom: 1px solid rgba(126, 169, 211, 0.1);
  background: #020711;
}

.cp-section-inner {
  width: min(1400px, 100%);
  margin: 0 auto;
}

.cp-section-title {
  max-width: 1100px;
  margin-top: 14px;
  color: #f8e9ae;
  font-family: "Orbitron", sans-serif;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 1px;
}

.cp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.cp-feature {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(126, 169, 211, 0.18);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(9, 19, 38, 0.9), rgba(3, 8, 18, 0.96));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cp-feature::before {
  content: attr(data-index);
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(127, 216, 255, 0.18);
  font-family: "Orbitron", sans-serif;
  font-size: 42px;
  font-weight: 900;
}

.cp-feature h3 {
  max-width: 82%;
  margin-top: 46px;
  color: #ffe59b;
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 1px;
}

.cp-feature p {
  max-width: 420px;
  margin-top: 13px;
  color: #92aac3;
  font-size: 15px;
  line-height: 1.65;
}

.cp-loop {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.cp-loop-list {
  display: grid;
  border-top: 1px solid rgba(126, 169, 211, 0.22);
}

.cp-loop-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(126, 169, 211, 0.18);
}

.cp-loop-step span {
  color: #f0b90b;
  font-family: "Share Tech Mono", monospace;
  font-size: 13px;
  letter-spacing: 1px;
}

.cp-loop-step h3 {
  color: #e9f3ff;
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
}

.cp-loop-step p {
  margin-top: 8px;
  color: #8fa7c0;
  font-size: 15px;
  line-height: 1.6;
}

.cp-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(240, 185, 11, 0.24);
  border-bottom: 1px solid rgba(240, 185, 11, 0.24);
}

.cp-final-cta h2 {
  color: #ffe49a;
  font-family: "Orbitron", sans-serif;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 1px;
}

.cp-final-cta p {
  margin-top: 9px;
  color: #8fa7c0;
  font-size: 15px;
}

.cp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1400px, calc(100% - 56px));
  min-height: 90px;
  margin: 0 auto;
  color: #627c98;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px;
  letter-spacing: 1px;
}

.cp-footer-socials {
  display: flex;
  align-items: center;
  gap: 9px;
}

.cp-footer-socials .cp-social-link {
  width: 38px;
  height: 38px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.cp-footer-socials .cp-social-link svg {
  width: 16px;
  height: 16px;
}

.cp-footer-socials .cp-social-link .cp-pump-logo {
  width: 20px;
  height: 20px;
}

.cp-footer-socials .cp-social-link .cp-solana-logo {
  width: 18px;
  height: 14px;
}

@media (max-width: 1750px) {
  .cp-hero-title { font-size: 90px; }
  .cp-tagline { font-size: 24px; }
  .cp-lede { max-width: 660px; font-size: 17px; }
  .cp-hud-stack { width: min(31%, 500px); }
  .cp-hud-card { min-height: 104px; padding: 17px 20px; }
  .cp-hud-card strong { font-size: 18px; }
  .cp-runner-stage { right: 9%; width: 220px; }
}

@media (max-width: 1450px) {
  .cp-hero-title { font-size: 74px; }
  .cp-hero-copy { width: 50%; }
  .cp-hud-stack { top: 13%; left: 50%; width: 25%; }
}

@media (max-width: 1180px) {
  .cp-hero-scene { min-height: 780px; height: 84svh; margin-top: 42px; }
  .cp-hero-copy { left: 36px; width: 52%; }
  .cp-hero-title { gap: 14px; font-size: 66px; }
  .cp-tagline { font-size: 21px; }
  .cp-lede { max-width: 560px; font-size: 16px; }
  .cp-meta-row { margin-top: 48px; }
  .cp-hud-stack { top: 12%; right: 7%; left: auto; width: 38%; }
  .cp-hud-card { min-height: 96px; padding: 15px 17px; }
  .cp-hud-card strong { font-size: 16px; }
  .cp-hud-card p { font-size: 10px; }
  .cp-runner-stage { right: 5%; bottom: 4%; width: 190px; }
  .cp-section-title { font-size: 38px; }
}

@media (max-width: 820px) {
  .cp-nav { top: 6px; width: calc(100% - 20px); min-height: 60px; margin-top: 6px; padding: 8px 9px 8px 12px; border-radius: 14px; }
  .cp-brand { gap: 9px; }
  .cp-brand-mark { flex-basis: 38px; width: 38px; height: 38px; font-size: 20px; }
  .cp-brand-name { font-size: 12px; letter-spacing: 1px; }
  .cp-brand-sub { display: none; }
  .cp-nav-button { min-height: 38px; padding: 9px 11px; font-size: 9px; }
  .cp-nav-button:not(.is-primary) { display: none; }
  .cp-nav-sound { width: 38px; min-height: 38px; }

  .cp-hero-scene {
    display: flex;
    flex-direction: column;
    width: calc(100% - 20px);
    height: auto;
    max-height: none;
    min-height: min(820px, calc(100svh - 90px));
    margin-top: 22px;
    padding: 46px 20px 28px;
    border-radius: 18px;
  }

  .cp-hero-scene::before {
    background: linear-gradient(180deg, rgba(1, 4, 13, 0.42), rgba(1, 4, 13, 0.74) 54%, rgba(1, 4, 13, 0.93));
  }

  .cp-stage { opacity: 0.68; animation: none; }
  #landing-stage-canvas { filter: saturate(1.06) contrast(1.05); }

  .cp-hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
  }

  .cp-kicker { font-size: 9px; letter-spacing: 2px; }
  .cp-hero-title { gap: 10px; margin-top: 14px; font-size: 48px; line-height: 0.96; }
  .cp-tagline { margin-top: 14px; font-size: 19px; }
  .cp-lede { max-width: 600px; margin-top: 15px; font-size: 15px; line-height: 1.5; }
  .cp-cta-row { margin-top: 24px; }
  .cp-cta { min-height: 56px; padding: 13px 17px; font-size: 10px; }
  .cp-cta.is-primary { min-width: 150px; }
  .cp-meta-row { margin-top: 13px; }
  .cp-social-link { width: 42px; height: 42px; }
  .cp-social-link .cp-pump-logo { width: 20px; height: 20px; }
  .cp-social-link .cp-solana-logo { width: 18px; height: 14px; }

  .cp-hud-stack {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    width: 100%;
    margin-top: 34px;
  }

  .cp-hud-card,
  .cp-hud-card:nth-child(n) {
    --cp-card-x: 0px;
    --cp-card-rotation: 0deg;
    min-height: 104px;
    margin: 0;
    padding: 14px;
    border-radius: 10px;
    animation: none;
  }

  .cp-hud-card:nth-child(3) { grid-column: 1 / -1; min-height: 92px; }
  .cp-hud-card strong { margin-top: 6px; font-size: 14px; }
  .cp-runner-stage { right: -14px; bottom: 0; width: 220px; opacity: 0.62; }

  .cp-section { padding: 64px 20px; }
  .cp-section-title { font-size: 31px; }
  .cp-feature-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .cp-feature { min-height: 176px; }
  .cp-feature h3 { margin-top: 36px; }
  .cp-loop { grid-template-columns: 1fr; gap: 36px; }
  .cp-final-cta { align-items: flex-start; flex-direction: column; }
  .cp-final-cta h2 { font-size: 24px; }
  .cp-footer { align-items: flex-start; flex-direction: column; justify-content: center; width: calc(100% - 40px); padding: 24px 0; }
}

@media (max-width: 480px) {
  .cp-nav-actions { gap: 6px; }
  .cp-nav-button.is-primary { padding-inline: 10px; }
  .cp-hero-scene { padding: 38px 16px 24px; }
  .cp-hero-title { font-size: 40px; }
  .cp-tagline { font-size: 17px; }
  .cp-lede { font-size: 14px; }
  .cp-cta-row { display: grid; grid-template-columns: 1fr; }
  .cp-cta { width: 100%; }
  .cp-meta-row { align-items: flex-start; flex-direction: column; }
  .cp-hud-stack { grid-template-columns: 1fr; }
  .cp-hud-card:nth-child(3) { grid-column: auto; }
  .cp-runner-stage { display: none; }
  .cp-section-title { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-stage,
  .cp-hud-card,
  .cp-runner-stage,
  .cp-cta.is-primary::after {
    animation: none;
  }

  .cp-nav-sound .landing-audio-icon span,
  #sound-toggle .sound-icon span {
    animation: none;
  }

  .cp-nav-button,
  .cp-nav-sound,
  .cp-cta,
  .cp-social-link {
    transition: none;
  }
}
