/* COCOON — Night Silk redesign (v42) */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-400.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/hanken-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fragment Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/fragment-mono-400.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #06060b;
  --ink: #edeef6;
  --muted: #8f94ac;
  --line: rgba(237, 238, 246, 0.12);
  --line-soft: rgba(237, 238, 246, 0.07);
  --blue: #63b9ff;
  --violet: #9a6cff;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Fragment Mono", "Cascadia Mono", ui-monospace, monospace;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--violet);
  color: #fff;
}

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

a {
  color: inherit;
}

/* ---------- page transitions ---------- */

main {
  animation: pageRise 620ms cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

@keyframes pageRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-header,
.site-footer {
  transition: opacity 240ms ease;
}

body.is-page-leaving main {
  animation: none;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 240ms ease, transform 240ms ease;
}

body.is-page-leaving .site-header,
body.is-page-leaving .site-footer {
  opacity: 0;
}

/* ---------- atmosphere ---------- */

.grain {
  position: fixed;
  inset: -50%;
  z-index: 40;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.4s steps(4) infinite;
}

@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(0, 0); }
}

.veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.veil::before,
.veil::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.veil::before {
  width: min(58vw, 640px);
  height: min(58vw, 640px);
  left: 50%;
  top: 46%;
  margin-left: max(-29vw, -320px);
  margin-top: max(-29vw, -320px);
  background: radial-gradient(
    circle at 42% 36%,
    rgba(99, 185, 255, 0.34),
    rgba(83, 92, 255, 0.2) 42%,
    rgba(154, 108, 255, 0.14) 64%,
    transparent 78%
  );
  animation: breathe 9s ease-in-out infinite alternate;
}

.veil::after {
  width: min(34vw, 380px);
  height: min(34vw, 380px);
  left: 58%;
  top: 58%;
  background: radial-gradient(circle, rgba(154, 108, 255, 0.2), transparent 70%);
  animation: breathe-b 11s ease-in-out infinite alternate-reverse;
}

@keyframes breathe {
  from { opacity: 0.66; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.06); }
}

@keyframes breathe-b {
  from { opacity: 0.5; transform: scale(0.9); }
  to { opacity: 0.95; transform: scale(1.1); }
}

