:root {
  --bg: #060814;
  --panel: rgba(10, 18, 44, 0.82);
  --panel-soft: rgba(15, 25, 56, 0.9);
  --panel-deep: rgba(8, 14, 34, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef7ff;
  --muted: #9db8d7;
  --cyan: #5ff1ff;
  --blue: #79a8ff;
  --pink: #ff6ad5;
  --gold: #ffd76f;
  --shadow: 0 22px 60px rgba(1, 7, 23, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 18% 22%, rgba(95, 241, 255, 0.16), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(255, 106, 213, 0.14), transparent 24%),
    radial-gradient(circle at 52% 78%, rgba(121, 168, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #050814 0%, #091127 46%, #0d1735 100%);
}

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

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

.nebula,
.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.nebula--a {
  background: radial-gradient(circle at 12% 32%, rgba(95, 241, 255, 0.15), transparent 30%);
}

.nebula--b {
  background: radial-gradient(circle at 86% 26%, rgba(255, 106, 213, 0.13), transparent 28%);
}

.starfield {
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
}

.container {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(5, 9, 22, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-shell {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(90deg, rgba(95, 241, 255, 0.1), rgba(121, 168, 255, 0.1), rgba(255, 106, 213, 0.12));
}

.signal-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 12px 16px;
  animation: signal 18s linear infinite;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  font-weight: 800;
}

.signal-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(95, 241, 255, 0.12);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

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

.brand img {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 22px rgba(95, 241, 255, 0.22));
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong,
.section-title,
.footer-brand,
.card-name {
  font-family: "Orbitron", sans-serif;
}

.brand strong {
  font-size: 1.28rem;
  letter-spacing: 0.08em;
}

.brand em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.main-nav a,
.header-cta,
.section-link,
.crypto-card,
.footer-row {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.main-nav a {
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  color: #08152a;
  font-weight: 900;
  background: linear-gradient(135deg, #5ff1ff, #ff6ad5);
  box-shadow: 0 16px 32px rgba(95, 241, 255, 0.18);
}

.site-main {
  padding: 28px 0 44px;
}

.section {
  padding-top: 28px;
}

.section--hero {
  padding-top: 12px;
}

.hero-shell,
.site-footer .footer-row {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel-deep);
  box-shadow: var(--shadow);
}

.hero-shell {
  padding: 22px;
}

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.55rem;
  letter-spacing: 0.08em;
}

.section-chip,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.orbit-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
}

.planet-stage {
  min-height: 430px;
}

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

.launch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

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

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

.crypto-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 248px;
  padding: 18px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel-soft);
  box-shadow: var(--shadow);
}

.crypto-card::before {
  content: "";
  position: absolute;
  inset: auto -54px -86px auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 68%);
  opacity: 0.95;
}

.crypto-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 52%, white 10%);
}

.crypto-card--planet {
  min-height: 430px;
  padding: 24px;
}

.crypto-card--placeholder {
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(12, 20, 44, 0.88);
}

.card-top,
.card-logo,
.card-bottom {
  position: relative;
  z-index: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-pill,
.card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card-pill {
  background: rgba(255, 255, 255, 0.08);
}

.card-chip {
  min-width: 58px;
  background: color-mix(in srgb, var(--accent) 22%, rgba(255, 255, 255, 0.08));
  color: #071324;
}

.card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(6, 12, 30, 0.78);
}

.card-logo img {
  width: 100%;
  max-width: 240px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.32));
}

.card-logo--placeholder span {
  font-family: "Orbitron", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  text-align: center;
}

.card-bottom {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.card-name {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8f6ff;
  font-size: 0.92rem;
  font-weight: 800;
}

.card-link::after {
  content: ">";
  color: var(--accent);
}

.crypto-card--placeholder .card-link::after {
  content: none;
}

.launch-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, rgba(255, 255, 255, 0.06)), rgba(255, 255, 255, 0.04)),
    rgba(8, 16, 38, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.launch-chip strong {
  font-family: "Orbitron", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
}

.launch-chip span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-footer {
  padding-bottom: 34px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
}

.footer-brand {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes signal {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .orbit-shell,
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .header-row {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .orbit-shell {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .orbit-grid,
  .market-grid,
  .wall-grid,
  .launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .crypto-card,
  .crypto-card--planet {
    min-height: 210px;
    padding: 14px;
    border-radius: 20px;
    gap: 12px;
  }

  .card-logo {
    min-height: 82px;
    padding: 12px;
    border-radius: 16px;
  }

  .card-logo img {
    height: 48px;
  }

  .card-name {
    font-size: 0.94rem;
  }

  .card-pill,
  .card-chip {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.54rem;
  }

  .card-link {
    padding-top: 8px;
    font-size: 0.72rem;
  }

  .launch-chip {
    padding: 12px 14px;
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 18px));
  }

  .site-header {
    position: static;
  }

  .brand strong {
    font-size: 1.02rem;
  }

  .brand em {
    font-size: 0.62rem;
  }

  .header-cta {
    width: 100%;
  }

  .section-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title {
    font-size: 1.24rem;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
