:root {
  --bg-panel: rgba(8, 10, 30, 0.72);
  --border: rgba(159, 174, 255, 0.35);
  --text: #f5f7ff;
  --muted: #bfc9ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #02030b;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

.top-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(170, 120, 255, .28);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.10), transparent 20%),
    radial-gradient(circle at 78% 78%, rgba(170,120,255,.14), transparent 32%),
    linear-gradient(135deg, rgba(61, 18, 112, .78), rgba(18, 11, 54, .92));
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 18px rgba(160, 88, 255, .30),
    0 0 42px rgba(120, 52, 255, .22),
    inset 0 0 0 1px rgba(255,255,255,.04);
}

.top-nav::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}


.top-nav a {
  position: relative;
  color: #f4f1ff;
  text-decoration: none;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  text-shadow: 0 0 10px rgba(211, 175, 255, .24);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}

.top-nav a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(158, 74, 255, .22), rgba(84, 39, 204, .14));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 0 18px rgba(166, 87, 255, .20);
  transform: translateY(-1px);
}


.screen {
  position: relative;
  min-height: 100vh;
  padding: 100px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.original-hero {
  padding: 0;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.hero-button-row {
  position: relative;
  z-index: 4;
  width: min(920px, 82vw);
  margin-bottom: 7vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 34px);
  flex-wrap: wrap;
}

.space-btn {
  --accent: #8e3dff;
  position: relative;
  min-width: 150px;
  padding: 17px 34px;
  border-radius: 999px;
  color: #fff;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: .08em;
  border: 2px solid color-mix(in srgb, var(--accent) 76%, white 24%);
  background:
    radial-gradient(circle at 22% 28%, rgba(255,255,255,.24), transparent 19%),
    radial-gradient(circle at 72% 72%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 62%, #0b1026 38%), #070a19 74%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.06) inset,
    0 0 14px color-mix(in srgb, var(--accent) 75%, transparent),
    0 0 36px color-mix(in srgb, var(--accent) 60%, transparent),
    0 16px 34px rgba(0, 0, 0, .5);
  transform: translateZ(0);
  animation: buttonFloat 3.2s ease-in-out infinite, buttonPulse 2.4s ease-in-out infinite;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.space-btn:nth-child(2) { animation-delay: .15s; }
.space-btn:nth-child(3) { animation-delay: .3s; }
.space-btn:nth-child(4) { animation-delay: .45s; }

.space-btn::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 34%, rgba(255,255,255,.12) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 64%, rgba(255,255,255,.16) 0 1px, transparent 2px);
  pointer-events: none;
}

.space-btn::after {
  content: "";
  position: absolute;
  top: -45%;
  left: -80%;
  width: 45%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
  transform: rotate(22deg);
  animation: buttonShine 3.7s ease-in-out infinite;
  pointer-events: none;
}

.space-btn span {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px rgba(255,255,255,.6), 0 0 20px var(--accent);
}

.space-btn:hover {
  transform: translateY(-5px) scale(1.05);
  filter: brightness(1.12);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.08) inset,
    0 0 24px color-mix(in srgb, var(--accent) 88%, transparent),
    0 0 58px color-mix(in srgb, var(--accent) 76%, transparent),
    0 22px 40px rgba(0, 0, 0, .55);
}

.space-btn.pump { --accent: #8e3dff; }
.space-btn.telegram { --accent: #2ea8ff; min-width: 205px; }
.space-btn.xbtn { --accent: #34e8ff; min-width: 120px; }
.space-btn.dex { --accent: #ff49c8; }

@keyframes buttonFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(255,255,255,.06) inset,
      0 0 14px color-mix(in srgb, var(--accent) 75%, transparent),
      0 0 36px color-mix(in srgb, var(--accent) 60%, transparent),
      0 16px 34px rgba(0, 0, 0, .5);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(255,255,255,.08) inset,
      0 0 22px color-mix(in srgb, var(--accent) 86%, transparent),
      0 0 54px color-mix(in srgb, var(--accent) 74%, transparent),
      0 18px 38px rgba(0, 0, 0, .55);
  }
}

@keyframes buttonShine {
  0%, 45% { left: -85%; opacity: 0; }
  55% { opacity: .9; }
  100% { left: 135%; opacity: 0; }
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 5, 18, 0.28), rgba(1, 2, 8, 0.75)),
    radial-gradient(circle at top center, rgba(73, 120, 255, 0.10), transparent 45%);
}

.panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  padding: clamp(26px, 4vw, 42px);
  border-radius: 28px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .40), 0 0 30px rgba(84, 111, 255, .10);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #dbe3ff;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

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

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-grid article {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.roadmap-grid span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(131, 80, 255, .45), rgba(49, 200, 255, .30));
  box-shadow: 0 0 16px rgba(95, 126, 255, .28);
  font-weight: 700;
}

.roadmap-grid p,
.dex-main p,
.game-sidebar li,
.mini-note {
  color: var(--muted);
  line-height: 1.6;
}

/* GAME */
.game-panel {
  width: min(1120px, 100%);
}

.game-title-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 74, 184, .13), rgba(50, 223, 255, .08), rgba(132, 75, 255, .12)),
    rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 0 24px rgba(70, 110, 255, .08);
}

.game-title-row::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64,226,255,.85), rgba(255,73,200,.72), transparent);
}

.mission-card {
  max-width: 380px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(52, 240, 255, .10), rgba(255, 73, 200, .08));
  border: 1px solid rgba(255,255,255,.12);
  text-align: right;
}

.mission-card span,
.cockpit-header p {
  display: block;
  color: #78f4ff;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mission-card b {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 17px;
}

.mission-card small {
  display: block;
  margin-top: 4px;
  color: #bfc9ff;
}

.game-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 20px;
  align-items: start;
  justify-content: center;
}

.game-canvas-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(2, 5, 18, .9);
  box-shadow: inset 0 0 20px rgba(60, 93, 255, .05);
}

#spaceGame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 620;
  image-rendering: pixelated;
  background: #050815;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 8, 24, 0.5);
}

.game-overlay.hidden {
  display: none;
}

.overlay-card {
  width: min(420px, 100%);
  padding: 28px;
  text-align: center;
  border-radius: 24px;
  background: rgba(10, 14, 35, .82);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 30px rgba(82, 107, 255, .15);
}

.overlay-card h3 {
  margin-bottom: 10px;
  font-size: 32px;
  letter-spacing: .08em;
}

.game-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cockpit-panel {
  position: relative;
  padding: 16px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(16, 21, 48, .78), rgba(4, 8, 24, .92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 9px);
  border: 1px solid rgba(114, 242, 255, .18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 0 30px rgba(58, 215, 255, .08);
}

.cockpit-panel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.045);
  pointer-events: none;
}

.cockpit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 14px;
}

.cockpit-header h3 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: .04em;
}

.cockpit-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #38f0ff;
  box-shadow: 0 0 14px #38f0ff, 0 0 30px rgba(56,240,255,.5);
}

.hud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hud-box,
.powerups-panel,
.status-panel {
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    rgba(5, 8, 22, .56);
  border: 1px solid rgba(255,255,255,.09);
}

.hud-box {
  min-height: 94px;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}

.hud-box span {
  display: block;
  color: #9fefff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hud-box strong {
  display: block;
  margin-top: 9px;
  font-size: 33px;
  line-height: 1;
}

.powerups-panel h3 {
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: .05em;
}

.powerups-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.powerups-panel li {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
}

.powerups-panel li + li {
  margin-top: 14px;
}

.powerups-panel b {
  color: #fff;
}

.powerups-panel em {
  grid-column: 2;
  color: #aeb9f4;
  font-style: normal;
  font-size: 12px;
}

.power-icon {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
}

.double-icon::before,
.double-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 5px;
  height: 18px;
  border-radius: 4px;
  background: #8ef6ff;
  box-shadow: 0 0 10px #8ef6ff;
}

.double-icon::before { left: 10px; }
.double-icon::after { right: 10px; }

.diagonal-icon::before,
.diagonal-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 5px;
  height: 19px;
  border-radius: 4px;
  background: #ff8ef1;
  box-shadow: 0 0 10px #ff8ef1;
}

.diagonal-icon::before {
  left: 10px;
  transform: rotate(-34deg);
}

.diagonal-icon::after {
  right: 10px;
  transform: rotate(34deg);
}

