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

:root {
  --crimson: #8b0000;
  --crimson-bright: #c41e1e;
  --crimson-glow: #ff2a2a;
  --crimson-deep: #4a0000;
  --gold: #c9a227;
  --gold-bright: #ffd700;
  --gold-light: #f5e0a0;
  --gold-dim: #8b6914;
  --black: #0a0505;
  --black-card: rgba(10, 5, 5, 0.85);
  --black-glass: rgba(10, 5, 5, 0.72);
  --white: #f5ebe0;
  --gray: #a89080;
  --font-calligraphy: "Ma Shan Zheng", "KaiTi", cursive;
  --font-display: "ZCOOL QingKe HuangYou", "Ma Shan Zheng", serif;
  --font-body: "Noto Serif SC", "Songti SC", serif;
  --radius: 4px;
  --radius-lg: 8px;
  --glow-red: 0 0 40px rgba(196, 30, 30, 0.4);
  --glow-gold: 0 0 50px rgba(255, 215, 0, 0.35);
  --header-h: 72px;
  --timeline-h: 88px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

.center {
  text-align: center;
}

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

/* ── Ambient layers ── */
.ink-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(10, 5, 5, 0.95) 0%, rgba(10, 5, 5, 0.7) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  max-width: 1400px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: var(--glow-gold);
  transition: transform 0.4s ease;
}

.nav-brand:hover .nav-logo {
  transform: rotate(-8deg) scale(1.05);
}

.nav-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-cn {
  font-family: var(--font-calligraphy);
  font-size: 1.5rem;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
}

.nav-en {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-calligraphy);
  font-size: 1.1rem;
  color: var(--gray);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: color 0.3s, background 0.3s, text-shadow 0.3s;
  letter-spacing: 0.05em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.nav-cta {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  color: var(--gold-light) !important;
  border: 1px solid var(--gold-dim);
  box-shadow: var(--glow-red);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--crimson-glow), var(--crimson-bright)) !important;
}

.nav-socials {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--gold);
  transition: all 0.3s ease;
}

.nav-social:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-bright);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Timeline rail (horizontal, bottom) ── */
.timeline-rail {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem 1rem;
  background: linear-gradient(0deg, rgba(10, 5, 5, 0.95) 0%, rgba(10, 5, 5, 0.6) 70%, transparent 100%);
  pointer-events: none;
}

.timeline-dots {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
  pointer-events: auto;
}

.timeline-dots button {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.4);
  background: var(--black);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
}

.timeline-dots button:hover,
.timeline-dots button.active {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.7);
  transform: scale(1.35);
}

.dot-label {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-calligraphy);
  font-size: 0.8rem;
  color: var(--gray);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, color 0.3s;
}

.timeline-dots button:hover .dot-label,
.timeline-dots button.active .dot-label {
  opacity: 1;
  color: var(--gold-bright);
}

.timeline-track {
  width: min(720px, 88vw);
  height: 2px;
  background: rgba(201, 162, 39, 0.2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-bright), var(--crimson-bright));
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

/* ── Scroll container (horizontal) ── */
.scroll-container {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* ── Slides ── */
.slide {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}

.slide.is-active .bg-image {
  transform: scale(1);
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 5, 5, 0.75) 0%, rgba(74, 0, 0, 0.55) 50%, rgba(10, 5, 5, 0.88) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(10, 5, 5, 0.4) 100%);
}

.bg-overlay-hero {
  background:
    linear-gradient(180deg, rgba(10, 5, 5, 0.5) 0%, rgba(74, 0, 0, 0.35) 40%, rgba(10, 5, 5, 0.85) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(196, 30, 30, 0.15) 0%, transparent 60%);
}

.bg-overlay-intense {
  background:
    linear-gradient(180deg, rgba(10, 5, 5, 0.7) 0%, rgba(74, 0, 0, 0.65) 50%, rgba(10, 5, 5, 0.9) 100%);
}

.slide-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  padding: calc(var(--header-h) + 1rem) 1.5rem calc(var(--timeline-h) + 1rem);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.3) transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.slide-content.is-scrollable {
  justify-content: flex-start;
}

/* ── Origin section — compact, fits one viewport ── */
.slide-origin .slide-content {
  overflow-y: hidden;
  justify-content: center;
}

.slide-origin .timeline-marker {
  margin-bottom: 1rem;
}

.slide-origin .content-grid {
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
}

.slide-origin .content-visual {
  display: flex;
  justify-content: center;
}

.slide-origin .frame-ancient {
  max-width: min(480px, 60vw);
  padding: 0.65rem;
}