/* ---------- header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem var(--pad);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.brand strong {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(9, 9, 19, 0.55);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 34px rgba(0, 0, 0, 0.3);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.62em 1.15em;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, text-shadow 0.25s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(237, 238, 246, 0.05);
  text-shadow: 0 0 14px rgba(99, 185, 255, 0.6);
}

.site-nav a.active {
  color: var(--ink);
  background: linear-gradient(120deg, rgba(99, 185, 255, 0.15), rgba(154, 108, 255, 0.2));
  animation: navGlow 4.5s ease-in-out infinite alternate;
}

.site-nav a.active::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  box-shadow:
    0 0 10px var(--blue),
    0 0 20px rgba(154, 108, 255, 0.8);
  animation: navDot 2.4s ease-in-out infinite alternate;
}

@keyframes navGlow {
  from {
    box-shadow:
      inset 0 0 0 1px rgba(99, 185, 255, 0.26),
      0 0 14px rgba(99, 185, 255, 0.12);
  }
  to {
    box-shadow:
      inset 0 0 0 1px rgba(154, 108, 255, 0.4),
      0 0 26px rgba(154, 108, 255, 0.22);
  }
}

@keyframes navDot {
  from {
    opacity: 0.65;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1.2);
  }
}

.site-nav a.nav-buy {
  overflow: hidden;
  color: var(--bg);
  background: linear-gradient(120deg, #eef0f8, #cfe4ff 55%, #ddd0ff);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 6px 18px rgba(99, 185, 255, 0.2);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.site-nav a.nav-buy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.9) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.6s ease;
}

.site-nav a.nav-buy:hover {
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 30px rgba(99, 185, 255, 0.5);
}

.site-nav a.nav-buy:hover::after {
  transform: translateX(130%);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem var(--pad) 4.5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow em {
  font-style: normal;
  color: var(--blue);
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 9.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 1.4rem 0 1.6rem;
  text-wrap: balance;
}

.hero h1 .shimmer {
  background: linear-gradient(100deg, var(--ink) 20%, var(--blue) 45%, var(--violet) 60%, var(--ink) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 82% 0; }
  50% { background-position: 18% 0; }
}

.hero .lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 2.2rem 0 2.6rem;
}

.btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

button.btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
}

button.btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 34px rgba(99, 185, 255, 0.5);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--violet);
  box-shadow: 0 6px 30px rgba(154, 108, 255, 0.28);
}

.contract {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(6, 6, 11, 0.5);
}

.contract code {
  font-family: inherit;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(52vw, 30rem);
}

.contract button {
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(237, 238, 246, 0.08);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.contract button:hover {
  background: var(--ink);
  color: var(--bg);
}

.contract button.copied {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--bg);
}

.hero-durov::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(6, 6, 11, 0.84), rgba(6, 6, 11, 0.62) 45%, var(--bg) 97%),
    url("assets/durov-profile-shot.jpg") center 28% / cover no-repeat;
  filter: saturate(0.55);
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(130% 95% at 50% 42%, #000 50%, transparent 100%);
  mask-image: radial-gradient(130% 95% at 50% 42%, #000 50%, transparent 100%);
}

.hero-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
}

/* ---------- video ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-section {
  text-align: center;
}

.video-section .eyebrow {
  margin-bottom: 1.6rem;
}

.video-card {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(99, 185, 255, 0.14);
}

.video-card video {
  display: block;
  width: 100%;
  height: auto;
}

.video-sound-toggle,
.video-caption {
  position: absolute;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(6, 6, 11, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55em 1.2em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.video-sound-toggle {
  left: 0.9rem;
  cursor: pointer;
}

.video-sound-toggle:hover,
.video-caption:hover {
  background: rgba(6, 6, 11, 0.9);
  border-color: var(--blue);
}

.sound-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.video-sound-toggle[aria-pressed="true"] .sound-dot {
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.video-caption {
  right: 0.9rem;
  text-decoration: none;
}

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

.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.95rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
}

.marquee span {
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee 36s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.marquee i {
  font-style: normal;
  color: var(--violet);
  margin: 0 1.6rem;
}

/* ---------- sections ---------- */

main {
  position: relative;
}

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) var(--pad);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.section-head .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--blue);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-head h2 em {
  color: var(--violet);
}

.truths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
}

.truth {
  padding: 2.2rem 1.8rem 2.6rem 0;
  border-right: 1px solid var(--line-soft);
}

.truth:last-child {
  border-right: 0;
}

.truth + .truth {
  padding-left: 1.8rem;
}

.truth .num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.truth h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0.9rem 0 0.7rem;
}

.truth p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.gift-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.gift-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 1rem 0.3rem 0.35rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(237, 238, 246, 0.03);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gift-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(237, 238, 246, 0.05);
}

.gift-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.text-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2em;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  border-color: var(--blue);
}

/* ---------- ninja band ---------- */

.band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.band-copy .eyebrow {
  margin-bottom: 1.2rem;
}

.band-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

.band-copy h2 em {
  color: var(--blue);
}

.band-copy p {
  color: var(--muted);
  max-width: 30rem;
  margin-bottom: 1.6rem;
}

.band-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.band-figure {
  position: relative;
}

.band-figure img {
  width: min(100%, 430px);
  margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 55%, transparent 98%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 55%, transparent 98%);
}

.band-figure::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 185, 255, 0.16), rgba(154, 108, 255, 0.1) 55%, transparent 75%);
  filter: blur(50px);
  z-index: -1;
}