.shield-icon::before {
  content: "";
  position: absolute;
  width: 19px;
  height: 23px;
  background: linear-gradient(135deg, #4ef4ff, #317dff);
  clip-path: polygon(50% 0, 88% 15%, 78% 72%, 50% 100%, 22% 72%, 12% 15%);
  box-shadow: 0 0 14px rgba(78,244,255,.75);
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}

.status-line + .status-line {
  margin-top: 11px;
}

.status-line b {
  color: #fff;
}

.tiny-bullet {
  display: inline-block;
  width: 5px;
  height: 14px;
  margin-right: 7px;
  border-radius: 4px;
  vertical-align: -2px;
}

.tiny-bullet.cyan {
  background: #8ef6ff;
  box-shadow: 0 0 8px #8ef6ff;
}

.tiny-bullet.pink {
  background: #ff8ef1;
  box-shadow: 0 0 8px #ff8ef1;
  transform: rotate(25deg);
}

.tiny-shield {
  display: inline-block;
  width: 14px;
  height: 16px;
  margin-right: 7px;
  background: linear-gradient(135deg, #4ef4ff, #317dff);
  clip-path: polygon(50% 0, 88% 15%, 78% 72%, 50% 100%, 22% 72%, 12% 15%);
  vertical-align: -3px;
}

.game-btn {
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #7d46ff, #34baff);
  color: #fff;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(72, 112, 255, 0.28);
}

.game-btn.secondary {
  background: linear-gradient(135deg, #ff4ab7, #6a5cff);
}

.game-btn:hover {
  filter: brightness(1.07);
}

.mobile-controls {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

.mobile-control-btn {
  min-height: 68px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 26%),
    linear-gradient(135deg, rgba(126, 72, 255, .95), rgba(42, 190, 255, .85));
  box-shadow: 0 0 24px rgba(72, 112, 255, 0.28);
  touch-action: none;
  user-select: none;
}

.mobile-control-btn:active {
  transform: translateY(2px) scale(.98);
  filter: brightness(1.18);
}

.active-effects {
  color: #bfc9ff;
  font-size: 13px;
  margin-top: 10px;
}

/* DEX */
.dex-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.status {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #ffe8b2;
  white-space: nowrap;
}

.dex-window {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  min-height: min(60vh, 560px);
}

.dex-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
}

.dex-sidebar span {
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 122, 255, .22), rgba(255,255,255,.06));
}

.dex-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
}

.fake-chart {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 320px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    rgba(6, 10, 26, .8);
  background-size: 36px 36px;
}

.fake-chart svg {
  width: 100%;
  max-width: 820px;
  height: auto;
}

.fake-chart polyline {
  fill: none;
  stroke: #40e2ff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(64, 226, 255, .9));
}

@media (max-width: 1100px) {
  .game-shell { grid-template-columns: 1fr; }
  .mobile-controls { display: grid; }
}

@media (max-width: 900px) {
  .roadmap-grid { grid-template-columns: 1fr; }
  .dex-window { grid-template-columns: 1fr; }
  .dex-sidebar { flex-direction: row; }
  .dex-sidebar span { flex: 1; }
}

@media (max-width: 700px) {
  .top-nav {
    width: calc(100% - 24px);
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-button-row {
    width: 92vw;
    margin-bottom: 5vh;
    gap: 12px;
  }

  .space-btn {
    min-width: 132px;
    padding: 14px 22px;
    font-size: 17px;
  }

  .space-btn.telegram {
    min-width: 168px;
  }

  .space-btn.xbtn {
    min-width: 96px;
  }

  .screen {
    padding-left: 14px;
    padding-right: 14px;
  }

  .game-title-row,
  .dex-header {
    flex-direction: column;
  }

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

  .status { white-space: normal; }
}


/* v8 game layout changes */
.game-title-row,
.mission-card {
  display: none !important;
}

.game-panel {
  padding-top: clamp(18px, 3vw, 30px);
}

.game-control-caption {
  margin: 14px auto 0;
  text-align: center;
  color: #dfe8ff;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  text-shadow: 0 0 16px rgba(76, 220, 255, .32);
}

.command-panel {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(8, 11, 27, .96), rgba(3, 5, 17, .96)),
    radial-gradient(circle at 88% 10%, rgba(255, 68, 191, .18), transparent 30%),
    radial-gradient(circle at 8% 70%, rgba(43, 228, 255, .16), transparent 35%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 34px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.035);
}

.command-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .28;
  pointer-events: none;
}

.command-panel::after {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  top: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(64,226,255,.55), transparent);
  transform: rotate(-9deg);
  pointer-events: none;
}

.command-title {
  position: relative;
  padding: 20px 18px 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(90deg, rgba(52, 240, 255, .13), rgba(255, 73, 200, .09));
}

