/*
Theme Name: Whisper & Ash Mini Theme
Theme URI: https://example.com/
Author: OpenAI
Description: A custom dark fantasy WordPress mini theme for Whisper & Ash with shrine-door homepage, supernatural glow, and codex-like atmosphere.
Version: 1.3.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: whisper-ash
*/

:root {
  --wa-bg: #07090c;
  --wa-bg-soft: #0d1016;
  --wa-surface: #12161d;
  --wa-text: #e8e4dc;
  --wa-muted: rgba(232, 228, 220, 0.72);
  --wa-blue: #69a9ff;
  --wa-blue-soft: rgba(105, 169, 255, 0.35);
  --wa-line: rgba(105, 169, 255, 0.18);
  --wa-shadow: rgba(0, 0, 0, 0.72);
  --wa-max: 1200px;
  --wa-radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top center, rgba(80, 120, 255, 0.06), transparent 35%),
    linear-gradient(to bottom, #050608 0%, #080b10 35%, #06070a 100%);
  color: var(--wa-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.35s ease, text-shadow 0.35s ease, opacity 0.35s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--wa-blue-soft);
}

h1, h2, h3, h4, h5, h6,
.site-title,
.wa-nav a,
.wa-ritual-btn,
.wa-section-label,
.wa-door-title,
.wa-footer-title {
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.06em;
}

p {
  margin-top: 0;
}

.site {
  min-height: 100vh;
  position: relative;
}

.wa-container {
  width: min(100% - 2rem, var(--wa-max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff;
  border: 1px solid var(--wa-blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(3, 4, 6, 0.88), rgba(3, 4, 6, 0.48));
  border-bottom: 1px solid rgba(105, 169, 255, 0.08);
}

.site-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-title {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.site-title a {
  color: var(--wa-text);
}

.site-description {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--wa-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wa-brand-sigil {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(105, 169, 255, 0.3);
  position: relative;
  box-shadow: 0 0 12px rgba(105, 169, 255, 0.18), inset 0 0 12px rgba(105, 169, 255, 0.12);
}

.wa-brand-sigil::before,
.wa-brand-sigil::after {
  content: "";
  position: absolute;
}

.wa-brand-sigil::before {
  inset: 6px;
  border: 1px solid rgba(105, 169, 255, 0.38);
  border-radius: 50%;
}

.wa-brand-sigil::after {
  width: 2px;
  height: 18px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(to bottom, rgba(105, 169, 255, 0.95), rgba(105, 169, 255, 0.12));
  box-shadow: 0 0 10px rgba(105, 169, 255, 0.4);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(105, 169, 255, 0.35);
  background: rgba(6, 9, 14, 0.35);
  color: var(--wa-text);
  padding: 0.65rem 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  cursor: pointer;
}

.primary-navigation {
  display: flex;
  align-items: center;
}

.wa-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wa-nav a {
  color: var(--wa-muted);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.wa-nav a:hover,
.wa-nav .current-menu-item > a,
.wa-nav .current_page_item > a {
  color: var(--wa-blue);
}

.site-main {
  display: block;
}

.wa-page {
  padding: 5rem 0;
}

.wa-page-title {
  margin-bottom: 0.5rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-transform: uppercase;
}

.wa-page-intro {
  max-width: 760px;
  color: var(--wa-muted);
  font-size: 1.15rem;
}

.wa-card {
  border: 1px solid var(--wa-line);
  background: linear-gradient(to bottom, rgba(15, 18, 25, 0.86), rgba(6, 8, 12, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 30px rgba(0, 0, 0, 0.3);
  padding: 1.6rem;
}

.wa-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--wa-bg);
  background-size: cover;
  background-position: center center;
}

.wa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 6, 8, 0.38), rgba(5, 6, 8, 0.82)),
    radial-gradient(circle at center, transparent 18%, rgba(4, 5, 8, 0.58) 100%);
  z-index: 1;
}

.wa-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 38%;
  background:
    radial-gradient(circle at 20% 65%, rgba(120, 150, 255, 0.10), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.07), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(120, 150, 255, 0.08), transparent 28%);
  filter: blur(35px);
  opacity: 0.8;
  animation: waMistDrift 18s ease-in-out infinite alternate;
  z-index: 2;
  pointer-events: none;
}

.wa-hero-bg-breath {
  position: absolute;
  inset: -3%;
  background-size: cover;
  background-position: center center;
  opacity: 0.18;
  mix-blend-mode: screen;
  animation: waDoorStillness 14s ease-in-out infinite alternate;
  z-index: 0;
}

.wa-hero-inner {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, 900px);
  margin: 0 auto;
  text-align: center;
  padding: 8rem 0;
}

.wa-sigil {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  position: relative;
  opacity: 0.88;
  border: 1px solid rgba(105, 169, 255, 0.26);
  box-shadow:
    0 0 18px rgba(105, 169, 255, 0.18),
    inset 0 0 18px rgba(105, 169, 255, 0.12);
  animation: waSigilPulse 8s ease-in-out infinite;
}

.wa-sigil::before,
.wa-sigil::after {
  content: "";
  position: absolute;
}

.wa-sigil::before {
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(105, 169, 255, 0.45);
}

