.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 80, 100, 0.34), transparent 34%),
    linear-gradient(180deg, rgba(3, 15, 24, 0.98), rgba(1, 8, 14, 0.99));
  color: #eef3f5;
  font-family: "Cinzel", "Segoe UI", serif;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-panel {
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid rgba(218, 198, 129, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 30%),
    rgba(5, 14, 22, 0.88);
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.58),
    0 18px 38px rgba(0, 0, 0, 0.42);
}

.loader-kicker {
  margin: 0 0 8px;
  color: rgba(220, 230, 235, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loader-title {
  margin: 0;
  color: #fff7d8;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loader-text {
  margin: 10px 0 18px;
  color: rgba(238, 243, 245, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.loader-track {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(218, 198, 129, 0.24);
  border-radius: 999px;
  background: rgba(1, 8, 14, 0.86);
}

.loader-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8bbfd1, #f1d27a);
  transition: width 180ms ease;
}

.loader-percent {
  display: block;
  margin-top: 10px;
  color: #f1d27a;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}
