/* ==========================================================================
   Next Viral Dog Asset — NVDA
   3D cube experience
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --forest: #041208;
  --forest-deep: #020805;
  --panel: #0a1c10;
  --panel-2: #102616;
  --surface-green: #16351c;
  --surface-dark: #07140b;
  --lime: #b8ff3c;
  --lime-hot: #d4ff6a;
  --neon: #7cff2e;
  --hood: #00c805;
  --edge-highlight: rgba(210, 255, 140, 0.42);
  --edge-dim: rgba(80, 160, 60, 0.28);
  --text: #eef8e6;
  --muted: #9bb89a;
  --deep-shadow: 0 28px 50px rgba(0, 0, 0, 0.55);
  --depth-sm: 10px;
  --depth-md: 22px;
  --depth-lg: 48px;
  --depth-xl: 80px;
  --perspective: 1600px;
  --cube-w: 1120px;
  --cube-h: 660px;
  --sidebar-w: 236px;
  --ease-press: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, monospace;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--forest-deep);
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

html {
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
  touch-action: pan-y;
}

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

button,
a {
  font: inherit;
}

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

::selection {
  background: rgba(124, 255, 46, 0.28);
  color: #f7ffe8;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--lime);
  color: #041208;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   3. Background depth planes
   -------------------------------------------------------------------------- */
.bg-plane {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-plane--back {
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(0, 200, 80, 0.16), transparent 58%),
    radial-gradient(760px 480px at 84% 78%, rgba(140, 255, 40, 0.1), transparent 55%),
    radial-gradient(1200px 700px at 50% 110%, rgba(0, 80, 30, 0.45), transparent 60%),
    linear-gradient(180deg, #031109 0%, #020805 48%, #06180c 100%);
}

.bg-plane--mid {
  background-image:
    linear-gradient(rgba(118, 255, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 255, 40, 0.045) 1px, transparent 1px),
    repeating-linear-gradient(
      115deg,
      transparent 0 18px,
      rgba(80, 200, 70, 0.03) 18px 19px
    );
  background-size: 72px 72px, 72px 72px, 220px 220px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
  opacity: 0.85;
}

.bg-plane--front {
  overflow: hidden;
}

.particles,
.streaks {
  position: absolute;
  inset: 0;
}

.particles::before,
.particles::after,
.streaks::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b8ff3c;
  box-shadow:
    8vw 18vh 0 0 rgba(184, 255, 60, 0.55),
    18vw 72vh 0 1px rgba(184, 255, 60, 0.28),
    28vw 34vh 0 0 rgba(0, 200, 80, 0.4),
    42vw 14vh 0 1px rgba(184, 255, 60, 0.22),
    55vw 62vh 0 0 rgba(184, 255, 60, 0.45),
    68vw 22vh 0 0 rgba(0, 200, 80, 0.3),
    76vw 80vh 0 1px rgba(184, 255, 60, 0.25),
    88vw 40vh 0 0 rgba(184, 255, 60, 0.4),
    12vw 50vh 0 0 rgba(124, 255, 46, 0.2),
    33vw 88vh 0 1px rgba(184, 255, 60, 0.18),
    61vw 8vh 0 0 rgba(0, 200, 80, 0.25),
    81vw 58vh 0 0 rgba(184, 255, 60, 0.32);
  animation: particle-drift 22s linear infinite;
}

.particles::after {
  animation-duration: 31s;
  animation-direction: reverse;
  opacity: 0.7;
}

.streaks::before {
  width: 140px;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(184, 255, 60, 0.55), transparent);
  box-shadow:
    20vw 30vh 20px 0 rgba(124, 255, 46, 0.15),
    60vw 70vh 24px 0 rgba(0, 200, 80, 0.12);
  animation: streak-sweep 16s ease-in-out infinite;
}

@keyframes particle-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-40px, -80px, 0); }
}

@keyframes streak-sweep {
  0%, 100% { transform: translate3d(-10vw, 0, 0); opacity: 0.15; }
  50% { transform: translate3d(12vw, -20px, 0); opacity: 0.55; }
}

