/* ═══════════════════════════════════════════════════════════
   OPUS MAGNUM — The Great Work
   A site for those who notice.
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #050301;
  --near-black: #0c0804;
  --dark: #141008;
  --dark-warm: #1a1408;
  --red-deep: #a0422a;
  --red: #d45a3a;
  --red-glow: #b84020;
  --gold: #f0c040;
  --gold-dim: #c49a30;
  --gold-bright: #ffe066;
  --gold-hot: #ffd700;
  --amber: #e8a020;
  --cream: #e8d8a8;
  --text: #d4b878;
  --text-dim: #9a8050;
  --text-bright: #f0e0b0;
  --white-soft: #fff4d8;
  --font-body: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--red-deep) var(--black);
}

body {
  background: var(--black);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(240,192,64,0.03) 0%, transparent 60%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  /* Golden sun sigil cursor */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='5' fill='none' stroke='%23f0c040' stroke-width='1.5'/%3E%3Ccircle cx='14' cy='14' r='1.8' fill='%23f0c040'/%3E%3Cline x1='14' y1='2' x2='14' y2='7' stroke='%23f0c040' stroke-width='1.2'/%3E%3Cline x1='14' y1='21' x2='14' y2='26' stroke='%23f0c040' stroke-width='1.2'/%3E%3Cline x1='2' y1='14' x2='7' y2='14' stroke='%23f0c040' stroke-width='1.2'/%3E%3Cline x1='21' y1='14' x2='26' y2='14' stroke='%23f0c040' stroke-width='1.2'/%3E%3Cline x1='5.5' y1='5.5' x2='9' y2='9' stroke='%23f0c040' stroke-width='1'/%3E%3Cline x1='19' y1='19' x2='22.5' y2='22.5' stroke='%23f0c040' stroke-width='1'/%3E%3Cline x1='22.5' y1='5.5' x2='19' y2='9' stroke='%23f0c040' stroke-width='1'/%3E%3Cline x1='9' y1='19' x2='5.5' y2='22.5' stroke='%23f0c040' stroke-width='1'/%3E%3C/svg%3E") 14 14, default;
}

a, button, .contract-address, .crucible-card {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='6' fill='none' stroke='%23ffe066' stroke-width='1.5'/%3E%3Ccircle cx='14' cy='14' r='2.2' fill='%23ffe066'/%3E%3Cline x1='14' y1='1' x2='14' y2='6' stroke='%23ffe066' stroke-width='1.3'/%3E%3Cline x1='14' y1='22' x2='14' y2='27' stroke='%23ffe066' stroke-width='1.3'/%3E%3Cline x1='1' y1='14' x2='6' y2='14' stroke='%23ffe066' stroke-width='1.3'/%3E%3Cline x1='22' y1='14' x2='27' y2='14' stroke='%23ffe066' stroke-width='1.3'/%3E%3Cline x1='4.8' y1='4.8' x2='8.5' y2='8.5' stroke='%23ffe066' stroke-width='1.1'/%3E%3Cline x1='19.5' y1='19.5' x2='23.2' y2='23.2' stroke='%23ffe066' stroke-width='1.1'/%3E%3Cline x1='23.2' y1='4.8' x2='19.5' y2='8.5' stroke='%23ffe066' stroke-width='1.1'/%3E%3Cline x1='8.5' y1='19.5' x2='4.8' y2='23.2' stroke='%23ffe066' stroke-width='1.1'/%3E%3C/svg%3E") 14 14, pointer;
}

::selection {
  background: var(--red-deep);
  color: var(--gold);
}

a {
  color: var(--gold-dim);
  text-decoration: none;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

a:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 25px rgba(240,192,64,0.4), 0 0 50px rgba(240,192,64,0.15);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%);
  pointer-events: none;
}

.nav > * {
  pointer-events: all;
}

.nav-logo {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-dim);
  font-size: 1.5rem;
  cursor: pointer;
  font-family: var(--font-body);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(240,192,64,0.12) 0%, rgba(200,140,30,0.06) 30%, rgba(160,66,42,0.03) 50%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--black), transparent);
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--white-soft);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.hero-title .letter {
  display: inline-block;
  opacity: 0;
  animation: letterReveal 0.6s ease forwards;
}

@keyframes letterReveal {
  0% { opacity: 0; transform: translateY(20px); filter: blur(4px); text-shadow: none; }
  60% { text-shadow: 0 0 40px rgba(240,192,64,0.6); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); text-shadow: 0 0 20px rgba(240,192,64,0.15); }
}