/* ---------- stickers ---------- */

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.sticker-grid > div {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(237, 238, 246, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.sticker-grid > div:hover {
  transform: translateY(-4px);
  border-color: rgba(154, 108, 255, 0.4);
}

.sticker-grid svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 860px) {
  .sticker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .sticker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- finale ---------- */

.finale {
  text-align: center;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.finale h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
}

.finale p {
  color: var(--muted);
  max-width: 30rem;
  margin: 0 auto 2.2rem;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2.2rem var(--pad) 2.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer .legal {
  flex-basis: 100%;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.66rem;
  color: rgba(143, 148, 172, 0.65);
  line-height: 1.7;
}

/* ---------- whitepaper ---------- */

.paper-hero {
  position: relative;
  padding: clamp(9rem, 18vh, 12rem) var(--pad) clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.paper-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1.02;
  margin: 1.3rem 0 1.5rem;
}

.paper-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.paper {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem var(--pad) clamp(4rem, 8vw, 6rem);
}

.paper section {
  padding: clamp(2.4rem, 5vw, 3.4rem) 0;
  border-top: 1px solid var(--line-soft);
}

.paper section:first-child {
  border-top: 0;
}

.paper .num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--blue);
}

.paper h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  margin: 0.7rem 0 1.1rem;
}

.paper p {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.paper p strong {
  color: var(--ink);
  font-weight: 500;
}

.paper p em {
  color: var(--ink);
}

.paper ol,
.paper ul {
  margin: 0 0 1.1rem 1.2rem;
  color: var(--muted);
}

.paper li {
  margin-bottom: 0.55rem;
  padding-left: 0.3rem;
}

.paper li::marker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue);
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.4rem 0;
}

.fact-table th,
.fact-table td {
  text-align: left;
  padding: 0.75rem 0.2rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.fact-table th {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  width: 32%;
  white-space: nowrap;
}

.fact-table td {
  color: var(--ink);
  word-break: break-all;
}

.paper-sign {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) 0 0;
  border-top: 1px solid var(--line-soft);
}

.paper-sign p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  color: var(--ink);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .truths {
    grid-template-columns: 1fr;
  }
  .truth {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 1.9rem 0;
  }
  .truth + .truth {
    padding-left: 0;
  }
  .truth:last-child {
    border-bottom: 0;
  }
  .band {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .band-copy p {
    margin-inline: auto;
  }
  .band-links {
    justify-content: center;
  }
  .band-figure {
    order: -1;
  }
  .band-figure img {
    width: min(78vw, 340px);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 1.1rem 1.1rem;
    gap: 0.9rem;
  }
  .brand strong {
    display: none;
  }
  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.26rem;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
  .site-nav a {
    padding: 0.55em 0.75em;
    gap: 0.35em;
  }
  .site-nav a.active::before {
    width: 4px;
    height: 4px;
  }
  .video-sound-toggle,
  .video-caption {
    font-size: 0.58rem;
    padding: 0.5em 0.9em;
    bottom: 0.6rem;
  }
  .video-sound-toggle {
    left: 0.6rem;
  }
  .video-caption {
    right: 0.6rem;
  }
  .hero {
    padding-top: 6rem;
  }
  .contract {
    border-radius: 18px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.8rem 1rem;
  }
  .contract code {
    max-width: 100%;
  }
  .hero-scroll {
    display: none;
  }
  .hero-durov::before {
    opacity: 0.32;
    background:
      linear-gradient(rgba(6, 6, 11, 0.9), rgba(6, 6, 11, 0.78) 45%, var(--bg) 97%),
      url("assets/durov-profile-shot.jpg") center 20% / cover no-repeat;
  }
  .hero-collage::before {
    opacity: 0.28;
    background:
      linear-gradient(rgba(6, 6, 11, 0.92), rgba(6, 6, 11, 0.8) 45%, var(--bg) 97%),
      url("assets/nft-board-profile-collage.webp") center 30% / cover no-repeat;
  }
}

/* ---------- token & board pages ---------- */

.hero-compact {
  min-height: 74svh;
  padding-bottom: 3.5rem;
}

.hero-flush {
  min-height: auto;
  padding-top: clamp(8rem, 16vh, 10rem);
  padding-bottom: 2.5rem;
}

