/* ==========================================================================
   NINJA SHIBA INU ($NINJAINU) — BESPOKE DESKTOP STYLESHEET (1920x1080)
   Palette forged directly from character & misty crimson pagoda sanctuary:
   - Obsidian Ink:       #090611 / #110b1e / #19112b
   - Vermilion Lacquer:  #e12d4b / #ff3e5e / #9e1930
   - Shinobi Violet:     #a855f7 / #c084fc / #6d28d9
   - Mist & Parchment:   #f4eef9 / #cfc4de / #9384a8
   ========================================================================== */

:root {
  --bg-obsidian: #080510;
  --bg-deep: #0e091a;
  --bg-panel: rgba(18, 12, 32, 0.84);
  --bg-panel-solid: #140d24;

  --crimson: #e12d4b;
  --crimson-bright: #ff4262;
  --crimson-deep: #8f162b;

  --violet: #a855f7;
  --violet-soft: #c996ff;
  --violet-glow: rgba(168, 85, 247, 0.42);

  --amber-shiba: #efa364;
  --ink-light: #f6f1fb;
  --ink-muted: #c8bdd9;
  --ink-dim: #8a7ca1;

  --border-subtle: rgba(208, 188, 238, 0.15);
  --border-crimson: rgba(225, 45, 75, 0.48);

  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-blade: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--ink-light);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-width: 1280px;
  background-color: var(--bg-obsidian);
  color: var(--ink-light);
  overflow-x: hidden;
  selection-background-color: var(--crimson);
}

::selection {
  background: var(--crimson);
  color: #ffffff;
}

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

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

img {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   ATMOSPHERIC FALLING PETALS CANVAS & FLOATING TOAST
   ========================================================================== */
#petal-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 45;
}

.copy-toast {
  position: fixed;
  top: 98px;
  right: 48px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(22, 13, 38, 0.96), rgba(44, 14, 32, 0.96));
  border: 1px solid var(--crimson-bright);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65), 0 0 28px rgba(225, 45, 75, 0.42);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  opacity: 0;
  transform: translateY(-16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.28s var(--ease-blade), transform 0.28s var(--ease-blade);
}

.copy-toast.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-star {
  color: var(--crimson-bright);
  animation: spinSlow 6s linear infinite;
}

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

/* ==========================================================================
   TOP DESKTOP SHINOBI NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  z-index: 90;
  transition: background 0.35s var(--ease-blade), backdrop-filter 0.35s var(--ease-blade), border-color 0.35s ease;
  background: linear-gradient(180deg, rgba(8, 5, 16, 0.82) 0%, rgba(8, 5, 16, 0.32) 72%, rgba(8, 5, 16, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
  background: rgba(10, 6, 20, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(225, 45, 75, 0.28);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}

.header-inner {
  max-width: 1780px;
  height: 100%;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-shuriken {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--crimson-bright);
  background: rgba(20, 13, 36, 0.88);
  border: 1px solid rgba(225, 45, 75, 0.45);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 0.5s var(--ease-blade), color 0.25s ease;
}

.brand-mark:hover .brand-shuriken {
  transform: rotate(120deg);
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-ticker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--crimson-bright);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 238, 249, 0.78);
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson-bright), var(--violet));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-blade);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(19, 13, 35, 0.75);
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--violet-soft);
  transition: all 0.22s var(--ease-blade);
}

.btn-tool:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: var(--violet-soft);
  color: #ffffff;
}

.btn-tool:active {
  transform: scale(0.96);
}

.btn-tool.muted {
  opacity: 0.55;
  color: var(--ink-dim);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: transform 0.22s var(--ease-blade), background 0.22s ease, box-shadow 0.22s ease;
}

.btn-mini-dark {
  background: rgba(20, 14, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-mini-dark:hover {
  background: rgba(42, 28, 72, 0.95);
  border-color: var(--violet-soft);
  transform: translateY(-2px);
}

.btn-mini-crimson {
  background: linear-gradient(135deg, var(--crimson), #b81d38);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(225, 45, 75, 0.36);
}

.btn-mini-crimson:hover {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 66, 98, 0.5);
}

.btn-mini:active {
  transform: translateY(1px) scale(0.98);
}

/* ==========================================================================
   SECTION 1: HERO — THE HIGH PERCH (1920x1080 FULL STAGE)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 920px;
  max-height: 1200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #120c20;
}

.hero-bg-layer {
  position: absolute;
  inset: -4%;
  z-index: 1;
  will-change: transform;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: contrast(1.05) saturate(1.08);
}

/* Drifting Atmospheric Cloud Mist Layers */
.hero-mist {
  position: absolute;
  left: -25%;
  width: 150%;
  pointer-events: none;
  z-index: 2;
}