.command-title .scanline {
  position: absolute;
  left: 18px;
  top: 17px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #34f0ff;
  box-shadow: 0 0 14px #34f0ff;
}

.command-title small {
  display: block;
  margin-left: 58px;
  color: #7ef7ff;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.command-title h3 {
  margin: 8px 0 0;
  font-size: 24px;
  letter-spacing: .04em;
}

.stat-stack {
  position: relative;
  z-index: 1;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.stat-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.075);
}

.stat-row.primary {
  min-height: 76px;
  background:
    linear-gradient(135deg, rgba(52,240,255,.14), rgba(255,73,200,.08)),
    rgba(255,255,255,.045);
}

.stat-label {
  color: #aeb9f4;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.stat-row strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.stat-row.primary strong {
  font-size: 44px;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(52, 240, 255, .36);
}

.loadout-panel {
  position: relative;
  z-index: 1;
  margin: 0 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
}

.loadout-title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.loadout-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.065);
}

.loadout-card + .loadout-card {
  margin-top: 9px;
}

.loadout-card b {
  display: block;
  color: #fff;
}

.loadout-card em {
  display: block;
  margin-top: 2px;
  color: #aeb9f4;
  font-size: 12px;
  font-style: normal;
}

.module-status {
  position: relative;
  z-index: 1;
  margin: 14px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(52,240,255,.08), rgba(255,73,200,.07));
  border: 1px solid rgba(255,255,255,.08);
}

.module-status div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #bfc9ff;
}

.module-status div + div {
  margin-top: 11px;
}

.module-status b {
  color: #fff;
}

.deck-restart {
  position: relative;
  z-index: 1;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
}

/* old right panel elements are overridden in v8 */
.cockpit-header,
.powerups-panel,
.status-panel,
.hud-grid {
  display: none;
}


/* v9: more cosmic power icons on the right panel */
.loadout-card {
  position: relative;
  overflow: hidden;
}

.loadout-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,.18) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 64%, rgba(255,255,255,.14) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 12%, rgba(255,255,255,.12) 0 1px, transparent 2px);
  opacity: .55;
  pointer-events: none;
}

.loadout-card .power-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, rgba(255,255,255,.33), transparent 18%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.10), transparent 36%),
    linear-gradient(145deg, rgba(6, 10, 31, .92), rgba(16, 20, 52, .86));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    inset 0 0 14px rgba(255,255,255,.06),
    0 0 18px rgba(75, 123, 255, .22);
}

.loadout-card .power-icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  transform: rotate(-18deg);
  pointer-events: none;
}

.loadout-card .double-icon {
  border-color: rgba(142, 246, 255, .5);
  box-shadow:
    inset 0 0 14px rgba(142, 246, 255, .10),
    0 0 22px rgba(142, 246, 255, .30);
}

.loadout-card .double-icon::after {
  border-top-color: rgba(142, 246, 255, .95);
  border-left-color: rgba(142, 246, 255, .35);
}

.loadout-card .shield-icon {
  border-color: rgba(78, 244, 255, .5);
  box-shadow:
    inset 0 0 14px rgba(78, 244, 255, .12),
    0 0 24px rgba(78, 244, 255, .34);
}

.loadout-card .shield-icon::after {
  border-right-color: rgba(78, 244, 255, .95);
  border-bottom-color: rgba(78, 244, 255, .35);
}

.loadout-card .diagonal-icon {
  border-color: rgba(255, 142, 241, .55);
  box-shadow:
    inset 0 0 14px rgba(255, 142, 241, .12),
    0 0 24px rgba(255, 142, 241, .34);
}

.loadout-card .diagonal-icon::after {
  border-top-color: rgba(255, 142, 241, .95);
  border-right-color: rgba(255, 142, 241, .35);
}

.loadout-card .double-icon::before,
.loadout-card .double-icon::after {
  top: 10px;
}

.loadout-card .double-icon::before {
  left: 13px;
}

.loadout-card .double-icon::after {
  right: 13px;
  width: 5px;
  height: 18px;
  border-radius: 4px;
  background: #8ef6ff;
  box-shadow: 0 0 12px #8ef6ff;
  border: 0;
  inset: auto 13px auto auto;
  transform: none;
}

.loadout-card .diagonal-icon::before {
  left: 13px;
  top: 10px;
}