.hero-title .letter {
  text-shadow: 0 0 20px rgba(240,192,64,0.15);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 2s ease 2s forwards;
  position: relative;
  z-index: 1;
}

.hero-quote {
  max-width: 600px;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dim);
  min-height: 3.5em;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 2s ease 3s forwards;
}

.hero-quote .quote-text {
  transition: opacity 1.5s ease;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ── Contract Address ── */
.contract-section {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 2s ease 3.5s forwards;
}

.contract-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.contract-address {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,168,71,0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contract-address:hover {
  border-color: rgba(240,192,64,0.4);
  background: rgba(240,192,64,0.04);
  box-shadow: 0 0 30px rgba(240,192,64,0.08);
}

.contract-address code {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
}

.contract-address .copy-icon {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.contract-address:hover .copy-icon {
  color: var(--gold);
}

.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  padding: 0.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Buy Links ── */
.buy-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 2s ease 4s forwards;
}

.buy-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(139,53,53,0.3);
  transition: all 0.4s ease;
}

.buy-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(240,192,64,0.2), 0 0 60px rgba(240,192,64,0.08);
  background: rgba(240,192,64,0.03);
}

.buy-link .sigil {
  font-size: 1.2rem;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0;
  animation: fadeIn 2s ease 5s forwards;
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(240,192,64,0.3);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 0.8; height: 55px; }
}

/* ── Sections ── */
.section {
  padding: 8rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.section-divider {
  text-align: center;
  padding: 4rem 0;
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 1em;
  opacity: 0.35;
  text-shadow: 0 0 20px rgba(240,192,64,0.2);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--white-soft);
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: 0.1em;
}

/* ── Dissolve Page ── */
.dissolve-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
  position: relative;
}

.dissolve-container::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,71,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.dissolve-input-area {
  width: 100%;
  max-width: 700px;
  text-align: center;
  margin-bottom: 3rem;
}

.dissolve-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(212,168,71,0.2);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-style: italic;
  text-align: center;
  padding: 1rem;
  outline: none;
  caret-color: var(--gold);
  transition: border-color 0.3s ease;
}

.dissolve-input::placeholder {
  color: var(--text-dim);
  font-style: italic;
}

.dissolve-input:focus {
  border-color: rgba(212,168,71,0.5);
}

.dissolve-btn {
  margin-top: 1.5rem;
  background: none;
  border: 1px solid rgba(139,53,53,0.4);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.7rem 2.5rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

.dissolve-btn:hover {
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 30px rgba(139,53,53,0.15);
}

.dissolve-stage {
  width: 100%;
  max-width: 700px;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3em;
  margin-bottom: 3rem;
}

.dissolve-letter {
  display: inline-block;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--gold);
  font-style: italic;
  transition: all 1.5s ease;
  text-shadow: 0 0 10px rgba(212,168,71,0.3);
}

.dissolve-letter.glow {
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(255,224,102,0.9), 0 0 60px rgba(240,192,64,0.5), 0 0 100px rgba(240,192,64,0.2);
}

.dissolve-letter.dissolved {
  opacity: 0;
  transform: translateY(-20px) scale(0.5);
  filter: blur(8px);
  color: var(--red);
  text-shadow: 0 0 20px rgba(196,80,80,0.5);
}

.dissolve-word-space {
  width: 0.4em;
}

.dissolve-counter {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-align: center;
  margin-top: 2rem;
}

.dissolve-counter span {
  color: var(--gold-dim);
}

.dissolve-aftermath {
  text-align: center;
  font-style: italic;
  color: var(--text-dim);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 1.5s ease;
  min-height: 2em;
}

.dissolve-aftermath.visible {
  opacity: 1;
}

/* ── Feed of dissolved messages ── */
.dissolve-feed {
  max-width: 500px;
  width: 100%;
  margin-top: 4rem;
  border-top: 1px solid rgba(212,168,71,0.08);
  padding-top: 2rem;
}

.dissolve-feed-title {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 1.5rem;
}

.feed-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  opacity: 0;
  animation: feedFadeIn 0.8s ease forwards;
}

.feed-item .feed-text {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.6;
  text-decoration: line-through;
  text-decoration-color: rgba(139,53,53,0.3);
}

.feed-item .feed-time {
  font-size: 0.7rem;
  color: var(--text-dim);
  opacity: 0.3;
  white-space: nowrap;
  margin-left: 1rem;
}

@keyframes feedFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Furnace (Token Dashboard) ── */
.furnace {
  min-height: 100vh;
  padding: 8rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.furnace::before {
  content: '';
  position: fixed;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at bottom, rgba(240,180,50,0.08) 0%, rgba(200,100,30,0.04) 40%, transparent 70%);
  pointer-events: none;
}

