:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #afbec6;
  --bg: #050a0c;
  --panel: rgba(7, 22, 28, 0.78);
  --line: rgba(255, 255, 255, 0.14);
  --green: #6dff7d;
  --cyan: #32d9ff;
  --coral: #ff6d6d;
  --gold: #ffc857;
  --deep: #071f2a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  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;
  background: var(--bg);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(135deg, rgba(109, 255, 125, 0.08), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(50, 217, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #050a0c, #061116 48%, #050a0c);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 12, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(109, 255, 125, 0.7);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(109, 255, 125, 0.22), rgba(50, 217, 255, 0.12));
  color: var(--green);
  box-shadow: 0 0 28px rgba(109, 255, 125, 0.28);
}

.brand-mark span {
  position: absolute;
  inset: 6px 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.48);
  border-right: 1px solid rgba(255, 255, 255, 0.48);
  transform: rotate(-18deg);
}

.brand:hover .brand-mark {
  animation: pulse 900ms ease;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(109, 255, 125, 0.72);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), #b8ff78);
  color: #04130a;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(109, 255, 125, 0.18);
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
}

.button-ghost,
.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.button-secondary {
  border-color: rgba(50, 217, 255, 0.55);
}

.icon-button {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 36px;
  padding: 136px clamp(18px, 5vw, 72px) 72px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 10, 12, 0.94) 0%, rgba(5, 10, 12, 0.74) 34%, rgba(5, 10, 12, 0.24) 78%),
    linear-gradient(180deg, rgba(5, 10, 12, 0.34), #050a0c 100%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 900px;
  font-size: clamp(3.2rem, 8.5vw, 7.4rem);
  line-height: 0.9;
  text-wrap: balance;
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 660px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics div,
.market-panel,
.step-card,
.moment-card,
.team-grid article,
.token-grid div,
.faq-list details {
  border: 1px solid var(--line);
  background: rgba(6, 18, 22, 0.7);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  width: min(100%, 170px);
  padding: 16px;
  border-radius: 8px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.6rem;
}

.hero-metrics span,
.event-list span,
.token-grid span,
.team-grid span {
  color: var(--muted);
  font-size: 0.86rem;
}

.market-panel {
  align-self: end;
  padding: 22px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-header,
.coin-row,
.event-list div,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 0.85rem;
}

.status-dot::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  box-shadow: 0 0 14px var(--green);
}

.coin-row {
  margin: 22px 0;
}

.coin-row strong {
  font-size: 2.3rem;
}

.coin-row span {
  color: var(--green);
  font-weight: 800;
}

.ticker-track {
  height: 78px;
  padding: 12px 0;
}

.ticker-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 8%, rgba(109, 255, 125, 0.78) 8% 11%, transparent 11% 24%, rgba(50, 217, 255, 0.8) 24% 27%, transparent 27%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  background-size: 180px 100%, 100% 100%;
  animation: chartMove 4s linear infinite;
}

.event-list {
  display: grid;
  gap: 12px;
}

.event-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-block: 1px solid var(--line);
  background: #071115;
}

.trust-strip span {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.section {
  padding: clamp(68px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 880px;
}

.steps-grid,
.moments-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card,
.moment-card,
.team-grid article {
  min-height: 250px;
  padding: 24px;
  border-radius: 8px;
}

.step-card span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--cyan);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: linear-gradient(180deg, rgba(50, 217, 255, 0.06), rgba(255, 109, 109, 0.04));
}

.split-section p {
  max-width: 640px;
}

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

.token-grid div {
  min-height: 180px;
  padding: 20px;
  border-radius: 8px;
  background:
    conic-gradient(from 220deg, var(--green) calc(var(--value) * 1%), rgba(255, 255, 255, 0.08) 0),
    rgba(6, 18, 22, 0.7);
}

.token-grid strong {
  display: block;
  margin-bottom: 72px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.moments-section {
  background: #081015;
}

.moment-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(145deg, rgba(50, 217, 255, 0.12), transparent),
    rgba(255, 255, 255, 0.045);
}

.highlight-card {
  min-height: 340px;
  background:
    linear-gradient(145deg, rgba(109, 255, 125, 0.18), rgba(50, 217, 255, 0.12)),
    rgba(255, 255, 255, 0.05);
}