.slide-origin .frame-ancient img {
  max-height: min(480px, 60vh);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.slide-origin .section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.slide-origin .section-lead {
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  line-height: 1.55;
}

.slide-origin .content-text p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.slide-origin .virtue-list {
  margin-top: 0.75rem;
  gap: 0.45rem;
}

.slide-origin .virtue-list li {
  padding: 0.55rem 0.75rem;
}

.slide-origin .virtue-icon {
  font-size: 1.35rem;
}

.slide-origin .virtue-list span {
  font-size: 0.8rem;
}

/* ── Hero ── */
.slide-hero .slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-seal {
  position: relative;
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: clamp(140px, 22vw, 200px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
  animation: logoPulse 4s ease-in-out infinite;
}

.seal-ring {
  position: absolute;
  inset: -20px;
  border: 2px solid rgba(201, 162, 39, 0.3);
  border-radius: 50%;
  animation: ringRotate 20s linear infinite;
}

.seal-ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(196, 30, 30, 0.4);
  border-radius: 50%;
  animation: ringRotate 15s linear infinite reverse;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.6)); }
}

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

.hero-era {
  font-family: var(--font-calligraphy);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.title-cn {
  font-family: var(--font-calligraphy);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-dim) 60%, var(--crimson-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.3));
  animation: titleShimmer 6s ease-in-out infinite;
}

.title-en {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  color: var(--white);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

@keyframes titleShimmer {
  0%, 100% { filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.3)); }
  50% { filter: drop-shadow(0 4px 40px rgba(255, 215, 0, 0.6)); }
}

.hero-ticker {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--crimson-glow);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  text-shadow: var(--glow-red);
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(10, 5, 5, 0.6);
}

.badge-gold {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: calc(var(--timeline-h) + 0.5rem);
  right: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: slideHint 2s ease-in-out infinite;
}

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

.scroll-line::after {
  content: "→";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-bright);
  font-size: 0.85rem;
}

@keyframes slideHint {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(10px); opacity: 1; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-calligraphy);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson-bright) 0%, var(--crimson-deep) 100%);
  color: var(--gold-light);
  border: 1px solid var(--gold-dim);
  box-shadow: var(--glow-red), inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(196, 30, 30, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.3);
}

.btn-ghost {
  background: rgba(10, 5, 5, 0.5);
  color: var(--gold-bright);
  border: 1px solid rgba(201, 162, 39, 0.5);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--gold-bright);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
}

.btn-copy {
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-bright);
  border: 1px solid rgba(201, 162, 39, 0.4);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.btn-copy.copied {
  background: rgba(74, 180, 100, 0.2);
  border-color: #4ade80;
  color: #4ade80;
}

/* ── Timeline marker ── */
.timeline-marker {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.marker-year {
  font-family: var(--font-calligraphy);
  font-size: 1.5rem;
  color: var(--crimson-glow);
  letter-spacing: 0.1em;
}

.marker-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gray);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-calligraphy);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-lead {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--white);
}

/* ── Content grid ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.frame-ancient {
  position: relative;
  padding: 1rem;
  background: var(--black-glass);
  border: 1px solid rgba(201, 162, 39, 0.3);
  backdrop-filter: blur(12px);
}

.frame-ancient img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.2));
}

.frame-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold-bright);
  border-style: solid;
}

.frame-tl { top: -1px; left: -1px; border-width: 3px 0 0 3px; }
.frame-tr { top: -1px; right: -1px; border-width: 3px 3px 0 0; }
.frame-bl { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; }
.frame-br { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; }

.virtue-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.virtue-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(10, 5, 5, 0.5);
  border-left: 3px solid var(--crimson-bright);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, border-color 0.3s;
}

.virtue-list li:hover {
  transform: translateX(8px);
  border-color: var(--gold-bright);
}

.virtue-icon {
  font-family: var(--font-calligraphy);
  font-size: 1.75rem;
  color: var(--gold-bright);
  min-width: 2rem;
  text-align: center;
}

.virtue-list strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 0.15rem;
}

.virtue-list span {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ── Prophecy scroll ── */
.prophecy-scroll {
  display: flex;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

.scroll-edge {
  width: 28px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: 4px 0 0 4px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.scroll-right {
  border-radius: 0 4px 4px 0;
  background: linear-gradient(270deg, var(--gold-dim), var(--gold));
}

.scroll-body {
  flex: 1;
  background: linear-gradient(180deg, rgba(245, 224, 160, 0.08) 0%, rgba(10, 5, 5, 0.9) 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  padding: 2rem;
  backdrop-filter: blur(16px);
}

.timeline-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-card {
  padding: 1.5rem;
  background: rgba(10, 5, 5, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.2);
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

.event-highlight {
  border-color: var(--crimson-bright);
  background: linear-gradient(135deg, rgba(74, 0, 0, 0.4), rgba(10, 5, 5, 0.7));
}

.event-era {
  font-family: var(--font-calligraphy);
  font-size: 1.25rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.event-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ── Stats ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.stat-block {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--black-glass);
  border: 1px solid rgba(201, 162, 39, 0.25);
  backdrop-filter: blur(12px);
  transition: transform 0.3s, border-color 0.3s;
}

.stat-block:hover {
  transform: scale(1.05);
  border-color: var(--gold-bright);
}

.stat-num {
  font-family: var(--font-calligraphy);
  font-size: 2.5rem;
  color: var(--gold-bright);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-calligraphy);
  font-size: 1.5rem;
  color: var(--gold-bright);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.mantra {
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem;
  border-left: 4px solid var(--crimson-bright);
  background: rgba(10, 5, 5, 0.6);
  backdrop-filter: blur(12px);
  font-style: italic;
}

.mantra p {
  font-family: var(--font-calligraphy);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.mantra cite {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: normal;
}

/* ── Tokenomics ── */
.token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.token-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--black-glass);
  border: 1px solid rgba(201, 162, 39, 0.25);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.token-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-bright);
  box-shadow: var(--glow-gold);
}

.token-icon {
  font-family: var(--font-calligraphy);
  font-size: 2rem;
  color: var(--crimson-glow);
  margin-bottom: 0.75rem;
}

.token-card h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.token-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-bright);
}

