/* ============================================
   QENIS BULL — Design system
   ============================================ */

:root {
  --green: #6cff2a;
  --green-bright: #d4ff5a;
  --green-dark: #0b2f08;
  --black: #050605;
  --cream: #e8d5c4;
  --text: #f3eee6;
  --muted: #8f8a82;
  --container: 1280px;

  --green-glow: rgba(108, 255, 42, 0.45);
  --green-soft: rgba(108, 255, 42, 0.14);
  --black-pure: #000000;
  --black-2: #0a0c0a;
  --line: rgba(243, 238, 230, 0.1);
  --danger-cream: #c9a892;

  --font-display: "Bebas Neue", "Impact", "Haettenschweiler", "Arial Black", sans-serif;
  --font-ui: "Oswald", "DIN Alternate", "Franklin Gothic Medium", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --nav-h: 4.75rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================
   Reset
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.5rem);
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--text);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

code {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10001;
  background: var(--green);
  color: var(--black);
  padding: 0.6rem 1rem;
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

/* ============================================
   Atmosphere
   ============================================ */

.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  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");
}

.energy-canvas {
  position: fixed;
  inset: 0;
  z-index: 7;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.intro-flash {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: radial-gradient(circle at 70% 45%, var(--green-bright), var(--green) 40%, transparent 70%);
  opacity: 0;
}

html.is-ready .intro-flash {
  animation: flash 0.7s var(--ease-out) both;
}

@keyframes flash {
  0% { opacity: 0.28; }
  100% { opacity: 0; }
}

/* ============================================
   Custom cursor
   ============================================ */

.cursor {
  display: none;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

body.has-custom-cursor .cursor {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.cursor-dot,
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green);
  z-index: 2;
}

.cursor-glow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(108, 255, 42, 0.55);
  background: radial-gradient(circle, rgba(108, 255, 42, 0.16), transparent 70%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), background 0.25s;
}

body.is-hovering .cursor-glow {
  width: 68px;
  height: 68px;
  background: radial-gradient(circle, rgba(108, 255, 42, 0.28), transparent 70%);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  overflow: hidden;
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s, background 0.35s;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn-primary {
  background: var(--green);
  color: var(--black-pure);
  box-shadow: 0 0 0 0 rgba(108, 255, 42, 0.4), 0 10px 40px rgba(108, 255, 42, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-bright);
  box-shadow: 0 0 32px rgba(108, 255, 42, 0.45), 0 12px 40px rgba(108, 255, 42, 0.22);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(243, 238, 230, 0.18);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 24px rgba(108, 255, 42, 0.12);
}

.btn-xl {
  min-height: 3.7rem;
  padding-inline: 2rem;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
}

.btn-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 238, 230, 0.18);
  color: var(--text);
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.btn-icon:hover,
.btn-icon:focus-visible {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 20px rgba(108, 255, 42, 0.18);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 6, 5, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(108, 255, 42, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  width: min(calc(100% - 2rem), 1400px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(108, 255, 42, 0.4), 0 0 18px rgba(108, 255, 42, 0.28);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-brand-text > span:first-child {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.nav-brand-ticker {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--cream);
  opacity: 0.82;
  transition: color 0.25s, opacity 0.25s;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--green);
  opacity: 1;
}

.nav-x {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-buy {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  background: var(--green);
  color: var(--black-pure) !important;
  opacity: 1 !important;
  box-shadow: 0 0 18px rgba(108, 255, 42, 0.28);
  transition: background 0.25s, transform 0.25s var(--ease-out) !important;
}

.nav-buy:hover,
.nav-buy:focus-visible {
  background: var(--green-bright) !important;
  color: var(--black-pure) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s, top 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0.95rem; }
.nav-toggle span:nth-child(2) { top: 1.35rem; }
.nav-toggle span:nth-child(3) { top: 1.75rem; }

.nav-toggle.is-open span:nth-child(1) {
  top: 1.35rem;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  top: 1.35rem;
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 6, 5, 0.96);
  backdrop-filter: blur(22px);
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem 2rem;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.5s var(--ease-out), visibility 0.5s;
}

.nav-overlay.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.nav-overlay-links a {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 14vw, 5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}

.nav-overlay-buy {
  color: var(--green) !important;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  --mx: 70%;
  --my: 45%;
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 75% 55%, rgba(108, 255, 42, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(232, 213, 196, 0.05), transparent 50%),
    linear-gradient(180deg, #030403 0%, var(--black) 40%, #070a06 100%);
}

.hero-mouseglow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(108, 255, 42, 0.12), transparent 42%);
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  left: -1.2rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0.2em;
  color: rgba(243, 238, 230, 0.035);
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

.hero-side-label {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  z-index: 3;
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 2.5rem), 1400px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 100svh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 1.5rem) 0 4.5rem;
  align-items: center;
  gap: 1rem;
}

