/* Arcane Background Circle */
.arcane-circle {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120vw;
  height: 120vw;
  max-width: 1400px;
  max-height: 1400px;
  border: 1px solid rgba(56, 189, 248, 0.05);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: spin 120s linear infinite;
}

.arcane-circle::before, .arcane-circle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.arcane-circle::before {
  width: 80%; height: 80%;
  border: 1px dashed rgba(226, 232, 240, 0.03);
  animation: spin-reverse 80s linear infinite;
}

.arcane-circle::after {
  width: 60%; height: 60%;
  border: 1px solid rgba(56, 189, 248, 0.02);
  border-top-color: rgba(56, 189, 248, 0.1);
  border-bottom-color: rgba(56, 189, 248, 0.1);
}

.rune-marker {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--arcane-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--arcane-blue);
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
}

/* Ledger Rows / Interactive Links */
.ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.05);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ledger-row::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, var(--arcane-blue), var(--mithral), transparent);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px var(--arcane-glow);
}

.ledger-row:hover::before {
  width: 100%;
}

.ledger-row:hover {
  padding-left: 1.5rem;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.03), transparent);
}

/* Title & Header Text */
.title-rune {
  font-family: var(--font-rune);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px var(--mithral-glow);
}

.title-glow {
  text-shadow: 0 0 20px var(--mithral-glow);
}

/* Stat Cards */
.stat-card {
  background: var(--surface-card);
  border: 1px solid var(--border-arcane);
  border-radius: 4px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--arcane-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover {
  background: var(--surface-card-hover);
  border-color: var(--arcane-blue);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
}

.stat-card:hover::after {
  opacity: 1;
}

/* Ornamental Divider */
.portal-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--mithral-dim);
  font-family: var(--font-rune);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.portal-divider::before,
.portal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--mithral-dark), transparent);
}
