:root {
  --acid: #eaff00;
  --acid-2: #b8ff00;
  --ink: #050600;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(234, 255, 0, 0.28);
  --panel: rgba(8, 10, 2, 0.78);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 76% 16%, rgba(234, 255, 0, 0.3), transparent 30%),
    linear-gradient(135deg, #080900 0%, #151800 52%, #030400 100%);
}

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

.shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 64px;
}

.nav,
.brand,
.contract,
.panel-header,
.stats div {
  display: flex;
  align-items: center;
}

.nav {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.brand {
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--acid);
}

.contract button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--acid);
  background: rgba(0, 0, 0, 0.52);
  font-weight: 900;
  box-shadow: 0 0 26px rgba(234, 255, 0, 0.12);
}

.contract button {
  color: var(--ink);
  background: var(--acid);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: stretch;
}

.hero-copy {
  display: block;
  min-height: 0;
  padding: 46px 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(234, 255, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 255, 0, 0.08) 1px, transparent 1px),
    var(--panel);
  background-size: 42px 42px;
  box-shadow: inset 0 0 70px rgba(234, 255, 0, 0.09);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--acid);
  font-size: 18px;
  font-weight: 900;
}

h1 {
  margin: 0;
  color: var(--acid);
  font-size: clamp(56px, 8vw, 106px);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.tagline {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.contract {
  gap: 12px;
  width: 100%;
  max-width: 760px;
  min-height: 58px;
  margin-top: 42px;
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
}

.contract span {
  color: var(--acid);
  font-weight: 900;
}

.contract code {
  min-width: 0;
  flex: 1;
  overflow: visible;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.contract button {
  cursor: pointer;
}

.banner-card {
  aspect-ratio: 3.8 / 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050600;
  box-shadow: 0 0 70px rgba(234, 255, 0, 0.18);
}

.banner-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.market-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 22px;
  margin-top: 34px;
}

.panel {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 0 44px rgba(234, 255, 0, 0.08);
}

.panel-header {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.panel-header p {
  margin: 0 0 6px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 900;
}

.panel-header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.live-dot,
#pulseValue {
  color: var(--acid);
  font-weight: 900;
}

.live-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #55ff00;
  box-shadow: 0 0 12px #55ff00;
}

.chart {
  position: relative;
  height: 166px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(rgba(234, 255, 0, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 255, 0, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
}

.chart::before {
  content: "";
  position: absolute;
  inset: 20px 18px;
  border-bottom: 4px solid var(--acid);
  border-right: 4px solid var(--acid);
  transform: skew(-28deg) rotate(-8deg);
  filter: drop-shadow(0 0 10px var(--acid));
}

.bars {
  position: absolute;
  inset: auto 12px 10px;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  align-items: end;
  gap: 6px;
  height: 72px;
}

.bars i {
  display: block;
  height: calc(22px + var(--h, 28px));
  border-radius: 3px 3px 0 0;
  background: linear-gradient(var(--acid), #5f6800);
}

.bars i:nth-child(2n) { --h: 42px; }
.bars i:nth-child(3n) { --h: 18px; }
.bars i:nth-child(5n) { --h: 54px; }

.stats {
  display: grid;
  gap: 12px;
  margin: 0;
}

.stats div {
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(234, 255, 0, 0.13);
}

.stats dt {
  color: var(--muted);
  font-weight: 800;
}

.stats dd {
  margin: 0;
  color: var(--acid);
  font-size: 20px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero-copy,
  .market-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 34px;
  }

  .tagline {
    margin-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 28px);
  }

  .nav {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-copy,
  .panel {
    padding: 18px;
  }

  .contract {
    align-items: stretch;
    flex-direction: column;
  }

  .contract code,
  .contract button {
    width: 100%;
  }

  .contract code {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 42px;
  }

  .tagline {
    font-size: 20px;
  }
}