.hero-mist-one {
  bottom: 12%;
  height: 36%;
  background: radial-gradient(ellipse 46% 52% at 50% 58%, rgba(226, 214, 240, 0.30), rgba(168, 132, 206, 0.08) 62%, transparent 80%);
  animation: mistDriftA 22s ease-in-out infinite alternate;
}

.hero-mist-two {
  bottom: -6%;
  height: 34%;
  background: radial-gradient(ellipse 58% 60% at 38% 72%, rgba(20, 12, 34, 0.85), rgba(14, 9, 26, 0.45) 65%, transparent 90%);
  animation: mistDriftB 17s ease-in-out infinite alternate;
}

@keyframes mistDriftA {
  0% { transform: translateX(-3.5%) scaleY(1); }
  100% { transform: translateX(3.5%) scaleY(1.08); }
}

@keyframes mistDriftB {
  0% { transform: translateX(3%) translateY(0); }
  100% { transform: translateX(-3%) translateY(-12px); }
}

/* Crafted Asymmetric Ink Scrim: Rich dark contrast on left for crisp text,
   clear open window on center-right so all 3 pagodas + red foliage shine! */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(96deg,
      rgba(9, 6, 18, 0.93) 0%,
      rgba(12, 8, 24, 0.86) 33%,
      rgba(16, 11, 30, 0.48) 54%,
      rgba(15, 10, 28, 0.22) 76%,
      rgba(10, 6, 20, 0.56) 100%),
    linear-gradient(180deg,
      rgba(9, 6, 18, 0.56) 0%,
      rgba(9, 6, 18, 0.04) 24%,
      rgba(9, 6, 18, 0.14) 76%,
      rgba(8, 5, 16, 0.96) 100%);
  pointer-events: none;
}

/* Foreground Multi-Plane Crimson Maple Branches */
.hero-branch {
  position: absolute;
  top: -3%;
  height: 92%;
  width: auto;
  z-index: 5;
  pointer-events: none;
  will-change: transform;
  opacity: 0.9;
  filter: drop-shadow(0 14px 28px rgba(6, 3, 12, 0.6));
}

.hero-branch-left {
  left: -2.2%;
}

.hero-branch-right {
  right: -2.2%;
}

/* Main 1920x1080 Content Grid */
.hero-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1780px;
  height: 100%;
  margin: 0 auto;
  padding: 82px 64px 0;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 24px;
}

.hero-content {
  position: relative;
  z-index: 12;
  max-width: 740px;
  padding-left: 18px;
  animation: heroRise 0.9s var(--ease-blade) both;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.seal-tag {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--crimson), #9d1730);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  box-shadow: 0 4px 20px rgba(225, 45, 75, 0.45);
}

.eyebrow-divider {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.eyebrow-note {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--violet-soft);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.72);
}

.hero-title .title-line-top {
  display: block;
  font-size: clamp(74px, 5.6vw, 112px);
  color: #ffffff;
}

.hero-title .title-line-bottom {
  display: block;
  font-size: clamp(70px, 5.2vw, 104px);
  background: linear-gradient(92deg, #ffffff 0%, #f5d0fe 48%, #ff6581 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 18.5px;
  line-height: 1.62;
  color: rgba(242, 234, 250, 0.88);
  max-width: 600px;
  margin-bottom: 34px;
  font-weight: 400;
}

/* ==========================================================================
   SIGNATURE CONTRACT ADDRESS LACQUER SCROLL BOX
   ========================================================================== */
.ca-scroll {
  position: relative;
  background: rgba(14, 9, 26, 0.88);
  border: 1px solid rgba(225, 45, 75, 0.42);
  backdrop-filter: blur(12px);
  padding: 14px 18px 16px;
  margin-bottom: 28px;
  max-width: 650px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ca-scroll:hover {
  border-color: var(--crimson-bright);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(225, 45, 75, 0.2);
}

.ca-scroll.copied-flash {
  border-color: var(--violet-soft);
  box-shadow: 0 0 36px rgba(168, 85, 247, 0.52);
}

.ca-scroll-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
}

.ca-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--crimson-bright);
}