.hero-kicker {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--green);
  margin-bottom: 1.1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 11vw, 9.4rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: block;
}

.word-accent {
  color: var(--green);
  text-shadow: 0 0 40px rgba(108, 255, 42, 0.28);
}

.hero-lede {
  margin-top: 1.6rem;
  max-width: 22rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--cream);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.4rem;
  font-family: var(--font-ui);
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-identity .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

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

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 28rem;
}

.hero-aura {
  position: absolute;
  inset: 8% -8% -12% -8%;
  z-index: 0;
  pointer-events: none;
}

.aura-core {
  position: absolute;
  inset: 18% 16% 8%;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(212, 255, 90, 0.55), rgba(108, 255, 42, 0.28) 32%, transparent 68%),
    radial-gradient(ellipse at 42% 40%, rgba(108, 255, 42, 0.22), transparent 55%);
  filter: blur(28px);
  animation: auraPulse 4.2s ease-in-out infinite;
}

.aura-ring {
  position: absolute;
  inset: 12% 10% 4%;
  border-radius: 50%;
  border: 1px solid rgba(108, 255, 42, 0.18);
  box-shadow: 0 0 80px rgba(108, 255, 42, 0.18) inset;
  filter: blur(1px);
  animation: ringBreath 6s ease-in-out infinite;
}

