:root {
  --bg: #07080a;
  --fear: #7ec8ff;
  --fear-deep: #0b1c2e;
  --greed: #d4a017;
  --greed-deep: #1a1405;
  --text: #f2efe6;
  --muted: #9a9588;
  --line: rgba(242, 239, 230, 0.12);
  --font-brand: "Bebas Neue", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(126, 200, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(212, 160, 23, 0.16), transparent 55%),
    linear-gradient(180deg, #0a0b0e 0%, var(--bg) 45%, #050607 100%);
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.07;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero,
.contracts,
footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem 1.5rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  animation: rise 0.9s ease both;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  animation: rise 0.9s ease 0.05s both;
}

.brand {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: clamp(4.5rem, 18vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.12em 0.2em;
  animation: rise 0.9s ease 0.12s both;
}

.fear {
  color: var(--fear);
  text-shadow: 0 0 40px rgba(126, 200, 255, 0.25);
}

.greed {
  color: var(--greed);
  text-shadow: 0 0 40px rgba(212, 160, 23, 0.25);
}

.ampersand {
  color: rgba(242, 239, 230, 0.35);
  font-size: 0.55em;
  transform: translateY(-0.08em);
}

.tagline {
  margin: 1.35rem auto 0;
  max-width: 28rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.45;
  color: var(--muted);
  animation: rise 0.9s ease 0.2s both;
}

.burns {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  animation: rise 0.9s ease 0.32s both;
}

.burn-panel {
  position: relative;
  padding: 1.6rem 1.2rem 1.4rem;
  border: 1px solid var(--line);
  overflow: hidden;
  text-align: left;
}

.burn-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  z-index: 0;
}

.fear-panel::before {
  background: linear-gradient(145deg, var(--fear-deep), transparent 70%);
}

.greed-panel::before {
  background: linear-gradient(215deg, var(--greed-deep), transparent 70%);
}

.burn-panel > * {
  position: relative;
  z-index: 1;
}

.panel-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-value {
  margin-top: 0.55rem;
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.fear-panel .panel-value {
  color: var(--fear);
}

.greed-panel .panel-value {
  color: var(--greed);
}

.panel-mcap {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.mcap-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mcap-value {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.fear-panel .mcap-value {
  color: var(--fear);
}

.greed-panel .mcap-value {
  color: var(--greed);
}

.panel-sub {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.live {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  animation: pulse 2.4s ease-in-out infinite;
}

.contracts {
  padding: 4rem 1.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.contracts h2 {
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.contracts-lead {
  margin-top: 0.5rem;
  color: var(--muted);
}

.ca-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.ca-card {
  padding: 1.2rem 1.15rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.fear-ca {
  box-shadow: inset 3px 0 0 var(--fear);
}

.greed-ca {
  box-shadow: inset 3px 0 0 var(--greed);
}

.ca-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
  font-family: var(--font-brand);
  letter-spacing: 0.08em;
  font-size: 1.35rem;
}

.ca-top button {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ca-top button:hover {
  border-color: rgba(242, 239, 230, 0.4);
}

.ca-card code {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 2.5vw, 0.85rem);
  word-break: break-all;
  color: #ddd7c8;
  line-height: 1.45;
}

.ca-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ca-link:hover {
  color: var(--text);
  border-color: var(--line);
}

footer {
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .burns {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
    min-height: auto;
  }

  .brand {
    flex-direction: column;
    gap: 0;
  }

  .ampersand {
    display: none;
  }
}