.ca-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
}

.ca-scroll-body {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(7, 4, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 8px 8px 16px;
}

.ca-prefix {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--violet-soft);
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  user-select: none;
}

.ca-value {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.btn-copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--crimson), #b31935);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: transform 0.2s var(--ease-blade), background 0.2s ease, box-shadow 0.2s ease;
}

.btn-copy:hover {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson));
  box-shadow: 0 0 24px rgba(255, 66, 98, 0.55);
  transform: translateY(-1px);
}

.btn-copy:active {
  transform: translateY(1px) scale(0.97);
}

.btn-copy.copied {
  background: linear-gradient(135deg, #8b3dff, #6d28d9);
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.65);
}

/* ==========================================================================
   PRIMARY TACTILE SHINOBI BUTTONS (X / TWITTER & PUMP.FUN)
   ========================================================================== */
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-shinobi {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 32px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: transform 0.24s var(--ease-blade), box-shadow 0.24s var(--ease-blade), border-color 0.24s ease;
}

.btn-slash {
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-28deg);
  transition: left 0.55s var(--ease-blade);
  pointer-events: none;
}

.btn-shinobi:hover .btn-slash {
  left: 155%;
}

.btn-arrow {
  transition: transform 0.24s var(--ease-blade);
}

.btn-shinobi:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-twitter {
  background: rgba(18, 12, 34, 0.92);
  border: 1px solid rgba(192, 132, 252, 0.45);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.btn-twitter:hover {
  background: rgba(34, 21, 64, 0.96);
  border-color: var(--violet-soft);
  box-shadow: 0 16px 38px rgba(139, 61, 255, 0.36);
  transform: translateY(-3px);
}

.btn-pump {
  background: linear-gradient(135deg, var(--crimson-bright) 0%, #c81d3b 55%, #8a132c 100%);
  border: 1px solid rgba(255, 138, 158, 0.42);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(225, 45, 75, 0.42);
}

.btn-pump:hover {
  box-shadow: 0 18px 42px rgba(255, 66, 98, 0.62);
  transform: translateY(-3px);
}

.btn-pump:hover .pump-star {
  transform: rotate(90deg);
}

.pump-star {
  transition: transform 0.4s var(--ease-blade);
}

.btn-shinobi:active {
  transform: translateY(1px) scale(0.98);
}

/* ==========================================================================
   HERO MAIN CHARACTER STAGE (RIGHT COLUMN — LARGE & ICONIC)
   ========================================================================== */
.hero-character-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 11;
}

.hero-aura {
  position: absolute;
  bottom: 6%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(168, 85, 247, 0.42) 0%,
    rgba(225, 45, 75, 0.22) 38%,
    rgba(15, 9, 28, 0) 70%);
  filter: blur(22px);
  pointer-events: none;
  animation: auraBreath 6s ease-in-out infinite alternate;
}

@keyframes auraBreath {
  from { transform: scale(0.95); opacity: 0.78; }
  to { transform: scale(1.06); opacity: 1; }
}

.hero-shuriken-halo {
  position: absolute;
  bottom: 15%;
  width: 680px;
  height: 680px;
  pointer-events: none;
  opacity: 0.85;
}

.halo-svg {
  width: 100%;
  height: 100%;
  animation: spinSlow 48s linear infinite;
}

.hero-character-btn {
  position: relative;
  z-index: 4;
  display: block;
  padding: 0;
  background: none;
  outline: none;
  cursor: pointer;
}

.hero-character-img {
  height: min(86vh, 910px);
  width: auto;
  max-width: 820px;
  object-fit: contain;
  transform-origin: bottom center;
  filter:
    drop-shadow(0 22px 45px rgba(5, 2, 12, 0.85))
    drop-shadow(0 0 32px rgba(168, 85, 247, 0.32));
  animation: shibaIdle 5.4s ease-in-out infinite;
  transition: filter 0.3s ease;
  will-change: transform;
}

@keyframes shibaIdle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(0.4deg); }
}

.hero-character-btn:hover .hero-character-img {
  filter:
    drop-shadow(0 26px 52px rgba(5, 2, 12, 0.9))
    drop-shadow(0 0 42px rgba(225, 45, 75, 0.45));
}

.hero-character-btn.shadow-step .hero-character-img {
  animation: kawarimiStep 0.46s var(--ease-blade);
}