.loadout-card .diagonal-icon::after {
  right: 13px;
  top: 10px;
  width: 5px;
  height: 19px;
  border-radius: 4px;
  background: #ff8ef1;
  box-shadow: 0 0 12px #ff8ef1;
  border: 0;
  inset: auto 13px auto auto;
  transform: rotate(34deg);
}

.loadout-card .shield-icon::before {
  width: 22px;
  height: 26px;
}

.loadout-card b {
  text-shadow: 0 0 14px rgba(255,255,255,.16);
}

.loadout-card:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(142,246,255,.10), rgba(255,255,255,.025));
}

.loadout-card:nth-child(3) {
  background:
    linear-gradient(90deg, rgba(78,244,255,.09), rgba(255,255,255,.025));
}

.loadout-card:nth-child(4) {
  background:
    linear-gradient(90deg, rgba(255,142,241,.10), rgba(255,255,255,.025));
}


/* v10: cleaner right panel */
.hidden-status-values {
  display: none !important;
}

.command-panel {
  padding-top: 14px;
}

.stat-stack {
  padding-top: 0;
}

.loadout-panel {
  margin-top: 4px;
}

.deck-restart {
  margin-top: 14px;
}


/* v11: speed module + improved cosmic icon */
.speed-icon {
  border-color: rgba(255, 230, 109, .55) !important;
  box-shadow:
    inset 0 0 14px rgba(255, 230, 109, .12),
    0 0 24px rgba(255, 230, 109, .34) !important;
}

.speed-icon::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 28px;
  background: linear-gradient(135deg, #fff7bd, #ffe66d 45%, #ff9e2d);
  clip-path: polygon(18% 0, 78% 0, 57% 38%, 92% 38%, 28% 100%, 43% 55%, 8% 55%);
  box-shadow: 0 0 14px rgba(255, 230, 109, .85);
}

.speed-icon::after {
  border-top-color: rgba(255, 230, 109, .95) !important;
  border-left-color: rgba(255, 230, 109, .35) !important;
}

.loadout-card:nth-child(5) {
  background:
    linear-gradient(90deg, rgba(255,230,109,.11), rgba(255,255,255,.025));
}

@media (max-width: 1100px) {
  .loadout-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .loadout-title {
    grid-column: 1 / -1;
  }

  .loadout-card + .loadout-card {
    margin-top: 0;
  }
}


/* v12: right panel only shows score */
.score-only-stack {
  padding-bottom: 6px;
}

.score-only-row {
  min-height: 112px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.score-only-row .stat-label {
  color: #8ef6ff;
  font-size: 13px;
}

.score-only-row strong {
  font-size: 62px !important;
  line-height: .9;
}


/* v13: DexScreener embedded market board */
.dex-screen {
  align-items: center;
}

.dex-board {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  padding: clamp(22px, 3.2vw, 38px);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(7, 10, 29, .78), rgba(2, 4, 15, .9)),
    radial-gradient(circle at 14% 10%, rgba(52, 240, 255, .14), transparent 36%),
    radial-gradient(circle at 90% 15%, rgba(255, 73, 200, .12), transparent 30%);
  border: 1px solid rgba(151, 190, 255, .18);
  box-shadow:
    0 26px 80px rgba(0,0,0,.48),
    inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(15px);
}

.dex-board::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.045);
  pointer-events: none;
}

.dex-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.dex-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #78f4ff;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(120,244,255,.34);
}

.dex-topline h2 {
  margin-bottom: 0;
}

.dex-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: linear-gradient(135deg, #8d47ff, #2bdfff);
  box-shadow: 0 0 28px rgba(64, 226, 255, .2);
}

.dex-terminal {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(0,0,0,.36);
  border: 1px solid rgba(255,255,255,.10);
}

.dex-frame-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background:
    linear-gradient(90deg, rgba(52, 240, 255, .09), rgba(255, 73, 200, .08)),
    rgba(255,255,255,.035);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.dex-frame-header span {
  display: block;
  color: #a8f8ff;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.dex-frame-header strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
}

.dex-frame-header p {
  margin: 0;
  color: #bfc9ff;
  align-self: center;
  text-align: right;
}

.dex-iframe-shell {
  height: min(68vh, 640px);
  min-height: 470px;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    #050714;
  background-size: 34px 34px;
}

.dex-iframe-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  color-scheme: dark;
}

.dex-info-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.dex-info-grid article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
}

.dex-info-grid span {
  display: block;
  color: #aeb9f4;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.dex-info-grid strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 15px;
}