.moment-badge {
  width: max-content;
  margin-bottom: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(109, 255, 125, 0.14);
  color: var(--green);
  font-weight: 800;
}

.moment-badge.coral {
  background: rgba(255, 109, 109, 0.14);
  color: var(--coral);
}

.moment-badge.gold {
  background: rgba(255, 200, 87, 0.14);
  color: var(--gold);
}

.roadmap-section {
  background: linear-gradient(180deg, #081015, #050a0c);
}

.timeline {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--gold);
  font-weight: 900;
}

.team-grid article {
  min-height: 210px;
}

.team-grid span {
  display: block;
  margin-bottom: 46px;
  color: var(--cyan);
  font-weight: 800;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 8px;
  padding: 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 14px 0 0;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 clamp(18px, 5vw, 72px) 72px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(109, 255, 125, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(109, 255, 125, 0.12), rgba(50, 217, 255, 0.12)),
    #071115;
}

.cta-band h2 {
  margin-bottom: 0;
}

.site-footer {
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.signup-modal {
  width: min(92vw, 520px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #071115;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.signup-modal::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  font-size: 1.4rem;
}

.modal-content {
  padding: 34px;
}

.signup-form {
  display: grid;
  gap: 16px;
}

.signup-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.signup-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--green);
}

/* ── Rolling Ticker ── */
.moment-ticker {
  display: flex;
  align-items: center;
  height: 46px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 21, 0.92);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 100%;
  border-right: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--green);
  background: rgba(109, 255, 125, 0.06);
  white-space: nowrap;
}

.ticker-scroll-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
}

.ticker-scroll {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  animation: tickerRoll 60s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-scroll:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  height: 100%;
  border-right: 1px solid var(--line);
  font-size: 0.82rem;
  cursor: default;
}

.ticker-item-name {
  color: var(--ink);
  font-weight: 700;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-item-price {
  color: var(--cyan);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ticker-item-delta {
  font-size: 0.75rem;
  font-weight: 800;
}

.ticker-item-delta.up { color: var(--green); }
.ticker-item-delta.down { color: var(--coral); }

.ticker-item-sport {
  font-size: 0.7rem;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 4px;
}

@keyframes tickerRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Trading Section ── */
.trading-section {
  background: linear-gradient(180deg, #081015 0%, #050a0c 100%);
}

.trading-section .section-heading.compact {
  margin-bottom: 40px;
}

.trading-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}

.nft-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.nft-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: rgba(6, 18, 22, 0.7);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
}

.nft-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 180ms ease;
}

.nft-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}

.nft-card:hover::before {
  opacity: 1;
}

.nft-card.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(109,255,125,0.3), 0 12px 36px rgba(0,0,0,0.4);
}

.nft-card[data-sport="Football"]::before { background: linear-gradient(145deg, rgba(109,255,125,0.08), transparent); }
.nft-card[data-sport="Basketball"]::before { background: linear-gradient(145deg, rgba(255,200,87,0.08), transparent); }
.nft-card[data-sport="Baseball"]::before { background: linear-gradient(145deg, rgba(50,217,255,0.08), transparent); }
.nft-card[data-sport="Soccer"]::before { background: linear-gradient(145deg, rgba(255,109,109,0.08), transparent); }
.nft-card[data-sport="Hockey"]::before { background: linear-gradient(145deg, rgba(200,150,255,0.08), transparent); }
.nft-card[data-sport="Tennis"]::before { background: linear-gradient(145deg, rgba(255,220,50,0.08), transparent); }