.hero-collage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(6, 6, 11, 0.82), rgba(6, 6, 11, 0.66) 45%, var(--bg) 97%),
    url("assets/nft-board-profile-collage.webp") center 30% / cover no-repeat;
  filter: saturate(0.7);
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(130% 95% at 50% 42%, #000 50%, transparent 100%);
  mask-image: radial-gradient(130% 95% at 50% 42%, #000 50%, transparent 100%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
}

.stats article {
  padding: 1.9rem 1.6rem 2.1rem 0;
  border-right: 1px solid var(--line-soft);
}

.stats article + article {
  padding-left: 1.6rem;
}

.stats article:last-child {
  border-right: 0;
}

.stats small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}

.stats strong {
  display: block;
  margin: 0.7rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
}

.stats span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.club-gate {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 2rem 3rem;
  align-items: center;
  padding: 2.4rem 2.6rem;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 8% 0%, rgba(99, 185, 255, 0.1), transparent 45%),
    radial-gradient(circle at 95% 100%, rgba(154, 108, 255, 0.12), transparent 45%),
    rgba(237, 238, 246, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.club-gate h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.1;
  margin: 0.4rem 0 0.7rem;
}

.club-gate > div p:not(.eyebrow) {
  color: var(--muted);
  max-width: 30rem;
}

.club-gate-controls {
  display: grid;
  gap: 0.8rem;
  justify-items: stretch;
}

.club-board-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 1.2rem 0.55rem 0.6rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(6, 6, 11, 0.5);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.club-board-switch:hover {
  border-color: var(--blue);
  color: var(--ink);
}

.club-board-switch[aria-pressed="true"] {
  border-color: rgba(154, 108, 255, 0.6);
  background: rgba(154, 108, 255, 0.1);
  color: var(--ink);
}

.club-board-switch-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(237, 238, 246, 0.05);
}

.club-board-switch-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.club-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.board-status {
  text-align: right;
}

.board-status small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.board-status strong {
  display: block;
  margin: 0.3rem 0 0.2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--violet);
}

.board-status span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.board-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.4rem 0 1.4rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(237, 238, 246, 0.02);
}

.board-tools-meta strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

.board-tools-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.board-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.holder-search {
  position: relative;
}

.holder-search input {
  min-width: min(300px, 70vw);
  padding: 0.7em 5.4em 0.7em 1.2em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(6, 6, 11, 0.6);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.holder-search input::placeholder {
  color: rgba(143, 148, 172, 0.7);
}

.holder-search input::-webkit-search-cancel-button {
  display: none;
}

.holder-search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.4em 1em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(237, 238, 246, 0.06);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.holder-search-clear:hover {
  color: var(--ink);
}

.holder-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  max-height: 320px;
  overflow: auto;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 10, 20, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.holder-suggestions[hidden] {
  display: none;
}

.holder-suggestion {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.holder-suggestion:hover,
.holder-suggestion.is-active {
  background: rgba(154, 108, 255, 0.12);
}

.holder-suggestion .holder-face {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.holder-suggestion-main {
  display: grid;
  min-width: 0;
}

.holder-suggestion-main strong,
.holder-suggestion-main span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holder-suggestion-main strong {
  font-weight: 500;
  font-size: 0.9rem;
}

.holder-suggestion-main span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.holder-suggestion-count {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--blue);
}

.holder-suggestion-empty {
  padding: 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.podium-slot {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 0%, rgba(99, 185, 255, 0.08), transparent 55%),
    rgba(237, 238, 246, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.podium-slot:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 185, 255, 0.35);
}

.podium-slot:first-child {
  border-color: rgba(255, 212, 95, 0.4);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 212, 95, 0.08), transparent 55%),
    rgba(237, 238, 246, 0.02);
}

.podium-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.podium-holder {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.podium-holder h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.2;
}

.podium-holder a,
.podium-holder small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-decoration: none;
}

.podium-holder a:hover {
  color: var(--blue);
}

.podium-count {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.podium-count strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
}

.podium-slot:first-child .podium-count strong {
  color: #ffd45f;
}

.podium-count span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.holder-face {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #06060b;
  font-weight: 700;
}

.holder-face-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaderboard-list {
  display: grid;
  gap: 0.55rem;
}

