/* ==========================================================================
   HYPURR — Hyper Mascot on HyperEVM
   ========================================================================== */

:root {
  --bg: #020d0d;
  --bg-secondary: #041616;
  --panel: rgba(6, 28, 28, 0.55);
  --text: #f4fffc;
  --muted: #8fb8b0;
  --accent: #2ef5d0;
  --accent-bright: #7ffff0;
  --accent-deep: #0a8f7a;
  --border: rgba(46, 245, 208, 0.22);
  --glow: rgba(46, 245, 208, 0.45);
  --emerald-shadow: rgba(0, 40, 32, 0.85);
  --danger: #ff6b7a;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 18px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, box-shadow 0.25s ease, transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

a:hover {
  color: #fff;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

code {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 0.95em;
  color: var(--accent-bright);
}

strong {
  font-weight: 600;
  color: #fff;
}

.accent {
  color: var(--accent-bright);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #012;
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Background layers
   -------------------------------------------------------------------------- */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(20, 80, 70, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(10, 60, 55, 0.25), transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(6, 50, 45, 0.3), transparent 55%),
    linear-gradient(180deg, #020d0d 0%, #031111 40%, #020d0d 100%);
}

.bg-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 245, 208, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 245, 208, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contour-lines {
  position: absolute;
  inset: -20%;
  background:
    repeating-radial-gradient(
      ellipse at 50% 60%,
      transparent 0,
      transparent 38px,
      rgba(46, 245, 208, 0.045) 39px,
      transparent 40px
    );
  animation: contourDrift 40s linear infinite;
  opacity: 0.7;
}

.pointer-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 245, 208, 0.12), transparent 65%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 30%;
  transition: opacity 0.4s ease;
  will-change: transform;
}

@keyframes contourDrift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-3%, -2%, 0) rotate(8deg); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  color: #021410;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 55%, #1ad4a8);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 24px var(--glow),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn--primary:hover {
  color: #021410;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 36px rgba(126, 255, 240, 0.65),
    0 12px 28px rgba(0, 0, 0, 0.4);
}

.btn--ghost {
  color: var(--text);
  background: rgba(6, 28, 28, 0.55);
  border-color: var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(46, 245, 208, 0.08);
}

.btn--ghost:hover {
  border-color: rgba(46, 245, 208, 0.55);
  box-shadow: 0 0 28px rgba(46, 245, 208, 0.25);
  transform: translateY(-2px);
  color: #fff;
}

.btn--lg {
  padding: 1rem 1.7rem;
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
}

.btn--copy {
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(46, 245, 208, 0.08);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.btn--copy:hover,
.btn--copy.is-copied {
  background: rgba(46, 245, 208, 0.2);
  box-shadow: 0 0 18px rgba(46, 245, 208, 0.25);
}

.btn--pulse {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 0 22px var(--glow), 0 8px 24px rgba(0,0,0,0.35); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 0 38px rgba(126,255,240,0.7), 0 8px 24px rgba(0,0,0,0.35); }
}

/* --------------------------------------------------------------------------
   Glass / panels
   -------------------------------------------------------------------------- */

.glass {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 20px 50px var(--emerald-shadow);
}

.tilt {
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.tilt:hover {
  border-color: rgba(46, 245, 208, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 60px var(--emerald-shadow),
    0 0 40px rgba(46, 245, 208, 0.12);
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.nav.is-scrolled {
  padding: 0.55rem 0;
  background: rgba(2, 13, 13, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  margin-right: auto;
}

.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(46, 245, 208, 0.35);
}

.nav__name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav__links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav__links a:hover {
  color: var(--accent-bright);
}

.nav__cta {
  margin-left: 0.5rem;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(6, 28, 28, 0.6);
  place-items: center;
  gap: 5px;
  flex-direction: column;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent-bright);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  width: var(--container);
  margin: 0.75rem auto 0;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(2, 16, 16, 0.95);
  backdrop-filter: blur(18px);
  flex-direction: column;
  gap: 0.35rem;
  animation: menuIn 0.35s var(--ease);
}

.mobile-menu:not([hidden]) {
  display: flex;
}

.mobile-menu a {
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 500;
}

.mobile-menu a:hover {
  background: rgba(46, 245, 208, 0.08);
  color: var(--accent-bright);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
  width: 100%;
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Sections shared
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  position: relative;
}

.section__head {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
  max-width: 18ch;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 600;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(46, 245, 208, 0.08);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: clamp(0.62rem, 1.2vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.16em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html:not(.js) .reveal,
html:not(.js) .hero__word,
html:not(.js) .hero__op,
html:not(.js) .hero__badge {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero__candles {
  position: absolute;
  inset: 10% 0 auto;
  height: 55%;
  opacity: 0.28;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.hero__candle {
  position: absolute;
  bottom: 20%;
  width: 6px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent-deep));
  box-shadow: 0 0 12px rgba(46, 245, 208, 0.45);
  transform-origin: bottom center;
  animation: candlePulse var(--dur, 2.4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.hero__candle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18%;
  bottom: -12%;
  width: 1px;
  background: rgba(126, 255, 240, 0.7);
  transform: translateX(-50%);
}

@keyframes candlePulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(1.18); opacity: 1; }
}

.hero__grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  min-width: 0;
}

.hero__badge {
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(16px);
}

.hero__badge.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}

.hero__word,
.hero__op {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}

.hero__word.is-in,
.hero__op.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), text-shadow 0.7s ease;
}

