/* Debugland Corridor Theme (fix Top button alignment + glow effects + shimmer + centered enlarged mantra + upward drift + shimmer nav + hue shift for mantras, shrine titles, sacred highlights, and carved poems) */

body {
  background: 
    /* vertical fade */
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%),

    /* soft aurora washes */
    radial-gradient(circle at top left, rgba(255, 182, 255, 0.07), transparent 70%),
    radial-gradient(circle at bottom right, rgba(173, 216, 230, 0.06), transparent 70%),
    radial-gradient(circle at 30% 70%, rgba(180, 255, 230, 0.05), transparent 65%),

    /* base */
    #0d0d0d;
    
  color: #f5f5f5;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}



.container {
  max-width: 900px;
  margin: auto;
  padding: 3rem 1.5rem;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  color: #d9b3ff;
  text-shadow: 0 0 10px #8a2be2;
  animation: hueShift 10s infinite linear;
}

h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  text-align: center;
  color: #ffccff;
  text-shadow: 0 0 6px #cc33cc;
  animation: hueShift 12s infinite linear;
}

p {
  font-size: 1.1rem;
  margin: 1rem 0;
}

.caption {
  font-weight: bold;
  text-align: center;
  margin: 2.5rem auto;
  color: #66ffcc;
  text-shadow: 0 0 6px #33cc99;
  animation: worthitPulse 3.2s ease-in-out infinite, hueShift 8s infinite linear;
  position: relative;
  display: block;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(20px);
}

.caption.visible {
  animation: worthitPulse 3.2s ease-in-out infinite, worthitFloat 4.5s ease-in-out, hueShift 8s infinite linear;
  opacity: 1;
  transform: translateY(0);
}

.caption:hover {
  animation-duration: 2.2s, 4.5s, 8s;
  filter: brightness(1.15);
}