.leaderboard-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 40px 50px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0.9rem 0.55rem 0.7rem;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(237, 238, 246, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.leaderboard-row:hover {
  border-color: rgba(154, 108, 255, 0.35);
  background: rgba(154, 108, 255, 0.05);
}

.rank {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.holder-name {
  min-width: 0;
}

.holder-name strong,
.holder-name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holder-name strong {
  font-weight: 500;
}

.holder-name span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.egg-count {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  text-align: right;
  min-width: 48px;
}

.row-link {
  padding: 0.45em 1em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}

a.row-link:hover {
  color: var(--ink);
  border-color: var(--blue);
}

.leaderboard-error {
  padding: 1.4rem;
  border: 1px solid rgba(255, 94, 130, 0.3);
  border-radius: 18px;
  background: rgba(255, 94, 130, 0.06);
  color: var(--muted);
}

.leaderboard-more {
  display: flex;
  justify-content: center;
  padding-top: 1.6rem;
}

.skeleton {
  position: relative;
  overflow: hidden;
  min-height: 68px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(237, 238, 246, 0.02);
}

.podium-slot.skeleton {
  min-height: 190px;
  border-radius: 22px;
}

.skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(237, 238, 246, 0.06) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: skeletonSweep 1.6s ease-in-out infinite;
}

@keyframes skeletonSweep {
  to {
    transform: translateX(100%);
  }
}

.sticker-figure {
  width: min(72vw, 300px);
  margin: 0 auto;
  aspect-ratio: 1;
}

.sticker-figure svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 980px) {
  .club-gate {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 1.5rem 0;
  }
  .stats article + article {
    padding-left: 0;
  }
  .stats article:nth-child(odd) {
    border-right: 1px solid var(--line-soft);
    padding-right: 1.5rem;
  }
  .stats article:nth-child(even) {
    padding-left: 1.5rem;
  }
  .podium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .leaderboard-row {
    grid-template-columns: 34px 44px minmax(0, 1fr) auto;
  }
  .row-link {
    display: none;
  }
  .board-status {
    text-align: left;
  }
  .board-tools {
    align-items: stretch;
    flex-direction: column;
  }
  .holder-search input {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-collage::before {
    opacity: 0.28;
    background:
      linear-gradient(rgba(6, 6, 11, 0.92), rgba(6, 6, 11, 0.8) 45%, var(--bg) 97%),
      url("assets/nft-board-profile-collage.webp") center 30% / cover no-repeat;
  }
}

/* ---------- hologram gallery (board hero) ---------- */

.holo-section {
  padding-top: 0;
  display: grid;
  justify-items: center;
}

.hologram-gallery {
  --gallery-rotation: 0deg;
  --gallery-tilt: -8deg;
  position: relative;
  width: min(100%, 940px);
  aspect-ratio: 1.48 / 1;
  min-height: 470px;
  isolation: isolate;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  perspective: 1400px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.hologram-gallery.is-dragging {
  cursor: grabbing;
}

.holo-section .hologram-gallery {
  animation: holoEnter 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: 0.15s;
}

@keyframes holoEnter {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hologram-stars {
  position: absolute;
  inset: 4%;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 24%, rgba(99, 185, 255, 0.9), transparent 100%),
    radial-gradient(1px 1px at 78% 16%, rgba(237, 238, 246, 0.8), transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 62%, rgba(154, 108, 255, 0.9), transparent 100%),
    radial-gradient(1px 1px at 30% 78%, rgba(99, 185, 255, 0.7), transparent 100%),
    radial-gradient(1px 1px at 56% 12%, rgba(237, 238, 246, 0.6), transparent 100%),
    radial-gradient(1.5px 1.5px at 8% 58%, rgba(154, 108, 255, 0.7), transparent 100%),
    radial-gradient(1px 1px at 66% 84%, rgba(99, 185, 255, 0.8), transparent 100%),
    radial-gradient(1px 1px at 42% 40%, rgba(237, 238, 246, 0.5), transparent 100%);
  animation: starTwinkle 5.2s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0.95;
  }
}

.hologram-gallery::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: -2;
  background: radial-gradient(
    58% 52% at 50% 46%,
    rgba(99, 185, 255, 0.13),
    rgba(83, 92, 255, 0.09) 42%,
    rgba(154, 108, 255, 0.07) 62%,
    transparent 78%
  );
  filter: blur(34px);
}