.flame {
  position: absolute;
  border-radius: 50% 50% 42% 42%;
  filter: blur(18px);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.flame-1 {
  width: 42%;
  height: 58%;
  left: 28%;
  bottom: 6%;
  background: linear-gradient(to top, transparent, var(--green) 50%, var(--green-bright));
  animation: flameLick 2.8s ease-in-out infinite;
}

.flame-2 {
  width: 28%;
  height: 46%;
  left: 18%;
  bottom: 12%;
  background: linear-gradient(to top, transparent, rgba(108, 255, 42, 0.7));
  animation: flameLick 3.4s 0.4s ease-in-out infinite reverse;
}

.flame-3 {
  width: 24%;
  height: 52%;
  right: 16%;
  bottom: 10%;
  background: linear-gradient(to top, transparent, rgba(212, 255, 90, 0.65));
  animation: flameLick 3.1s 0.2s ease-in-out infinite;
}

.flame-4 {
  width: 18%;
  height: 30%;
  left: 48%;
  top: 8%;
  background: radial-gradient(circle, rgba(212, 255, 90, 0.7), transparent 70%);
  animation: flameLick 2.4s ease-in-out infinite;
}

.hero-mascot {
  position: absolute;
  right: -6%;
  bottom: -6%;
  width: min(46vw, 620px);
  max-width: none;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 0 28px rgba(108, 255, 42, 0.28));
  transform: translate3d(0, 0, 0);
  will-change: transform;
  user-select: none;
  pointer-events: none;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 5;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.hero-scroll-line {
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* Hero intro */
html.is-loading .hero-title .word,
html.is-loading .hero-kicker,
html.is-loading .hero-lede,
html.is-loading .hero-actions,
html.is-loading .hero-identity,
html.is-loading .hero-mascot,
html.is-loading .hero-aura {
  opacity: 0;
}

html.is-ready .hero-title .word {
  animation: riseUp 1.05s var(--ease-out) both;
}

html.is-ready .hero-title .line:nth-child(2) .word {
  animation-delay: 0.16s;
}

html.is-ready .hero-kicker {
  animation: fadeUp 0.8s 0.05s var(--ease-out) both;
}

html.is-ready .hero-lede {
  animation: fadeUp 0.9s 0.4s var(--ease-out) both;
}

html.is-ready .hero-actions {
  animation: fadeUp 0.9s 0.55s var(--ease-out) both;
}

html.is-ready .hero-identity {
  animation: fadeUp 0.9s 0.7s var(--ease-out) both;
}

html.is-ready .hero-mascot {
  animation: mascotRise 1.35s 0.22s var(--ease-out) both;
}

html.is-ready .hero-aura {
  animation: ignite 1.2s 0.35s var(--ease-out) both;
}

html.is-settled .hero-mascot {
  animation: none;
  opacity: 1;
}

html.is-settled .hero-aura {
  animation: none;
  opacity: 1;
  filter: none;
  transform: none;
}

@keyframes riseUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

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

@keyframes mascotRise {
  from { opacity: 0; transform: translate3d(0, 84px, 0) scale(0.88); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes ignite {
  from { opacity: 0; filter: blur(40px); transform: scale(0.8); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

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

@keyframes ringBreath {
  0%, 100% { transform: scale(0.96); opacity: 0.45; }
  50% { transform: scale(1.04); opacity: 0.8; }
}

@keyframes flameLick {
  0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.45; }
  50% { transform: translateY(-16px) scaleY(1.12); opacity: 0.75; }
}

@keyframes scrollPulse {
  0% { transform: scaleY(0.4); opacity: 0.2; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0.2; transform-origin: bottom; }
}

/* ============================================
   Ticker
   ============================================ */

.ticker {
  position: relative;
  z-index: 6;
  border-block: 1px solid rgba(108, 255, 42, 0.18);
  background: linear-gradient(90deg, #071007, #0c160a 50%, #071007);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}

.ticker-group span:nth-child(even) {
  color: rgba(108, 255, 42, 0.35);
}

.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

/* ============================================
   Shared section chrome
   ============================================ */

.section-kicker {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}

.section-title span {
  display: block;
}

/* ============================================
   About
   ============================================ */

.about {
  position: relative;
  z-index: 4;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(108, 255, 42, 0.06), transparent 45%),
    var(--black);
}

.about-copy {
  max-width: 40rem;
  color: var(--cream);
  display: grid;
  gap: 1rem;
  font-size: 1.08rem;
}

.about-punch {
  margin-top: 0.6rem;
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.5;
}

.evolution {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: end;
}

.evolution-step {
  display: grid;
  gap: 0.45rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.evolution-num {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.evolution-word {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.evolution-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.evolution-arrow {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--green);
  padding-bottom: 1.6rem;
}

.evolution-step.is-final .evolution-word {
  color: var(--green);
  text-shadow: 0 0 30px rgba(108, 255, 42, 0.25);
}

/* ============================================
   Lore
   ============================================ */

.lore {
  position: relative;
  z-index: 4;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  background:
    linear-gradient(180deg, transparent, rgba(108, 255, 42, 0.04) 40%, transparent),
    var(--black-2);
}

.lore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.lore-copy p {
  max-width: 36rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.lore-rules {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
}

.lore-rules li {
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding-left: 1rem;
  border-left: 2px solid var(--green);
}

.lore-charge {
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 12vw, 9.5rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: var(--green);
  text-shadow: 0 0 48px rgba(108, 255, 42, 0.35);
  margin: 0;
}

/* ============================================
   Banner
   ============================================ */

.banner-break {
  position: relative;
  z-index: 4;
  padding: 2rem 0 1rem;
}

.banner-frame {
  width: min(96vw, 1600px);
  margin-inline: auto;
  position: relative;
}

.banner-glow {
  position: absolute;
  inset: -6%;
  background: radial-gradient(ellipse at 50% 50%, rgba(108, 255, 42, 0.28), transparent 65%);
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}

.banner-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 0 1px rgba(108, 255, 42, 0.18), 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* ============================================
   Token
   ============================================ */

.token {
  position: relative;
  z-index: 4;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.token-board {
  margin-top: 0.5rem;
  display: grid;
  gap: 2.2rem;
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}

.token-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.85;
}

.token-ticker {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  color: var(--green);
  letter-spacing: 0.08em;
  line-height: 0.9;
}

.token-chain {
  margin-top: 0.8rem;
  font-family: var(--font-ui);
  letter-spacing: 0.28em;
  color: var(--muted);
}

.ca-block {
  max-width: 42rem;
}

.ca-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.ca-row {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(108, 255, 42, 0.28);
  background: rgba(108, 255, 42, 0.04);
}

.ca-value {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1rem;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  letter-spacing: 0.08em;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
}

.ca-copy {
  padding: 0 1.2rem;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.16em;
  transition: background 0.25s, color 0.25s;
}

.ca-copy:hover,
.ca-copy:focus-visible {
  background: var(--green-bright);
}

.ca-copy.is-copied {
  background: var(--green-bright);
  animation: copiedPop 0.55s var(--ease-out);
}

@keyframes copiedPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.token-actions {
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}

.token-actions .btn-primary {
  width: 100%;
  animation: ctaPulse 2.8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 255, 42, 0.4), 0 10px 40px rgba(108, 255, 42, 0.18); }
  70% { box-shadow: 0 0 0 14px rgba(108, 255, 42, 0), 0 10px 40px rgba(108, 255, 42, 0.18); }
}

.token-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* ============================================
   Manifesto
   ============================================ */

.manifesto {
  position: relative;
  z-index: 4;
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: var(--black-pure);
}

.manifesto-stack {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
}

.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
}

.manifesto-line span {
  display: block;
}

.manifesto-line span:last-child {
  color: var(--cream);
}

.manifesto-line:nth-child(even) {
  text-align: right;
}

.manifesto-finale {
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 16vw, 12rem);
  line-height: 0.78;
  color: var(--green);
  text-shadow: 0 0 60px rgba(108, 255, 42, 0.4);
  margin-top: 1rem;
}

/* ============================================
   Community
   ============================================ */

.community {
  position: relative;
  z-index: 4;
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(108, 255, 42, 0.1), transparent 55%),
    var(--black);
}

.community-inner {
  display: grid;
  justify-items: center;
}

.community-copy {
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.community-roar {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.85;
  color: var(--green);
  margin: 0.4rem 0 2rem;
  text-shadow: 0 0 40px rgba(108, 255, 42, 0.28);
}

/* ============================================
   Final CTA
   ============================================ */

.final-cta {
  position: relative;
  z-index: 4;
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 6rem 0 8rem;
  background: #020302;
}

.final-mascot {
  position: absolute;
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  width: min(72vw, 760px);
  max-width: none;
  opacity: 0.28;
  filter: drop-shadow(0 0 40px rgba(108, 255, 42, 0.3));
  pointer-events: none;
  z-index: 0;
}

.final-fire {
  position: absolute;
  left: 50%;
  bottom: -10%;
  width: 90%;
  height: 55%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 80%, rgba(108, 255, 42, 0.45), rgba(108, 255, 42, 0.08) 40%, transparent 70%);
  filter: blur(20px);
  animation: auraPulse 4s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.final-inner {
  position: relative;
  z-index: 2;
}

.final-ticker {
  font-family: var(--font-ui);
  letter-spacing: 0.4em;
  color: var(--green);
  margin-bottom: 1rem;
}

.final-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  line-height: 0.86;
  margin-bottom: 2rem;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(108, 255, 42, 0.14);
  background:
    linear-gradient(180deg, rgba(108, 255, 42, 0.08), transparent 36%),
    #010201;
  padding: 2.4rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  flex-wrap: wrap;
}

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

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.footer-brand p:first-child {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 1.4rem;
  line-height: 1;
}

.footer-brand .accent {
  font-family: var(--font-ui);
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

.footer-meta {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 28rem;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--green);
}

.footer-disclaimer {
  color: #6d6963;
  font-size: 0.8rem;
}

/* ============================================
   Toast
   ============================================ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 120%);
  z-index: 200;
  max-width: min(90vw, 28rem);
  padding: 0.9rem 1.15rem;
  background: #0d140c;
  color: var(--cream);
  border: 1px solid rgba(108, 255, 42, 0.4);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4), 0 0 24px rgba(108, 255, 42, 0.15);
  font-family: var(--font-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out), opacity 0.45s;
}

.toast.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ============================================
   Reveal system
   ============================================ */

.reveal,
.reveal-up,
.reveal-scale,
.reveal-left,
.reveal-right {
  --d: 0s;
  opacity: 0;
  transition:
    opacity 0.9s var(--ease-out) var(--d),
    transform 0.9s var(--ease-out) var(--d),
    filter 0.9s var(--ease-out) var(--d);
  will-change: opacity, transform;
}

.reveal { transform: none; }
.reveal-up { transform: translateY(36px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-scale { transform: scale(0.92); filter: blur(8px); }

.is-inview.reveal,
.is-inview.reveal-up,
.is-inview.reveal-left,
.is-inview.reveal-right,
.is-inview.reveal-scale {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Glitch — only while in view */
.glitch {
  position: relative;
}

.glitch.is-inview::before,
.glitch.is-inview::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.glitch.is-inview::before {
  color: #b8ff3a;
  animation: glitchA 3.8s steps(2, end) infinite;
}

.glitch.is-inview::after {
  color: #7cff9a;
  animation: glitchB 4.6s steps(2, end) infinite;
}

@keyframes glitchA {
  0%, 86%, 100% { transform: translate(0); opacity: 0; clip-path: inset(0 0 0 0); }
  88% { transform: translate(-4px, 1px); opacity: 0.7; clip-path: inset(12% 0 68% 0); }
  90% { transform: translate(3px, -1px); opacity: 0.5; clip-path: inset(40% 0 20% 0); }
}

@keyframes glitchB {
  0%, 90%, 100% { transform: translate(0); opacity: 0; }
  92% { transform: translate(3px, 2px); opacity: 0.45; clip-path: inset(60% 0 10% 0); }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 0;
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 1.5rem;
    position: relative;
    z-index: 5;
  }

  .hero-visual {
    min-height: 58vw;
    height: 62vw;
    margin-top: -1rem;
  }

  .hero-mascot {
    right: 50%;
    transform: translateX(50%);
    width: min(78vw, 520px);
    bottom: -4%;
  }

  html.is-ready .hero-mascot {
    animation-name: mascotRiseMobile;
  }

  html.is-settled .hero-mascot {
    transform: translateX(50%);
    animation: mascotIdle 5.5s ease-in-out infinite;
  }

  @keyframes mascotRiseMobile {
    from { opacity: 0; transform: translateX(50%) translateY(70px) scale(0.9); }
    to { opacity: 1; transform: translateX(50%) translateY(0) scale(1); }
  }

  @keyframes mascotIdle {
    0%, 100% { transform: translateX(50%) translateY(0); }
    50% { transform: translateX(50%) translateY(-8px); }
  }

  .hero-side-label,
  .hero-watermark {
    display: none;
  }

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

  .lore-charge {
    margin-top: 1rem;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

  .evolution-arrow {
    display: none;
  }

  .token-actions-row {
    grid-template-columns: 1fr;
  }

  .manifesto-line:nth-child(even) {
    text-align: left;
  }

  .hero-actions .btn {
    flex: 1 1 10rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .hero-title {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .token-actions .btn,
  .final-actions .btn {
    width: 100%;
    min-height: 3.4rem;
  }

  .btn-icon {
    width: 3.4rem;
    height: 3.4rem;
  }

  .hero-visual {
    min-height: 72vw;
    height: 78vw;
  }

  .hero-mascot {
    width: 92vw;
  }

  .hero-scroll {
    display: none;
  }

  .ca-row {
    flex-direction: column;
  }

  .ca-copy {
    min-height: 3.1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .grain {
    opacity: 0.05;
  }
}

@media (max-width: 430px) {
  .hero-identity {
    flex-wrap: wrap;
  }

  .nav-brand-text > span:first-child {
    font-size: 1.05rem;
  }
}

/* ============================================
   Reduced motion
   ============================================ */

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

  html.is-loading .hero-title .word,
  html.is-loading .hero-kicker,
  html.is-loading .hero-lede,
  html.is-loading .hero-actions,
  html.is-loading .hero-identity,
  html.is-loading .hero-mascot,
  html.is-loading .hero-aura,
  .reveal,
  .reveal-up,
  .reveal-scale,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
    transition: none !important;
  }

  .intro-flash,
  .ticker-track,
  .aura-core,
  .aura-ring,
  .flame,
  .hero-scroll-line,
  .final-fire,
  .glitch::before,
  .glitch::after,
  .btn::after,
  .token-actions .btn-primary,
  html.is-settled .hero-mascot {
    animation: none !important;
  }

  .ticker-track {
    transform: none;
  }

  .energy-canvas,
  .cursor {
    display: none !important;
  }

  .hero-mascot,
  .banner-image {
    will-change: auto;
  }
}