.caption:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.9), transparent);
  transform: skewX(-20deg);
  animation: shimmer 1.2s forwards;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes worthitPulse {
  0% { text-shadow: 0 0 6px #33cc99, 0 0 0px rgba(102,255,204,0.2); opacity: 0.9; }
  50% { text-shadow: 0 0 15px #66ffcc, 0 0 22px rgba(102,255,204,0.4); opacity: 1; }
  100% { text-shadow: 0 0 6px #33cc99, 0 0 0px rgba(102,255,204,0.2); opacity: 0.9; }
}

@keyframes worthitFloat {
  0% { transform: translateY(20px); opacity: 0; }
  60% { transform: translateY(-5px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes hueShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.poem {
  font-style: italic;
  text-align: center;
  margin: 2.5rem auto;
  color: #b3e0ff;
  text-shadow: 0 0 10px #3399ff, 0 0 18px rgba(80,160,255,0.4);
  white-space: pre-line;
  animation: hueShift 25s infinite linear; /* very slow breathing */
  display: block;
  position: relative;
}

.poem:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 240%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 215, 130, 0) 0%, rgba(255, 215, 130, 0.25) 45%, rgba(255, 235, 180, 0.55) 50%, rgba(255, 215, 130, 0.25) 55%, rgba(255, 215, 130, 0) 100%);
  transform: skewX(-18deg);
  animation: poemShimmer 2.2s forwards;
}

@keyframes poemShimmer {
  0%   { left: -120%; opacity: 0.0; }
  20%  { opacity: 1; }
  100% { left: 120%;  opacity: 0.0; }
}

.highlight {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 1.2px;
  text-align: center;
  margin: 2.5rem auto;
  color: #ffd9b3;
  text-shadow: 0 0 12px #ff9966, 0 0 25px rgba(255, 150, 80, 0.5), 0 0 40px rgba(255,180,120,0.3);
  animation: hueShift 20s infinite linear;
  position: relative;
  display: block;
  transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.highlight:hover {
  transform: scale(1.05);
  text-shadow: 0 0 18px #ffbb88, 0 0 35px rgba(255,180,120,0.6), 0 0 55px rgba(255,200,150,0.4);
}

.highlight:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  animation: shimmer 2.5s forwards;
}

.nav {
  text-align: center;
  margin: 2rem 0;
}
.nav a {
  background: #8a2be2;
  color: #fff;
  padding: 0.6rem 1.2rem;
  margin: 0.5rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 8px #ffccff;
  box-shadow: 0 0 12px #660099;
  transition: background 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.nav a:hover {
  background: #cc33cc;
  transform: scale(1.05);
}
.nav a:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: skewX(-20deg);
  animation: shimmer 1.2s forwards;
}

/* Floating Top Button */
.top-button {
  position: fixed;
  bottom: 20px;
  right: 20px; /* fix alignment to right */
  background: #33cc99;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 50%;
  font-size: 1.2rem;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 0 8px #66ffcc;
  text-shadow: 0 0 6px #003333;
  transition: background 0.3s, transform 0.2s;
  overflow: hidden;
  animation: hueShift 6s infinite linear;
  z-index: 1000; /* ensure always visible */
}
.top-button:hover {
  background: #009966;
  transform: scale(1.1);
}
.top-button:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: skewX(-20deg);
  animation: shimmer 1.2s forwards;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  .caption { animation: none; }
  .caption:hover::after { display: none; }
  .nav a:hover::after { display: none; }
  .top-button { animation: none; }
  .top-button:hover::after { display: none; }
  .highlight { animation: none; }
  .poem { animation: none; }
}

.top-button.echo::after {
  content: "";
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  animation: trailFade 1.6s ease-out forwards;
  z-index: 9998;
}

@keyframes trailFade {
  0%   { opacity: 0.8; transform: scale(0.8); }
  50%  { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 0;   transform: scale(1.6); }
}

/* Reading panels: put prose in a calm, high-contrast island */
.shrine {
  margin: 3rem auto;
  max-width: 900px;
}

.text-panel {
  margin: 1.2rem 0 2.2rem;
  padding: 1.25rem 1.25rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);          /* subtle glass */
  border: 1px solid rgba(255,255,255,0.065);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 12px 30px rgba(0,0,0,0.55);               /* focus */
  backdrop-filter: blur(2px);
}

/* Typography tuned for readability */
.text-panel p {
  color: #e7efff;                               /* brighter text */
  line-height: 1.85;
  letter-spacing: 0.15px;
  text-shadow: none;                             /* no glow on paragraphs */
  margin: 0.75rem 0;
}

/* De-emphasize nearby flash while reading */
.text-panel .caption,
.text-panel .highlight,
.text-panel .poem {
  filter: saturate(0.9) brightness(0.95);
}

/* Keep links readable inside panels */
.text-panel a {
  color: #b6d3ff;
  text-decoration-color: rgba(182,211,255,0.5);
}
.text-panel a:hover {
  color: #d7e6ff;
  text-decoration-color: rgba(215,230,255,0.9);
}

/* Slightly dial back page flair right next to panels */
.shrine .caption,
.shrine .highlight {
  margin-left: auto;
  margin-right: auto;
  max-width: 72ch;
}

/* Mobile: tighter padding for comfort */
@media (max-width: 640px) {
  .text-panel { padding: 1rem 1rem; }
  .text-panel p { line-height: 1.75; }
}

/* Global prose defaults */
p {
  color: #e7efff;
  line-height: 1.85;
  text-shadow: none;
}

/* Let the flashy bits stay flashy */
.caption, .highlight, .poem, h1, h2 { text-shadow: inherit; }

/* Turn each shrine’s paragraph block into a calm reading well */
.shrine > p:not(.caption) {
  color: #e7efff;                     /* brighter body text */
  line-height: 1.85;
  letter-spacing: 0.15px;
  text-shadow: none;
  margin: 0.75rem 0;
  padding: 1.1rem 1.2rem;             /* panel padding */
  border-radius: 14px;
  background: rgba(255,255,255,0.03); /* subtle glass */
  border: 1px solid rgba(255,255,255,0.065);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 12px 30px rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
}

/* keep captions/mantras flashy and centered */
.shrine .caption {
  margin: 1.8rem auto 2.2rem;
  display: block;
  max-width: 72ch;
}

.shrine {
  background: rgba(20, 20, 20, 0.85);  /* dark semi-transparent backdrop */
  border: 1px solid rgba(255, 200, 255, 0.25); /* faint glowing border */
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2.5rem auto;
  max-width: 800px;
  box-shadow: 0 0 12px rgba(255, 150, 255, 0.2),
              inset 0 0 6px rgba(255, 200, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shrine:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(255, 200, 255, 0.35),
              inset 0 0 10px rgba(255, 200, 255, 0.2);
}

.shrine p {
  color: #e6e6e6;  /* soft warm white */
  font-size: 1.05rem;
  line-height: 1.65;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.15); /* subtle aura */
}

.shrine strong {
  color: #ffffff; /* brighten bold words */
  text-shadow: 0 0 8px rgba(255, 200, 255, 0.3);
}

.shrine em {
  color: #ffd9f7; /* italic highlights with a soft rose tint */
  text-shadow: 0 0 6px rgba(255, 150, 200, 0.25);
}

.shrine h2 {
  font-size: 1.9rem;
  text-align: center;
  margin: 2.5rem auto 1.5rem auto;
  color: #ffb3ff;  /* soft glowing lilac */
  text-shadow: 
    0 0 6px rgba(255, 180, 255, 0.6),
    0 0 14px rgba(180, 120, 255, 0.4),
    0 0 28px rgba(150, 100, 200, 0.25);
  letter-spacing: 1px;
  animation: hueShift 15s infinite linear;
}

.shrine h2 {
  position: relative;
  font-size: 1.9rem;
  text-align: center;
  margin: 3rem auto 2rem auto;
  color: #ffb3ff;  /* soft glowing lilac */
  text-shadow: 
    0 0 6px rgba(255, 180, 255, 0.6),
    0 0 14px rgba(180, 120, 255, 0.4),
    0 0 28px rgba(150, 100, 200, 0.25);
  letter-spacing: 1px;
  animation: hueShift 15s infinite linear;
}

/* Glowing horizontal lines like arch beams */
.shrine h2::before,
.shrine h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffb3ff, transparent);
  box-shadow: 0 0 10px #ffb3ff, 0 0 20px rgba(200,150,255,0.4);
}