.wa-sigil::after {
  inset: 50% auto auto 50%;
  width: 2px;
  height: 62px;
  background: linear-gradient(to bottom, rgba(105, 169, 255, 0.95), rgba(105, 169, 255, 0.15));
  transform: translate(-50%, -50%);
  box-shadow: 0 0 14px rgba(105, 169, 255, 0.32);
}

.wa-site-title {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow:
    0 0 8px rgba(105, 169, 255, 0.20),
    0 0 20px rgba(105, 169, 255, 0.14),
    0 0 42px rgba(105, 169, 255, 0.08);
  animation: waTitleBreath 6.5s ease-in-out infinite;
}

.wa-whisper {
  margin: 1rem auto 0;
  max-width: 700px;
  color: var(--wa-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.wa-whisper::after {
  content: "";
  display: block;
  width: 84px;
  height: 1px;
  margin: 1rem auto 0;
  background: linear-gradient(to right, transparent, var(--wa-blue), transparent);
  opacity: 0.6;
}

.wa-ritual-wrap {
  margin-top: 2rem;
}

.wa-ritual-btn {
  position: relative;
  display: inline-block;
  padding: 0.95rem 1.8rem;
  background: rgba(6, 9, 14, 0.26);
  color: var(--wa-blue);
  border: 1px solid rgba(105, 169, 255, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 12px rgba(105, 169, 255, 0.10);
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  overflow: hidden;
}

.wa-ritual-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 32%, transparent 55%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
}

.wa-ritual-btn:hover {
  color: #f5fbff;
  background: rgba(18, 28, 44, 0.46);
  border-color: rgba(105, 169, 255, 0.92);
  box-shadow:
    0 0 16px rgba(105, 169, 255, 0.22),
    0 0 34px rgba(105, 169, 255, 0.14),
    inset 0 0 12px rgba(105, 169, 255, 0.08);
}

.wa-ritual-btn:hover::before {
  transform: translateX(120%);
}

.wa-expected {
  margin-top: 0.9rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease, text-shadow 0.45s ease;
  color: rgba(232, 228, 220, 0.78);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.wa-ritual-wrap:hover .wa-expected {
  opacity: 1;
  transform: translateY(0);
  text-shadow: 0 0 10px rgba(105, 169, 255, 0.22);
}

.wa-scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(232, 228, 220, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wa-scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: 0.75rem auto 0;
  background: linear-gradient(to bottom, rgba(105,169,255,.55), transparent);
}

.wa-threshold {
  position: relative;
  padding: 8rem 0;
  background: linear-gradient(to bottom, #030406 0%, #07090d 100%);
  text-align: center;
}

.wa-threshold::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 120px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(105, 169, 255, 0.45), transparent);
  opacity: 0.8;
}

.wa-threshold-lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.5;
  text-shadow: 0 0 16px rgba(105, 169, 255, 0.05);
}

.wa-threshold-sub {
  margin: 1.75rem auto 0;
  max-width: 700px;
  color: var(--wa-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.wa-pathways {
  padding: 7rem 0;
  background: linear-gradient(to bottom, #06080c 0%, #05070a 100%);
}

.wa-section-label {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--wa-muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

.wa-doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.wa-door-card {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(105, 169, 255, 0.18);
  background: linear-gradient(to bottom, rgba(15, 18, 25, 0.90), rgba(6, 8, 12, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

.wa-door-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(105, 169, 255, 0.10), transparent 42%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.wa-door-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.wa-door-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(105, 169, 255, 0.42);
  box-shadow: 0 0 18px rgba(105, 169, 255, 0.12), 0 20px 45px rgba(0, 0, 0, 0.48);
}

.wa-door-card:hover::before {
  opacity: 1;
}

.wa-door-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.9);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.wa-door-card:hover .wa-door-image {
  transform: scale(1.05);
  filter: brightness(0.62) saturate(1.02);
}

.wa-door-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,4,6,.96), rgba(3,4,6,.2));
}

.wa-door-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.wa-door-title {
  margin: 0 0 0.8rem;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.wa-door-text {
  margin: 0;
  color: var(--wa-muted);
  line-height: 1.7;
}

.wa-door-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--wa-blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.wa-entry {
  display: grid;
  gap: 2rem;
}

.wa-entry-content {
  max-width: 800px;
}

.wa-entry-meta {
  color: var(--wa-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.wa-footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid rgba(105, 169, 255, 0.12);
  background: linear-gradient(to bottom, rgba(3, 4, 6, 0.95), rgba(6, 8, 12, 1));
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.25);
}

.wa-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.wa-footer-title {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
}

.wa-footer-text,
.wa-footer a {
  color: rgba(232, 228, 220, 0.72);
}

.wa-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.wa-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(105, 169, 255, 0.1);
  color: rgba(232, 228, 220, 0.62);
  font-size: 0.9rem;
}

.wa-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.wa-aurora::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105,169,255,.08), transparent 70%);
  filter: blur(18px);
  opacity: .45;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@keyframes waMistDrift {
  0% { transform: translateX(0) translateY(0) scale(1); opacity: 0.68; }
  50% { transform: translateX(2%) translateY(-2%) scale(1.03); opacity: 0.84; }
  100% { transform: translateX(-2%) translateY(1%) scale(1.06); opacity: 0.72; }
}

@keyframes waSigilPulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(1);
    box-shadow: 0 0 18px rgba(105, 169, 255, 0.18), inset 0 0 18px rgba(105, 169, 255, 0.12);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.018);
    box-shadow: 0 0 28px rgba(105, 169, 255, 0.28), inset 0 0 22px rgba(105, 169, 255, 0.16);
  }
}

