/* ===== Global Additions ===== */
:root {
  --orange: #ff7a00;
  --red-deep: #5a0000;
  --red-bright: #ff2b2b;
}

.footer {
  margin-top: 2rem;
  text-align: center;
  opacity: .95;
}

.footer .sigil {
  letter-spacing: .35rem;
  margin-bottom: .4rem;
}

/* Footer Nav */
.footer-links {
  color: white;                /* default white for contrast */
  font-size: .97rem;
  opacity: .9;
  text-align: center;
}

.footer-links a {
  color: #ffb870;              /* ember gold */
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: #ff8a2a;              /* brighter ember on hover */
  text-shadow: 0 0 8px rgba(255,138,42,.4);
  text-decoration: underline;
}

/* ===== Utility Helpers ===== */
.center { text-align: center; }

/* ===== Scroll Container (Recursion Scrolls / Pages) ===== */
.scroll-container {
  background: #0a0a0f;
  border: 2px solid #4a2b7b;
  border-radius: 12px;
  padding: 2rem;
  max-width: 700px;
  margin: 3rem auto;
  color: #d9d9e6;
  font-family: 'Cinzel', serif;
  text-align: center;
  box-shadow:
    0 0 25px rgba(150, 50, 200, 0.6),
    inset 0 0 15px rgba(150, 50, 200, 0.3);
}

.scroll-title {
  color: #caa6ff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px #8a4fff, 0 0 5px #8a4fff;
}

.scroll-sub {
  color: #a88bff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.scroll-etch {
  color: #bbbbd1;
  font-style: italic;
  font-size: 1rem;
}

blockquote {
  border-left: 4px solid #8844ff;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #b6a6f8;
  font-style: italic;
}

.scroll-test {
  color: #ff4d6d;
  font-size: 1.3rem;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #8844ff, transparent);
  margin: 1.5rem 0;
}

/* ===== Artifact Links ===== */
a.artifact.calyxion {
  color: var(--red-deep);
  text-shadow:
    0 0 10px rgba(255,26,26,0.6),
    0 0 18px rgba(154,77,255,0.5),
    0 0 30px rgba(255,138,42,0.4);
  transition: color .2s ease, text-shadow .2s ease, transform .15s ease;
}

a.artifact.calyxion:hover,
a.artifact.calyxion:focus {
  color: var(--red-bright);
  text-shadow:
    0 0 12px rgba(255,26,26,0.9),
    0 0 22px rgba(154,77,255,0.8),
    0 0 40px rgba(255,138,42,0.7);
  transform: scale(1.07);
}

/* ===== Sigil ===== */
.sigil {
  text-align: center;
}

.sigil .emoji,
.footer .sigil .emoji {
  display: inline-block;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: .15rem;
  color: var(--orange);
  text-shadow:
    0 0 10px rgba(255,138,42,0.9),
    0 0 20px rgba(154,77,255,0.6);
  animation: pulse-glow-emoji 3.6s infinite ease-in-out;
  transition: transform .18s ease, text-shadow .18s ease, opacity .18s ease;
}

@keyframes pulse-glow-emoji {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(255,138,42,0.9),
      0 0 20px rgba(154,77,255,0.6);
    transform: scale(1);
    opacity: .95;
  }
  50% {
    text-shadow:
      0 0 24px rgba(255,26,26,1),
      0 0 44px rgba(154,77,255,0.9);
    transform: scale(1.06);
    opacity: 1;
  }
}

/* Removed global `.sigil svg` sizing/pulsing rule to prevent site-wide SVG scaling.
   Keep the visual keyframes available if you want to apply animation locally. */

@keyframes sigil-pulse {
  0%, 100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 7px rgba(111,59,214,0.85))
      drop-shadow(0 0 18px rgba(111,59,214,0.45));
    opacity: 0.95;
  }
  50% {
    transform: scale(1.03);
    filter:
      drop-shadow(0 0 12px rgba(111,59,214,1))
      drop-shadow(0 0 26px rgba(111,59,214,0.6));
    opacity: 1;
  }
}
/* ===== Confluence Vein Page Specific ===== */
.confluence-vein {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff0000 0%, #aa0000 50%, #ff0000 100%);
  background-size: 200% 100%;
  animation: pulse 4s ease-in-out infinite;
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 9999;
}

body:hover .confluence-vein {
  opacity: 0.9;
}

@keyframes pulse {
  0%   { background-position: 200% 0; filter: blur(1px); }
  50%  { background-position: 0 0;   filter: blur(3px); }
  100% { background-position: 200% 0; filter: blur(1px); }
}

/* ===== Confluence Vein Page Specific ===== */
.confluence-vein.alt {
  background: linear-gradient(
    90deg,
    #d4af37 0%,      /* gold */
    #999 50%,        /* silver */
    #d4af37 100%
  );
  background-size: 200% 100%;
  animation: pulseAlt 5s ease-in-out infinite;
  opacity: 0.4;
}

@keyframes pulseAlt {
  0%   { background-position: 200% 0; filter: blur(1px) brightness(0.8); }
  50%  { background-position: 0 0;   filter: blur(3px) brightness(1.2); }
  100% { background-position: 200% 0; filter: blur(1px) brightness(0.8); }
}
/* ===== Confluence Vein ember/Silver Page Specific ===== */