.furnace-vessel {
  max-width: 600px;
  width: 100%;
  margin-top: 3rem;
}

.furnace-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.furnace-metric-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.furnace-metric-value {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 300;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.furnace-metric-value.hot {
  color: var(--red);
  text-shadow: 0 0 20px rgba(196,80,80,0.3);
}

.furnace-status {
  text-align: center;
  margin-top: 3rem;
  font-style: italic;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.furnace-flame {
  width: 60px;
  height: 80px;
  margin: 3rem auto;
  position: relative;
}

.furnace-flame::before,
.furnace-flame::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.furnace-flame::before {
  width: 40px;
  height: 60px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at bottom, rgba(240,180,50,0.6) 0%, rgba(220,120,30,0.3) 40%, rgba(160,66,42,0.1) 70%, transparent 100%);
  animation: flameOuter 3s ease-in-out infinite;
}

.furnace-flame::after {
  width: 20px;
  height: 35px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at bottom, rgba(255,224,102,0.6) 0%, rgba(240,192,64,0.3) 50%, transparent 100%);
  animation: flameInner 2s ease-in-out infinite;
}

@keyframes flameOuter {
  0%, 100% { height: 60px; opacity: 0.6; }
  50% { height: 70px; opacity: 0.9; }
}

@keyframes flameInner {
  0%, 100% { height: 35px; opacity: 0.5; }
  50% { height: 45px; opacity: 0.8; }
}

/* ── Archive ── */
.archive {
  padding: 8rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.archive-entry {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.archive-entry.visible {
  opacity: 1;
  transform: translateY(0);
}

.archive-quote {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--text-bright);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.archive-source {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Timeline */
.timeline {
  margin-top: 6rem;
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--red-deep), var(--gold-dim), transparent);
}

.timeline-entry {
  position: relative;
  padding: 2rem 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-entry.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 2.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-deep);
  transform: translateX(-3px);
}

.timeline-stage {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
}

/* ── Planets (Holder Tiers) ── */
.planets {
  padding: 8rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.planet-tier {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.planet-tier.visible {
  opacity: 1;
  transform: translateY(0);
}

.planet-symbol {
  font-size: 2.5rem;
  line-height: 1;
  min-width: 50px;
  text-align: center;
  transition: text-shadow 0.5s ease;
}

.planet-tier:hover .planet-symbol {
  text-shadow: 0 0 30px currentColor, 0 0 60px currentColor;
  transform: scale(1.15);
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.planet-info h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white-soft);
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
}

.planet-info .planet-range {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.planet-info .planet-desc {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.planets-wallet-btn {
  display: block;
  margin: 3rem auto;
  background: none;
  border: 1px solid rgba(212,168,71,0.2);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  cursor: not-allowed;
  opacity: 0.5;
}

.coming-soon-label {
  font-size: 0.65rem;
  display: block;
  margin-top: 0.3rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
}

/* ── Emblem Generator ── */
.emblem-page {
  min-height: 100vh;
  padding: 8rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.emblem-input-area {
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
}

.emblem-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(212,168,71,0.2);
  color: var(--gold);
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  outline: none;
  caret-color: var(--gold);
}

.emblem-input::placeholder {
  color: var(--text-dim);
  font-family: var(--font-body);
  font-style: italic;
}

.emblem-generate-btn {
  margin-top: 1.5rem;
  background: none;
  border: 1px solid rgba(139,53,53,0.4);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.7rem 2.5rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

.emblem-generate-btn:hover {
  color: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 30px rgba(139,53,53,0.15);
}

.emblem-display {
  width: 350px;
  height: 350px;
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.emblem-display svg {
  width: 100%;
  height: 100%;
}

.emblem-share-btn {
  margin-top: 1.5rem;
  background: none;
  border: 1px solid rgba(212,168,71,0.2);
  color: var(--gold-dim);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}

.emblem-share-btn.visible {
  display: inline-block;
}

.emblem-share-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-symbols {
  font-size: 1.2rem;
  letter-spacing: 0.8em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.4;
  text-shadow: 0 0 15px rgba(240,192,64,0.2);
}

.footer-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
  opacity: 0.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Ambient particles ── */
.particle {
  position: fixed;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 4px rgba(240,192,64,0.3);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.4; }
  50% { opacity: 0.5; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1.2); }
}

/* ── Floating alchemical sigils & mythical art ── */
.floating-sigils-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-sigil {
  position: absolute;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1.6rem;
  opacity: 0;
  pointer-events: none;
  animation: sigilFloat var(--float-duration, 40s) ease-in-out var(--float-delay, 0s) infinite;
  filter: blur(0.3px);
}

.floating-sigil.floating-art {
  font-size: 1rem;
  color: var(--gold-dim);
}

.floating-sigil.floating-art svg {
  color: inherit;
}

@keyframes sigilFloat {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0deg) scale(0.7);
  }
  8% {
    opacity: 0.18;
  }
  25% {
    transform: translate(calc(var(--drift-x, 20px) * 0.5), calc(var(--drift-y, -20px) * 0.4)) rotate(calc(var(--rot, 30deg) * 0.3)) scale(0.9);
  }
  50% {
    opacity: 0.25;
    transform: translate(var(--drift-x, 20px), var(--drift-y, -30px)) rotate(calc(var(--rot, 30deg) * 0.6)) scale(1);
  }
  75% {
    transform: translate(calc(var(--drift-x, 20px) * 0.6), calc(var(--drift-y, -20px) * 1.3)) rotate(calc(var(--rot, 30deg) * 0.8)) scale(0.9);
  }
  92% {
    opacity: 0.15;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--drift-x, 20px) * 0.2), calc(var(--drift-y, -20px) * 1.6)) rotate(var(--rot, 30deg)) scale(0.7);
  }
}

