/* Sanctum — Relics The King Has Named */

.sanctum {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 7.5rem 0 6.5rem;
  background: transparent;
}

.sanctum-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(61, 24, 36, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(196, 165, 116, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #060508 0%, #0a0810 40%, #08060c 100%);
}

.sanctum-inner {
  position: relative;
  z-index: 1;
}

.sanctum-head {
  text-align: center;
  margin-bottom: 3.25rem;
}

.sanctum-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold, #c4a574);
  margin-bottom: 0.85rem;
}

.sanctum-title {
  margin: 0;
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--text, #f4efe6);
  text-shadow: 0 0 40px rgba(196, 165, 116, 0.12);
}

.sanctum-deck {
  margin: 1rem auto 0;
  max-width: 32rem;
  color: var(--text-soft, #b8b0a8);
  font-weight: 300;
  font-size: 0.95rem;
}

/* Relic grid */
.relics {
  display: grid;
  gap: 1px;
  background: rgba(196, 165, 116, 0.22);
  border: 1px solid rgba(196, 165, 116, 0.28);
}

@media (min-width: 640px) {
  .relics {
    grid-template-columns: repeat(2, 1fr);
  }
}

.relic {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 14rem;
  padding: 2rem 1.75rem 1.75rem;
  background: rgba(14, 12, 18, 0.92);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.relic:hover {
  background: rgba(20, 17, 26, 0.98);
  box-shadow: inset 0 0 0 1px rgba(196, 165, 116, 0.2);
}

.relic--throne {
  background:
    linear-gradient(145deg, rgba(61, 24, 36, 0.75) 0%, rgba(14, 12, 18, 0.95) 65%);
}

.relic-mark {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: rgba(196, 165, 116, 0.55);
  margin-bottom: 0.85rem;
}

.relic-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright, #e8d4a8);
  border: 1px solid rgba(196, 165, 116, 0.35);
  padding: 0.28rem 0.55rem;
}

.relic-name {
  margin: 0 0 0.55rem;
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.relic-notes {
  margin: 0;
  flex: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-soft, #b8b0a8);
  font-weight: 400;
  line-height: 1.5;
}

.relic-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(196, 165, 116, 0.22);
}

.relic-tithe {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft, #b8b0a8);
}

.relic-tithe strong,
.relic .product-price {
  display: inline;
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-bright, #e8d4a8);
  margin-left: 0.35rem;
}

.claim {
  min-width: 6.5rem;
  letter-spacing: 0.18em;
}

/* Sanctum Ledger (bag) */
.sanctum-ledger {
  margin-top: 3.25rem;
  padding: 2rem 1.75rem;
  background: rgba(8, 6, 12, 0.9);
  border: 1px solid rgba(196, 165, 116, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.sanctum-ledger .bag-head h3 {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.ledger-intro {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(184, 176, 168, 0.7);
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.sanctum-ledger .bag-total {
  letter-spacing: 0.12em;
}

.sanctum-ledger .bag-total strong {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
}

/* Visit threshold */
.visit-inner h2 {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .relic:hover {
    box-shadow: none;
  }
}
