:root {
  --black: #050505;
  --panel: #0d0d0e;
  --panel-soft: #141414;
  --line: rgba(255, 255, 255, 0.14);
  --text: #fffefe;
  --muted: #c5c5c5;
  --red: #ff1515;
  --orange: #ff9d00;
  --yellow: #fff000;
  --green: #00c853;
  --blue: #0073ff;
  --purple: #9b1be8;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 21, 21, 0.22), transparent 18rem),
    radial-gradient(circle at 86% 10%, rgba(155, 27, 232, 0.24), transparent 20rem),
    radial-gradient(circle at 50% -20%, rgba(0, 115, 255, 0.16), transparent 30rem),
    #030303;
  overflow-x: hidden;
}

.color-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(115deg, transparent 0 43%, rgba(255, 255, 255, 0.09) 43% 44%, transparent 44% 100%),
    linear-gradient(90deg, rgba(255, 21, 21, 0.08), rgba(255, 157, 0, 0.07), rgba(255, 240, 0, 0.07), rgba(0, 200, 83, 0.07), rgba(0, 115, 255, 0.07), rgba(155, 27, 232, 0.08));
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.78);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 10px;
  color: #050505;
  background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.18);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 850;
}

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

main {
  padding: 24px 16px 56px;
}

.hero {
  position: relative;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
  box-shadow: 0 36px 86px rgba(0, 0, 0, 0.58);
}

.hero-media {
  min-height: clamp(340px, 49vw, 570px);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.93), rgba(0, 0, 0, 0.16) 48%, rgba(0, 0, 0, 0.82)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.96), transparent 58%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  left: clamp(24px, 5vw, 70px);
  bottom: clamp(28px, 6vw, 70px);
  z-index: 2;
  width: min(620px, calc(100% - 48px));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.84;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 18px 52px #000;
}

.hero-description {
  max-width: 54ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 650;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.copy-button:hover {
  transform: translateY(-2px);
}

.button.primary,
.copy-button {
  color: #050505;
  background: linear-gradient(135deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.16);
}

.button.ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.spectrum {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, var(--max-width));
  margin: 18px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090909;
}

.spectrum span {
  min-height: 72px;
  padding: 20px;
  color: var(--text);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.spectrum span:nth-child(1) {
  background: rgba(255, 21, 21, 0.28);
}

.spectrum span:nth-child(2) {
  background: rgba(255, 157, 0, 0.28);
}

.spectrum span:nth-child(3) {
  background: rgba(0, 200, 83, 0.28);
}

.spectrum span:nth-child(4) {
  background: rgba(0, 115, 255, 0.28);
}

.spectrum span:nth-child(5) {
  background: rgba(155, 27, 232, 0.3);
}

.prism,
.cards,
.token {
  width: min(100%, var(--max-width));
  margin: 18px auto 0;
}

.prism {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.symbol-card,
.prism-copy,
.cards article,
.token {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    var(--panel);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.3);
}

.symbol-card {
  display: grid;
  gap: 16px;
  padding: 14px;
}

.symbol-card img {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  background: #000;
}

.symbol-card span,
.token-row span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.symbol-card strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.18rem, 3vw, 1.82rem);
}

.prism-copy {
  padding: clamp(26px, 5vw, 46px);
}

.prism-copy h2,
.token h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.1rem, 5vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.prism-copy p:not(.eyebrow),
.cards p {
  color: var(--muted);
  font-weight: 650;
}

.prism-copy p:not(.eyebrow) {
  max-width: 62ch;
  margin: 18px 0 0;
}

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

.cards article {
  min-height: 228px;
  padding: 20px;
}

.cards span {
  color: var(--yellow);
  font-size: 2rem;
  font-weight: 950;
}

.cards h3 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 1.16rem;
}

.cards p {
  margin: 0;
}

.token {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: center;
  padding: clamp(26px, 5vw, 42px);
}

.token-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080808;
}

.token-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.token-row strong {
  text-align: right;
}

.copy-button {
  width: 100%;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, var(--max-width));
  margin: 22px auto 0;
  padding: 24px 16px 38px;
  color: var(--muted);
  font-weight: 850;
}

@media (max-width: 940px) {
  .topbar,
  .hero,
  .spectrum,
  .prism,
  .cards,
  .token {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .prism,
  .token {
    grid-template-columns: 1fr;
  }

  .symbol-card {
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
  }

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

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

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  main {
    padding-inline: 0;
  }

  .hero-media {
    min-height: 500px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.22) 78%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent);
  }

  .hero-copy {
    left: 22px;
    bottom: 24px;
    width: calc(100% - 44px);
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .button {
    flex: 1 1 132px;
  }

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

  .symbol-card {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    width: min(calc(100% - 24px), var(--max-width));
  }
}