@keyframes kawarimiStep {
  0% { transform: translateX(0) scale(1); filter: brightness(1); }
  25% { transform: translateX(-16px) skewX(-4deg) scale(1.02); filter: brightness(1.45) drop-shadow(18px 0 0 rgba(168,85,247,0.65)); }
  60% { transform: translateX(10px) skewX(2deg) scale(1.01); filter: brightness(1.15) drop-shadow(-12px 0 0 rgba(225,45,75,0.55)); }
  100% { transform: translateX(0) scale(1); filter: brightness(1); }
}

/* Character Speech / Thought Whisper Tag */
.shiba-whisper {
  position: absolute;
  top: 15%;
  left: -7%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 310px;
  padding: 12px 20px;
  background: rgba(15, 10, 28, 0.92);
  border: 1px solid rgba(192, 132, 252, 0.55);
  backdrop-filter: blur(10px);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.45;
  color: #f7f1ff;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-blade), transform 0.3s var(--ease-blade);
}

.shiba-whisper.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.whisper-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson-bright);
  box-shadow: 0 0 10px var(--crimson-bright);
}

.character-caption-tag {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  background: rgba(12, 8, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  pointer-events: none;
}

.pulse-ember {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson-bright);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.45; }
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 82px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(244, 238, 249, 0.72);
  transition: color 0.25s ease;
}

.scroll-cue:hover {
  color: #ffffff;
}

.scroll-cue-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--crimson-bright), transparent);
}

/* ==========================================================================
   INFINITE MARQUEE RIBBONS
   ========================================================================== */
.marquee-band {
  position: relative;
  z-index: 20;
  width: 104%;
  margin-left: -2%;
  padding: 17px 0;
  overflow: hidden;
  user-select: none;
}

.marquee-crimson {
  background: linear-gradient(90deg, #8e142b 0%, #d42644 50%, #8e142b 100%);
  border-top: 1px solid rgba(255, 160, 178, 0.35);
  border-bottom: 1px solid rgba(255, 160, 178, 0.35);
  transform: rotate(-1.05deg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
}

.marquee-violet {
  background: linear-gradient(90deg, #160e29 0%, #2a184d 50%, #160e29 100%);
  border-top: 1px solid rgba(192, 132, 252, 0.35);
  border-bottom: 1px solid rgba(225, 45, 75, 0.35);
  transform: rotate(0.95deg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track.marquee-reverse {
  animation-direction: reverse;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}

.marquee-group i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

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

/* ==========================================================================
   SHARED WORLD SECTION TYPOGRAPHY & REVEALS
   ========================================================================== */
.world-section {
  position: relative;
  padding: 138px 64px;
  overflow: hidden;
}

.section-container {
  max-width: 1680px;
  margin: 0 auto;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--crimson-bright);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(42px, 3.3vw, 62px);
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 26px;
}

.section-heading span {
  background: linear-gradient(92deg, #f3e8ff 0%, #c084fc 48%, #ff5470 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.story-lead {
  font-size: 19px;
  line-height: 1.66;
  color: rgba(245, 239, 252, 0.9);
  margin-bottom: 20px;
}

.story-body {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-muted);
  margin-bottom: 38px;
}

.story-body strong {
  color: #ffffff;
  font-weight: 700;
}

/* Scroll Reveal Transitions */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-blade), transform 0.8s var(--ease-blade);
}

.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   SECTION 2: ABOUT — UNDER THE EAVES
   ========================================================================== */
.section-eaves {
  background:
    radial-gradient(circle at 16% 35%, rgba(168, 85, 247, 0.14), transparent 44%),
    radial-gradient(circle at 88% 78%, rgba(225, 45, 75, 0.12), transparent 42%),
    var(--bg-obsidian);
}

.section-grid-eaves {
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 88px;
  align-items: center;
}

.eaves-visual-col {
  position: relative;
}

.lacquer-frame {
  position: relative;
  border: 1px solid rgba(225, 45, 75, 0.42);
  background: #120c22;
  padding: 12px;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.72);
  transition: transform 0.35s var(--ease-blade), box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.lacquer-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9.2;
  object-fit: cover;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.frame-stamp {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 16px;
  background: rgba(10, 6, 20, 0.88);
  border-left: 3px solid var(--crimson-bright);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
}

.frame-stamp span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
}

.frame-stamp strong {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.floating-seal {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 132px;
  height: 132px;
  z-index: 6;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.75));
}