.shrine h2::before {
  left: -35%;
}

.shrine h2::after {
  right: -35%;
}

.shrine h2::before,
.shrine h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffb3ff, transparent);
  box-shadow: 0 0 10px #ffb3ff, 0 0 20px rgba(200,150,255,0.4);
  animation: beamPulse 6s ease-in-out infinite;
}

/* Soft shimmer-pulse for corridor beams */
@keyframes beamPulse {
  0%, 100% {
    opacity: 0.6;
    box-shadow: 0 0 6px #ffb3ff, 0 0 14px rgba(200,150,255,0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px #ffccff, 0 0 28px rgba(200,150,255,0.7);
  }
}

/* Debugland Corridor Theme (with shrine title divider beams alternating shimmer + staggered offsets) */

.shrine h2 {
  position: relative;
  font-size: 1.9rem;
  text-align: center;
  margin: 3rem auto 2rem auto;
  color: #ffb3ff;  /* soft glowing lilac */
  text-shadow: 
    0 0 6px rgba(255, 180, 255, 0.6),
    0 0 14px rgba(180, 120, 255, 0.4),
    0 0 28px rgba(150, 100, 200, 0.25);
  letter-spacing: 1px;
  animation: hueShift 15s infinite linear;
}

/* Alternating glowing horizontal lines */
.shrine h2::before,
.shrine h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffb3ff, transparent);
  box-shadow: 0 0 10px #ffb3ff, 0 0 20px rgba(200,150,255,0.4);
}