.hero__op {
  font-size: 0.42em;
  color: var(--accent);
  opacity: 0;
  font-weight: 700;
}

.hero__op.is-in {
  opacity: 0.85;
}

.hero__word--glow {
  color: #fff;
  text-shadow:
    0 0 20px rgba(46, 245, 208, 0.55),
    0 0 60px rgba(46, 245, 208, 0.35),
    0 0 100px rgba(46, 245, 208, 0.2);
}

.hero__tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
}

.hero__tagline span {
  position: relative;
}

.hero__tagline span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.7rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 0 8px var(--glow);
}

.hero__copy {
  margin: 0 0 1.75rem;
  max-width: 32ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero__aura {
  position: absolute;
  width: min(92%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(46, 245, 208, 0.35) 0%, rgba(46, 245, 208, 0.12) 35%, transparent 68%);
  filter: blur(8px);
  animation: auraPulse 4.5s ease-in-out infinite;
  z-index: -1;
}

.hero__mascot-stage {
  width: min(100%, 560px);
  will-change: transform;
}

.hero__mascot {
  width: 100%;
  border-radius: 28px;
  animation: mascotFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(46, 245, 208, 0.35));
  will-change: transform;
}

@keyframes auraPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.75; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.about__copy {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
}

.about__copy p {
  margin: 0 0 1.15rem;
}

.about__punch {
  color: var(--text) !important;
  font-size: 1.15em;
}

.equation-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.equation-card__stack {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.equation-card__op {
  color: var(--accent);
  font-size: 0.55em;
}

.equation-card__result {
  color: var(--accent-bright);
  text-shadow: 0 0 24px rgba(46, 245, 208, 0.4);
}

.equation-card__meta p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.equation-card__meta p:last-child {
  margin-bottom: 0;
}

.about__banner {
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  overflow: hidden;
}

.about__banner img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius) - 1px);
}

/* --------------------------------------------------------------------------
   Hyper Cat compare
   -------------------------------------------------------------------------- */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.compare-card {
  padding: 1.4rem 1.3rem 1.5rem;
}

.compare-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  color: var(--accent);
}

.compare-card__icon svg {
  width: 100%;
  height: 100%;
}

.compare-card__pair {
  display: grid;
  gap: 0.85rem;
}

.compare-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.compare-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.compare-card__vs {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(46, 245, 208, 0.45);
}

.hypercat__statement {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Nine lives
   -------------------------------------------------------------------------- */

.lives__meter {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.65rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.life {
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 30%, rgba(46, 245, 208, 0.18), transparent 60%),
    rgba(6, 28, 28, 0.65);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  letter-spacing: 0.08em;
  color: var(--accent-bright);
  box-shadow: 0 0 18px rgba(46, 245, 208, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.life:hover,
.life:focus-visible {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(46, 245, 208, 0.65);
  box-shadow: 0 0 28px rgba(46, 245, 208, 0.35);
}

.life.is-pulse {
  animation: lifeRespawn 0.65s var(--ease);
}

@keyframes lifeRespawn {
  0% { transform: scale(1); filter: none; }
  30% { transform: scale(1.12); filter: hue-rotate(40deg) brightness(1.4); box-shadow: 0 0 40px rgba(126, 255, 240, 0.7); }
  50% { transform: scale(0.92) skewX(-4deg); opacity: 0.7; }
  100% { transform: scale(1); filter: none; opacity: 1; }
}

.lives__copy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.lives__copy p {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-left: 2px solid rgba(46, 245, 208, 0.35);
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
}

.lives__close {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--text);
  text-shadow: 0 0 24px rgba(46, 245, 208, 0.2);
}

/* --------------------------------------------------------------------------
   Reactions
   -------------------------------------------------------------------------- */

.reaction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.reaction-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.reaction-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

.reaction-card p {
  margin: 0;
  color: var(--accent-bright);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.mini-chart {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}

.mini-chart::before,
.mini-chart::after {
  content: "";
  position: absolute;
  border-radius: 2px;
}

.mini-chart--up::before {
  left: 12%;
  right: 12%;
  bottom: 28%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: chartLine 3.5s ease-in-out infinite;
}

.mini-chart--up::after {
  width: 55%;
  height: 40%;
  right: 12%;
  bottom: 30%;
  background:
    linear-gradient(90deg,
      transparent 0 8%, #2ef5d0 8% 14%, transparent 14% 22%,
      #2ef5d0 22% 28%, transparent 28% 36%,
      #7ffff0 36% 44%, transparent 44% 52%,
      #2ef5d0 52% 60%, transparent 60% 68%,
      #7ffff0 68% 78%, transparent 78% 86%,
      #2ef5d0 86% 94%, transparent 94%);
  mask-image: linear-gradient(180deg, transparent, #000 40%);
  animation: candleRise 2.8s ease-in-out infinite;
}

.mini-chart--down::before {
  left: 15%;
  right: 15%;
  top: 35%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--danger), transparent);
  transform: rotate(-8deg);
}

.mini-chart--down::after {
  content: "-1";
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 107, 122, 0.45);
  animation: lifeFlicker 2.2s ease-in-out infinite;
}

.mini-chart--claw::before {
  inset: 20% 15%;
  background:
    repeating-linear-gradient(
      -28deg,
      transparent,
      transparent 14px,
      rgba(46, 245, 208, 0.35) 14px,
      rgba(46, 245, 208, 0.35) 16px
    );
  animation: clawSwipe 3s ease-in-out infinite;
}

.mini-chart--flat::before {
  left: 10%;
  right: 10%;
  top: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: purrWave 2.4s ease-in-out infinite;
}

.mini-chart--flat::after {
  left: 10%;
  right: 10%;
  top: 48%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46, 245, 208, 0.4), transparent);
  animation: purrWave 2.4s ease-in-out infinite 0.3s;
}