.hologram-gallery::after {
  content: "";
  position: absolute;
  inset: 9% 6%;
  z-index: -1;
  border: 1px solid rgba(99, 185, 255, 0.16);
  border-radius: 999px;
  opacity: 0.55;
  transform: rotate(-7deg);
  box-shadow: 0 0 80px rgba(154, 108, 255, 0.14);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 55%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 55%, transparent 100%);
}

.hologram-field {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.hologram-field::before,
.hologram-field::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hologram-field::before {
  z-index: 1;
  background:
    linear-gradient(rgba(99, 185, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 108, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(circle at 50% 52%, #000 14%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 52%, #000 14%, transparent 68%);
  opacity: 0.78;
  animation: gridGlide 24s linear infinite;
}

.hologram-field::after {
  z-index: 7;
  background:
    linear-gradient(100deg, transparent 0 42%, rgba(99, 185, 255, 0.1) 48%, transparent 54%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px);
  opacity: 0.24;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 90%);
  mask-image: radial-gradient(75% 75% at 50% 50%, #000 40%, transparent 90%);
  animation: holoSweep 6.8s ease-in-out infinite;
}

@keyframes gridGlide {
  to {
    background-position: 72px 72px;
  }
}

@keyframes holoSweep {
  0%,
  100% {
    transform: translateX(-18%) skewX(-10deg);
    opacity: 0.16;
  }
  45%,
  55% {
    opacity: 0.3;
  }
  50% {
    transform: translateX(18%) skewX(-10deg);
  }
}

.hologram-aura {
  position: absolute;
  inset: 9% 8% 8%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(99, 185, 255, 0.26), transparent 26%),
    radial-gradient(circle at 48% 55%, rgba(154, 108, 255, 0.3), transparent 48%);
  filter: blur(22px);
  opacity: 0.9;
  transform: translateZ(-90px);
  animation: holoPulse 5.4s ease-in-out infinite;
}

@keyframes holoPulse {
  0%,
  100% {
    opacity: 0.68;
    transform: translateZ(-90px) scale(0.96);
  }
  50% {
    opacity: 0.96;
    transform: translateZ(-90px) scale(1.04);
  }
}

.hologram-rings {
  position: absolute;
  inset: 9% 7%;
  z-index: 2;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.hologram-rings span {
  position: absolute;
  width: 84%;
  aspect-ratio: 1.9 / 1;
  border: 1px solid rgba(99, 185, 255, 0.16);
  border-radius: 999px;
  box-shadow:
    0 0 32px rgba(99, 185, 255, 0.07),
    inset 0 0 22px rgba(154, 108, 255, 0.05);
  transform: rotateX(72deg) rotateZ(var(--ring-angle, 0deg));
  animation: holoRingSpin 18s linear infinite;
}

.hologram-rings span:nth-child(2) {
  --ring-angle: 55deg;
  width: 68%;
  animation-duration: 24s;
  animation-direction: reverse;
}

.hologram-rings span:nth-child(3) {
  --ring-angle: -38deg;
  width: 48%;
  opacity: 0.62;
  animation-duration: 15s;
}

@keyframes holoRingSpin {
  to {
    transform: rotateX(72deg) rotateZ(calc(var(--ring-angle, 0deg) + 360deg));
  }
}

.hologram-core {
  position: absolute;
  z-index: 58;
  width: clamp(315px, 43vw, 440px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: end start;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(99, 185, 255, 0.32);
  background:
    linear-gradient(140deg, rgba(99, 185, 255, 0.08), rgba(154, 108, 255, 0.12)),
    rgba(6, 7, 18, 0.76);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 56px rgba(99, 185, 255, 0.14),
    0 34px 84px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transform: translateZ(120px);
  animation: coreFloat 6.5s ease-in-out infinite;
}

@keyframes coreFloat {
  0%,
  100% {
    transform: translateZ(120px) translateY(-5px);
  }
  50% {
    transform: translateZ(120px) translateY(6px);
  }
}

.hologram-core::before,
.hologram-core::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hologram-core::before {
  background:
    radial-gradient(circle at 50% 34%, rgba(99, 185, 255, 0.14), transparent 32%),
    linear-gradient(180deg, transparent 45%, rgba(6, 6, 14, 0.56));
  mix-blend-mode: screen;
}

.hologram-core::after {
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(99, 185, 255, 0.1),
    inset 0 -34px 60px rgba(6, 6, 14, 0.5);
}

.hologram-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  filter: saturate(0.86) contrast(1.12) brightness(0.92);
}

.hologram-core span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  color: #06060b;
  background: linear-gradient(135deg, rgba(99, 185, 255, 0.96), rgba(188, 163, 255, 0.96));
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(99, 185, 255, 0.22);
}

.hologram-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--gallery-tilt));
  will-change: transform;
}