@keyframes waTitleBreath {
  0%, 100% {
    text-shadow: 0 0 8px rgba(105, 169, 255, 0.18), 0 0 20px rgba(105, 169, 255, 0.10), 0 0 42px rgba(105, 169, 255, 0.05);
  }
  50% {
    text-shadow: 0 0 12px rgba(105, 169, 255, 0.28), 0 0 30px rgba(105, 169, 255, 0.16), 0 0 60px rgba(105, 169, 255, 0.08);
  }
}

@keyframes waDoorStillness {
  0% { transform: scale(1.03) translateY(0); }
  100% { transform: scale(1.06) translateY(-6px); }
}

@media (max-width: 980px) {
  .wa-doors,
  .wa-footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .primary-navigation {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.5rem);
    width: min(340px, calc(100vw - 2rem));
    background: rgba(3, 4, 6, 0.96);
    border: 1px solid rgba(105, 169, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
    padding: 1rem;
    display: none;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .wa-nav {
    display: grid;
    gap: 0.8rem;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    min-height: 68px;
  }

  .wa-hero-inner {
    padding: 7rem 0 6rem;
  }

  .wa-whisper {
    letter-spacing: 0.09em;
    font-size: 0.76rem;
  }

  .wa-threshold,
  .wa-pathways,
  .wa-page {
    padding: 4.5rem 0;
  }

  .wa-door-card {
    min-height: 320px;
  }
}


.wa-featured-image {
  margin: 1.5rem 0;
  padding: 0;
  overflow: hidden;
}

.wa-featured-image img {
  width: 100%;
  filter: brightness(0.88) saturate(0.95);
}

.wa-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.wa-archive-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.wa-archive-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(105, 169, 255, 0.14);
  margin: -1.6rem -1.6rem 0;
}

.wa-archive-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.92);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.wa-archive-card:hover .wa-archive-thumb img {
  transform: scale(1.04);
  filter: brightness(0.78) saturate(1);
}

.page-numbers {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.page-numbers li {
  margin: 0;
}

.page-numbers a,
.page-numbers span {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(105, 169, 255, 0.22);
  color: var(--wa-muted);
}

.page-numbers .current,
.page-numbers a:hover {
  color: #fff;
  border-color: rgba(105, 169, 255, 0.5);
  box-shadow: 0 0 12px rgba(105, 169, 255, 0.12);
}

@media (max-width: 980px) {
  .wa-archive-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .wa-archive-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   SHRINE DOORS — OPENING ILLUSION
   ========================= */

.wa-hero {
  perspective: 1600px;
}

.wa-door-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  z-index: 2;
  pointer-events: none;
  background-size: cover;
  background-repeat: no-repeat;
  transition:
    transform 1.6s cubic-bezier(.19,.84,.24,1),
    box-shadow 1.2s ease,
    filter 1.2s ease;
  will-change: transform;
}

.wa-door-left {
  left: 0;
  background-position: left center;
  transform-origin: left center;
  box-shadow:
    inset -1px 0 0 rgba(105,169,255,0.14),
    inset -18px 0 34px rgba(0,0,0,0.42),
    10px 0 26px rgba(0,0,0,0.18);
  filter: brightness(0.9) saturate(0.95);
}

.wa-door-right {
  right: 0;
  background-position: right center;
  transform-origin: right center;
  box-shadow:
    inset 1px 0 0 rgba(105,169,255,0.14),
    inset 18px 0 34px rgba(0,0,0,0.42),
    -10px 0 26px rgba(0,0,0,0.18);
  filter: brightness(0.9) saturate(0.95);
}

.wa-door-left::before,
.wa-door-right::before,
.wa-door-left::after,
.wa-door-right::after {
  content: "";
  position: absolute;
  inset: 0;
}

.wa-door-left::before {
  background: linear-gradient(to right, rgba(0,0,0,0.48), rgba(0,0,0,0.08) 18%, transparent 100%);
}

.wa-door-right::before {
  background: linear-gradient(to left, rgba(0,0,0,0.48), rgba(0,0,0,0.08) 18%, transparent 100%);
}

.wa-door-left::after,
.wa-door-right::after {
  background:
    linear-gradient(to bottom, rgba(5,6,8,0.34), rgba(5,6,8,0.78)),
    repeating-linear-gradient(
      120deg,
      transparent 0px,
      transparent 48px,
      rgba(105,169,255,0.012) 49px,
      transparent 52px
    );
}

.wa-door-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 10px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(105,169,255,0.00) 0%,
      rgba(105,169,255,0.22) 20%,
      rgba(105,169,255,0.35) 50%,
      rgba(105,169,255,0.18) 80%,
      rgba(105,169,255,0.00) 100%);
  filter: blur(6px);
  opacity: 0.45;
  transition: opacity 1.2s ease, width 1.4s ease, filter 1.2s ease;
}