.seal-spin-svg {
  width: 100%;
  height: 100%;
  animation: spinSlow 26s linear infinite;
}

.field-tallies {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
}

.tally-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  padding: 14px 18px;
  background: rgba(20, 14, 36, 0.52);
  border-left: 2px solid rgba(225, 45, 75, 0.55);
  transition: background 0.25s ease, transform 0.25s var(--ease-blade), border-color 0.25s ease;
}

.tally-row:hover {
  background: rgba(34, 22, 60, 0.78);
  border-left-color: var(--violet-soft);
  transform: translateX(6px);
}

.tally-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--crimson-bright);
}

.tally-info h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  margin-bottom: 5px;
}

.tally-info p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ==========================================================================
   SECTION 3: LORE & HABITS — THREE RULES OF THE THIRD PAGODA
   ========================================================================== */
.section-rules {
  background:
    linear-gradient(180deg, var(--bg-obsidian) 0%, #100a1f 50%, var(--bg-obsidian) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rules-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.rules-header .section-heading {
  margin-bottom: 0;
}

.rules-intro {
  max-width: 520px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-muted);
}

.codex-stage {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: stretch;
}

.codex-side-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.codex-panel {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  overflow: hidden;
  transition: transform 0.32s var(--ease-blade), border-color 0.32s ease, box-shadow 0.32s ease;
}

.codex-panel[data-codex-card] {
  cursor: pointer;
}

.codex-panel:hover {
  transform: translateY(-5px);
  border-color: var(--crimson-bright);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.65), 0 0 28px rgba(225, 45, 75, 0.16);
}

.codex-media {
  position: relative;
  overflow: hidden;
}

.codex-panel-main .codex-media img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  transition: transform 0.65s var(--ease-blade);
}

.codex-panel-wide .codex-media img {
  width: 100%;
  height: 292px;
  object-fit: cover;
  object-position: center 34%;
  transition: transform 0.65s var(--ease-blade);
}

.codex-panel:hover .codex-media img {
  transform: scale(1.045);
}

.codex-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 13px;
  background: rgba(11, 7, 22, 0.88);
  border: 1px solid rgba(225, 45, 75, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
}

.codex-body {
  padding: 28px 32px 32px;
}

.codex-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--violet-soft);
  margin-bottom: 10px;
}

.codex-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.24;
  color: #ffffff;
  margin-bottom: 12px;
}

.codex-body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* Interactive Rooftop Logbook Card */
.codex-panel-notes {
  flex: 1;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(24, 15, 44, 0.92), rgba(14, 9, 26, 0.95));
  border-color: rgba(192, 132, 252, 0.28);
}

.notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.btn-cycle-log {
  padding: 7px 14px;
  background: rgba(225, 45, 75, 0.16);
  border: 1px solid rgba(225, 45, 75, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  transition: all 0.2s var(--ease-blade);
}

.btn-cycle-log:hover {
  background: var(--crimson);
  transform: translateY(-1px);
}

.btn-cycle-log:active {
  transform: scale(0.96);
}

.log-quote {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.5;
  color: #f6f0fc;
  margin-bottom: 20px;
  min-height: 62px;
  transition: opacity 0.22s ease;
}

.log-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
}

/* ==========================================================================
   SECTION 4: DEDICATED WIDESCREEN VISUAL SHOWPIECE — CLOUD LINE PANORAMA
   ========================================================================== */
.panorama-section {
  position: relative;
  padding: 36px 48px 96px;
  background: var(--bg-obsidian);
}

.panorama-stage {
  position: relative;
  max-width: 1800px;
  height: 820px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(225, 45, 75, 0.38);
  clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.8);
}

.panorama-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: filter 0.7s var(--ease-blade), transform 0.8s var(--ease-blade);
}

/* Real-Time Atmosphere Lighting Filters */
.panorama-stage[data-mood="dusk"] .panorama-img {
  filter: contrast(1.04) saturate(1.08) brightness(0.98);
}

.panorama-stage[data-mood="crimson"] .panorama-img {
  filter: hue-rotate(-22deg) saturate(1.42) contrast(1.12) brightness(0.9);
}

.panorama-stage[data-mood="midnight"] .panorama-img {
  filter: hue-rotate(16deg) saturate(1.22) contrast(1.18) brightness(0.68);
}