@keyframes chartLine {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-6px); }
}

@keyframes candleRise {
  0%, 100% { transform: translateY(4px); opacity: 0.7; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@keyframes lifeFlicker {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

@keyframes clawSwipe {
  0%, 100% { transform: translateX(0); opacity: 0.4; }
  50% { transform: translateX(8px); opacity: 0.7; }
}

@keyframes purrWave {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.04); }
}

/* --------------------------------------------------------------------------
   Token
   -------------------------------------------------------------------------- */

.token-panel {
  padding: clamp(1.25rem, 3vw, 1.85rem);
  margin-bottom: 1.25rem;
  display: grid;
  gap: 1rem;
}

.token-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(46, 245, 208, 0.12);
}

.token-panel__row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.token-panel__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.token-panel__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.06em;
}

.token-panel__contract {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.token-panel__contract code {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  word-break: break-all;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.action-card {
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text);
  min-height: 140px;
  justify-content: center;
}

.action-card:hover {
  color: #fff;
}

.action-card__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  letter-spacing: 0.08em;
}

.action-card__hint {
  color: var(--muted);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   How to buy
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--accent-bright);
  text-shadow: 0 0 18px rgba(46, 245, 208, 0.35);
  line-height: 1;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.08em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.step a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Community / marquee
   -------------------------------------------------------------------------- */

.community {
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.community .container {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.community__body {
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
}

.community__body p {
  margin: 0 0 1rem;
}

.community__body .btn {
  margin-top: 1.25rem;
}

.marquee {
  border-block: 1px solid rgba(46, 245, 208, 0.15);
  background: rgba(4, 22, 22, 0.65);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.95rem 0;
}

.marquee__track {
  display: inline-flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.18em;
  color: var(--accent);
  text-shadow: 0 0 16px rgba(46, 245, 208, 0.25);
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 34s;
  color: var(--muted);
}

.marquee__track span {
  padding-right: 0.5rem;
}

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

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.final-cta__panel {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

.final-cta__panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 30%, rgba(46, 245, 208, 0.18), transparent 45%);
  pointer-events: none;
}

.final-cta__logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 28px;
  position: relative;
  filter: drop-shadow(0 0 24px rgba(46, 245, 208, 0.4));
}

.final-cta__title {
  position: relative;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.final-cta__tagline {
  position: relative;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.final-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(46, 245, 208, 0.12);
  background: rgba(1, 10, 10, 0.7);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(46, 245, 208, 0.3);
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.footer__brand p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.footer__links a {
  color: var(--muted);
  font-weight: 500;
}

.footer__links a:hover {
  color: var(--accent-bright);
}

.footer__note {
  margin: 0;
  text-align: right;
  color: var(--muted);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .hero__grid,
  .about__layout {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .hero__mascot-stage {
    width: min(78%, 420px);
  }

  .compare-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .lives__meter {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    justify-content: center;
  }

  .footer__note {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .hero__actions,
  .final-cta__actions {
    flex-direction: column;
  }

  .hero__actions .btn,
  .final-cta__actions .btn {
    width: 100%;
  }

  .section__head {
    max-width: none;
  }

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

@media (max-width: 420px) {
  :root {
    --container: min(1120px, calc(100% - 1.35rem));
  }

  .lives__meter {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }

  .life {
    border-radius: 12px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__word,
  .hero__op,
  .hero__badge {
    opacity: 1;
    transform: none;
  }

  .hero__mascot,
  .hero__mascot-stage,
  .hero__aura,
  .contour-lines,
  .btn--pulse,
  .marquee__track,
  .hero__candle,
  .mini-chart--up::before,
  .mini-chart--up::after,
  .mini-chart--down::after,
  .mini-chart--claw::before,
  .mini-chart--flat::before,
  .mini-chart--flat::after {
    animation: none !important;
  }

  .pointer-glow {
    display: none;
  }

  .tilt {
    transform: none !important;
  }

  .life.is-pulse {
    animation: none;
  }
}