/* --------------------------------------------------------------------------
   4. Sidebar (left control slab)
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 40;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #1a3d20, #0a180e);
  box-shadow:
    0 10px 0 #041208,
    var(--deep-shadow),
    inset 0 1px 0 var(--edge-highlight);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--lime);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: var(--sidebar-w);
  height: 100vh;
  padding: 18px 14px;
  display: flex;
  align-items: stretch;
}

.sidebar-slab {
  width: 100%;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(22, 52, 28, 0.92), rgba(6, 16, 10, 0.96));
  box-shadow:
    10px 18px 0 rgba(0, 0, 0, 0.35),
    var(--deep-shadow),
    inset 0 1px 0 var(--edge-highlight),
    inset 0 -10px 0 rgba(0, 0, 0, 0.28);
  transform: translateZ(0);
  overflow: auto;
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 10px 0 #041208,
    inset 0 1px 0 var(--edge-highlight);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-link {
  appearance: none;
  border: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--text);
  background: linear-gradient(180deg, #14291a, #0b160f);
  box-shadow:
    0 6px 0 #030806,
    inset 0 1px 0 rgba(200, 255, 140, 0.16);
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.78rem;
  transform: translateY(0);
  transition: transform 160ms var(--ease-press), box-shadow 160ms var(--ease-press), background 160ms ease;
}

.side-link__idx {
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.side-link:hover {
  transform: translateY(-2px) translateZ(var(--depth-sm));
  box-shadow:
    0 8px 0 #030806,
    0 0 18px rgba(124, 255, 46, 0.16),
    inset 0 1px 0 var(--edge-highlight);
}

.side-link:active {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 #030806,
    inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.side-link.is-active {
  background: linear-gradient(180deg, #2a6b22, #154418);
  box-shadow:
    0 6px 0 #06200a,
    0 0 22px rgba(124, 255, 46, 0.22),
    inset 0 1px 0 var(--edge-highlight);
}

.side-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.side-actions .btn-3d {
  display: flex;
  width: 100%;
  border-radius: 999px;
}

.side-actions .btn-3d__face {
  width: 100%;
  border-radius: inherit;
}

.side-actions .btn-3d--buy,
.side-actions .btn-3d--chart {
  grid-column: 1 / -1;
}

.ca-box {
  margin-top: auto;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, #0c1a11, #071109);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(180, 255, 120, 0.12),
    0 8px 0 rgba(0, 0, 0, 0.25);
}

.ca-box__label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.ca-box__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ca-box__addr {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--lime-hot);
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.ca-box__copy {
  appearance: none;
  border: 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #8ce22a, #2f8a12);
  color: #041208;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 4px 0 #14520a, inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ca-box__copy:hover {
  filter: brightness(1.08);
}

.ca-box__copy:active,
.ca-box__copy.is-copied {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #14520a;
}

.ca-box--wide {
  width: min(520px, 100%);
  margin: 4px auto 0;
}

/* --------------------------------------------------------------------------
   5. Progress rail
   -------------------------------------------------------------------------- */