.wa-door-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(105,169,255,0.14), transparent 22%),
    radial-gradient(circle at 50% 60%, rgba(105,169,255,0.08), transparent 35%),
    linear-gradient(to bottom, rgba(5,7,12,0.2), rgba(3,4,6,0.72));
  opacity: 0.38;
  transition: opacity 1.2s ease;
}

.wa-door-reveal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  height: 60%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(105,169,255,0),
    rgba(105,169,255,0.6) 30%,
    rgba(105,169,255,0.25) 80%,
    rgba(105,169,255,0)
  );
  box-shadow: 0 0 18px rgba(105,169,255,0.18);
  opacity: 0.7;
}

.wa-hero:hover .wa-door-left,
.wa-hero:focus-within .wa-door-left {
  transform: translateX(-6%) rotateY(-24deg) scaleX(0.97);
  box-shadow:
    inset -1px 0 0 rgba(105,169,255,0.18),
    inset -24px 0 40px rgba(0,0,0,0.55),
    18px 0 34px rgba(0,0,0,0.3);
  filter: brightness(0.82) saturate(0.9);
}

.wa-hero:hover .wa-door-right,
.wa-hero:focus-within .wa-door-right {
  transform: translateX(6%) rotateY(24deg) scaleX(0.97);
  box-shadow:
    inset 1px 0 0 rgba(105,169,255,0.18),
    inset 24px 0 40px rgba(0,0,0,0.55),
    -18px 0 34px rgba(0,0,0,0.3);
  filter: brightness(0.82) saturate(0.9);
}

.wa-hero:hover .wa-door-seam,
.wa-hero:focus-within .wa-door-seam {
  width: 72px;
  opacity: 0.92;
  filter: blur(12px);
}

.wa-hero:hover .wa-door-reveal,
.wa-hero:focus-within .wa-door-reveal {
  opacity: 0.82;
}

.wa-hero-inner,
.wa-scroll-cue {
  z-index: 4;
}

.wa-hero:hover .wa-site-title,
.wa-hero:focus-within .wa-site-title {
  text-shadow:
    0 0 16px rgba(105,169,255,0.30),
    0 0 36px rgba(105,169,255,0.16),
    0 0 80px rgba(105,169,255,0.08);
}

.wa-hero:hover .wa-sigil,
.wa-hero:focus-within .wa-sigil {
  transform: scale(1.04);
}

.wa-hero:hover .wa-ritual-btn,
.wa-hero:focus-within .wa-ritual-btn {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .wa-hero:hover .wa-door-left,
  .wa-hero:focus-within .wa-door-left {
    transform: translateX(-3%) rotateY(-12deg);
  }

  .wa-hero:hover .wa-door-right,
  .wa-hero:focus-within .wa-door-right {
    transform: translateX(3%) rotateY(12deg);
  }

  .wa-hero:hover .wa-door-seam,
  .wa-hero:focus-within .wa-door-seam {
    width: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-door-panel,
  .wa-door-seam,
  .wa-door-reveal {
    transition: none;
  }
}


.wa-ritual-grid--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .wa-ritual-grid--six {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .wa-ritual-grid--six {
    grid-template-columns: 1fr;
  }
}


.wa-ritual-page__actions {
  margin: 0 0 2rem;
}

.wa-ritual-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wa-labels-panel {
  margin-top: 2rem;
}

.wa-labels-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.wa-label-pill {
  display: inline-block;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(105, 169, 255, 0.24);
  color: var(--wa-blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  background: rgba(6, 9, 14, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 0 12px rgba(105,169,255,0.08);
}

.wa-label-pill:hover {
  color: #f5fbff;
  border-color: rgba(105, 169, 255, 0.48);
  box-shadow: 0 0 16px rgba(105, 169, 255, 0.16), inset 0 0 12px rgba(105,169,255,0.06);
}

@media (max-width: 1200px) {
  .wa-ritual-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .wa-ritual-grid--five {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .wa-ritual-grid--five {
    grid-template-columns: 1fr;
  }
}


/* Characters / Worlds custom templates */
.wa-custom-index {
  position: relative;
  min-height: calc(100svh - 76px);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.wa-custom-index__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 6, 8, 0.62), rgba(5, 6, 8, 0.92)),
    radial-gradient(circle at center, rgba(105,169,255,0.08), transparent 30%);
}

.wa-custom-index__inner {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0;
}

.wa-custom-index__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.wa-custom-index__panel {
  min-height: 320px;
}

.wa-custom-index .wa-labels-list {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .wa-custom-index__grid {
    grid-template-columns: 1fr;
  }
}


/* Lore label baseline hover */
.wa-label-pill {
  position: relative;
  overflow: hidden;
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease;
}

.wa-label-pill::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle,
    rgba(105,169,255,0.18) 0%,
    rgba(105,169,255,0.08) 25%,
    transparent 60%);
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.wa-label-pill:hover {
  transform: translateY(-1px);
  color: #f5fbff;
  border-color: rgba(105,169,255,0.5);
  box-shadow:
    0 0 12px rgba(105,169,255,0.14),
    0 0 24px rgba(105,169,255,0.08),
    inset 0 0 10px rgba(105,169,255,0.06);
}

.wa-label-pill:hover::before {
  opacity: 0.45;
}

/* True tiered access signal: lore-only behavior */
.wa-label-pill--lore {
  border-color: rgba(150, 190, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 0 10px rgba(105,169,255,0.08);
}

.wa-label-pill--lore::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(195, 220, 255, 0.10) 45%,
      rgba(195, 220, 255, 0.18) 50%,
      rgba(195, 220, 255, 0.10) 55%,
      transparent 100%);
  opacity: 0;
  transform: translateX(-110%);
  pointer-events: none;
}

