:root {
  color-scheme: dark;
  --bg-1: #04070d;
  --bg-2: #08101e;
  --bg-3: #111d32;
  --panel: rgba(12, 18, 32, 0.76);
  --panel-strong: rgba(14, 22, 37, 0.92);
  --panel-border: rgba(167, 198, 255, 0.14);
  --text-main: #f5f7fb;
  --text-soft: #9fb0ca;
  --text-faint: #697994;
  --accent: #79d5ff;
  --accent-strong: #32f0ff;
  --accent-warm: #ff7e5f;
  --accent-hot: #ffb36b;
  --success: #72f0b7;
  --danger: #ff8d96;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-display: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-mono: "SFMono-Regular", "Menlo", "Monaco", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(72, 150, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(255, 120, 95, 0.18), transparent 24%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1) 40%, #02050a 100%);
  color: var(--text-main);
  font-family: var(--font-display);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 24px;
}

.ambient,
.grid-mask {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.ambient-left {
  background: radial-gradient(circle at 12% 20%, rgba(120, 214, 255, 0.2), transparent 30%);
}

.ambient-right {
  background: radial-gradient(circle at 85% 18%, rgba(255, 138, 104, 0.18), transparent 28%);
}

.grid-mask {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 90%);
  opacity: 0.38;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 24px;
  max-width: 1240px;
  padding: 10px 4px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(121, 213, 255, 0.2), rgba(255, 126, 95, 0.2));
  border: 1px solid rgba(121, 213, 255, 0.28);
  box-shadow: inset 0 0 22px rgba(121, 213, 255, 0.12);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand h1,
.hero-copy h2,
.section-heading h2,
.modal-header h2,
.scene-header h3,
.info-card h3,
.roadmap-grid h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.brand h1 {
  font-size: 1.15rem;
}

.topbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.topbar-link:hover,
.topbar-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(121, 213, 255, 0.28);
  background: rgba(121, 213, 255, 0.08);
  color: var(--text-main);
}

.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 36px 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.language-picker::after {
  content: "▾";
  position: absolute;
  right: 14px;
  color: var(--text-soft);
  pointer-events: none;
}

.language-picker span {
  color: var(--text-faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.language-picker select {
  min-width: 98px;
  border: 0;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.language-picker select option {
  background: #0b1423;
  color: var(--text-main);
}

.chip,
.board-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

main {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 1240px;
}

.board-page,
.admin-shell {
  display: grid;
  gap: 24px;
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(160deg, rgba(12, 18, 32, 0.98), rgba(8, 13, 24, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 213, 255, 0.14), transparent 70%);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}

.hero-copy,
.scene-card {
  padding: 34px;
}

.hero-copy {
  display: grid;
  gap: 28px;
}

.hero-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.92;
}

.lead,
.section-copy,
.info-card p,
.roadmap-grid p,
.progress-copy,
.modal-copy,
.modal-note {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-subactions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -10px;
}

.hero-link {
  text-decoration: none;
}

.primary-button,
.ghost-button,
.close-button {
  border: 0;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.primary-button {
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04111c;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(50, 240, 255, 0.18);
}

.ghost-button {
  padding: 13px 20px;
  border: 1px solid rgba(121, 213, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

.close-button {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 1rem;
}

.primary-button:hover,
.ghost-button:hover,
.close-button:hover {
  transform: translateY(-1px);
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
}

.text-button:hover {
  text-decoration: underline;
}

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

.metric {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-faint);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 3vw, 1.55rem);
}

.scene-card {
  display: grid;
  gap: 22px;
}

.scene-header,
.board-card-header,
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.scene-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 22px rgba(50, 240, 255, 0.9);
}

.scene {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 85%, rgba(255, 126, 95, 0.12), transparent 26%),
    radial-gradient(circle at 50% 50%, rgba(121, 213, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(12, 20, 33, 0.95), rgba(6, 10, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px),
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.6) 0 1px, transparent 1px),
    radial-gradient(circle at 68% 12%, rgba(255, 255, 255, 0.6) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 24%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px),
    radial-gradient(circle at 18% 68%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px),
    radial-gradient(circle at 58% 74%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px);
  opacity: 0.7;
}

.planet {
  position: absolute;
  border-radius: 999px;
}

.planet-1 {
  top: 42px;
  right: 44px;
  width: 150px;
  height: 150px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 231, 187, 0.45), transparent 35%),
    linear-gradient(135deg, rgba(255, 100, 85, 0.95), rgba(92, 24, 28, 0.95));
  box-shadow: 0 0 120px rgba(255, 126, 95, 0.2);
}

.planet-2 {
  bottom: -60px;
  left: -40px;
  width: 250px;
  height: 250px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 204, 170, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(48, 77, 122, 0.95), rgba(6, 14, 27, 0.98));
  opacity: 0.85;
}