.progress-rail {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.progress-dot {
  appearance: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #16351c, #0a160e);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  box-shadow: 0 7px 0 #030806, inset 0 1px 0 var(--edge-dim);
  transition: transform 160ms var(--ease-press), color 160ms ease, box-shadow 160ms ease;
}

.progress-dot.is-active {
  color: #041208;
  background: linear-gradient(180deg, #c8ff4a, #4ea814);
  box-shadow: 0 7px 0 #163d0c, 0 0 18px rgba(160, 255, 60, 0.28);
}

.progress-dot:hover {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Cube architecture
   -------------------------------------------------------------------------- */
.scroll-track {
  position: relative;
  z-index: 1;
  height: 420vh;
}

.sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  perspective: var(--perspective);
  perspective-origin: 50% 48%;
  display: grid;
  place-items: center;
  padding: 28px 72px 28px calc(var(--sidebar-w) + 28px);
}

.cube-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.cube {
  position: relative;
  width: var(--cube-w);
  height: var(--cube-h);
  overflow: visible;
  transform-style: preserve-3d;
  will-change: transform;
}

.face {
  position: absolute;
  inset: 0;
  overflow: visible;
  transform-style: preserve-3d;
}

.face--hero {
  transform: rotateX(0deg) translateZ(calc(var(--cube-h) / 2));
}

.face--ticker {
  transform: rotateX(-90deg) translateZ(calc(var(--cube-h) / 2));
}

.face--dog {
  transform: rotateX(-180deg) translateZ(calc(var(--cube-h) / 2));
}

.face--community {
  transform: rotateX(-270deg) translateZ(calc(var(--cube-h) / 2));
}

.face--side {
  width: var(--cube-h);
  height: var(--cube-h);
  left: 50%;
  top: 50%;
  background:
    linear-gradient(180deg, #0c2414, #051009);
  display: grid;
  place-items: center;
}

.face--left {
  transform: translate(-50%, -50%) rotateY(-90deg) translateZ(calc(var(--cube-w) / 2));
}

.face--right {
  transform: translate(-50%, -50%) rotateY(90deg) translateZ(calc(var(--cube-w) / 2));
}

.side-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(184, 255, 60, 0.22);
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.4);
}

.face--dog .face-plate {
  overflow: visible;
}

.face--hero .face-plate {
  overflow: hidden;
  display: flex;
  padding-block: clamp(12px, 1.8vw, 24px);
}

.face--community .face-plate {
  background-image:
    linear-gradient(160deg, rgba(20, 48, 26, 0.94) 0%, rgba(6, 14, 9, 0.96) 55%, rgba(8, 22, 12, 0.94) 100%),
    url("assets/banner.png");
  background-size: cover, cover;
  background-position: center, center 40%;
  background-blend-mode: normal, soft-light;
}

.face-plate {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(18px, 2.4vw, 36px);
  background:
    linear-gradient(160deg, rgba(20, 48, 26, 0.96) 0%, rgba(6, 14, 9, 0.98) 55%, rgba(8, 22, 12, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 var(--edge-highlight),
    inset 0 -14px 0 rgba(0, 0, 0, 0.32),
    inset 0 0 80px rgba(0, 40, 12, 0.35),
    0 0 0 1px rgba(160, 255, 90, 0.12),
    0 0 60px rgba(80, 255, 40, 0.08);
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.face-bevel {
  pointer-events: none;
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(190, 255, 130, 0.12);
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.face-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 255, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 255, 46, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
}

.face-scan {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(160, 255, 80, 0.07) 50%, transparent 100%);
  background-size: 100% 220%;
  animation: scan-move 9s linear infinite;
}

@keyframes scan-move {
  from { background-position: 0 -40%; }
  to { background-position: 0 140%; }
}

/* --------------------------------------------------------------------------
   7. Shared 3D type / slabs / buttons
   -------------------------------------------------------------------------- */
.word-3d {
  position: relative;
  display: inline-block;
  margin: 0;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 0.86;
  font-size: clamp(3.2rem, 8.4vw, 7.6rem);
  transform: rotateX(8deg) rotateY(-6deg) translateZ(var(--depth-xl));
  transform-style: preserve-3d;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45));
}

.word-3d--md {
  font-size: clamp(1.5rem, 3.6vw, 3.1rem);
  letter-spacing: 0.06em;
  transform: rotateX(10deg) translateZ(var(--depth-md));
}

.word-3d--sm {
  font-size: clamp(1.15rem, 2.5vw, 2.05rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
  transform: rotateX(8deg) translateZ(var(--depth-md));
}

.word-3d__face,
.word-3d__side,
.word-3d__shadow {
  display: block;
}

.word-3d__face {
  position: relative;
  background: linear-gradient(180deg, #f3ffc8 0%, #c8ff4a 38%, #7ad41e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 18px rgba(180, 255, 70, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.28);
}

.word-3d__side,
.word-3d__shadow {
  position: absolute;
  inset: 0;
  color: #1d4a12;
  pointer-events: none;
}

.word-3d__side {
  transform: translate3d(0, 7px, -10px);
  text-shadow:
    0 1px 0 #245816,
    0 2px 0 #1f4d13,
    0 3px 0 #1a4210,
    0 4px 0 #16380d,
    0 5px 0 #122e0b,
    0 6px 0 #0e2408,
    0 7px 0 #0a1b06,
    0 8px 0 #071404;
}

.word-3d__shadow {
  color: transparent;
  transform: translate3d(8px, 16px, -18px);
  text-shadow: 0 22px 28px rgba(0, 0, 0, 0.55);
}

.badge-3d {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1c4a24, #0c2214);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: clamp(0.56rem, 0.95vw, 0.68rem);
  letter-spacing: 0.12em;
  box-shadow:
    0 6px 0 #041208,
    inset 0 1px 0 var(--edge-highlight),
    inset 0 -4px 0 rgba(0, 0, 0, 0.28);
  transform: translateZ(var(--depth-sm));
}

.slab {
  position: relative;
  padding: clamp(16px, 2vw, 26px);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(18, 48, 24, 0.92), rgba(6, 14, 9, 0.94));
  box-shadow:
    0 16px 0 rgba(0, 0, 0, 0.32),
    var(--deep-shadow),
    inset 0 1px 0 var(--edge-highlight),
    inset 0 -8px 0 rgba(0, 0, 0, 0.28);
  transform: translateZ(var(--depth-md));
  transform-style: preserve-3d;
}

.btn-3d {
  position: relative;
  display: inline-flex;
  isolation: isolate;
  border-radius: 14px;
  transform: translateZ(var(--depth-md));
  transform-style: preserve-3d;
  transition: transform 160ms var(--ease-press);
}

.btn-3d__face {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7em 1.15em;
  border-radius: inherit;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -6px 0 rgba(0, 0, 0, 0.18);
}

.btn-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateY(8px);
  background: #08210c;
  z-index: -1;
}

.btn-3d--lime .btn-3d__face,
.btn-3d--buy .btn-3d__face {
  background: linear-gradient(180deg, #d8ff6a, #5db816);
  color: #041208;
}

.btn-3d--teal .btn-3d__face {
  background: linear-gradient(180deg, #1ee07a, #0a8a40);
  color: #041208;
}

.btn-3d--ghost .btn-3d__face,
.btn-3d--chart .btn-3d__face {
  background: linear-gradient(180deg, #214d2a, #102016);
  color: var(--lime-hot);
}

.btn-3d--xl .btn-3d__face {
  min-height: 64px;
  min-width: min(260px, 80vw);
  font-size: 0.82rem;
}

.btn-3d:hover {
  transform: translateZ(calc(var(--depth-md) + 14px)) rotateX(-7deg);
}

.btn-3d:hover .btn-3d__face {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -6px 0 rgba(0, 0, 0, 0.16),
    0 0 22px rgba(160, 255, 70, 0.28);
}

.btn-3d:active {
  transform: translateZ(4px) translateY(6px) rotateX(4deg);
}

.btn-3d:active::after {
  transform: translateY(2px);
}

/* --------------------------------------------------------------------------
   8. Face 1 — Hero
   -------------------------------------------------------------------------- */
.hero-layout {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(180px, 0.82fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "copy mascot"
    "hint hint";
  align-items: stretch;
  column-gap: clamp(2px, 0.8vw, 8px);
  row-gap: 10px;
  transform-style: preserve-3d;
}

.hero-copy {
  grid-area: copy;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2.2vh, 22px);
  min-width: 0;
  max-width: 100%;
  padding-block: clamp(6px, 1.4vh, 14px);
  transform: translateX(22px);
  transform-style: preserve-3d;
}

.word-3d--hero {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.5rem, calc(var(--cube-w) * 0.092), 6.1rem);
  letter-spacing: 0.045em;
  line-height: 0.9;
  transform: translateZ(var(--depth-md));
}

.word-3d--hero .word-3d__glow {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 28%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(170, 255, 70, 0.28), transparent 72%);
  filter: blur(16px);
  z-index: 0;
}

.word-3d--hero .word-3d__face {
  background: linear-gradient(110deg, #6fc418 0%, #f6ffd2 26%, #c8ff4a 40%, #5aa814 72%, #d8ff74 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-metal 10s ease-in-out infinite;
}

.hero-sub {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.5vw, 1.02rem);
  letter-spacing: 0.16em;
  color: var(--lime);
  text-shadow: 0 8px 0 rgba(0, 0, 0, 0.35), 0 0 18px rgba(124, 255, 46, 0.2);
}

.hero-support {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.hero-mascot-wrap {
  grid-area: mascot;
  position: relative;
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-22px);
  transform-style: preserve-3d;
}

.mascot {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(16px 26px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 16px rgba(140, 255, 50, 0.18));
  transform: translateZ(var(--depth-lg));
  animation: mascot-float 6.8s ease-in-out infinite;
}

.mascot--hero {
  max-height: calc(var(--cube-h) * 0.68);
}

.hero-fx {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-fx__sweep {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -40%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(190, 255, 110, 0.07), transparent);
  animation: hero-plate-sweep 12s ease-in-out infinite;
}

.mascot-glow {
  position: absolute;
  width: 64%;
  height: 46%;
  left: 18%;
  bottom: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 255, 60, 0.22), transparent 70%);
}