.wa-label-pill--lore:hover {
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(190, 220, 255, 0.72);
  box-shadow:
    0 0 14px rgba(130,185,255,0.18),
    0 0 30px rgba(160,210,255,0.12),
    inset 0 0 14px rgba(170,220,255,0.08);
  animation: waLoreTierFlicker 3.4s ease-in-out infinite;
}

.wa-label-pill--lore:hover::before {
  opacity: 0.72;
  animation: waLoreTierPulse 3.1s ease-in-out infinite;
}

.wa-label-pill--lore:hover::after {
  opacity: 0.82;
  animation: waLoreTierScan 2.8s ease-in-out infinite 0.35s;
}

/* Small access glyph */
.wa-label-pill--lore span,
.wa-label-pill--lore {
  letter-spacing: 0.14em;
}

.wa-label-pill--lore:hover {
  text-shadow:
    0 0 10px rgba(190,220,255,0.18),
    0 0 24px rgba(160,210,255,0.08);
}

@keyframes waLoreTierPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.22;
    filter: blur(14px);
  }
  35% {
    transform: scale(1.02);
    opacity: 0.46;
    filter: blur(16px);
  }
  60% {
    transform: scale(1.06);
    opacity: 0.72;
    filter: blur(18px);
  }
  100% {
    transform: scale(1.00);
    opacity: 0.30;
    filter: blur(15px);
  }
}

@keyframes waLoreTierScan {
  0% {
    transform: translateX(-110%);
    opacity: 0;
  }
  18% {
    opacity: 0.32;
  }
  50% {
    transform: translateX(0%);
    opacity: 0.82;
  }
  82% {
    opacity: 0.28;
  }
  100% {
    transform: translateX(110%);
    opacity: 0;
  }
}

@keyframes waLoreTierFlicker {
  0%, 100% {
    box-shadow:
      0 0 14px rgba(130,185,255,0.18),
      0 0 30px rgba(160,210,255,0.12),
      inset 0 0 14px rgba(170,220,255,0.08);
  }
  41% {
    box-shadow:
      0 0 20px rgba(150,200,255,0.22),
      0 0 42px rgba(180,225,255,0.14),
      inset 0 0 18px rgba(200,235,255,0.12);
  }
  48% {
    box-shadow:
      0 0 10px rgba(110,170,255,0.12),
      0 0 22px rgba(150,210,255,0.08),
      inset 0 0 10px rgba(160,220,255,0.05);
  }
  56% {
    box-shadow:
      0 0 24px rgba(175,220,255,0.26),
      0 0 50px rgba(190,230,255,0.16),
      inset 0 0 20px rgba(210,240,255,0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-label-pill--lore:hover,
  .wa-label-pill--lore:hover::before,
  .wa-label-pill--lore:hover::after {
    animation: none;
  }
}


/* Label tabs */
.wa-label-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.wa-label-tab {
  display: block;
  padding: 1.6rem;
  border: 1px solid rgba(105,169,255,0.18);
  background: linear-gradient(to bottom, rgba(12,15,22,0.92), rgba(6,8,12,0.96));
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}

.wa-label-tab__title {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #f0f6ff;
}

.wa-label-tab__desc {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--wa-muted);
  letter-spacing: 0.08em;
}

.wa-label-tab:hover {
  transform: translateY(-4px);
  border-color: rgba(105,169,255,0.45);
  box-shadow:
    0 0 18px rgba(105,169,255,0.12),
    0 20px 40px rgba(0,0,0,0.45);
}

.wa-label-tab--lore {
  position: relative;
  border-color: rgba(170,210,255,0.32);
}

.wa-label-tab--lore::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(180,220,255,0.18), transparent 60%);
  opacity: 0;
  filter: blur(18px);
  pointer-events: none;
}

.wa-label-tab--lore::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(200,230,255,0.12) 45%,
      rgba(200,230,255,0.22) 50%,
      rgba(200,230,255,0.12) 55%,
      transparent 100%
    );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.wa-label-tab--lore:hover {
  transform: translateY(-6px);
  border-color: rgba(200,230,255,0.75);
  box-shadow:
    0 0 22px rgba(150,210,255,0.18),
    0 0 48px rgba(180,230,255,0.12),
    inset 0 0 18px rgba(200,240,255,0.10);
  text-shadow:
    0 0 10px rgba(190,220,255,0.18),
    0 0 24px rgba(160,210,255,0.08);
}

.wa-label-tab--lore:hover::before {
  opacity: 0.6;
  animation: waLorePulseDeep 3.2s ease-in-out infinite 0.3s;
}

