:root {
  --bg: #050505;
  --panel: #10110d;
  --panel-2: #17170f;
  --line: rgba(255, 214, 0, 0.2);
  --yellow: #ffd600;
  --yellow-2: #f5b800;
  --text: #f8f8ef;
  --muted: #b9b7a2;
  --black: #050505;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 4%, rgba(255, 214, 0, 0.22), transparent 28rem),
    linear-gradient(180deg, #080805 0%, #050505 48%, #0d0d08 100%);
}

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

button {
  font: inherit;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 214, 0, 0.18);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 850;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--black);
  background: var(--yellow);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding: 8px;
  border: 1px solid rgba(255, 214, 0, 0.16);
  border-radius: 8px;
  background: rgba(255, 214, 0, 0.055);
}

.ticker span {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--yellow);
  background: rgba(5, 5, 5, 0.55);
  font-size: 0.86rem;
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
}

.hero {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.hero-art {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 24px 90px rgba(255, 214, 0, 0.12);
}

.hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: contain;
  object-position: center;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 18px;
  align-items: stretch;
}

.copy,
.actions,
.metric,
.community {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(23, 23, 15, 0.96), rgba(9, 9, 7, 0.96));
}

.copy {
  padding: clamp(24px, 4vw, 42px);
}

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

h1,
h2 {
  margin: 0;
  max-width: 780px;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4.1rem);
}

.copy p:last-child,
.metric p {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
  padding: 18px;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 214, 0, 0.24);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.action:hover,
.action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--yellow);
  outline: none;
}

.action.primary {
  grid-column: 1 / -1;
  color: var(--black);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
}

.trade-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 214, 0, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 214, 0, 0.1), rgba(255, 214, 0, 0.02)),
    rgba(0, 0, 0, 0.28);
}

.trade-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
}

.trade-card strong {
  display: block;
  color: var(--yellow);
  font-size: 1.45rem;
  line-height: 1;
}

.trade-line {
  grid-column: 1 / -1;
  height: 64px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 8%, rgba(255, 214, 0, 0.12) 8% 10%, transparent 10% 22%, rgba(255, 214, 0, 0.22) 22% 24%, transparent 24% 36%, rgba(255, 214, 0, 0.42) 36% 38%, transparent 38% 50%, rgba(255, 214, 0, 0.58) 50% 52%, transparent 52% 66%, rgba(255, 214, 0, 0.78) 66% 68%, transparent 68%),
    linear-gradient(180deg, rgba(255, 214, 0, 0.05), rgba(255, 214, 0, 0.02));
}

.hood-system {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-top: 16px;
}

.hood-copy,
.hood-cards article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(23, 23, 15, 0.96), rgba(9, 9, 7, 0.96));
}

.hood-copy {
  padding: clamp(24px, 4vw, 42px);
}

.hood-cards {
  display: grid;
  gap: 10px;
}

.hood-cards article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 16px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 950;
}

.hood-cards strong {
  display: block;
  font-size: 1.18rem;
}

.hood-cards p {
  grid-column: 2;
  margin: -18px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.metric {
  min-height: 220px;
  padding: 24px;
}

.metric span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 1;
}

.metric.hot {
  background:
    linear-gradient(145deg, rgba(255, 214, 0, 0.18), rgba(13, 13, 8, 0.96)),
    var(--panel);
}

.image-card {
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background: #050505;
}

.image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 220px;
  object-fit: contain;
  object-position: center;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: center;
  margin-top: 16px;
  padding: clamp(24px, 4vw, 42px);
}

.status-list {
  display: grid;
  gap: 10px;
}

.status-list span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255, 214, 0, 0.18);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 750;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  padding: 12px 16px;
  border: 1px solid rgba(255, 214, 0, 0.28);
  border-radius: 8px;
  color: var(--black);
  background: var(--yellow);
  font-weight: 850;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 22px, 680px);
    padding-top: 10px;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    overflow: visible;
  }

  .nav a {
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
  }

  .ticker,
  .hood-system {
    grid-template-columns: 1fr;
  }

  .hero-art img {
    aspect-ratio: 3 / 1;
  }

  .hero-panel,
  .market-grid,
  .community {
    grid-template-columns: 1fr;
  }

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

  .action.primary {
    grid-column: auto;
  }

  .metric {
    min-height: 180px;
  }

  .image-card img {
    max-height: 360px;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 16px), 374px);
    margin-left: 8px;
    margin-right: auto;
  }

  .brand span {
    font-size: 0.98rem;
  }

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

  .nav a {
    padding-block: 8px;
  }

  .hero-art img {
    min-height: 0;
    object-fit: contain;
    object-position: center;
  }

  .ticker span {
    white-space: normal;
  }

  .copy,
  .hood-copy,
  .community {
    padding: 22px;
  }

  .hood-cards article {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 112px;
  }

  .card-icon {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: clamp(2.42rem, 14vw, 3.7rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }
}