.mascot-floor {
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 7%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5), transparent 70%);
  filter: blur(6px);
}

.scroll-hint {
  grid-area: hint;
  position: relative;
  left: auto;
  bottom: auto;
  margin: 0;
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: rgba(210, 255, 170, 0.72);
  animation: hint-pulse 2.2s ease-in-out infinite;
  transition: opacity 400ms ease;
}

.scroll-hint.is-hidden {
  opacity: 0;
}

@keyframes mascot-float {
  0%, 100% { transform: translateZ(var(--depth-lg)) translateY(0); }
  50% { transform: translateZ(var(--depth-lg)) translateY(-8px); }
}

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

@keyframes hero-metal {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes hero-plate-sweep {
  0% { transform: translateX(0); }
  100% { transform: translateX(280%); }
}

/* --------------------------------------------------------------------------
   9. Face 2 — Ticker flip
   -------------------------------------------------------------------------- */
.ticker-layout,
.dog-layout,
.community-layout {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.6vh, 20px);
  transform-style: preserve-3d;
}

.face--ticker .face-plate {
  padding-block: clamp(12px, 1.8vw, 24px);
}

.ticker-layout {
  gap: clamp(16px, 2.4vh, 26px);
  padding-block: clamp(6px, 1.4vh, 14px);
}