.wa-label-tab--lore:hover::after {
  opacity: 1;
  animation: waLoreScan 2.8s ease-in-out infinite 0.4s;
}

/* Dangerous lore entry gate */
.wa-lore-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}

.wa-lore-gate__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(160,210,255,0.10), rgba(4,5,8,0.88) 32%, rgba(2,3,6,0.98) 100%);
  opacity: 0;
}

.wa-lore-gate__axis {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 2px;
  height: 76%;
  transform: translateX(-50%) scaleY(0.2);
  transform-origin: center top;
  background: linear-gradient(
    to bottom,
    rgba(220,240,255,0),
    rgba(220,240,255,0.95) 18%,
    rgba(120,185,255,0.45) 60%,
    rgba(220,240,255,0)
  );
  box-shadow:
    0 0 18px rgba(170,220,255,0.35),
    0 0 48px rgba(120,185,255,0.18);
  opacity: 0;
}

.wa-lore-gate__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%) scale(0.7) rotate(0deg);
  border-radius: 50%;
  border: 1px solid rgba(200,230,255,0.18);
  box-shadow:
    0 0 20px rgba(160,210,255,0.12),
    inset 0 0 20px rgba(160,210,255,0.08);
  opacity: 0;
}

.wa-lore-gate__ring::before,
.wa-lore-gate__ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(200,230,255,0.12);
}

.wa-lore-gate__text {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  color: rgba(225,240,255,0.88);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  text-shadow:
    0 0 12px rgba(170,220,255,0.28),
    0 0 30px rgba(120,185,255,0.12);
  opacity: 0;
}

body.wa-lore-entering {
  overflow: hidden;
}

body.wa-lore-entering .wa-lore-gate {
  opacity: 1;
}

body.wa-lore-entering .wa-lore-gate__veil {
  animation: waLoreGateVeil 0.95s ease forwards;
}

body.wa-lore-entering .wa-lore-gate__axis {
  animation: waLoreGateAxis 0.95s cubic-bezier(.21,.84,.25,1) forwards;
}

body.wa-lore-entering .wa-lore-gate__ring {
  animation: waLoreGateRing 1.05s cubic-bezier(.21,.84,.25,1) forwards;
}

body.wa-lore-entering .wa-lore-gate__text {
  animation: waLoreGateText 0.72s ease 0.18s forwards;
}

body.wa-lore-entering .site,
body.wa-lore-entering .site-header,
body.wa-lore-entering .wa-aurora {
  animation: waLoreWorldDrop 0.9s ease forwards;
}

@keyframes waLoreScan {
  0% { transform: translateX(-120%); opacity: 0; }
  30% { opacity: 0.5; }
  50% { transform: translateX(0%); opacity: 0.9; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes waLorePulseDeep {
  0% { transform: scale(0.95); opacity: 0.2; }
  50% { transform: scale(1.06); opacity: 0.7; }
  100% { transform: scale(1.0); opacity: 0.3; }
}

@keyframes waLoreGateVeil {
  0% { opacity: 0; }
  20% { opacity: 0.35; }
  55% { opacity: 0.92; }
  100% { opacity: 1; }
}

@keyframes waLoreGateAxis {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.2);
  }
  25% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes waLoreGateRing {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7) rotate(-12deg);
  }
  55% {
    opacity: 0.92;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15) rotate(18deg);
  }
}