.hologram-card {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(176px, 20vw, 250px);
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid rgba(201, 220, 255, 0.14);
  background:
    linear-gradient(140deg, rgba(99, 185, 255, 0.08), rgba(154, 108, 255, 0.06)),
    rgba(9, 9, 20, 0.86);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(99, 185, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.hologram-card::before,
.hologram-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hologram-card::before {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.14), transparent 32% 68%, rgba(99, 185, 255, 0.12)),
    radial-gradient(circle at 18% 18%, rgba(99, 185, 255, 0.14), transparent 24%);
  mix-blend-mode: screen;
}

.hologram-card::after {
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(99, 185, 255, 0.07);
  background: linear-gradient(180deg, transparent 50%, rgba(6, 6, 14, 0.58));
}

.hologram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.08) brightness(0.92);
}

.hologram-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 9px;
  z-index: 3;
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hologram-scan {
  position: absolute;
  z-index: 12;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 185, 255, 0.86), rgba(154, 108, 255, 0.72), transparent);
  box-shadow:
    0 0 18px rgba(99, 185, 255, 0.6),
    0 0 44px rgba(154, 108, 255, 0.3);
  animation: holoScanLine 4.6s ease-in-out infinite;
}

@keyframes holoScanLine {
  0%,
  100% {
    transform: translateY(-118px) scaleX(0.72);
    opacity: 0;
  }
  18%,
  76% {
    opacity: 0.74;
  }
  50% {
    transform: translateY(118px) scaleX(1);
  }
}

.hologram-floor {
  position: absolute;
  z-index: 3;
  left: 10%;
  right: 10%;
  bottom: 9%;
  height: 32%;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(99, 185, 255, 0.13), transparent 58%),
    repeating-radial-gradient(ellipse at center, rgba(99, 185, 255, 0.1) 0 1px, transparent 1px 36px);
  border: 1px solid rgba(99, 185, 255, 0.11);
  transform: rotateX(74deg) translateZ(-74px);
  opacity: 0.78;
}

.hero-sticker {
  width: min(46vw, 200px);
  margin-bottom: 0.6rem;
}

@media (max-width: 760px) {
  .hologram-gallery {
    width: 100%;
    min-height: 430px;
    aspect-ratio: auto;
    overflow: hidden;
  }

  .hologram-gallery::before {
    inset: 2%;
    filter: blur(26px);
  }

  .hologram-gallery::after {
    inset: 14% 7%;
  }

  .hologram-core {
    width: min(272px, 78vw);
    border-radius: 18px;
  }

  .hologram-core span {
    left: 11px;
    bottom: 10px;
    padding: 5px 8px;
    font-size: 0.5rem;
  }

  .hologram-card {
    width: 154px;
    border-radius: 15px;
  }

  .hologram-card figcaption {
    left: 9px;
    right: 9px;
    bottom: 8px;
    font-size: 0.56rem;
  }

  .hologram-rings span {
    width: 90%;
  }
}