.panorama-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(
    circle 340px at var(--spot-x, 72%) var(--spot-y, 55%),
    rgba(255, 224, 190, 0.16) 0%,
    rgba(168, 85, 247, 0.08) 42%,
    rgba(7, 4, 15, 0.34) 100%
  );
}

.panorama-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background:
    linear-gradient(180deg, rgba(8, 5, 16, 0.82) 0%, rgba(8, 5, 16, 0.05) 26%, rgba(8, 5, 16, 0.08) 70%, rgba(8, 5, 16, 0.9) 100%);
}

/* Interactive Sanctuary Hotspots */
.valley-hotspot {
  position: absolute;
  z-index: 8;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.hotspot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--crimson-bright);
  animation: hotspotPing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hotspot-core {
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 2px solid var(--crimson-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 16px var(--crimson-bright);
  transition: transform 0.25s var(--ease-blade), background 0.25s ease;
}

.valley-hotspot:hover .hotspot-core,
.valley-hotspot.active .hotspot-core {
  transform: rotate(135deg) scale(1.3);
  background: var(--crimson-bright);
}

@keyframes hotspotPing {
  0% { transform: scale(0.75); opacity: 0.95; }
  100% { transform: scale(1.75); opacity: 0; }
}

.panorama-hud-top {
  position: absolute;
  top: 34px;
  left: 44px;
  right: 44px;
  z-index: 9;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.panorama-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 38px;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.8);
}

.mood-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(12, 8, 24, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.mood-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  padding: 0 6px;
}

.mood-btn {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.22s var(--ease-blade);
}

.mood-btn:hover {
  color: #ffffff;
}

.mood-btn.active {
  background: var(--crimson);
  color: #ffffff;
  border-color: rgba(255, 160, 178, 0.45);
}

.panorama-hud-bottom {
  position: absolute;
  bottom: 32px;
  left: 44px;
  right: 44px;
  z-index: 9;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.spot-readout {
  max-width: 620px;
  padding: 16px 24px;
  background: rgba(12, 8, 24, 0.88);
  border-left: 3px solid var(--crimson-bright);
  backdrop-filter: blur(12px);
}

.spot-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--violet-soft);
  margin-bottom: 5px;
}

.spot-readout p {
  font-size: 15px;
  line-height: 1.5;
  color: #ffffff;
}

.panorama-coords {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: rgba(244, 238, 249, 0.8);
}

/* ==========================================================================
   SECTION 5: COMMUNITY — DISPATCH + PEEKING SHIBA GRIPPING UI BORDER
   ========================================================================== */
.section-community {
  background:
    radial-gradient(circle at 75% 48%, rgba(168, 85, 247, 0.16), transparent 44%),
    var(--bg-obsidian);
}

.community-stage {
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dispatch-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 34px;
}

.dispatch-link {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
  background: rgba(19, 13, 35, 0.86);
  border: 1px solid var(--border-subtle);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: transform 0.26s var(--ease-blade), border-color 0.26s ease, box-shadow 0.26s ease, background 0.26s ease;
}

.dispatch-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: rgba(10, 6, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: transform 0.3s var(--ease-blade), background 0.3s ease;
}

.dispatch-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--crimson-bright);
  margin-bottom: 4px;
}

.dispatch-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 4px;
}

.dispatch-text p {
  font-size: 14.5px;
  color: var(--ink-muted);
}

.dispatch-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: background 0.25s ease, transform 0.25s var(--ease-blade);
}

.dispatch-x:hover {
  transform: translateX(8px);
  border-color: var(--violet-soft);
  box-shadow: 0 20px 48px rgba(139, 61, 255, 0.24);
}

.dispatch-x:hover .dispatch-icon {
  background: #6d28d9;
  transform: rotate(-6deg);
}

.dispatch-pump:hover {
  transform: translateX(8px);
  border-color: var(--crimson-bright);
  box-shadow: 0 20px 48px rgba(225, 45, 75, 0.28);
}

.dispatch-pump:hover .dispatch-icon {
  background: var(--crimson);
  transform: rotate(12deg);
}

.dispatch-link:hover .dispatch-cta {
  background: var(--crimson);
}

.dispatch-link:active {
  transform: translateX(4px) scale(0.99);
}

/* Right Side: Peeking Ninja Shiba Inu Interacting Directly With Card Border!
   Exact math verified: ninja-shiba-peeking.png is 436x680, vertical wall edge is x=395 (90.6%).
   At width = 330px, 90.6% = 299px sits left of .shoji-notice-card so his clawed paw (31px) wraps right over the card border! */