.signal,
.launch-ring,
.launch-flare {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.signal {
  border-radius: 999px;
  border: 1px solid rgba(121, 213, 255, 0.2);
  opacity: 0;
}

.signal-a {
  bottom: 44px;
  width: 220px;
  height: 220px;
  animation: signal 4.4s linear infinite;
}

.signal-b {
  bottom: 24px;
  width: 280px;
  height: 280px;
  animation: signal 4.4s linear infinite 1.6s;
}

.robot {
  position: absolute;
  right: 68px;
  bottom: 54px;
  width: 112px;
  height: 126px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(193, 204, 224, 0.96), rgba(84, 98, 126, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 -18px 24px rgba(8, 16, 30, 0.3),
    0 16px 48px rgba(0, 0, 0, 0.35);
  animation: float 4.2s ease-in-out infinite;
}

.robot::before,
.robot::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 16px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(177, 188, 209, 0.96), rgba(82, 93, 120, 0.95));
}

.robot::before {
  left: -10px;
}

.robot::after {
  right: -10px;
}

.robot-visor {
  position: absolute;
  top: 20px;
  left: 16px;
  right: 16px;
  height: 46px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(10, 19, 39, 0.95), rgba(26, 41, 78, 0.92));
  box-shadow: inset 0 0 18px rgba(121, 213, 255, 0.18);
}

.robot-eye,
.robot-mouth {
  position: absolute;
  z-index: 1;
  background: var(--accent-strong);
  box-shadow: 0 0 18px rgba(50, 240, 255, 0.85);
}

.robot-eye {
  top: 36px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.robot-eye-left {
  left: 34px;
}

.robot-eye-right {
  right: 34px;
}

.robot-mouth {
  left: 34px;
  right: 34px;
  bottom: 28px;
  height: 6px;
  border-radius: 999px;
}

.ship {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: 112px;
  transform: translateX(-50%);
  transition: transform 1.8s ease, bottom 1.8s ease;
}

.ship-nose {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-bottom: 54px solid #d4dde9;
  filter: drop-shadow(0 0 18px rgba(121, 213, 255, 0.14));
}

.ship-body {
  position: relative;
  width: 92px;
  height: 210px;
  margin: -2px auto 0;
  border-radius: 40px 40px 22px 22px;
  background:
    linear-gradient(90deg, rgba(182, 193, 210, 0.95), rgba(248, 251, 255, 0.98) 48%, rgba(154, 165, 183, 0.96));
  box-shadow:
    inset -16px 0 18px rgba(58, 72, 95, 0.2),
    inset 18px 0 18px rgba(255, 255, 255, 0.24),
    0 20px 50px rgba(0, 0, 0, 0.35);
}

.ship-window {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #78dcff 42%, #0c1c2d 100%);
  box-shadow: 0 0 18px rgba(120, 220, 255, 0.42);
}

.ship-fin {
  position: absolute;
  bottom: 48px;
  width: 34px;
  height: 82px;
  background: linear-gradient(180deg, rgba(230, 236, 246, 0.96), rgba(102, 118, 147, 0.94));
}

.ship-fin-left {
  left: 0;
  clip-path: polygon(0 100%, 100% 6%, 100% 100%);
}

.ship-fin-right {
  right: 0;
  clip-path: polygon(0 6%, 100% 100%, 0 100%);
}

.ship-engine {
  width: 32px;
  height: 20px;
  margin: -8px auto 0;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #6f7b91, #cdd7e8);
}

.ship-flame {
  width: 22px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50% 50% 80% 80%;
  background: linear-gradient(180deg, rgba(255, 227, 123, 0.92), rgba(255, 126, 95, 0.95));
  filter: blur(0.6px);
  transform-origin: top center;
  animation: thruster 0.9s ease-in-out infinite;
}

.launch-ring {
  bottom: 42px;
  width: 320px;
  height: 70px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(50, 240, 255, 0.2), transparent 60%);
  filter: blur(10px);
}

.launch-flare {
  bottom: 10px;
  width: 420px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 156, 111, 0.18), transparent 68%);
  opacity: 0.6;
}

.progress-block {
  display: grid;
  gap: 12px;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-soft);
}

.progress-meta strong {
  font-family: var(--font-mono);
}

.progress-bar {
  overflow: hidden;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(121, 213, 255, 0.95), rgba(50, 240, 255, 0.98)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
  box-shadow: 0 0 28px rgba(50, 240, 255, 0.4);
  transition: width 500ms ease;
}

.info-grid,
.board-layout,
.roadmap-grid {
  display: grid;
  gap: 24px;
}

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

.info-card {
  padding: 28px;
}

.board-section {
  display: grid;
  gap: 20px;
}

.board-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.board-card,
.roadmap-section {
  padding: 30px;
}