@keyframes waLoreGateText {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes waLoreWorldDrop {
  0% {
    filter: brightness(1) blur(0);
    transform: scale(1);
    opacity: 1;
  }
  100% {
    filter: brightness(0.35) blur(2px);
    transform: scale(0.985);
    opacity: 0.15;
  }
}

@media (max-width: 700px) {
  .wa-label-tabs {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-label-tab--lore:hover::before,
  .wa-label-tab--lore:hover::after,
  body.wa-lore-entering .wa-lore-gate__veil,
  body.wa-lore-entering .wa-lore-gate__axis,
  body.wa-lore-entering .wa-lore-gate__ring,
  body.wa-lore-entering .wa-lore-gate__text,
  body.wa-lore-entering .site,
  body.wa-lore-entering .site-header,
  body.wa-lore-entering .wa-aurora {
    animation: none;
  }
}


/* v1.1 ritual tabs hard override */
.wa-ritual-page .wa-label-tabs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  margin-top: 2.5rem !important;
  align-items: stretch;
}

.wa-ritual-page .wa-label-tab {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 150px !important;
  width: 100% !important;
  padding: 1.6rem !important;
  border: 1px solid rgba(105,169,255,0.18) !important;
  background: linear-gradient(to bottom, rgba(12,15,22,0.92), rgba(6,8,12,0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 12px 30px rgba(0,0,0,0.35) !important;
  position: relative !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

.wa-ritual-page .wa-label-tab__title {
  display: block !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-size: 1.08rem !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  color: #f0f6ff !important;
}

.wa-ritual-page .wa-label-tab__desc {
  display: block !important;
  margin-top: 0.5rem !important;
  font-size: 0.76rem !important;
  line-height: 1.5 !important;
  letter-spacing: 0.08em !important;
  color: rgba(232, 228, 220, 0.72) !important;
}

.wa-ritual-page .wa-label-tab:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(105,169,255,0.45) !important;
  box-shadow: 0 0 18px rgba(105,169,255,0.12), 0 20px 40px rgba(0,0,0,0.45) !important;
}

.wa-ritual-page .wa-label-tab--lore {
  border-color: rgba(170,210,255,0.32) !important;
}

@media (max-width: 700px) {
  .wa-ritual-page .wa-label-tabs {
    grid-template-columns: 1fr !important;
  }
}


/* v1.1.1 ritual clickability fixes */
.wa-ritual-page .wa-ritual-page__veil,
.wa-ritual-page .wa-ritual-page__mist {
  pointer-events: none !important;
}

.wa-ritual-page .wa-ritual-page__inner {
  position: relative;
  z-index: 10 !important;
}

.wa-ritual-page .wa-ritual-page__actions,
.wa-ritual-page .wa-label-tabs-wrap,
.wa-ritual-page .wa-ritual-grid {
  position: relative;
  z-index: 12 !important;
}

.wa-ritual-page .wa-ritual-btn--shrine,
.wa-ritual-page .wa-ritual-card,
.wa-ritual-page .wa-label-tab {
  position: relative;
  z-index: 13 !important;
  pointer-events: auto !important;
}

.wa-ritual-page .wa-label-tabs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  margin-top: 0 !important;
  align-items: stretch !important;
}

.wa-ritual-page .wa-label-tab {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 150px !important;
  width: 100% !important;
  padding: 1.6rem !important;
  border: 1px solid rgba(105,169,255,0.18) !important;
  background: linear-gradient(to bottom, rgba(12,15,22,0.92), rgba(6,8,12,0.96)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 12px 30px rgba(0,0,0,0.35) !important;
  text-decoration: none !important;
  overflow: hidden !important;
}

.wa-ritual-page .wa-label-tab__title {
  display: block !important;
  font-family: "Cinzel", Georgia, serif !important;
  font-size: 1.08rem !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  color: #f0f6ff !important;
}

.wa-ritual-page .wa-label-tab__desc {
  display: block !important;
  margin-top: 0.5rem !important;
  font-size: 0.76rem !important;
  line-height: 1.5 !important;
  letter-spacing: 0.08em !important;
  color: rgba(232, 228, 220, 0.72) !important;
}

@media (max-width: 700px) {
  .wa-ritual-page .wa-label-tabs {
    grid-template-columns: 1fr !important;
  }
}

.wa-lore-gate {
  pointer-events: none !important;
}


/* Sigil-based navigation */
.wa-sigil-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wa-sigil-nav__item {
  margin: 0;
  padding: 0;
}

.wa-sigil-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 62px;
  padding: 0.4rem 0.5rem;
  color: var(--wa-muted);
  text-decoration: none;
  position: relative;
  transition: transform 0.35s ease, color 0.35s ease, text-shadow 0.35s ease;
}

.wa-sigil-link:hover {
  transform: translateY(-2px);
  color: #f3f8ff;
  text-shadow: 0 0 10px rgba(105,169,255,0.18);
}

.wa-sigil-icon {
  width: 26px;
  height: 26px;
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(105,169,255,0.12));
}

.wa-sigil-label {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.wa-sigil-link .wa-sigil-icon::before,
.wa-sigil-link .wa-sigil-icon::after {
  content: "";
  position: absolute;
}

.wa-sigil-link--archive .wa-sigil-icon {
  border: 1px solid rgba(105,169,255,0.34);
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(105,169,255,0.08), 0 0 10px rgba(105,169,255,0.08);
}
.wa-sigil-link--archive .wa-sigil-icon::before {
  left: 50%;
  top: 4px;
  width: 2px;
  height: 18px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(200,230,255,0.9), rgba(105,169,255,0.24));
}

.wa-sigil-link--codex .wa-sigil-icon::before,
.wa-sigil-link--codex .wa-sigil-icon::after {
  top: 4px;
  width: 10px;
  height: 16px;
  border: 1px solid rgba(105,169,255,0.34);
  box-shadow: inset 0 0 8px rgba(105,169,255,0.06);
}
.wa-sigil-link--codex .wa-sigil-icon::before {
  left: 2px;
  border-radius: 8px 2px 2px 8px;
  transform: skewY(-6deg);
}
.wa-sigil-link--codex .wa-sigil-icon::after {
  right: 2px;
  border-radius: 2px 8px 8px 2px;
  transform: skewY(6deg);
}

.wa-sigil-link--author .wa-sigil-icon::before {
  left: 12px;
  top: 2px;
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(230,240,255,0.92), rgba(105,169,255,0.18));
  box-shadow: 0 0 10px rgba(105,169,255,0.14);
}
.wa-sigil-link--author .wa-sigil-icon::after {
  left: 6px;
  top: 8px;
  width: 14px;
  height: 10px;
  border: 1px solid rgba(105,169,255,0.34);
  border-radius: 100% 0 100% 0;
  transform: rotate(-35deg);
}

