:root {
  --bg-deep: #07040f;
  --violet: #c200fb;
  --cyan: #22d1f8;
  --glow: #a78bfa;
  --cream: #f6f1e4;
  --muted: #c9bdd8;
  --ink: #12081c;
  --live: #5ce1e6;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--bg-deep);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.hero-visual {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transform: scale(1.18);
  filter: saturate(1.15) contrast(1.08);
  animation: drift 20s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(7, 4, 15, 0.72) 0%,
      rgba(7, 4, 15, 0.38) 36%,
      rgba(7, 4, 15, 0.78) 72%,
      rgba(7, 4, 15, 0.96) 100%
    ),
    radial-gradient(ellipse 70% 48% at 50% 100%, rgba(194, 0, 251, 0.32), transparent 62%),
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(34, 209, 248, 0.18), transparent 55%);
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: scale(1.18) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.26) translate3d(0, -1.4%, 0);
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  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");
  background-size: 180px;
}

.top,
.hero,
.foot {
  position: relative;
  z-index: 2;
}

.top {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.x-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.x-link:hover {
  color: var(--cyan);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.5rem 2rem;
  gap: 0.95rem;
}

.mascot {
  width: clamp(7.5rem, 22vw, 11.5rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18%;
  box-shadow:
    0 0 0 3px rgba(34, 209, 248, 0.55),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(194, 0, 251, 0.4);
  animation: rise 0.75s ease-out both, glow 3.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow:
      0 0 0 3px rgba(34, 209, 248, 0.4),
      0 12px 40px rgba(0, 0, 0, 0.45),
      0 0 36px rgba(194, 0, 251, 0.28);
  }
  to {
    box-shadow:
      0 0 0 3px rgba(194, 0, 251, 0.75),
      0 14px 44px rgba(0, 0, 0, 0.5),
      0 0 64px rgba(34, 209, 248, 0.45);
  }
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 9.5vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
  animation: rise 0.8s ease-out 0.08s both;
}

.allocation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 3.4vw, 1.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  animation: rise 0.8s ease-out 0.16s both;
}

.ticker {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.label {
  color: var(--cream);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--live);
  letter-spacing: 0.08em;
}

.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(92, 225, 230, 0.55);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(92, 225, 230, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(92, 225, 230, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(92, 225, 230, 0);
  }
}

.tagline {
  max-width: 28rem;
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  line-height: 1.55;
  color: var(--muted);
  animation: rise 0.8s ease-out 0.24s both;
}

.cta {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: lowercase;
  color: var(--ink);
  background: linear-gradient(90deg, var(--cyan) 0%, #8b5cf6 52%, var(--violet) 100%);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  animation: rise 0.8s ease-out 0.32s both;
  box-shadow: 0 8px 28px rgba(194, 0, 251, 0.35);
}

.cta:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(34, 209, 248, 0.4);
}

.cta:active {
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.foot {
  padding: 0.75rem 1.5rem 1.5rem;
  text-align: center;
}

.ca {
  font-size: 0.7rem;
  color: color-mix(in srgb, var(--muted) 65%, transparent);
  word-break: break-all;
  max-width: 36rem;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .allocation {
    flex-direction: column;
    gap: 0.35rem;
  }

  .top {
    justify-content: center;
  }

  .hero-img {
    object-position: center 28%;
  }
}