.face-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6vh, 16px);
  text-align: center;
}

.face-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.16em;
  color: var(--lime);
}

.split-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(10px, 1.6vw, 22px);
  align-items: center;
}

.split-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vh, 14px);
}

.split-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.12em;
}

.split-ticker {
  margin: 0;
  color: var(--lime-hot);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.14em;
}

.split-panel ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 600;
}

.split-panel--left {
  transform: rotateY(12deg) translateZ(var(--depth-md));
}

.split-panel--right {
  transform: rotateY(-12deg) translateZ(var(--depth-md));
}

.split-core {
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.6vh, 14px);
  transform-style: preserve-3d;
}

.monogram-orb {
  width: clamp(110px, 16vw, 168px);
  height: clamp(110px, 16vw, 168px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 18px 0 #041208,
    0 0 30px rgba(140, 255, 40, 0.2),
    inset 0 1px 0 var(--edge-highlight);
  transform: translateZ(var(--depth-lg));
}

.monogram-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.monogram-label {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  color: var(--lime);
}

.parody-note {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   10. Face 3 — The dog
   -------------------------------------------------------------------------- */
.dog-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.dog-breakout {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.recess-ring {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 20, 10, 0.2), rgba(0, 0, 0, 0.55));
  box-shadow:
    inset 0 0 0 10px rgba(12, 32, 16, 0.7),
    inset 0 0 40px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(140, 255, 40, 0.12);
}

.glass-panel {
  position: absolute;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(180, 255, 120, 0.12), rgba(20, 40, 20, 0.18));
  border: 1px solid rgba(190, 255, 140, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.glass-panel--a {
  width: 42%;
  height: 34%;
  top: 8%;
  left: 4%;
  transform: rotate(-12deg) translateZ(28px);
}

.glass-panel--b {
  width: 36%;
  height: 28%;
  right: 2%;
  bottom: 14%;
  transform: rotate(14deg) translateZ(36px);
}

.mascot--breakout {
  width: min(100%, 420px);
  animation-duration: 6.4s;
}

.dog-copy {
  transform-style: preserve-3d;
}

.dog-copy p {
  margin: 8px 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.7vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
}

.tile-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tile-3d {
  padding: 14px 8px;
  text-align: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #2f7a22, #123d14);
  color: #eaffc6;
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 1.1vw, 0.78rem);
  letter-spacing: 0.08em;
  font-weight: 800;
  box-shadow:
    0 10px 0 #07180a,
    inset 0 1px 0 var(--edge-highlight),
    inset 0 -7px 0 rgba(0, 0, 0, 0.25);
  transform: translateZ(var(--depth-md)) rotateX(8deg);
}

/* --------------------------------------------------------------------------
   11. Face 4 — Community
   -------------------------------------------------------------------------- */
.community-layout {
  align-items: center;
  text-align: center;
}

.community-support {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
}

.community-buttons,
.launch-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.close-ticker {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--lime-hot);
  text-shadow:
    0 1px 0 #5aa314,
    0 3px 0 #3d780c,
    0 6px 0 #1d4208,
    0 14px 24px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(160, 255, 60, 0.25);
}