.dex-ca-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.07);
  overflow: auto;
}

.dex-ca-row span {
  color: #78f4ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
}

.dex-ca-row code {
  color: #e8edff;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .dex-topline,
  .dex-frame-header {
    flex-direction: column;
  }

  .dex-frame-header p {
    text-align: left;
  }

  .dex-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dex-iframe-shell {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .dex-info-grid {
    grid-template-columns: 1fr;
  }

  .dex-iframe-shell {
    min-height: 360px;
  }
}


/* v14: cleaner DEX embed without demo labels */
.dex-board {
  padding-top: clamp(18px, 3vw, 30px);
}

.dex-terminal {
  margin-top: 0;
}

.dex-iframe-shell {
  border-radius: 24px;
  overflow: hidden;
}


/* v16: roadmap fence layout with separate planetary posts */
.roadmap-screen {
  align-items: center;
}

.roadmap-wrap {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
}

.roadmap-title {
  margin-bottom: 26px;
}

.roadmap-fence {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  padding: 10px 4px 24px;
}

.roadmap-post {
  position: relative;
  flex: 0 0 285px;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(to bottom, rgba(6, 9, 25, .08), rgba(4, 7, 22, .86)),
    var(--post-bg) center/cover no-repeat;
  box-shadow:
    0 24px 44px rgba(0,0,0,.35),
    inset 0 0 0 1px rgba(255,255,255,.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.roadmap-post::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}

.earth-post { --post-bg: url('assets/roadmap_earth.png'); }
.planet2-post { --post-bg: url('assets/roadmap_planet2.png'); }
.planet3-post { --post-bg: url('assets/roadmap_planet3.png'); }
.moon-post { --post-bg: url('assets/roadmap_moon.png'); }

.post-topbar {
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 8px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(90deg, rgba(105,86,255,.95), rgba(58,225,255,.85), rgba(255,92,196,.92));
  box-shadow: 0 0 18px rgba(131, 97, 255, .28);
}

.post-number {
  position: relative;
  z-index: 1;
  margin: 26px 22px 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  background: rgba(8, 12, 30, .7);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 18px rgba(56, 136, 255, .12);
}

.post-copy {
  position: relative;
  z-index: 1;
  margin: auto 18px 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(6, 10, 26, .78);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(8px);
}

.post-copy h3 {
  margin-bottom: 10px;
  font-size: 28px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.post-copy p {
  margin-bottom: 0;
  color: #d3dbff;
  line-height: 1.65;
}

.fence-link {
  position: relative;
  flex: 0 0 74px;
  align-self: center;
  height: 16px;
  margin: 0 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(115,89,255,.8), rgba(73,218,255,.78));
  box-shadow: 0 0 22px rgba(87, 160, 255, .16);
}

.fence-link::before,
.fence-link::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #e6efff;
  box-shadow: 0 0 10px rgba(230,239,255,.5);
}

.fence-link::before { left: -5px; }
.fence-link::after { right: -5px; }

@media (max-width: 1200px) {
  .roadmap-fence {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .roadmap-fence {
    flex-direction: column;
    align-items: center;
    overflow: visible;
  }

  .roadmap-post {
    width: min(100%, 380px);
    flex-basis: auto;
    min-height: 420px;
  }

  .fence-link {
    width: 14px;
    height: 48px;
    flex: 0 0 48px;
    margin: 6px 0;
    background: linear-gradient(180deg, rgba(115,89,255,.8), rgba(73,218,255,.78));
  }

  .fence-link::before,
  .fence-link::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .fence-link::before {
    top: -4px;
  }

  .fence-link::after {
    top: auto;
    bottom: -4px;
  }
}


/* v17: roadmap fits on page without horizontal scroll */
.roadmap-wrap {
  width: min(1300px, 100%);
}

.roadmap-fence {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  overflow: visible !important;
  padding: 8px 0 20px;
}

.roadmap-post {
  flex: none !important;
  min-width: 0;
  min-height: 470px;
  width: 100%;
}

.post-copy {
  margin: auto 14px 14px;
  padding: 18px 16px;
}

.post-copy h3 {
  font-size: 24px;
}

.post-copy p {
  font-size: 14px;
  line-height: 1.55;
}

.fence-link {
  width: 100%;
  margin: 0;
  justify-self: stretch;
}

@media (max-width: 1280px) {
  .roadmap-post {
    min-height: 450px;
  }

  .post-copy h3 {
    font-size: 22px;
  }
}

@media (max-width: 1080px) {
  .roadmap-fence {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 16px;
    justify-content: center;
  }

  .fence-link {
    display: none !important;
  }

  .roadmap-post {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .roadmap-fence {
    grid-template-columns: 1fr;
  }

  .roadmap-post {
    min-height: 410px;
  }
}


/* v18: cleaner roadmap cards */
.roadmap-title .eyebrow {
  display: none !important;
}

.post-topbar {
  display: none !important;
}

.fence-link {
  display: none !important;
}

.roadmap-fence {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.roadmap-post {
  border: 0 !important;
  box-shadow: 0 20px 36px rgba(0,0,0,.28) !important;
  background:
    linear-gradient(to bottom, rgba(6, 9, 25, .04), rgba(4, 7, 22, .78)),
    var(--post-bg) center/cover no-repeat !important;
}

.roadmap-post::before {
  display: none !important;
}

.post-number {
  box-shadow: none !important;
  border: 0 !important;
  background: rgba(8, 12, 30, .58) !important;
}

.post-copy {
  border: 0 !important;
  background: rgba(6, 10, 26, .70) !important;
  box-shadow: none !important;
}

@media (max-width: 1080px) {
  .roadmap-fence {
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .roadmap-fence {
    grid-template-columns: 1fr !important;
  }
}


/* v19: remove DEX bottom stats strip and update roadmap text layout */
.dex-info-grid {
  display: none !important;
}

.dex-terminal {
  margin-bottom: 0;
}

.post-number {
  width: 76px !important;
  height: 66px !important;
  font-size: 25px !important;
  line-height: 1 !important;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
}

.post-number small {
  display: block;
  color: #9eeeff;
  font-size: 9px;
  letter-spacing: .16em;
}

.post-copy h3 {
  font-size: 22px !important;
  line-height: 1.12;
}

.post-copy p {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.roadmap-post {
  min-height: 520px !important;
}

@media (max-width: 1080px) {
  .roadmap-post {
    min-height: 460px !important;
  }
}

@media (max-width: 640px) {
  .roadmap-post {
    min-height: 430px !important;
  }
}


/* v20: mascot, logo, and ship cursor */
html, body, a, button, .space-btn, .top-nav a, canvas {
  cursor: url('assets/ship_cursor.png') 10 7, auto;
}

body {
  cursor: url('assets/ship_cursor.png') 10 7, auto;
}







.original-hero {
  position: relative;
  align-items: center;
  justify-content: center;
}

.hero-mascot-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 12px;
}

.hero-ifo-logo {
  position: relative;
  z-index: 3;
  margin-bottom: clamp(-18px, -1.4vw, -8px);
  font-family: Impact, Haettenschweiler, 'Arial Black', Inter, sans-serif;
  font-size: clamp(70px, 9.4vw, 148px);
  line-height: .78;
  font-weight: 950;
  letter-spacing: .08em;
  color: transparent;
  -webkit-text-stroke: clamp(2px, .32vw, 5px) rgba(214, 255, 248, .96);
  text-transform: uppercase;
  background:
    radial-gradient(circle at 34% 25%, #ffffff 0 8%, transparent 9% 100%),
    linear-gradient(180deg, #faff6c 0%, #63ff8d 36%, #35f7ff 66%, #a55cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 0 6px rgba(105, 255, 184, .82))
    drop-shadow(0 0 18px rgba(61, 247, 255, .68))
    drop-shadow(0 0 34px rgba(155, 82, 255, .54))
    drop-shadow(0 12px 10px rgba(0, 0, 0, .42));
  transform: rotate(-2deg);
  animation: ifoFloat 4.6s ease-in-out infinite;
}

.hero-ifo-logo::before,
.hero-ifo-logo::after {
  content: "IFO";
  position: absolute;
  inset: 0;
  z-index: -1;
  letter-spacing: inherit;
  -webkit-text-stroke: clamp(4px, .6vw, 9px) rgba(106, 255, 178, .28);
  color: transparent;
}

.hero-ifo-logo::after {
  transform: translate(4px, 5px);
  -webkit-text-stroke-color: rgba(92, 48, 183, .62);
  filter: blur(1px);
}

.hero-mascot {
  width: clamp(220px, 23vw, 340px);
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 10px 22px rgba(0,0,0,.48))
    drop-shadow(0 0 24px rgba(117, 196, 255, .08));
  transform: translateY(-10px);
  animation: mascotFloat 4.6s ease-in-out infinite;
}

.hero-button-row {
  position: absolute;
  left: 50%;
  bottom: 7vh;
  transform: translateX(-50%);
  z-index: 4;
  width: min(920px, 82vw);
}

.hero-actions {
  position: absolute;
  left: 50%;
  bottom: 5.8vh;
  transform: translateX(-50%);
  z-index: 4;
  width: min(920px, 82vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vh, 24px);
}

.hero-actions .hero-button-row {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
}

.ca-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.ca-title {
  font-family: Impact, Haettenschweiler, 'Arial Black', Inter, sans-serif;
  font-size: clamp(25px, 3vw, 44px);
  line-height: .8;
  font-weight: 950;
  letter-spacing: .16em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(224, 255, 248, .92);
  text-transform: uppercase;
  background: linear-gradient(180deg, #faff6c 0%, #63ff8d 42%, #35f7ff 78%);
  -webkit-background-clip: text;
  background-clip: text;
  filter:
    drop-shadow(0 0 8px rgba(105, 255, 184, .72))
    drop-shadow(0 0 18px rgba(61, 247, 255, .48));
}

.ca-copy-card {
  --accent: #63ff8d;
  position: relative;
  min-width: min(520px, 82vw);
  padding: 14px 28px 13px;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--accent) 76%, white 24%);
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,.25), transparent 19%),
    linear-gradient(135deg, rgba(23, 218, 128, .88), rgba(58, 223, 255, .62) 47%, rgba(113, 54, 218, .86));
  box-shadow:
    0 0 16px color-mix(in srgb, var(--accent) 58%, transparent),
    0 0 38px rgba(84, 219, 255, .24),
    inset 0 0 0 1px rgba(255,255,255,.14),
    inset 0 -10px 18px rgba(0,0,0,.22);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  font: inherit;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.ca-copy-card::before {
  content: "";
  position: absolute;
  inset: 4px 10px auto;
  height: 34%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0));
  opacity: .5;
  pointer-events: none;
}

.ca-copy-card:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.12) brightness(1.06);
  box-shadow:
    0 0 22px color-mix(in srgb, var(--accent) 72%, transparent),
    0 0 52px rgba(84, 219, 255, .34),
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 -10px 18px rgba(0,0,0,.2);
}