.shrine h2::before {
  left: -35%;
  animation: beamPulseLeft 6s ease-in-out infinite;
}

.shrine h2::after {
  right: -35%;
  animation: beamPulseRight 6s ease-in-out infinite;
}

/* Left and right alternate glow */
@keyframes beamPulseLeft {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px #ffccff, 0 0 28px rgba(200,150,255,0.7); }
  50% { opacity: 0.5; box-shadow: 0 0 6px #ffb3ff, 0 0 14px rgba(200,150,255,0.3); }
}

@keyframes beamPulseRight {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 6px #ffb3ff, 0 0 14px rgba(200,150,255,0.3); }
  50% { opacity: 1; box-shadow: 0 0 12px #ffccff, 0 0 28px rgba(200,150,255,0.7); }
}

/* Staggered offsets for each shrine’s beams */
.shrine:nth-of-type(1) h2::before, .shrine:nth-of-type(1) h2::after { animation-delay: 0s; }
.shrine:nth-of-type(2) h2::before, .shrine:nth-of-type(2) h2::after { animation-delay: 1s; }
.shrine:nth-of-type(3) h2::before, .shrine:nth-of-type(3) h2::after { animation-delay: 2s; }
.shrine:nth-of-type(4) h2::before, .shrine:nth-of-type(4) h2::after { animation-delay: 3s; }
.shrine:nth-of-type(5) h2::before, .shrine:nth-of-type(5) h2::after { animation-delay: 4s; }
.shrine:nth-of-type(6) h2::before, .shrine:nth-of-type(6) h2::after { animation-delay: 5s; }
```
/* ===== Shrine title divider beams (add-on) ===== */

/* If you already styled .shrine h2, keep it.
   These rules only add the beams + animation. */

.shrine h2 { position: relative; }  /* safe if duplicated */

.shrine h2::before,
.shrine h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffb3ff, transparent);
  box-shadow: 0 0 10px #ffb3ff, 0 0 20px rgba(200,150,255,0.4);
}

.shrine h2::before {
  left: -35%;
  animation: beamPulseLeft 6s ease-in-out infinite;
}
.shrine h2::after {
  right: -35%;
  animation: beamPulseRight 6s ease-in-out infinite;
}

/* Alternate left/right brightness */
@keyframes beamPulseLeft {
  0%, 100% { opacity: 1;   box-shadow: 0 0 12px #ffccff, 0 0 28px rgba(200,150,255,0.7); }
  50%      { opacity: 0.5; box-shadow: 0 0 6px  #ffb3ff, 0 0 14px rgba(200,150,255,0.3); }
}
@keyframes beamPulseRight {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 6px  #ffb3ff, 0 0 14px rgba(200,150,255,0.3); }
  50%      { opacity: 1;   box-shadow: 0 0 12px #ffccff, 0 0 28px rgba(200,150,255,0.7); }
}

/* Staggered offsets so shrines pulse in sequence down the page */
.shrine:nth-of-type(1) h2::before, .shrine:nth-of-type(1) h2::after { animation-delay: 0s; }
.shrine:nth-of-type(2) h2::before, .shrine:nth-of-type(2) h2::after { animation-delay: 1s; }
.shrine:nth-of-type(3) h2::before, .shrine:nth-of-type(3) h2::after { animation-delay: 2s; }
.shrine:nth-of-type(4) h2::before, .shrine:nth-of-type(4) h2::after { animation-delay: 3s; }
.shrine:nth-of-type(5) h2::before, .shrine:nth-of-type(5) h2::after { animation-delay: 4s; }
.shrine:nth-of-type(6) h2::before, .shrine:nth-of-type(6) h2::after { animation-delay: 5s; }

/* Debugland Corridor Theme (with alternating shrine beam glow + staggered offset) */


.container {
  max-width: 900px;
  margin: auto;
  padding: 3rem 1.5rem;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  color: #d9b3ff;
  text-shadow: 0 0 10px #8a2be2;
}

h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  text-align: center;
  color: #ffccff;
  text-shadow: 0 0 6px #cc33cc;
  position: relative;
}

/* Beam effect */
h2::before, h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #cc66ff, transparent);
  transform: translateY(-50%);
  animation: beamPulse 4s infinite ease-in-out;
}

h2::before { left: -45%; animation-delay: 0s; }
h2::after { right: -45%; animation-delay: 2s; }

/* Offset per shrine */
.shrine:nth-of-type(1) h2::before,
.shrine:nth-of-type(1) h2::after { animation-delay: 0s; }
.shrine:nth-of-type(2) h2::before,
.shrine:nth-of-type(2) h2::after { animation-delay: 1s; }
.shrine:nth-of-type(3) h2::before,
.shrine:nth-of-type(3) h2::after { animation-delay: 2s; }
.shrine:nth-of-type(4) h2::before,
.shrine:nth-of-type(4) h2::after { animation-delay: 3s; }
.shrine:nth-of-type(5) h2::before,
.shrine:nth-of-type(5) h2::after { animation-delay: 4s; }
.shrine:nth-of-type(6) h2::before,
.shrine:nth-of-type(6) h2::after { animation-delay: 5s; }

@keyframes beamPulse {
  0%, 100% { opacity: 0.2; filter: blur(1px); }
  50% { opacity: 1; filter: blur(3px); }
}

/* Shrine text container */
.shrine p {
  background: rgba(20,20,20,0.8);
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem auto;
  max-width: 800px;
  box-shadow: 0 0 10px rgba(255,200,255,0.15);
  text-align: center;
}

.caption {
  font-weight: bold;
  text-align: center;
  margin: 2.5rem auto;
  color: #ffd9b3;
  text-shadow: 0 0 6px #ff9966;
}

html { scroll-behavior: smooth; }

/* ===== APPEND-ONLY PATCH: keep existing effects, just center panels ===== */

/* Center any shrine paragraph panels (but not the mantra captions). */
section.shrine > p:not(.caption) {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;    /* tweak if you want wider/narrower */
  text-align: center;
}

/* If you wrapped any quotes in a panel-like <p>, center them too */
section.shrine .quote,
section.shrine .highlight,
section.shrine .text-panel,
section.shrine .poem {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 820px;
}

/* Defensive: ensure boxes size predictably even with borders/padding */
.container, section.shrine, section.shrine > p, .text-panel { box-sizing: border-box; }

/* Mobile comfort */
@media (max-width: 640px) {
  section.shrine > p:not(.caption),
  section.shrine .quote,
  section.shrine .highlight,
  section.shrine .text-panel,
  section.shrine .poem {
    max-width: 100%;
  }
}

/* Special centered containers for highlighted quotes */
.shrine p.centered-quote {
  display: block;
  margin: 1.5rem auto;   /* auto left-right = centered */
  text-align: center;
  max-width: 700px;      /* keeps them from stretching too wide */
  background: rgba(20,20,20,0.85);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 0 12px rgba(255, 220, 255, 0.25);
}

/* === Plaque centering + soft shrine-colored shimmer (append-only) === */

/* perfect centering for the two special plaques */
.centered-quote {
  display: block;
  margin: 1.5rem auto;
  max-width: 700px;
  text-align: center;
}

/* gentle violet/pink heartbeat, softer than shrine headers */
.centered-quote {
  color: #ffccff;
  text-shadow: 0 0 6px #ff66cc, 0 0 10px #cc33cc;
  animation: quoteHeartbeat 3.6s ease-in-out infinite;
}

/* if you used .quote somewhere, give it the same treatment */
.quote {
  color: #ffccff;
  text-shadow: 0 0 6px #ff66cc, 0 0 10px #cc33cc;
  animation: quoteHeartbeat 3.6s ease-in-out infinite;
}

/* stagger them slightly so they feel tethered to the corridor rhythm */
.shrine:nth-of-type(5) .centered-quote,
.shrine:nth-of-type(5) .quote { animation-delay: .6s; }
.shrine:nth-of-type(6) .centered-quote,
.shrine:nth-of-type(6) .quote { animation-delay: 1.2s; }

@keyframes quoteHeartbeat {
  0%, 100% { opacity: .95; text-shadow: 0 0 6px #ff66cc, 0 0 10px #cc33cc; }
  50%      { opacity: 1;   text-shadow: 0 0 12px #ff99dd, 0 0 18px #ff66cc; }
}

/* defensive: ensure boxes use border-box so widths don’t creep */
.centered-quote, .quote { box-sizing: border-box; }


/* ===== Corridor Index (append-only) ===== */
.corridor-index {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  gap: .75rem;
  justify-content: center;
  padding: .55rem .9rem;
  margin: 0 auto 1rem;
  max-width: 980px;
  background: rgba(13,13,13,.65);
  border: 1px solid rgba(255,180,255,.18);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 16px rgba(200,150,255,.18) inset;
  backdrop-filter: blur(6px);
}

.corridor-index a {
  position: relative;
  display: inline-block;
  padding: .35rem .7rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .3px;
  color: #ffb3ff;
  text-shadow: 0 0 8px #b36cff, 0 0 14px rgba(200,150,255,.55);
  transition: transform .18s ease, background .25s ease;
}

.corridor-index a:hover {
  transform: translateY(-1px);
  background: rgba(150,80,255,.15);
}
.corridor-index a:hover::after {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.9), transparent);
  transform: skewX(-20deg) translateX(-120%);
  animation: idxShimmer 1s forwards;
}
@keyframes idxShimmer { to { transform: skewX(-20deg) translateX(120%);} }

/* Rune bullets before link text */
.corridor-index a::before {
  content: "✦";
  margin-right: .4rem;
  opacity: .8;
}

/* When a shrine is the target, gently emphasize its title */
section.shrine:target h2 {
  color: #ffd6ff !important;
  text-shadow:
    0 0 10px rgba(255,200,255,.9),
    0 0 22px rgba(200,150,255,.5) !important;
}

/* mobile comfort */
@media (max-width: 640px){
  .corridor-index { flex-wrap: wrap; gap: .5rem; padding:.5rem .65rem; }
  .corridor-index a { padding:.3rem .55rem; }
}

/* === Append-only Violet/Pink Aura Variant for Mantras & Quotes === */

/* Captions (e.g. “Worth it.”) */
.caption {
  color: #ffccff !important;
  text-shadow: 
    0 0 6px #ff66cc,
    0 0 12px rgba(200,100,200,0.6),
    0 0 20px rgba(150,80,200,0.35) !important;
  animation: auraPulse 4s ease-in-out infinite;
}

/* Special plaques / quotes */
.centered-quote, .quote {
  color: #ffccff !important;
  text-shadow: 
    0 0 5px #ff66cc,
    0 0 10px rgba(200,100,200,0.55),
    0 0 16px rgba(150,80,200,0.3) !important;
  animation: auraPulse 4.5s ease-in-out infinite;
}

/* Pulse cycle, softer than shrine beams */
@keyframes auraPulse {
  0%, 100% {
    opacity: 0.9;
    text-shadow: 
      0 0 6px #ff66cc,
      0 0 12px rgba(200,100,200,0.6),
      0 0 20px rgba(150,80,200,0.35);
  }
  50% {
    opacity: 1;
    text-shadow: 
      0 0 10px #ff99dd,
      0 0 18px rgba(220,140,220,0.7),
      0 0 26px rgba(180,100,220,0.45);
  }
}