.wa-sigil-link--terms .wa-sigil-icon {
  border: 1px solid rgba(105,169,255,0.34);
  transform: rotate(45deg);
  box-shadow: inset 0 0 8px rgba(105,169,255,0.06);
}
.wa-sigil-link--terms .wa-sigil-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(105,169,255,0.24);
}
.wa-sigil-link--terms .wa-sigil-icon::after {
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(105,169,255,0.42);
  box-shadow: 0 0 10px rgba(105,169,255,0.18);
}

.wa-sigil-link:hover .wa-sigil-icon {
  filter: drop-shadow(0 0 12px rgba(105,169,255,0.22));
}

.wa-sigil-link--archive:hover .wa-sigil-icon,
.wa-sigil-link--terms:hover .wa-sigil-icon {
  box-shadow: inset 0 0 12px rgba(105,169,255,0.12), 0 0 14px rgba(105,169,255,0.12);
}

.wa-footer-sigils {
  display: grid;
  gap: 0.8rem;
}

.wa-footer-sigils li {
  list-style: none;
}

.wa-footer-sigil {
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 0;
  min-width: 0;
}

.wa-footer-sigil .wa-sigil-label {
  font-size: 0.68rem;
}

@media (max-width: 980px) {
  .wa-sigil-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.8rem;
  }

  .wa-sigil-link {
    align-items: flex-start;
    flex-direction: row;
    gap: 0.7rem;
    min-width: 0;
  }

  .wa-sigil-label {
    font-size: 0.68rem;
  }
}


/* v1.3.0 Archive Shrine ritual hub */
.wa-ritual-page--hub .wa-ritual-page__veil,
.wa-ritual-page--hub .wa-ritual-page__mist {
  pointer-events: none !important;
}

.wa-ritual-page--hub .wa-ritual-page__inner {
  position: relative;
  z-index: 20 !important;
}

.wa-ritual-section {
  margin-top: 3rem;
  position: relative;
  z-index: 22;
}

.wa-ritual-heading {
  text-align: center;
  margin: 0 0 1.2rem;
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wa-blue);
  font-size: 0.9rem;
  text-shadow: 0 0 12px rgba(105,169,255,0.14);
}

.wa-ritual-grid--three {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

.wa-ritual-grid--two {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

.wa-ritual-page--hub .wa-ritual-card {
  min-height: 190px;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 23 !important;
  pointer-events: auto !important;
  cursor: pointer;
  padding: 1.5rem;
  border: 1px solid rgba(105, 169, 255, 0.18);
  background: linear-gradient(to bottom, rgba(15, 18, 25, 0.90), rgba(6, 8, 12, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 12px 30px rgba(0,0,0,0.35);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.wa-ritual-page--hub .wa-ritual-card:hover {
  transform: translateY(-6px);
  border-color: rgba(105, 169, 255, 0.42);
  box-shadow: 0 0 18px rgba(105, 169, 255, 0.12), 0 20px 45px rgba(0,0,0,0.48);
}

.wa-ritual-card__eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--wa-blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.wa-ritual-page--hub .wa-ritual-card h3 {
  margin: 0 0 0.6rem;
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0f6ff;
  font-size: 1.25rem;
}

.wa-ritual-page--hub .wa-ritual-card p {
  margin: 0;
  color: var(--wa-muted);
  line-height: 1.65;
}

.wa-ritual-card--lore {
  border-color: rgba(180,220,255,0.55) !important;
  box-shadow:
    0 0 18px rgba(150,210,255,.14),
    inset 0 0 12px rgba(150,210,255,.08),
    0 12px 30px rgba(0,0,0,0.35) !important;
}

.wa-ritual-card--lore::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle, rgba(180,220,255,0.16), transparent 60%);
  opacity: 0;
  filter: blur(18px);
  pointer-events: none;
}

.wa-ritual-card--lore::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(200,230,255,0.12) 45%,
      rgba(200,230,255,0.22) 50%,
      rgba(200,230,255,0.12) 55%,
      transparent 100%
    );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.wa-ritual-card--lore:hover {
  border-color: rgba(200,230,255,0.75) !important;
  box-shadow:
    0 0 22px rgba(150,210,255,0.18),
    0 0 48px rgba(180,230,255,0.12),
    inset 0 0 18px rgba(200,240,255,0.10) !important;
}

.wa-ritual-card--lore:hover::before {
  opacity: 0.6;
  animation: waLorePulseDeep 3.2s ease-in-out infinite 0.3s;
}

.wa-ritual-card--lore:hover::after {
  opacity: 1;
  animation: waLoreScan 2.8s ease-in-out infinite 0.4s;
}

.wa-ritual-page--hub .wa-ritual-page__actions {
  margin: 2rem 0 0;
  position: relative;
  z-index: 24;
}

.wa-ritual-page--hub .wa-ritual-btn--shrine {
  pointer-events: auto !important;
}

@media(max-width: 900px) {
  .wa-ritual-grid--three,
  .wa-ritual-grid--two {
    grid-template-columns: 1fr !important;
  }
}


/* v1.3.1 Series Hub ritual card */
.wa-ritual-grid--four {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}

@media(max-width: 1100px) {
  .wa-ritual-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media(max-width: 700px) {
  .wa-ritual-grid--four {
    grid-template-columns: 1fr !important;
  }
}