.ca-panel {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.75rem;
  background: var(--black-glass);
  border: 1px solid rgba(201, 162, 39, 0.3);
  backdrop-filter: blur(16px);
}

.ca-panel label {
  display: block;
  font-family: var(--font-calligraphy);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.ca-row {
  display: flex;
  gap: 0.75rem;
}

.ca-address {
  flex: 1;
  font-family: monospace;
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(201, 162, 39, 0.2);
  color: var(--gold-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.75rem;
}

.copy-toast {
  font-size: 0.85rem;
  color: #4ade80;
  margin-top: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-toast.show {
  opacity: 1;
}

/* ── Social ── */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--black-glass);
  border: 1px solid rgba(201, 162, 39, 0.25);
  text-decoration: none;
  color: var(--white);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-card:hover {
  transform: translateX(8px);
  border-color: var(--gold-bright);
  box-shadow: var(--glow-gold);
}

.social-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196, 30, 30, 0.2);
  color: var(--white);
  flex-shrink: 0;
}

.social-tg {
  background: rgba(0, 136, 204, 0.2);
}

.social-text h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.social-text p {
  font-size: 0.9rem;
  color: var(--gray);
}

.social-arrow {
  margin-left: auto;
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s;
}

.social-card:hover .social-arrow {
  transform: translateX(6px);
  color: var(--gold-bright);
}

/* ── Launch steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.step-card {
  padding: 1.75rem 1.25rem;
  background: var(--black-glass);
  border: 1px solid rgba(201, 162, 39, 0.2);
  backdrop-filter: blur(12px);
  transition: transform 0.4s, border-color 0.4s;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--crimson-bright);
}

.step-num {
  font-family: var(--font-calligraphy);
  font-size: 2rem;
  color: var(--crimson-glow);
  display: block;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

.launch-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.slide-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  border-radius: 50%;
  border: 2px solid var(--gold-dim);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-calligraphy);
  font-size: 1.25rem;
  color: var(--gold-bright);
}

.footer-brand span {
  font-size: 0.8rem;
  color: var(--gray);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto 0.75rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(168, 144, 128, 0.6);
}

/* ── Reveal animations ── */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
.reveal[data-delay="6"] { transition-delay: 0.6s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slide-origin .content-grid {
    gap: 1rem;
  }

  .slide-origin .frame-ancient {
    max-width: 200px;
  }

  .slide-origin .frame-ancient img {
    max-height: 160px;
  }

  .timeline-events,
  .stats-row,
  .token-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dot-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 5, 5, 0.98);
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-socials {
    display: none;
  }

  .timeline-rail {
    padding: 0.5rem 0.75rem 0.75rem;
  }

  .timeline-dots {
    gap: 0.6rem;
  }

  .dot-label {
    display: none;
  }

  .scroll-container {
    scroll-snap-type: x mandatory;
  }

  .timeline-events,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .stats-row,
  .token-grid,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prophecy-scroll {
    flex-direction: column;
  }

  .scroll-edge {
    width: 100%;
    height: 12px;
    border-radius: 4px 4px 0 0;
  }

  .scroll-right {
    border-radius: 0 0 4px 4px;
  }

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

@media (max-width: 480px) {
  .stats-row,
  .token-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .launch-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-container {
    scroll-behavior: auto;
  }
}