/* ── Page transition ── */
.page-enter {
  opacity: 0;
  animation: pageEnter 1s ease forwards;
}

@keyframes pageEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .section {
    padding: 5rem 1.5rem;
  }

  .buy-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .planet-tier {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }

  .furnace-metric {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .emblem-display {
    width: 280px;
    height: 280px;
  }

  .timeline {
    padding-left: 2rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   INTERACTIVE VISUAL TRICKS
   ═══════════════════════════════════════════════════════════ */

/* ── Click sigil burst ── */
.click-sigil {
  position: fixed;
  pointer-events: none;
  font-size: 1.2rem;
  z-index: 9998;
  animation: sigilBurst 1.2s ease forwards;
  opacity: 0;
  font-family: var(--font-body);
}

@keyframes sigilBurst {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.3) rotate(0deg);
  }
  15% {
    opacity: 0.9;
    color: var(--gold-bright);
    text-shadow: 0 0 20px rgba(255,224,102,0.8), 0 0 40px rgba(240,192,64,0.4);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.6) rotate(180deg);
    color: var(--amber);
    text-shadow: 0 0 15px rgba(232,160,32,0.3);
  }
}

/* ── Cursor embers ── */
.cursor-ember {
  position: fixed;
  width: 3px;
  height: 3px;
  background: var(--gold-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  animation: emberFade 1.2s ease forwards;
  box-shadow: 0 0 8px rgba(255,224,102,0.5), 0 0 16px rgba(240,192,64,0.2);
}

@keyframes emberFade {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0) translateY(-30px);
  }
}

/* ── Double-click ripple ── */
.click-ripple {
  position: fixed;
  width: 0;
  height: 0;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  transform: translate(-50%, -50%);
  animation: rippleExpand 1.5s ease forwards;
}

.click-ripple.inner {
  animation: rippleExpand 1.2s ease 0.15s forwards;
  border-color: var(--red-deep);
}

@keyframes rippleExpand {
  0% {
    width: 0;
    height: 0;
    opacity: 0.6;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* ── Rubedo flash (secret: 7 clicks on title) ── */
.rubedo-flash {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139,53,53,0.8), rgba(0,0,0,0.95));
  z-index: 99999;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.rubedo-flash.active {
  opacity: 1;
}

.rubedo-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100000;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic;
  color: var(--gold);
  text-align: center;
  max-width: 600px;
  opacity: 0;
  transition: opacity 1.5s ease;
  pointer-events: none;
  text-shadow: 0 0 40px rgba(212,168,71,0.5);
}

.rubedo-message.active {
  opacity: 1;
}

/* ── Konami-style visual glitch on fast scrolling ── */
@keyframes glitch {
  0% { clip-path: inset(0 0 90% 0); transform: translateX(-2px); }
  20% { clip-path: inset(30% 0 50% 0); transform: translateX(2px); }
  40% { clip-path: inset(60% 0 20% 0); transform: translateX(-1px); }
  60% { clip-path: inset(10% 0 70% 0); transform: translateX(1px); }
  80% { clip-path: inset(80% 0 5% 0); transform: translateX(-2px); }
  100% { clip-path: inset(0 0 0 0); transform: translateX(0); }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 0.15em;
  }

  .contract-address code {
    font-size: 0.6rem;
  }
}