.close-name,
.close-line {
  margin: 0;
  letter-spacing: 0.14em;
  font-family: var(--font-display);
}

.close-name {
  color: var(--lime);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
}

.close-line {
  color: var(--muted);
  font-size: clamp(0.72rem, 1.3vw, 0.88rem);
}

.disclaimer {
  margin: 0;
  max-width: 520px;
  color: rgba(155, 184, 154, 0.72);
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   12. Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #030806;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#3d8a22, #1b4a14);
  border-radius: 99px;
}

/* --------------------------------------------------------------------------
   13. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  :root {
    --cube-w: 940px;
    --cube-h: 600px;
  }

  .word-3d--hero {
    font-size: clamp(2.4rem, calc(var(--cube-w) * 0.086), 5.2rem);
  }
}

@media (max-width: 900px) {
  :root {
    --depth-sm: 6px;
    --depth-md: 12px;
    --depth-lg: 22px;
    --depth-xl: 36px;
    --perspective: 1100px;
    --sidebar-w: 0px;
  }

  .nav-toggle {
    display: block;
  }

  .sidebar {
    width: min(86vw, 320px);
    transform: translateX(-110%);
    transition: transform 280ms var(--ease-press);
    background: rgba(2, 8, 5, 0.28);
  }

  body.nav-open .sidebar {
    transform: translateX(0);
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 28;
    background: rgba(2, 8, 5, 0.55);
  }

  .sticky-viewport {
    padding: 72px 58px 28px 16px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "mascot"
      "copy"
      "hint";
    justify-items: center;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none;
  }

  .hero-mascot-wrap {
    transform: none;
  }

  .dog-layout {
    grid-template-columns: 1fr;
  }

  .dog-breakout {
    min-height: 160px;
    order: -1;
  }

  .mascot--hero {
    max-height: min(220px, 32vh);
  }

  .mascot {
    width: min(52vw, 240px);
  }

  .split-stage {
    grid-template-columns: 1fr;
  }

  .split-panel--left,
  .split-panel--right {
    transform: translateZ(var(--depth-sm));
  }

  .split-core {
    order: -1;
  }

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

  .word-3d {
    transform: rotateX(8deg) translateZ(var(--depth-md));
  }

  .face--side {
    display: none;
  }

  .progress-rail {
    right: 8px;
  }

  .progress-dot {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  .face-plate {
    padding: 16px 14px 20px;
    border-radius: 18px;
  }

  .hero-sub {
    letter-spacing: 0.1em;
  }

  .mascot {
    width: min(70vw, 240px);
    animation: none;
  }

  .glass-panel {
    display: none;
  }

  .btn-3d--xl .btn-3d__face {
    min-width: 0;
    width: 100%;
  }

  .community-buttons,
  .launch-row {
    width: 100%;
  }

  .community-buttons .btn-3d,
  .launch-row .btn-3d {
    width: 100%;
  }
}

@media (max-width: 900px) and (max-height: 760px) {
  .scroll-hint {
    display: none;
  }

  .parody-note,
  .disclaimer {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   14. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .scroll-track {
    height: auto;
  }

  .sticky-viewport {
    position: relative;
    height: auto;
    display: block;
    padding: 24px 16px 40px calc(var(--sidebar-w) + 24px);
    perspective: none;
  }

  .cube-stage,
  .cube {
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
  }

  .face,
  .face--hero,
  .face--ticker,
  .face--dog,
  .face--community,
  .face--dog .face-plate {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: auto;
    margin-bottom: 22px;
    transform: none !important;
    backface-visibility: visible;
  }

  .face--side {
    display: none;
  }

  .face-plate {
    height: auto;
    min-height: 0;
  }

  .hero-layout,
  .dog-layout,
  .ticker-layout,
  .community-layout {
    position: relative;
    inset: auto;
    height: auto;
    transform: none;
  }

  .word-3d,
  .mascot,
  .split-panel--left,
  .split-panel--right,
  .tile-3d {
    transform: none;
  }

  .particles::before,
  .particles::after,
  .streaks::before,
  .face-scan,
  .scroll-hint,
  .mascot,
  .word-3d--hero .word-3d__face,
  .hero-fx__sweep {
    animation: none;
  }

  .scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .sticky-viewport {
    padding: 84px 16px 32px;
  }
}