.ca-copy-card.copied .ca-copy-hint {
  color: #faff6c;
}

.ca-copy-card.copied .ca-copy-hint::after {
  content: " copied";
}

.ca-copy-text {
  position: relative;
  z-index: 1;
  display: block;
  font-weight: 950;
  font-size: clamp(18px, 2.1vw, 28px);
  letter-spacing: .1em;
  text-shadow: 0 2px 0 rgba(0,0,0,.26), 0 0 12px rgba(255,255,255,.28);
}

.ca-copy-hint {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(255,255,255,.76);
}


@keyframes mascotFloat {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(-18px); }
}

@keyframes ifoFloat {
  0%, 100% { transform: translateY(-68px) rotate(-2deg) scale(1); }
  50% { transform: translateY(-76px) rotate(1.5deg) scale(1.025); }
}

@media (max-width: 1100px) {
  

  

  .top-nav {
    left: 58%;
  }

  .hero-ifo-logo {
    font-size: clamp(58px, 9vw, 104px);
  }

  .hero-mascot {
    width: clamp(180px, 28vw, 260px);
  }
}

@media (max-width: 760px) {
  

  

  .top-nav {
    top: 82px;
    left: 50%;
    width: calc(100% - 28px);
    justify-content: center;
    flex-wrap: wrap;
  }

  .top-nav a {
    font-size: 13px;
    padding: 8px 12px;
  }

  .hero-mascot-wrap {
    padding-top: 42px;
  }

  .hero-ifo-logo {
    font-size: clamp(48px, 16vw, 82px);
    letter-spacing: .06em;
  }

  .hero-mascot {
    width: clamp(170px, 44vw, 230px);
  }

  .hero-button-row {
    bottom: 5vh;
    width: min(92vw, 620px);
    gap: 14px;
  }
  .hero-actions {
    bottom: 4.2vh;
    width: min(92vw, 620px);
    gap: 12px;
  }

  .ca-copy-card {
    min-width: min(440px, 90vw);
    padding: 12px 20px 11px;
  }

}