.leaderboard,
.mission-log {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.leader-entry,
.log-entry {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.leader-entry {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.leader-rank {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(121, 213, 255, 0.16), rgba(255, 126, 95, 0.16));
  color: var(--text-main);
  font-weight: 700;
}

.leader-meta strong,
.leader-amount,
.roadmap-step {
  font-family: var(--font-mono);
}

.leader-meta p,
.leader-empty,
.log-entry p {
  margin: 0;
  color: var(--text-soft);
}

.leader-amount {
  font-size: 1.05rem;
  color: var(--accent-hot);
}

.leader-empty,
.log-entry time {
  color: var(--text-faint);
}

.roadmap-section {
  display: grid;
  gap: 24px;
}

.page-hero,
.admin-card,
.login-card {
  padding: 30px;
}

.page-header,
.admin-card-header,
.button-row,
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-header,
.admin-card-header {
  justify-content: space-between;
  margin-bottom: 16px;
}

.summary-grid,
.dashboard-grid,
.form-grid {
  display: grid;
  gap: 18px;
}

.summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 24px;
}

.summary-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-value {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 3vw, 1.7rem);
}

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

.admin-card-header h3 {
  margin: 0;
}

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

.form-grid .field,
.form-grid .checkbox-row,
.form-grid .button-row,
.panel-copy {
  grid-column: 1 / -1;
}

.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  outline: none;
}

.checkbox-row {
  color: var(--text-soft);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.danger-button {
  padding: 13px 20px;
  border: 1px solid rgba(255, 141, 150, 0.34);
  background: rgba(255, 141, 150, 0.1);
  color: #ffdbe0;
  border-radius: 999px;
}

.small-button {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

.panel-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.data-table {
  overflow-x: auto;
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--text-faint);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.table-mono {
  font-family: var(--font-mono);
  word-break: break-all;
}

.table-time {
  display: inline-block;
  margin-top: 6px;
  color: var(--text-faint);
  font-size: 0.88rem;
}

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

.roadmap-grid article {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.roadmap-step {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  letter-spacing: 0.16em;
}

.mission-modal {
  padding: 0;
  border: 0;
  background: transparent;
}

.mission-modal::backdrop {
  background: rgba(1, 4, 10, 0.75);
  backdrop-filter: blur(16px);
}

.modal-card {
  width: min(560px, calc(100vw - 32px));
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(121, 213, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(10, 18, 33, 0.98), rgba(7, 11, 19, 0.98));
  box-shadow: var(--shadow);
}

.modal-header,
.wallet-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wallet-strip {
  padding: 16px 18px;
  margin: 24px 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.field {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.field span {
  color: var(--text-soft);
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field input:focus {
  border-color: rgba(121, 213, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(121, 213, 255, 0.08);
}

.modal-note {
  margin-top: 18px;
  color: var(--text-faint);
  font-size: 0.92rem;
}

.scene[data-launch="ready"] .ship {
  bottom: 180px;
  transform: translateX(-50%) scale(1.02);
}

.scene[data-launch="ready"] .ship-flame {
  height: 100px;
  background: linear-gradient(180deg, rgba(255, 244, 149, 0.98), rgba(255, 107, 87, 0.98));
}

.scene[data-launch="ready"] .launch-flare {
  opacity: 1;
  animation: flare 1.1s ease-in-out infinite alternate;
}

.scene[data-launch="ready"] .signal {
  opacity: 1;
}

.scene[data-launch="ready"] .robot-eye,
.scene[data-launch="ready"] .robot-mouth,
.wallet-connected #wallet-status {
  color: var(--success);
}

.success-copy {
  color: var(--success);
}

.danger-copy {
  color: var(--danger);
}

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

@keyframes thruster {
  0%,
  100% {
    transform: scaleY(0.88);
    opacity: 0.8;
  }
  50% {
    transform: scaleY(1.18);
    opacity: 1;
  }
}

@keyframes signal {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.75);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.1);
  }
}

@keyframes flare {
  from {
    transform: translateX(-50%) scale(0.96);
  }
  to {
    transform: translateX(-50%) scale(1.08);
  }
}

@media (max-width: 1120px) {
  .hero,
  .board-layout,
  .info-grid,
  .roadmap-grid,
  .summary-grid,
  .dashboard-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h2 {
    max-width: none;
  }

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

@media (max-width: 720px) {
  .site-shell {
    padding: 16px;
  }

  .topbar,
  .topbar-links,
  .scene-header,
  .section-heading,
  .modal-header,
  .wallet-strip,
  .page-header,
  .admin-card-header,
  .button-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy,
  .scene-card,
  .board-card,
  .roadmap-section,
  .info-card,
  .page-hero,
  .admin-card,
  .login-card {
    padding: 24px;
  }

  .hero-copy h2 {
    font-size: clamp(2.2rem, 13vw, 4rem);
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .scene {
    min-height: 360px;
  }

  .planet-1 {
    width: 110px;
    height: 110px;
  }

  .robot {
    right: 22px;
    bottom: 28px;
    transform: scale(0.88);
  }

  .leader-entry {
    grid-template-columns: auto 1fr;
  }

  .leader-amount {
    grid-column: 2;
  }
}