.nft-card-sport {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.nft-card[data-sport="Football"] .nft-card-sport { color: var(--green); }
.nft-card[data-sport="Basketball"] .nft-card-sport { color: var(--gold); }
.nft-card[data-sport="Baseball"] .nft-card-sport { color: var(--cyan); }
.nft-card[data-sport="Soccer"] .nft-card-sport { color: var(--coral); }
.nft-card[data-sport="Hockey"] .nft-card-sport { color: #c896ff; }
.nft-card[data-sport="Tennis"] .nft-card-sport { color: #ffdc32; }

.nft-card-name {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}

.nft-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.nft-card-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.nft-card-delta {
  font-size: 0.78rem;
  font-weight: 800;
}

.nft-card-delta.up { color: var(--green); }
.nft-card-delta.down { color: var(--coral); }

.nft-card-meta {
  font-size: 0.76rem;
  color: var(--muted);
}

.nft-card-activity {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: activityPulse 2s ease infinite;
}

@keyframes activityPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Trading Panel ── */
.trading-panel {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 18, 22, 0.85);
  backdrop-filter: blur(18px);
  overflow: hidden;
  min-height: 300px;
}

.trading-panel-inner {
  padding: 22px;
  display: none;
}

.trading-panel-inner.visible {
  display: block;
}

.panel-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.panel-empty.hidden {
  display: none;
}

.tp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.tp-header h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.tp-badge {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tp-price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 16px;
}

.tp-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 700;
}

.tp-price {
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}

.tp-delta.up { color: var(--green); }
.tp-delta.down { color: var(--coral); }

/* Mini chart */
.tp-chart {
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.02);
}

.tp-chart-svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Order book */
.order-book {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.ob-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.ob-header span:first-child { text-align: left; }
.ob-header span:last-child { text-align: right; }

.ob-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 180ms ease;
}

.ob-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 0;
  transition: width 400ms ease;
}

.ob-row.bid::before {
  background: rgba(109,255,125,0.07);
  width: var(--depth, 0%);
}

.ob-row.ask::before {
  background: rgba(255,109,109,0.07);
  right: 0;
  left: auto;
  width: var(--depth, 0%);
}

.ob-row .bid-val { color: var(--green); text-align: left; }
.ob-row .price-val { text-align: center; font-weight: 700; color: var(--ink); }
.ob-row .ask-val { color: var(--coral); text-align: right; }
.ob-row .empty { color: var(--muted); }

.ob-spread {
  display: flex;
  justify-content: center;
  padding: 6px;
  font-size: 0.74rem;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
}

/* Trade actions */
.tp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.tp-buy-btn, .tp-bid-btn {
  min-height: 44px;
  padding: 0 14px;
  font-size: 0.9rem;
}

/* Recent trades */
.recent-trades {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.trade-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.trade-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  font-size: 0.78rem;
  align-items: center;
  animation: tradeFlash 600ms ease;
}

.trade-item .trade-wallet { color: var(--muted); font-family: monospace; }
.trade-item .trade-price { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.trade-item .trade-time { color: var(--muted); font-size: 0.72rem; }

@keyframes tradeFlash {
  0% { background: rgba(109,255,125,0.12); }
  100% { background: transparent; }
}

/* Trade modal */
.trade-modal {
  width: min(92vw, 480px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #071115;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.trade-modal::backdrop {
  background: rgba(0,0,0,0.74);
  backdrop-filter: blur(8px);
}

.trade-summary {
  padding: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.trade-summary strong {
  color: var(--ink);
}

.trade-form {
  display: grid;
  gap: 14px;
}

.trade-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.trade-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255,255,255,0.07);
  color: var(--ink);
  font: inherit;
}

.disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.7;
  text-align: center;
  margin-top: 4px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  48% {
    transform: scale(1.08);
  }
}

@keyframes chartMove {
  to {
    background-position: 180px 0, 0 0;
  }
}

@media (max-width: 1100px) {
  .trading-layout {
    grid-template-columns: 1fr;
  }

  .trading-panel {
    position: static;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .site-header .button-small {
    justify-self: end;
  }

  .icon-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 10, 12, 0.96);
    overflow: hidden;
  }

  body.menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 124px;
  }

  .market-panel {
    width: min(100%, 440px);
  }

  .section-heading,
  .split-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .moments-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .step-card,
  .moment-card,
  .team-grid article {
    min-height: 210px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
    padding-inline: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .button-small {
    min-height: 38px;
    padding-inline: 12px;
  }

  .hero {
    padding-inline: 16px;
    padding-bottom: 42px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 10, 12, 0.96), rgba(5, 10, 12, 0.58)),
      linear-gradient(180deg, rgba(5, 10, 12, 0.2), #050a0c 100%);
  }

  .hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .hero-metrics div {
    width: calc(50% - 6px);
  }

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

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
