:root {
  --bg: #05060a;
  --bg-soft: #0b1016;
  --ink: #f7f4ea;
  --muted: #9fa2aa;
  --accent: #ffd54f;
  --accent-strong: #ffe36e;
  --danger: #ff6b6b;
  --card: rgba(16, 18, 24, 0.86);
  --border: rgba(255, 255, 255, 0.08);
  --glow: rgba(255, 213, 79, 0.25);
}

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

body {
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #202432 0%, #14151b 35%, #07080b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px 64px;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.6;
  z-index: 0;
}

body::before {
  background: radial-gradient(circle, rgba(255, 213, 79, 0.35), rgba(255, 213, 79, 0));
  top: -120px;
  left: -120px;
  animation: float 12s ease-in-out infinite;
}

body::after {
  background: radial-gradient(circle, rgba(255, 153, 102, 0.25), rgba(255, 153, 102, 0));
  bottom: -160px;
  right: -120px;
  animation: float 14s ease-in-out infinite reverse;
}

.shell {
  width: min(760px, 100%);
  display: grid;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.shell::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(circle at 20% 10%, rgba(255, 213, 79, 0.18), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 153, 102, 0.2), transparent 50%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
  border-radius: 28px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(255, 213, 79, 0.35);
  object-fit: cover;
  background: #0b1219;
}

.label {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sub {
  font-size: 13px;
  color: var(--muted);
}

.status {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hype-strip {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 213, 79, 0.25), rgba(255, 153, 102, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.hype-track {
  display: inline-flex;
  gap: 32px;
  padding-left: 16px;
  white-space: nowrap;
  animation: marquee 12s linear infinite;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1b1607;
  font-weight: 700;
}

.hype-track span {
  background: rgba(255, 255, 255, 0.7);
  color: #1d1403;
  padding: 6px 14px;
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px;
  border-radius: 26px;
  background: radial-gradient(circle at top left, rgba(255, 213, 79, 0.18), transparent 45%),
    radial-gradient(circle at bottom right, rgba(255, 153, 102, 0.2), transparent 45%),
    linear-gradient(135deg, rgba(24, 20, 18, 0.95), rgba(10, 10, 14, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 213, 79, 0.2), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-copy {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  text-shadow: 0 0 18px rgba(255, 213, 79, 0.25);
}

.hero p {
  color: var(--muted);
  font-size: 14px;
  max-width: 420px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-badge {
  position: relative;
  width: 120px;
  height: 120px;
  align-self: center;
  justify-self: center;
  z-index: 1;
}

.hero-gif {
  position: absolute;
  right: 24px;
  bottom: -8px;
  width: 120px;
  opacity: 0.65;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-gif-alt {
  right: 140px;
  bottom: -6px;
  width: 96px;
  opacity: 0.5;
  animation: float 5s ease-in-out infinite reverse;
}

.badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(255, 213, 79, 0.55);
  animation: spin 16s linear infinite;
}

.badge-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  position: absolute;
  inset: 16px;
  box-shadow: 0 0 30px rgba(255, 213, 79, 0.35);
  object-fit: cover;
  background: #0b1219;
}

.card {
  padding: 32px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 16px;
  animation: rise 0.8s ease-out;
  position: relative;
}

.price {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(32px, 8vw, 72px);
  letter-spacing: -0.02em;
  font-weight: 500;
  transition: color 0.4s ease;
  text-shadow: 0 0 24px rgba(255, 213, 79, 0.25);
}

.price.up {
  color: #ffd84d;
}

.price.down {
  color: var(--danger);
}

.price.pulse {
  animation: pulse 0.8s ease;
}

.change {
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.change.up {
  color: var(--accent-strong);
}

.change.down {
  color: var(--danger);
}

.meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.divider {
  opacity: 0.5;
}

.footer {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--muted);
}

.gif-wall {
  border-radius: 22px;
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.gif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 12px;
}

.gif-grid img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  transform: rotate(-1deg);
}

.gif-grid img:nth-child(even) {
  transform: rotate(1.5deg);
}

.market {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(18, 16, 14, 0.9), rgba(8, 10, 12, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 16px;
}

.market-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.market-sub {
  font-size: 12px;
  color: var(--muted);
}

.market-cap {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(24px, 6vw, 40px);
}

.progress {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd84d, #ffb454);
  box-shadow: 0 0 16px rgba(255, 213, 79, 0.4);
  transition: width 0.6s ease;
}

.market-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.upside {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20, 18, 16, 0.92), rgba(9, 10, 14, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.upside-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.upside-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.upside-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: center;
}

.multiplier {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(32px, 7vw, 56px);
  color: #ffe36e;
  text-shadow: 0 0 20px rgba(255, 213, 79, 0.5);
}

.multiplier-note {
  font-size: 13px;
  color: var(--muted);
}

.multiplier.pulse {
  animation: pulse 0.8s ease;
}

.calculator {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.calculator label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.calculator input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 12, 0.9);
  color: var(--ink);
  font-size: 16px;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  outline: none;
}

.calculator input:focus {
  border-color: rgba(255, 213, 79, 0.6);
  box-shadow: 0 0 18px rgba(255, 213, 79, 0.25);
}

.calculator-output {
  display: grid;
  gap: 6px;
}

.output-label {
  font-size: 12px;
  color: var(--muted);
}

.output-value {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(20px, 4vw, 32px);
  color: #ffd84d;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(18px);
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 213, 79, 0);
  }
  50% {
    transform: scale(1.02);
    text-shadow: 0 0 18px rgba(255, 213, 79, 0.45);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(255, 213, 79, 0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .hype-track {
    animation-duration: 16s;
  }

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

  .hero-badge {
    justify-self: start;
  }

  .hero-gif,
  .hero-gif-alt {
    right: 12px;
  }

  .card {
    padding: 24px;
  }

  .market {
    padding: 22px;
  }

  .upside {
    padding: 22px;
  }

  .upside-body {
    grid-template-columns: 1fr;
  }

  .status {
    display: none;
  }

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