.community-peeker-zone {
  position: relative;
  padding-left: 299px;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.peeking-shiba-wrap {
  position: absolute;
  left: 0;
  top: 50%;
  width: 330px;
  transform: translateY(-50%);
  transform-origin: 90.6% 66%;
  z-index: 6;
  cursor: pointer;
  transition: transform 0.42s var(--ease-blade), filter 0.3s ease;
  filter: drop-shadow(-10px 18px 34px rgba(0, 0, 0, 0.8));
}

.peeking-shiba-wrap:hover,
.peeking-shiba-wrap.peek-active {
  transform: translateY(-50%) rotate(-4.5deg) scale(1.025);
  filter: drop-shadow(-14px 22px 40px rgba(168, 85, 247, 0.42));
}

.peeking-shiba-img {
  width: 100%;
  height: auto;
}

.shoji-notice-card {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 44px 40px;
  background: linear-gradient(160deg, #17102a 0%, #100a1e 100%);
  border: 2px solid rgba(225, 45, 75, 0.65);
  border-radius: 14px;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.72);
}

.shoji-card-badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(225, 45, 75, 0.18);
  border: 1px solid rgba(225, 45, 75, 0.45);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--crimson-bright);
  margin-bottom: 18px;
}

.shoji-card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 24px;
}

.shoji-rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.shoji-rules-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(244, 238, 249, 0.88);
}

.bullet-star {
  color: var(--violet-soft);
  font-size: 14px;
  margin-top: 2px;
}

.shoji-whisper-line {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-style: italic;
  color: var(--violet-soft);
}

/* ==========================================================================
   SECTION 6: FINAL CONTRACT & CTA MONUMENT — THE SHINOBI SEAL
   ========================================================================== */
.final-seal-section {
  position: relative;
  padding: 130px 64px 140px;
  overflow: hidden;
  border-top: 1px solid rgba(225, 45, 75, 0.25);
}

.final-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.final-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(1.15) contrast(1.08);
  opacity: 0.34;
}

.final-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(168, 85, 247, 0.22), transparent 52%),
    linear-gradient(180deg, #080510 0%, rgba(11, 7, 22, 0.72) 50%, #080510 100%);
}

.final-stage {
  position: relative;
  z-index: 5;
  max-width: 1560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.final-character-medallion {
  position: relative;
  display: grid;
  place-items: center;
}

.medallion-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 45, 75, 0.28) 0%, rgba(168, 85, 247, 0.28) 45%, transparent 72%);
  filter: blur(18px);
}

.final-character-img {
  position: relative;
  z-index: 2;
  max-height: 540px;
  width: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.85));
  -webkit-mask-image: linear-gradient(180deg, #000000 78%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000000 78%, rgba(0, 0, 0, 0) 100%);
}

.final-panel {
  max-width: 760px;
}

.final-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 4vw, 76px);
  line-height: 1.02;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}

.final-ticker-pill {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(225, 45, 75, 0.2);
  border: 1px solid var(--crimson-bright);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
  margin-bottom: 22px;
}

.final-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 32px;
}

.ca-scroll-large {
  max-width: 720px;
}

/* ==========================================================================
   MINIMAL FOOTER BAR & CLICK SHURIKEN FX
   ========================================================================== */
.site-footer {
  background: #06030c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 64px;
}

.footer-inner {
  max-width: 1780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}

.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.footer-dot {
  width: 8px;
  height: 8px;
  background: var(--crimson-bright);
  transform: rotate(45deg);
}

.footer-sep {
  color: var(--ink-dim);
}

.footer-right {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.footer-right a {
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.footer-right a:hover {
  color: var(--crimson-bright);
}

/* Thrown Interactive Steel Shuriken Element */
.thrown-shuriken {
  position: fixed;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  pointer-events: none;
  z-index: 80;
  color: #e9d5ff;
  filter: drop-shadow(0 0 10px rgba(225, 45, 75, 0.75));
  animation: shurikenStick 1.35s var(--ease-blade) forwards;
}

@keyframes shurikenStick {
  0% {
    opacity: 0;
    transform: translate(-42px, -34px) scale(1.55) rotate(-260deg);
  }
  24% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  75% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(0, 8px) scale(0.72) rotate(12deg);
  }
}
