:root {
  --bg: #020916;
  --panel: rgba(5, 20, 47, 0.9);
  --panel-strong: rgba(3, 15, 37, 0.97);
  --line: rgba(81, 160, 255, 0.42);
  --line-soft: rgba(128, 192, 255, 0.18);
  --blue: #3c9dff;
  --blue-2: #9bd9ff;
  --blue-deep: #062b75;
  --gold: #e7b763;
  --gold-bright: #ffe2a4;
  --gold-dark: #8b5419;
  --gold-soft: rgba(231, 183, 99, 0.5);
  --text: #f4f8ff;
  --muted: #b5c5df;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Segoe UI", Inter, Arial, sans-serif;
  --astral-shadow: 0 18px 55px rgba(0, 5, 22, 0.48);
}

html {
  background: #020916;
}

body {
  min-width: 320px;
  color: var(--text);
  background: #020916;
}

body::before {
  background:
    radial-gradient(circle at 15% 10%, rgba(34, 112, 223, 0.2), transparent 32rem),
    radial-gradient(circle at 88% 35%, rgba(23, 98, 206, 0.14), transparent 30rem),
    linear-gradient(180deg, #06142d 0%, #020916 72%);
}

body::after {
  opacity: 0.34;
  background:
    radial-gradient(circle at 12% 24%, rgba(172, 219, 255, 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 73% 18%, rgba(172, 219, 255, 0.62) 0 1px, transparent 1.5px),
    radial-gradient(circle at 86% 68%, rgba(172, 219, 255, 0.5) 0 1px, transparent 1.5px);
  background-size: 157px 157px, 231px 231px, 193px 193px;
}

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

.page-shell {
  width: 100%;
  max-width: none;
  border: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(31, 106, 219, 0.13), transparent 40rem),
    linear-gradient(180deg, rgba(3, 14, 34, 0.2), #030b1c 54%, #020817 100%);
  box-shadow: none;
}

.page-shell::before,
.page-shell::after {
  display: none;
}

.site-header {
  min-height: 58px;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: clamp(0.65rem, 1.7vw, 2rem);
  padding: 0 clamp(18px, 3.5vw, 64px);
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(3, 13, 34, 0.97), rgba(8, 23, 54, 0.9) 45%, rgba(3, 12, 31, 0.96)),
    radial-gradient(circle at 72% 0, rgba(58, 130, 255, 0.2), transparent 24rem);
  border-bottom: 1px solid rgba(118, 185, 255, 0.45);
  box-shadow: 0 5px 25px rgba(0, 7, 30, 0.42), inset 0 -1px 0 rgba(238, 193, 112, 0.22);
}

.home-page .site-header {
  position: relative;
  top: auto;
  z-index: 10;
}

.site-header__hero-character {
  position: absolute;
  top: -12px;
  right: 0;
  z-index: 1;
  display: block;
  width: min(90vw, 1840px);
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(-18px 10px 24px rgba(7, 34, 94, 0.18));
}

.site-header > .brand,
.site-header > .burger,
.site-header > .main-nav,
.site-header > .header-actions {
  position: relative;
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 0;
  filter: drop-shadow(0 0 12px rgba(83, 164, 255, 0.46));
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand__name {
  display: none;
  color: #eef7ff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  line-height: 1.15;
  text-transform: uppercase;
}

.main-nav {
  gap: clamp(0.75rem, 1.35vw, 1.75rem);
}

.main-nav .nav-auth-link {
  display: block;
}

.main-nav a {
  padding: 20px 0 18px;
  color: rgba(235, 244, 255, 0.82);
  font-size: clamp(0.75rem, 0.7rem + 0.1vw, 0.82rem);
  letter-spacing: 0.07em;
}

.main-nav a::after {
  bottom: 10px;
  background: linear-gradient(90deg, transparent, #9bd9ff, #4a9fff, transparent);
  box-shadow: 0 0 12px rgba(71, 158, 255, 0.82);
}

.main-nav a::before {
  bottom: 5px;
  width: 6px;
  height: 6px;
  border-color: #d8edff;
  background: #4da1ff;
  box-shadow: 0 0 10px rgba(82, 168, 255, 0.95);
}

.main-nav a.is-active,
.main-nav a:hover {
  color: #fff;
  text-shadow: 0 0 13px rgba(121, 196, 255, 0.8);
}

.header-cta {
  min-width: 86px;
  min-height: 38px;
  padding: 0 18px;
  color: #fff2cf;
  font-size: 0.75rem;
  background: linear-gradient(180deg, rgba(13, 27, 52, 0.96), rgba(5, 14, 32, 0.98));
  border-color: rgba(240, 196, 112, 0.75);
  border-radius: 2px;
  box-shadow: inset 0 0 16px rgba(233, 186, 99, 0.08), 0 0 16px rgba(48, 126, 225, 0.18);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.header-actions,
.header-networks {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: clamp(12px, 1.35vw, 22px);
}

.header-networks {
  gap: 14px;
}

.header-networks a {
  display: grid;
  width: 19px;
  height: 24px;
  place-items: center;
  color: rgba(224, 237, 255, 0.84);
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.header-networks a:hover {
  color: #fff;
  filter: drop-shadow(0 0 9px rgba(86, 168, 255, 0.82));
  transform: translateY(-1px);
}

.header-networks svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-cta::before {
  display: none;
}

.header-cta:hover {
  border-color: #ffe2a4;
  box-shadow: inset 0 0 18px rgba(233, 186, 99, 0.13), 0 0 18px rgba(233, 186, 99, 0.28);
}

.astral-hero {
  position: relative;
  min-height: clamp(420px, 28.5vw, 555px);
  isolation: auto;
  overflow: hidden;
  background: url("../img/astral-hero-bg-v2.jpg") center 18% / cover no-repeat;
  border-bottom: 1px solid rgba(96, 176, 255, 0.48);
}

.astral-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 17, 50, 0.09) 0%, rgba(2, 16, 48, 0.08) 28%, rgba(3, 16, 43, 0.15) 56%, rgba(1, 10, 30, 0.12) 100%),
    linear-gradient(180deg, rgba(4, 17, 44, 0.02) 48%, rgba(3, 13, 33, 0.3) 72%, rgba(2, 10, 27, 0.92) 100%);
}

.astral-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 95px;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(2, 10, 29, 0.82));
}

.astral-hero__content {
  position: relative;
  z-index: 12;
  width: min(37.5vw, 540px);
  min-width: 420px;
  margin: 0 auto;
  padding-top: clamp(10px, 1vw, 18px);
  text-align: center;
  transform: translateX(-2vw);
}

.astral-hero__logo {
  width: min(100%, 540px);
  margin: 0 auto;
  filter: drop-shadow(0 8px 22px rgba(0, 19, 67, 0.7)) drop-shadow(0 0 18px rgba(68, 157, 255, 0.5));
}

.astral-hero__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: -2.1rem auto 0;
  color: #f8fbff;
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 0.7rem + 0.35vw, 1.02rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 14, 53, 0.92), 0 0 12px rgba(65, 148, 255, 0.66);
}

.astral-hero__tagline span {
  color: #e8bd6f;
  font-size: 0.85em;
}

.astral-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.astral-hero .btn {
  min-width: 190px;
  min-height: 48px;
  padding: 0 24px;
  gap: 12px;
  font-size: 0.86rem;
  border-color: rgba(105, 188, 255, 0.9);
  background: linear-gradient(180deg, rgba(12, 80, 178, 0.96), rgba(2, 34, 95, 0.98));
  box-shadow: inset 0 0 22px rgba(72, 159, 255, 0.38), 0 0 23px rgba(21, 103, 236, 0.5);
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
}

.astral-hero .btn::before {
  display: none;
}

.astral-hero .btn-gold {
  color: #271500;
  border-color: #fff0bc;
  background: linear-gradient(180deg, #ffe7b0, #d99742);
  box-shadow: inset 0 0 18px rgba(255, 251, 224, 0.68), 0 0 22px rgba(239, 181, 85, 0.55);
}

.astral-hero__motto {
  position: absolute;
  left: clamp(28px, 4.5vw, 80px);
  bottom: clamp(72px, 7vw, 126px);
  display: grid;
  gap: 14px;
  color: white;
  font-family: var(--font-display);
  text-transform: uppercase;
  text-shadow: 0 2px 7px rgba(0, 22, 69, 0.92), 0 0 13px rgba(79, 161, 255, 0.54);
  z-index: 12;
}

.astral-hero__motto strong {
  font-size: clamp(1rem, 0.65rem + 0.75vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.35;
}

.astral-hero__motto span {
  padding-left: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  line-height: 1.55;
}

.astral-hero__signature {
  position: absolute;
  right: clamp(30px, 4.2vw, 76px);
  bottom: clamp(62px, 5.5vw, 96px);
  z-index: 12;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(1.2rem, 1rem + 0.95vw, 2rem);
  font-weight: 400;
  line-height: 1.04;
  text-align: right;
  text-shadow: 0 2px 8px rgba(0, 28, 85, 0.92), 0 0 15px rgba(94, 170, 255, 0.56);
  transform: rotate(-7deg);
}

.realm-status {
  position: relative;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100% - 7vw), 1500px);
  min-height: 64px;
  margin: -32px auto 0;
  padding: 5px 18px;
  background:
    linear-gradient(180deg, rgba(7, 25, 58, 0.97), rgba(3, 14, 36, 0.98)),
    radial-gradient(circle at 50% 0, rgba(60, 142, 255, 0.2), transparent 50%);
  border: 1px solid rgba(225, 179, 98, 0.65);
  border-radius: 18px 18px 8px 8px;
  box-shadow: var(--astral-shadow), inset 0 0 25px rgba(50, 130, 255, 0.08);
}

.realm-status::before,
.realm-status::after {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 22px;
  content: "";
  transform: translateY(-50%);
  background: linear-gradient(180deg, #f6d58f, #84501a);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.realm-status::before { left: -6px; }
.realm-status::after { right: -6px; }

.realm-status article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: 10px 24px;
  border-right: 1px solid rgba(116, 174, 244, 0.2);
}

.realm-status article:last-child {
  border-right: 0;
}

.realm-status__icon {
  color: #dceeff;
  font-size: 1.55rem;
  text-shadow: 0 0 12px rgba(65, 150, 255, 0.95);
}

.realm-status small,
.realm-status strong {
  display: block;
}

.realm-status small {
  color: #aebfd8;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.realm-status strong {
  margin-top: 3px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.realm-status__state.is-online {
  color: #8cff82;
}

.realm-status__state.is-online::before,
.realm-status__state.is-offline::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 11px currentColor;
}

.realm-status__state.is-offline {
  color: #ff8f9a;
}

.astral-hub {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr) minmax(0, 0.92fr);
  gap: 14px;
  width: min(calc(100% - 7vw), 1500px);
  margin: 14px auto 0;
  padding: 0;
}

.astral-hub__news,
.astral-hub__links,
.astral-spotlight {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(90, 157, 238, 0.38);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(7, 26, 59, 0.86), rgba(3, 15, 38, 0.95));
  box-shadow: inset 0 0 26px rgba(43, 124, 226, 0.07), 0 15px 36px rgba(0, 4, 20, 0.3);
}

.astral-hub__news,
.astral-hub__links {
  padding: 16px 14px;
}

.astral-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  padding: 0 5px 12px;
  border-bottom: 1px solid rgba(110, 178, 255, 0.16);
}

.astral-panel-heading h2 {
  margin: 0;
  color: #fff5db;
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.astral-panel-heading a {
  color: #8fc9ff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.astral-news-list {
  display: grid;
}

.astral-news-item {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 91px;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(111, 177, 255, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.astral-news-item:last-child {
  border-bottom: 0;
}

.astral-news-item:hover {
  background: rgba(42, 116, 210, 0.09);
  transform: translateX(2px);
}

.astral-news-item__thumb {
  width: 106px;
  aspect-ratio: 1.55;
  border: 1px solid rgba(218, 178, 104, 0.56);
  border-radius: 5px;
  background: url("../img/astral-hero-bg-v2.jpg") 22% center / cover no-repeat;
  box-shadow: inset 0 0 14px rgba(28, 112, 224, 0.16);
}

.astral-news-item__thumb.news-thumb--two { background-position: 70% 42%; }
.astral-news-item__thumb.news-thumb--three { background-position: 47% 48%; }

.astral-news-item__copy,
.astral-news-item__copy > * {
  display: block;
  min-width: 0;
}

.astral-news-item__meta {
  margin-bottom: 5px;
}

.astral-news-item__meta b {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  margin-right: 9px;
  padding: 0 7px;
  color: #052149;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #79c2ff;
  border-radius: 2px;
}

.astral-news-item__meta time {
  color: #9eb3d0;
  font-size: 0.75rem;
}

.astral-news-item__copy > strong {
  overflow: hidden;
  color: #f7fbff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.astral-news-item__copy > small {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #aebed5;
  font-size: 0.75rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.astral-news-item__arrow {
  color: #c8e6ff;
  font-size: 1.4rem;
}

.astral-spotlight {
  position: relative;
  min-height: 330px;
  isolation: isolate;
  background: url("../img/astral-hero-bg-v2.jpg") 23% center / cover no-repeat;
}

.astral-spotlight::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 17, 47, 0.91), rgba(3, 21, 59, 0.6) 68%, rgba(3, 19, 48, 0.15)),
    linear-gradient(180deg, transparent 42%, rgba(3, 14, 38, 0.82));
}

.astral-spotlight__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 68%;
  height: 100%;
  min-height: 330px;
  padding: 34px;
  text-shadow: 0 2px 7px rgba(0, 8, 31, 0.94);
}

.astral-spotlight__copy p {
  margin: 0 0 7px;
  color: #b9dcff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.astral-spotlight__copy h2 {
  margin: 0;
  color: #fff5dc;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

.astral-spotlight__copy > span {
  margin-top: 10px;
  color: #d6e4f5;
  font-size: 0.8rem;
  line-height: 1.5;
}

.astral-spotlight__copy a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  margin-top: 14px;
  padding: 0 16px;
  color: #fff2cf;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid rgba(236, 192, 111, 0.72);
  border-radius: 2px;
  background: rgba(3, 18, 48, 0.55);
}

.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding-top: 12px;
}

.quick-link-grid a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 10px;
  border: 1px solid rgba(101, 169, 248, 0.25);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(12, 39, 83, 0.62), rgba(4, 20, 48, 0.62));
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.quick-link-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 196, 255, 0.58);
  background: linear-gradient(135deg, rgba(19, 59, 124, 0.72), rgba(5, 26, 66, 0.72));
}

.quick-link-grid i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #deedff;
  font-style: normal;
  font-size: 1.4rem;
  border-radius: 6px;
  background: radial-gradient(circle, rgba(41, 111, 220, 0.48), rgba(12, 43, 95, 0.72));
  box-shadow: inset 0 0 18px rgba(78, 160, 255, 0.2), 0 0 14px rgba(33, 111, 226, 0.12);
  text-shadow: 0 0 10px rgba(86, 169, 255, 0.9);
}

.quick-link-grid span,
.quick-link-grid strong,
.quick-link-grid small {
  display: block;
  min-width: 0;
}

.quick-link-grid strong {
  color: #f6f9ff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quick-link-grid small {
  margin-top: 4px;
  color: #aabbd2;
  font-size: 0.75rem;
  line-height: 1.25;
}

.quick-link-grid b {
  color: #cae7ff;
  font-size: 1.1rem;
  font-weight: 400;
}

.astral-values {
  width: min(calc(100% - 7vw), 1500px);
  margin: 16px auto 0;
  padding: 0 0 12px;
  border-top: 1px solid rgba(99, 165, 243, 0.24);
  border-bottom: 1px solid rgba(103, 174, 255, 0.34);
}

.astral-values > h2 {
  width: max-content;
  max-width: 100%;
  margin: -9px auto 8px;
  padding: 0 28px;
  color: #fff2d1;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-align: center;
  text-transform: uppercase;
  background: #031027;
}

.astral-values > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.astral-values article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  padding: 10px 18px;
  border-right: 1px solid rgba(103, 170, 247, 0.14);
}

.astral-values article:last-child {
  border-right: 0;
}

.astral-values i {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  color: #dcedff;
  font-style: normal;
  font-size: 1.15rem;
  border: 1px solid #e4b96e;
  border-radius: 50% 50% 46% 54%;
  background: rgba(12, 52, 113, 0.72);
  box-shadow: inset 0 0 14px rgba(62, 148, 255, 0.3), 0 0 12px rgba(39, 121, 231, 0.16);
}

.astral-values span,
.astral-values strong,
.astral-values small {
  display: block;
}

.astral-values strong {
  color: #edf5ff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.astral-values small {
  margin-top: 4px;
  color: #a8bad2;
  font-size: 0.75rem;
}

/* Inner pages */
.page-main {
  min-height: calc(100vh - 66px);
}

.inner-page .page-hero,
.inner-page .page-hero--compact {
  min-height: 390px;
  padding: clamp(62px, 7vw, 108px) clamp(28px, 8vw, 150px) 52px;
  background: url("../img/astral-hero-bg-v2.jpg") center 43% / cover no-repeat;
  border-bottom: 1px solid rgba(86, 162, 255, 0.38);
}

.inner-page .page-hero::before {
  background:
    linear-gradient(90deg, rgba(2, 11, 30, 0.88) 0%, rgba(4, 20, 54, 0.66) 44%, rgba(3, 18, 48, 0.22) 74%),
    linear-gradient(180deg, rgba(3, 15, 39, 0.08), rgba(2, 10, 29, 0.86));
}

.inner-page .page-hero h1 {
  color: #f8fbff;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  text-shadow: 0 2px 2px #071633, 0 0 28px rgba(72, 156, 255, 0.5);
}

.inner-page .page-hero .eyebrow {
  color: #bfe2ff;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.35rem);
}

.inner-page .page-hero .intro {
  max-width: 680px;
  color: #d5e3f5;
}

.inner-page .rune-divider::before,
.inner-page .rune-divider::after {
  background: linear-gradient(90deg, transparent, rgba(121, 194, 255, 0.92));
  box-shadow: 0 0 14px rgba(67, 157, 255, 0.7);
}

.inner-page .rune-divider::after {
  background: linear-gradient(90deg, rgba(121, 194, 255, 0.92), transparent);
}

.inner-page .rune-divider span {
  border-color: #b5ddff;
  background: #3f9df5;
  box-shadow: 0 0 13px rgba(68, 164, 255, 0.86);
}

.page-sigil--logo {
  width: min(100%, 410px);
  padding: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(0, 13, 48, 0.7)) drop-shadow(0 0 14px rgba(61, 145, 255, 0.34));
}

.content-band {
  width: min(calc(100% - 56px), 1460px);
}

.forge-card,
.auth-panel,
.download-card,
.ranking-panel,
.requirements-panel,
.support-panel,
.ranking-season-card,
.faq-quick-card,
.feature-callout,
.news-article,
.donation-packages-card,
.donation-method-card,
.donation-history-card {
  background:
    linear-gradient(145deg, rgba(8, 31, 70, 0.94), rgba(3, 16, 40, 0.95)),
    radial-gradient(circle at 92% 0, rgba(58, 139, 255, 0.16), transparent 22rem);
  border-color: rgba(94, 166, 250, 0.4);
  border-radius: 8px;
  box-shadow: inset 0 0 30px rgba(48, 125, 231, 0.05), var(--astral-shadow);
}

.forge-card::before,
.auth-panel::before,
.download-card::before,
.ranking-panel::before,
.requirements-panel::before,
.support-panel::before,
.ranking-season-card::before,
.faq-quick-card::before,
.feature-callout::before,
.news-article::before {
  border-color: rgba(225, 180, 99, 0.14);
  border-radius: 5px;
}

.forge-card h2,
.auth-panel h2,
.download-card h2,
.support-panel h2,
.feature-callout h2,
.news-article h2,
.requirements-panel h3,
.ranking-season-card strong,
.faq-quick-card strong {
  color: #fff4d9;
}

.panel-kicker,
.card-index,
.ranking-season-card span,
.faq-quick-card span,
.text-link,
.ranking-table th {
  color: #94cfff;
  text-shadow: 0 0 10px rgba(71, 155, 255, 0.36);
}

.ranking-table th,
.ranking-table td {
  border-bottom-color: rgba(104, 172, 250, 0.18);
}

.auth-form input,
.auth-form select,
.auth-form textarea,
.ranking-toolbar select,
.donation-shell input,
.donation-shell select,
.donation-shell textarea {
  color: #eef6ff;
  background: rgba(2, 13, 34, 0.72);
  border-color: rgba(92, 164, 247, 0.36);
}

.btn-primary {
  color: #f5f9ff;
  background: linear-gradient(180deg, #176dcc, #073272);
  border-color: rgba(116, 198, 255, 0.9);
  box-shadow: inset 0 0 18px rgba(88, 174, 255, 0.28), 0 0 21px rgba(35, 118, 232, 0.33);
}

.btn-primary::before {
  background: linear-gradient(90deg, rgba(18, 76, 154, 0.86), rgba(38, 118, 222, 0.76), rgba(13, 60, 132, 0.88));
}

.btn-ghost {
  color: #d9ebff;
  border-color: rgba(105, 179, 255, 0.42);
  background: rgba(4, 21, 52, 0.66);
}

/* Footer */
.site-footer.footer-forge {
  width: 100%;
  max-width: none;
  margin-top: 14px;
  padding: 0 clamp(24px, 5vw, 82px);
  border-top: 1px solid rgba(87, 165, 255, 0.52);
  background:
    linear-gradient(90deg, rgba(4, 18, 43, 0.97), rgba(3, 13, 33, 0.98)),
    radial-gradient(circle at 50% 0, rgba(50, 130, 244, 0.15), transparent 32rem);
  box-shadow: inset 0 1px 0 rgba(229, 184, 103, 0.22);
}

.site-footer.footer-forge::before {
  display: none;
}

.astral-footer__main {
  display: grid;
  grid-template-columns: minmax(150px, 230px) 1fr minmax(150px, 230px);
  align-items: center;
  gap: 30px;
  min-height: 112px;
}

.astral-footer__brand img {
  width: 190px;
  margin: -22px 0;
  filter: drop-shadow(0 5px 12px rgba(0, 11, 45, 0.8)) drop-shadow(0 0 10px rgba(51, 139, 255, 0.34));
}

.astral-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}

.astral-footer__nav a,
.footer-forge__bar {
  color: #adbed7;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.astral-footer__nav a:hover {
  color: #fff;
}

.astral-footer__motto {
  margin: 0;
  color: #bcd9fa;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}

.footer-forge__bar {
  min-height: 42px;
  padding: 12px 0;
  border-top-color: rgba(103, 171, 249, 0.16);
}

@media (max-width: 1250px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__hero-character {
    top: -4px;
    width: 100vw;
  }

  .header-networks {
    display: none;
  }

  .main-nav {
    gap: 0.9rem;
  }

  .astral-hero__content {
    width: min(43vw, 520px);
    transform: translateX(-3vw);
  }

  .astral-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astral-spotlight {
    order: -1;
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .astral-spotlight__copy {
    min-height: 300px;
  }

  .astral-values > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-page .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 8px 20px;
  }

  .site-header__hero-character,
  .header-actions {
    display: none;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand__name {
    display: block;
  }

  .burger {
    width: 42px;
    height: 42px;
    border-color: rgba(111, 185, 255, 0.42);
    background: rgba(5, 25, 58, 0.88);
  }

  .nav-toggle {
    top: 23px;
    right: 30px;
  }

  .main-nav {
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    border-color: rgba(101, 177, 255, 0.4);
    background: rgba(3, 15, 38, 0.985);
  }

  .site-header > .main-nav {
    position: absolute;
  }

  .main-nav a {
    padding: 15px 14px;
  }

  .astral-hero {
    min-height: 560px;
    background-position: 42% 18%;
  }

  .astral-hero__content {
    width: min(72vw, 590px);
    min-width: 0;
    padding-top: 130px;
    transform: none;
  }

  .astral-hero__motto,
  .astral-hero__signature {
    display: none;
  }

  .realm-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100% - 32px), 760px);
    margin-top: -30px;
  }

  .realm-status article:nth-child(2) {
    border-right: 0;
  }

  .realm-status article:nth-child(-n+2) {
    border-bottom: 1px solid rgba(116, 174, 244, 0.2);
  }

  .astral-hub,
  .astral-values {
    width: min(calc(100% - 32px), 760px);
  }

  .astral-hub {
    grid-template-columns: 1fr;
  }

  .astral-spotlight,
  .astral-spotlight__copy {
    min-height: 320px;
  }

  .astral-values > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astral-values article:nth-child(2n) {
    border-right: 0;
  }

  .inner-page .page-hero,
  .inner-page .page-hero--compact {
    grid-template-columns: 1fr;
    min-height: 420px;
    padding: 64px 24px 44px;
    background-position: 44% center;
  }

  .page-sigil {
    display: none;
  }

  .astral-footer__main {
    grid-template-columns: 180px 1fr;
  }

  .astral-footer__motto {
    display: none;
  }
}

@media (max-width: 680px) {
  .brand__name {
    max-width: 130px;
    font-size: 0.75rem;
  }

  .astral-hero {
    min-height: 500px;
    background-position: 40% 18%;
  }

  .astral-hero::before {
    background:
      linear-gradient(90deg, rgba(2, 16, 45, 0.26), rgba(2, 15, 43, 0.12)),
      linear-gradient(180deg, rgba(3, 16, 43, 0.04) 35%, rgba(2, 11, 31, 0.92) 88%);
  }

  .astral-hero__content {
    width: min(92vw, 540px);
    padding: 132px 18px 0;
  }

  .astral-hero__logo {
    width: min(100%, 470px);
  }

  .astral-hero__tagline {
    margin-top: -1.6rem;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
  }

  .astral-hero__actions {
    width: min(100%, 350px);
    margin: 22px auto 0;
  }

  .astral-hero .btn {
    min-width: 0;
    min-height: 48px;
    padding: 0 16px;
    font-size: 0.78rem;
  }

  .realm-status {
    padding-inline: 8px;
    border-radius: 12px 12px 7px 7px;
  }

  .realm-status article {
    justify-content: flex-start;
    gap: 10px;
    padding: 10px;
  }

  .realm-status__icon {
    font-size: 1.25rem;
  }

  .realm-status small {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .realm-status strong {
    font-size: 0.85rem;
  }

  .astral-news-item {
    grid-template-columns: 82px minmax(0, 1fr) auto;
  }

  .astral-news-item__thumb {
    width: 82px;
  }

  .astral-spotlight,
  .astral-spotlight__copy {
    min-height: 300px;
  }

  .astral-spotlight__copy {
    width: 82%;
    padding: 24px;
  }

  .quick-link-grid {
    grid-template-columns: 1fr;
  }

  .astral-values > div {
    grid-template-columns: 1fr;
  }

  .astral-values article,
  .astral-values article:nth-child(2n) {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(103, 170, 247, 0.14);
  }

  .astral-values article:last-child {
    border-bottom: 0;
  }

  .content-band {
    width: min(calc(100% - 28px), 1460px);
  }

  .site-footer.footer-forge {
    padding-inline: 18px;
  }

  .astral-footer__main {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 0;
  }

  .astral-footer__brand img {
    width: 170px;
    margin: -26px 0;
  }

  .astral-footer__nav {
    gap: 12px 18px;
  }

  .footer-forge__bar {
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 2026 visual finishing pass ------------------------------------------------ */
.page-shell {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  border-right: 1px solid rgba(112, 179, 255, 0.14);
  border-left: 1px solid rgba(112, 179, 255, 0.14);
  box-shadow: 0 0 80px rgba(0, 5, 22, 0.64);
}

.home-page .site-header {
  min-height: 58px;
  background:
    linear-gradient(90deg, rgba(2, 11, 30, 0.99), rgba(7, 24, 58, 0.95) 48%, rgba(2, 10, 28, 0.99)),
    radial-gradient(circle at 72% -20%, rgba(63, 143, 255, 0.28), transparent 26rem);
  border-bottom-color: rgba(130, 195, 255, 0.56);
  box-shadow:
    0 10px 32px rgba(0, 6, 25, 0.52),
    inset 0 -1px 0 rgba(245, 203, 124, 0.28),
    inset 0 1px 0 rgba(188, 225, 255, 0.07);
}

.home-page .site-header::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  z-index: 2;
  height: 3px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent 4%, rgba(63, 144, 255, 0.28) 22%, rgba(178, 222, 255, 0.78) 50%, rgba(218, 169, 82, 0.4) 76%, transparent 96%);
  filter: drop-shadow(0 0 8px rgba(67, 158, 255, 0.68));
}

.site-header__hero-character-frame {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(58px + clamp(410px, 27vw, 485px));
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.site-header__hero-character {
  top: clamp(-28px, calc(40px - 3.55vw), -8px);
  right: clamp(8px, 1vw, 18px);
  width: 100%;
  max-width: 1920px;
  filter:
    drop-shadow(-20px 15px 28px rgba(0, 12, 47, 0.52))
    drop-shadow(-3px 0 10px rgba(64, 147, 255, 0.2))
    saturate(0.97)
    contrast(1.025);
  transform-origin: 82% 18%;
  animation: none;
}

@keyframes astral-character-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

.home-page .brand img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 9px rgba(87, 174, 255, 0.72));
}

.main-nav a {
  font-weight: 600;
  text-shadow: 0 1px 5px rgba(0, 5, 20, 0.85);
}

.header-cta {
  position: relative;
  min-width: 92px;
  min-height: 40px;
  overflow: hidden;
  color: #fff0cb;
  background:
    linear-gradient(180deg, rgba(21, 39, 70, 0.98), rgba(4, 13, 31, 0.99));
  border-color: rgba(241, 198, 116, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 242, 206, 0.04),
    inset 0 0 22px rgba(234, 181, 86, 0.08),
    0 7px 22px rgba(0, 5, 23, 0.42);
}

.header-cta::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -65%;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 239, 196, 0.2), transparent);
  transform: skewX(-18deg);
  transition: left 360ms ease;
}

.header-cta:hover::after {
  left: 120%;
}

.astral-hero {
  min-height: clamp(410px, 27vw, 485px);
  background-position: center 48%;
  border-bottom-color: rgba(104, 183, 255, 0.62);
  box-shadow: inset 0 -26px 60px rgba(1, 7, 23, 0.3);
}

.astral-hero::before {
  background:
    radial-gradient(ellipse at 48% 33%, rgba(5, 29, 75, 0.04) 0%, rgba(2, 13, 39, 0.2) 38%, transparent 62%),
    linear-gradient(90deg, rgba(2, 13, 38, 0.14) 0%, rgba(2, 14, 42, 0.02) 28%, rgba(4, 19, 53, 0.09) 56%, rgba(1, 9, 27, 0.2) 100%),
    linear-gradient(180deg, rgba(2, 11, 31, 0.03) 45%, rgba(3, 13, 34, 0.35) 73%, rgba(2, 9, 26, 0.96) 100%);
}

.astral-hero::after {
  height: 108px;
  background:
    linear-gradient(180deg, transparent, rgba(2, 10, 28, 0.42) 42%, rgba(2, 9, 25, 0.94)),
    linear-gradient(90deg, transparent 10%, rgba(61, 154, 255, 0.14) 50%, transparent 90%);
}

.astral-hero__content {
  width: min(39vw, 540px);
  min-width: 420px;
  padding-top: 8px;
  transform: none;
}

.astral-hero__logo {
  width: min(100%, 520px);
  filter:
    drop-shadow(0 12px 24px rgba(0, 13, 54, 0.78))
    drop-shadow(0 0 20px rgba(62, 149, 255, 0.42));
}

.astral-hero__tagline {
  position: relative;
  width: min(100%, 500px);
  margin-top: -1.9rem;
  font-size: clamp(0.78rem, 0.7rem + 0.27vw, 0.96rem);
  letter-spacing: 0.34em;
  text-shadow: 0 2px 7px rgba(0, 9, 37, 0.98), 0 0 14px rgba(76, 163, 255, 0.54);
}

.astral-hero__tagline::before,
.astral-hero__tagline::after {
  width: clamp(24px, 3vw, 52px);
  height: 1px;
  flex: 0 1 auto;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(233, 190, 107, 0.9));
  box-shadow: 0 0 8px rgba(66, 157, 255, 0.55);
}

.astral-hero__tagline::after {
  background: linear-gradient(90deg, rgba(233, 190, 107, 0.9), transparent);
}

.astral-hero__actions {
  gap: 18px;
  margin-top: 16px;
}

.astral-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 202px;
  min-width: 202px;
  min-height: 48px;
  padding: 0 22px;
  overflow: hidden;
  color: #f6fbff;
  text-align: center;
  border: 1px solid rgba(125, 199, 255, 0.92);
  border-radius: 4px;
  clip-path: none;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.astral-cta::before {
  display: none;
}

.astral-cta::after {
  display: none;
}

.astral-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.astral-cta--blue {
  border-color: rgba(92, 170, 255, 0.94);
  background: linear-gradient(180deg, #1368ca 0%, #063a8d 100%);
  box-shadow: inset 0 1px 0 rgba(225, 244, 255, 0.32), inset 0 -8px 16px rgba(0, 22, 72, 0.16), 0 4px 12px rgba(0, 24, 72, 0.38), 0 0 12px rgba(49, 135, 255, 0.2);
}

.astral-cta--gold {
  color: #241606;
  border-color: #e6bc72;
  background: linear-gradient(180deg, #f7d998 0%, #d69b4d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 240, 0.78), inset 0 -8px 16px rgba(119, 65, 8, 0.08), 0 4px 12px rgba(57, 31, 4, 0.32), 0 0 12px rgba(228, 167, 72, 0.16);
}

.astral-cta--gold:hover {
  color: #1c0e00;
}

.astral-cta__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.astral-cta--gold .astral-cta__icon {
  border: 0;
  background: transparent;
}

.astral-cta__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astral-cta__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.astral-cta__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.astral-cta__copy small {
  color: currentColor;
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0.72;
}

.astral-cta__copy strong {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.astral-cta__spark {
  position: relative;
  z-index: 1;
  color: currentColor;
  font-size: 0.7rem;
  opacity: 0.7;
}

.astral-hero__motto {
  bottom: clamp(44px, 3.5vw, 64px);
  padding-left: 18px;
}

.astral-hero__motto::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, transparent, #f2c979 24%, #70b9ff 72%, transparent);
  box-shadow: 0 0 9px rgba(73, 159, 255, 0.6);
}

.astral-hero__motto span {
  color: #d5e6fa;
}

.astral-hero__signature {
  display: none;
}

.realm-status {
  width: min(calc(100% - 7vw), 1480px);
  min-height: 60px;
  margin-top: -33px;
  padding: 3px 22px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(45, 125, 237, 0.2), transparent 52%),
    linear-gradient(180deg, rgba(8, 30, 68, 0.98), rgba(2, 13, 34, 0.99));
  border-color: rgba(232, 186, 102, 0.72);
  border-radius: 14px 14px 6px 6px;
  box-shadow:
    0 18px 42px rgba(0, 4, 20, 0.48),
    inset 0 0 34px rgba(51, 139, 255, 0.1),
    inset 0 1px 0 rgba(201, 227, 255, 0.08);
}

.realm-status article {
  gap: 14px;
  padding: 6px clamp(13px, 1.6vw, 28px);
}

.realm-status__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #dcefff;
  border: 1px solid rgba(122, 193, 255, 0.34);
  background: radial-gradient(circle at 35% 25%, rgba(73, 161, 255, 0.36), rgba(5, 32, 78, 0.44));
  box-shadow: inset 0 0 16px rgba(64, 152, 255, 0.18), 0 0 14px rgba(44, 128, 237, 0.16);
  transform: rotate(45deg);
}

.realm-status__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(91, 181, 255, 0.7));
  transform: rotate(-45deg);
}

.realm-status small {
  color: #b8cae3;
  font-size: 0.72rem;
}

.realm-status strong {
  font-weight: 600;
}

.astral-hub,
.astral-values {
  width: min(calc(100% - 7vw), 1480px);
}

.astral-hub {
  grid-template-columns: minmax(0, 0.96fr) minmax(350px, 1.08fr) minmax(0, 0.96fr);
  gap: 16px;
  margin-top: 17px;
}

.astral-hub__news,
.astral-hub__links,
.astral-spotlight {
  border-color: rgba(98, 171, 255, 0.43);
  border-radius: 11px;
  background:
    radial-gradient(circle at 12% 0, rgba(49, 129, 237, 0.12), transparent 18rem),
    linear-gradient(155deg, rgba(8, 31, 70, 0.93), rgba(2, 14, 35, 0.97));
  box-shadow:
    inset 0 0 0 1px rgba(214, 233, 255, 0.02),
    inset 0 0 32px rgba(48, 128, 234, 0.06),
    0 17px 40px rgba(0, 4, 19, 0.34);
}

.astral-hub__news,
.astral-hub__links {
  position: relative;
  padding: 12px 13px;
}

.astral-hub__news::after,
.astral-hub__links::after {
  position: absolute;
  inset: 7px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(229, 190, 118, 0.08);
  border-radius: 7px;
}

.astral-panel-heading {
  padding-inline: 8px;
}

.astral-panel-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.astral-panel-heading h2::before {
  width: 7px;
  height: 7px;
  content: "";
  background: linear-gradient(135deg, #fff0bd, #c0802e);
  box-shadow: 0 0 9px rgba(80, 166, 255, 0.62);
  transform: rotate(45deg);
}

.astral-panel-heading a {
  position: relative;
  z-index: 2;
  font-weight: 600;
}

.astral-news-item {
  position: relative;
  z-index: 1;
  min-height: 82px;
  padding: 5px 7px;
  border-bottom-color: rgba(114, 180, 255, 0.2);
  border-radius: 6px;
}

.astral-news-item:hover {
  background: linear-gradient(90deg, rgba(40, 116, 216, 0.17), rgba(23, 77, 159, 0.04));
  box-shadow: inset 2px 0 0 rgba(232, 187, 104, 0.74);
}

.astral-news-item__thumb {
  border-color: rgba(230, 190, 112, 0.72);
  border-radius: 7px;
  box-shadow: inset 0 0 14px rgba(28, 112, 224, 0.14), 0 5px 14px rgba(0, 6, 24, 0.32);
}

.astral-news-item__meta b {
  min-height: 18px;
  color: #061c3d;
  font-weight: 700;
  background: linear-gradient(180deg, #b8e8ff, #61b9f6);
}

.astral-spotlight {
  min-height: 310px;
  background: url("../img/astral-hero-bg-v2.jpg") 26% 48% / cover no-repeat;
}

.astral-spotlight::before {
  background:
    linear-gradient(90deg, rgba(3, 14, 40, 0.94), rgba(3, 20, 57, 0.67) 64%, rgba(3, 18, 47, 0.18)),
    linear-gradient(180deg, rgba(2, 10, 29, 0.02) 35%, rgba(2, 12, 34, 0.91));
}

.astral-spotlight::after {
  position: absolute;
  inset: 7px;
  z-index: 1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(232, 190, 111, 0.2);
  border-radius: 7px;
}

.astral-spotlight__copy {
  position: relative;
  z-index: 2;
  min-height: 310px;
  padding: 30px;
}

.astral-spotlight__copy a {
  position: relative;
  min-height: 38px;
  padding: 0 19px;
  border-color: rgba(242, 203, 128, 0.88);
  background: linear-gradient(180deg, rgba(14, 43, 86, 0.9), rgba(3, 17, 44, 0.94));
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  box-shadow: inset 0 0 16px rgba(71, 152, 255, 0.12), 0 7px 18px rgba(0, 7, 29, 0.33);
  transition: transform 180ms ease, background 180ms ease;
}

.astral-spotlight__copy a:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(25, 69, 133, 0.94), rgba(5, 29, 73, 0.96));
  transform: translateY(-2px);
}

.quick-link-grid {
  gap: 7px;
  padding-top: 8px;
}

.quick-link-grid a {
  position: relative;
  z-index: 1;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  min-height: 66px;
  padding: 8px 10px;
  overflow: hidden;
  border-color: rgba(104, 175, 255, 0.3);
  border-radius: 9px;
  background:
    radial-gradient(circle at 15% 12%, rgba(53, 139, 250, 0.15), transparent 52%),
    linear-gradient(135deg, rgba(13, 43, 91, 0.7), rgba(3, 17, 43, 0.78));
  box-shadow: inset 0 0 18px rgba(52, 132, 238, 0.03);
}

.quick-link-grid a::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(237, 194, 114, 0.7));
}

.quick-link-grid a:hover {
  border-color: rgba(132, 204, 255, 0.7);
  background:
    radial-gradient(circle at 16% 12%, rgba(65, 157, 255, 0.28), transparent 54%),
    linear-gradient(135deg, rgba(20, 62, 128, 0.82), rgba(4, 23, 58, 0.86));
  box-shadow: inset 0 0 22px rgba(66, 149, 255, 0.08), 0 8px 20px rgba(0, 7, 27, 0.28);
}

.quick-link-grid i {
  width: 42px;
  height: 42px;
  color: #e3f2ff;
  border: 1px solid rgba(137, 202, 255, 0.48);
  border-radius: 4px;
  background: radial-gradient(circle at 35% 25%, rgba(72, 162, 255, 0.48), rgba(8, 38, 90, 0.84));
  transform: rotate(45deg) scale(0.82);
}

.quick-link-grid i svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(101, 190, 255, 0.7));
  transform: rotate(-45deg) scale(1.18);
}

.quick-link-grid a:last-child i svg {
  fill: currentColor;
  stroke: none;
}

.quick-link-grid strong {
  font-weight: 600;
}

.quick-link-grid b {
  color: #e8c57e;
}

.astral-values {
  margin-top: 16px;
  padding-bottom: 6px;
  border-top-color: rgba(112, 182, 255, 0.35);
  border-bottom-color: rgba(111, 187, 255, 0.42);
  background: linear-gradient(180deg, rgba(8, 29, 64, 0.18), rgba(2, 13, 34, 0));
}

.astral-values > h2 {
  padding: 0 32px;
  font-weight: 600;
  background: #030f25;
}

.astral-values article {
  min-height: 56px;
  padding: 6px 14px;
}

.astral-values i {
  width: 42px;
  height: 42px;
  border-color: rgba(235, 193, 112, 0.9);
  border-radius: 0;
  background: radial-gradient(circle at 35% 25%, rgba(57, 145, 255, 0.42), rgba(6, 35, 83, 0.86));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.astral-values strong {
  font-weight: 600;
}

.site-footer.footer-forge {
  margin-top: 10px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(52, 136, 246, 0.16), transparent 34rem),
    linear-gradient(90deg, rgba(4, 19, 46, 0.99), rgba(2, 12, 31, 0.99));
}

.astral-footer__main {
  min-height: 60px;
}

.astral-footer__brand img {
  width: 140px;
  margin-block: -22px;
}

.footer-forge__bar {
  min-height: 26px;
  padding-block: 6px;
}

@media (max-width: 1250px) {
  .site-header__hero-character {
    top: -8px;
    right: clamp(8px, 1vw, 18px);
    width: 100%;
  }

  .astral-hero__content {
    width: min(44vw, 520px);
    min-width: 430px;
    transform: none;
  }

  .realm-status__icon {
    width: 34px;
    height: 34px;
  }

  .realm-status article {
    padding-inline: 11px;
  }

  .astral-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .astral-spotlight {
    order: -1;
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .site-header__hero-character-frame {
    display: none;
  }

  .site-header__hero-character {
    display: none;
  }

  .astral-hero {
    min-height: 575px;
    background-position: 32% 48%;
  }

  .astral-hero__content {
    width: min(76vw, 600px);
    min-width: 0;
    padding-top: 118px;
    transform: none;
  }

  .astral-hero__motto {
    display: none;
  }

  .realm-status {
    width: min(calc(100% - 32px), 760px);
  }

  .astral-hub,
  .astral-values {
    width: min(calc(100% - 32px), 760px);
  }

  .astral-hub {
    grid-template-columns: 1fr;
  }

  .astral-spotlight {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .astral-hero {
    min-height: 530px;
    background-position: 30% 48%;
  }

  .astral-hero__content {
    width: min(94vw, 560px);
    padding-top: 120px;
  }

  .astral-hero__tagline {
    margin-top: -1.8rem;
    letter-spacing: 0.18em;
  }

  .astral-hero__tagline::before,
  .astral-hero__tagline::after {
    display: none;
  }

  .astral-hero__actions {
    width: min(100%, 410px);
    gap: 9px;
    padding: 0 6px;
  }

  .astral-cta {
    flex: 1 1 0;
    width: auto;
    gap: 8px;
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
  }

  .astral-cta__icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .astral-cta__icon svg {
    width: 18px;
    height: 18px;
  }

  .astral-cta__label {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .realm-status {
    margin-top: -29px;
    padding-inline: 8px;
  }

  .realm-status__icon {
    width: 31px;
    height: 31px;
  }

  .realm-status__icon svg {
    width: 17px;
    height: 17px;
  }

  .astral-hub__news,
  .astral-hub__links {
    padding: 14px 11px;
  }

  .astral-spotlight__copy {
    width: 84%;
    padding: 27px;
  }
}

@media (max-width: 420px) {
  .astral-hero__actions {
    width: min(100%, 360px);
  }

  .astral-cta {
    gap: 6px;
    padding-inline: 9px;
  }

  .astral-cta__label {
    font-size: 0.72rem;
  }
}

/* 2026 presentation refinement: full-bleed stage, unified CTAs and footer --- */
.page-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border: 0;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(31, 104, 218, 0.14), transparent 52rem),
    radial-gradient(ellipse at 8% 50%, rgba(20, 66, 139, 0.1), transparent 40rem),
    radial-gradient(ellipse at 92% 56%, rgba(15, 67, 151, 0.09), transparent 42rem),
    linear-gradient(180deg, #05132d 0%, #020a1b 56%, #020817 100%);
  box-shadow: none;
}

.home-page .site-header::after {
  z-index: 0;
  opacity: 0.72;
}

.site-header__hero-character-frame {
  right: auto;
  left: 50%;
  width: min(100%, 1920px);
  transform: translateX(-50%);
}

.astral-hero {
  border-bottom: 0;
}

.realm-status article {
  position: relative;
  border-right: 0;
}

.realm-status article:not(:last-child)::after {
  position: absolute;
  top: 11px;
  right: 0;
  bottom: 11px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(117, 184, 255, 0.3) 26%, rgba(231, 190, 113, 0.2) 74%, transparent);
}

.astral-cta,
.header-cta,
.astral-spotlight__copy .astral-secondary-cta,
.astral-footer__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 5px;
  clip-path: none;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.astral-cta::before,
.header-cta::before,
.astral-spotlight__copy .astral-secondary-cta::before,
.astral-footer__cta::before {
  position: absolute;
  top: 1px;
  right: 11px;
  left: 11px;
  z-index: 2;
  display: block;
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  border: 0;
  border-radius: 0;
  opacity: 0.8;
}

.astral-cta::after,
.header-cta::after,
.astral-spotlight__copy .astral-secondary-cta::after,
.astral-footer__cta::after {
  position: absolute;
  top: -60%;
  bottom: auto;
  left: -48%;
  z-index: 0;
  display: block;
  width: 34%;
  height: 220%;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: left 420ms ease;
}

.astral-cta:hover::after,
.header-cta:hover::after,
.astral-spotlight__copy .astral-secondary-cta:hover::after,
.astral-footer__cta:hover::after {
  left: 118%;
}

.astral-cta:hover,
.header-cta:hover,
.astral-spotlight__copy .astral-secondary-cta:hover,
.astral-footer__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.astral-cta {
  width: 210px;
  min-width: 210px;
  min-height: 50px;
  gap: 10px;
  padding: 0 22px;
  border-width: 1px;
  border-style: solid;
}

.astral-cta--gold {
  color: #241303;
  border-color: #f4ce83;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 42%),
    linear-gradient(135deg, #f8dfa5 0%, #e6b45d 52%, #c98235 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 238, 0.78),
    inset 0 -11px 18px rgba(112, 55, 5, 0.1),
    0 0 0 1px rgba(104, 57, 12, 0.2),
    0 8px 20px rgba(47, 24, 2, 0.38),
    0 0 18px rgba(235, 178, 79, 0.16);
}

.astral-cta--gold:hover {
  color: #160a00;
  border-color: #ffe3a9;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 240, 0.86),
    inset 0 -11px 18px rgba(112, 55, 5, 0.08),
    0 0 0 1px rgba(104, 57, 12, 0.2),
    0 10px 23px rgba(47, 24, 2, 0.42),
    0 0 22px rgba(242, 189, 94, 0.28);
}

.astral-cta--blue {
  color: #f5fbff;
  border-color: #68b4ff;
  background:
    linear-gradient(180deg, rgba(214, 240, 255, 0.15), transparent 42%),
    linear-gradient(135deg, #1977d8 0%, #0b4ca8 54%, #052e78 100%);
  box-shadow:
    inset 0 1px 0 rgba(225, 245, 255, 0.36),
    inset 0 -12px 20px rgba(0, 18, 66, 0.2),
    0 0 0 1px rgba(2, 25, 71, 0.35),
    0 8px 20px rgba(0, 20, 66, 0.44),
    0 0 19px rgba(40, 132, 250, 0.2);
}

.astral-cta--blue:hover {
  border-color: #9cd2ff;
  box-shadow:
    inset 0 1px 0 rgba(232, 249, 255, 0.46),
    inset 0 -12px 20px rgba(0, 18, 66, 0.16),
    0 0 0 1px rgba(2, 25, 71, 0.34),
    0 10px 24px rgba(0, 20, 66, 0.46),
    0 0 25px rgba(54, 148, 255, 0.32);
}

.astral-cta__icon {
  width: 27px;
  height: 26px;
  flex: 0 0 27px;
  margin-left: -3px;
  padding-right: 10px;
  box-sizing: content-box;
  border-right: 1px solid rgba(223, 241, 255, 0.3);
}

.astral-cta--gold .astral-cta__icon {
  border-right: 1px solid rgba(72, 37, 4, 0.25);
}

.astral-cta__label,
.astral-cta__icon,
.astral-spotlight__copy .astral-secondary-cta > span,
.astral-footer__cta > span {
  position: relative;
  z-index: 1;
}

.header-cta {
  min-width: 98px;
  min-height: 40px;
  gap: 8px;
  padding: 0 20px;
  color: #fff0ca;
  border: 1px solid rgba(237, 193, 108, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 235, 189, 0.08), transparent 44%),
    linear-gradient(135deg, rgba(18, 39, 74, 0.98), rgba(4, 15, 37, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 212, 0.14),
    inset 0 -10px 17px rgba(0, 6, 22, 0.2),
    0 7px 18px rgba(0, 5, 24, 0.4),
    0 0 16px rgba(224, 169, 72, 0.1);
}

.header-cta:hover {
  color: #fff8e6;
  border-color: #ffe0a0;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 212, 0.2),
    inset 0 -10px 17px rgba(0, 6, 22, 0.16),
    0 9px 22px rgba(0, 5, 24, 0.46),
    0 0 20px rgba(232, 182, 87, 0.2);
}

.astral-spotlight__copy .astral-secondary-cta,
.astral-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 20px;
  color: #fff1ca;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid rgba(235, 191, 106, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 236, 193, 0.07), transparent 46%),
    linear-gradient(135deg, rgba(18, 48, 95, 0.96), rgba(3, 18, 47, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 212, 0.12),
    inset 0 -10px 17px rgba(0, 7, 27, 0.18),
    0 7px 18px rgba(0, 7, 29, 0.34),
    0 0 15px rgba(66, 145, 245, 0.12);
}

.astral-spotlight__copy .astral-secondary-cta {
  margin-top: 16px;
}

.astral-spotlight__copy .astral-secondary-cta:hover,
.astral-footer__cta:hover {
  color: #fff;
  border-color: #f6cf83;
  background:
    linear-gradient(180deg, rgba(255, 238, 197, 0.1), transparent 46%),
    linear-gradient(135deg, rgba(25, 66, 128, 0.98), rgba(5, 28, 70, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 212, 0.16),
    inset 0 -10px 17px rgba(0, 7, 27, 0.14),
    0 9px 22px rgba(0, 7, 29, 0.4),
    0 0 20px rgba(66, 153, 255, 0.2);
}

/* Rebuilt footer --------------------------------------------------------- */
.site-footer.astral-footer {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 24px 0 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid rgba(99, 176, 255, 0.42);
  background:
    radial-gradient(ellipse at 50% -15%, rgba(48, 135, 250, 0.22), transparent 36rem),
    radial-gradient(circle at 10% 65%, rgba(28, 89, 184, 0.12), transparent 27rem),
    radial-gradient(circle at 90% 48%, rgba(30, 93, 190, 0.1), transparent 28rem),
    linear-gradient(180deg, #071b3d 0%, #031027 62%, #020a19 100%);
  box-shadow: inset 0 1px 0 rgba(239, 195, 112, 0.2), 0 -18px 48px rgba(0, 5, 22, 0.22);
}

.site-footer.astral-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  display: block;
  height: 2px;
  margin: 0;
  content: "";
  background: linear-gradient(90deg, transparent 4%, rgba(66, 151, 255, 0.28) 25%, rgba(237, 193, 110, 0.78) 50%, rgba(66, 151, 255, 0.28) 75%, transparent 96%);
  box-shadow: 0 0 14px rgba(70, 157, 255, 0.36);
}

.site-footer.astral-footer::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.38;
  background:
    radial-gradient(circle at 8% 28%, rgba(186, 224, 255, 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 77% 20%, rgba(186, 224, 255, 0.54) 0 1px, transparent 1.5px),
    radial-gradient(circle at 91% 76%, rgba(232, 198, 126, 0.5) 0 1px, transparent 1.5px);
  background-size: 183px 183px, 251px 251px, 217px 217px;
}

.astral-footer__ornament {
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 22px;
  place-items: center;
  color: #f2c978;
  font-size: 0.88rem;
  background: #061735;
  border: 1px solid rgba(235, 191, 108, 0.58);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(70, 158, 255, 0.38);
  transform: translateX(-50%);
}

.astral-footer__inner,
.astral-footer__bottom-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 7vw), 1480px);
  margin-inline: auto;
}

.astral-footer__inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.05fr) minmax(330px, 1.3fr) minmax(245px, 0.85fr);
  align-items: center;
  gap: clamp(38px, 5vw, 82px);
  min-height: 190px;
  padding: 38px 0 30px;
}

.astral-footer__identity {
  min-width: 0;
}

.astral-footer__brand {
  display: inline-block;
}

.astral-footer__brand img {
  display: block;
  width: 210px;
  max-width: 100%;
  margin: -30px 0 -24px;
  filter: drop-shadow(0 8px 15px rgba(0, 8, 34, 0.72)) drop-shadow(0 0 13px rgba(61, 148, 255, 0.32));
}

.astral-footer__identity > p {
  margin: 8px 0 0;
  color: #f2d8a0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.astral-footer__identity > small {
  display: block;
  max-width: 350px;
  margin-top: 10px;
  color: #92a9c8;
  font-size: 0.75rem;
  line-height: 1.55;
}

.astral-footer__directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  padding: 4px clamp(28px, 3vw, 50px);
  border-right: 1px solid rgba(100, 171, 251, 0.14);
  border-left: 1px solid rgba(100, 171, 251, 0.14);
}

.astral-footer__link-group h2,
.astral-footer__community h2 {
  margin: 0 0 13px;
  color: #f6ead0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.astral-footer__link-group nav {
  display: grid;
  gap: 8px;
}

.astral-footer__link-group a {
  position: relative;
  width: max-content;
  max-width: 100%;
  padding-left: 13px;
  color: #9fb2cd;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  transition: color 160ms ease, transform 160ms ease;
}

.astral-footer__link-group a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: #4e9ff5;
  box-shadow: 0 0 7px rgba(76, 159, 255, 0.76);
  transform: translateY(-50%) rotate(45deg);
}

.astral-footer__link-group a:hover {
  color: #fff4d7;
  transform: translateX(3px);
}

.astral-footer__community {
  justify-self: end;
  min-width: 230px;
}

.astral-footer__eyebrow {
  margin: 0 0 8px;
  color: #7fc2ff;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.astral-footer__socials {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.astral-footer__socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #cfe7ff;
  border: 1px solid rgba(101, 177, 255, 0.32);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(16, 52, 105, 0.82), rgba(3, 18, 45, 0.9));
  box-shadow: inset 0 0 12px rgba(63, 148, 255, 0.08);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.astral-footer__socials a:hover {
  color: #fff;
  border-color: rgba(238, 196, 115, 0.68);
  box-shadow: inset 0 0 14px rgba(63, 148, 255, 0.12), 0 0 14px rgba(66, 153, 255, 0.18);
  transform: translateY(-2px);
}

.astral-footer__socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.astral-footer__cta {
  min-height: 38px;
  padding-inline: 16px;
  font-size: 0.69rem;
}

.astral-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(99, 171, 250, 0.14);
  background: rgba(1, 7, 18, 0.38);
}

.astral-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  color: #7086a6;
  font-size: 0.68rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.astral-footer__bottom-inner > span a {
  color: #a9c7e8;
}

.astral-footer .footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
}

.astral-footer .footer-legal a,
.astral-footer .footer-logout-form button {
  color: #879dbb;
  font: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.astral-footer .footer-legal a:hover,
.astral-footer .footer-logout-form button:hover {
  color: #f4db9f;
}

@media (min-width: 1921px) {
  .home-page .site-header {
    padding-left: calc((100vw - 1920px) / 2 + 64px);
    padding-right: calc((100vw - 1920px) / 2 + 64px);
  }

  .astral-hero {
    background:
      radial-gradient(ellipse at 50% 34%, #173f76 0%, #0a2248 42%, #04132b 70%, #020918 100%);
  }

  .astral-hero::before {
    background:
      radial-gradient(ellipse at 48% 33%, rgba(5, 29, 75, 0.04) 0%, rgba(2, 13, 39, 0.2) 38%, transparent 62%),
      linear-gradient(90deg, rgba(2, 13, 38, 0.22), rgba(2, 14, 42, 0.02) 30%, rgba(4, 19, 53, 0.09) 58%, rgba(1, 9, 27, 0.28)),
      linear-gradient(180deg, rgba(2, 11, 31, 0.03) 45%, rgba(3, 13, 34, 0.35) 73%, rgba(2, 9, 26, 0.96) 100%),
      url("../img/astral-hero-bg-v2.jpg") center 48% / min(100vw, 2880px) auto no-repeat;
    -webkit-mask-image: linear-gradient(90deg,
      transparent calc(50% - 1440px),
      #000 calc(50% - 1210px),
      #000 calc(50% + 1210px),
      transparent calc(50% + 1440px));
    mask-image: linear-gradient(90deg,
      transparent calc(50% - 1440px),
      #000 calc(50% - 1210px),
      #000 calc(50% + 1210px),
      transparent calc(50% + 1440px));
  }

  .astral-hero__motto {
    left: calc((100vw - 1920px) / 2 + 80px);
  }
}

@media (max-width: 1120px) {
  .astral-footer__inner {
    grid-template-columns: minmax(240px, 0.9fr) minmax(420px, 1.3fr);
    gap: 32px;
  }

  .astral-footer__identity {
    align-self: center;
  }

  .astral-footer__directory {
    border-right: 0;
  }

  .astral-footer__community {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(100, 171, 251, 0.14);
  }

  .astral-footer__community h2,
  .astral-footer__community .astral-footer__eyebrow {
    grid-column: 1;
  }

  .astral-footer__community h2 {
    margin-bottom: 0;
  }

  .astral-footer__socials {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .astral-footer__cta {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .realm-status article::after {
    display: none;
  }

  .realm-status article:nth-child(odd)::after {
    top: 9px;
    right: 0;
    bottom: 9px;
    display: block;
  }

  .astral-cta {
    min-height: 48px;
  }

  .astral-cta__icon {
    width: 21px;
    height: 22px;
    flex-basis: 21px;
    padding-right: 7px;
  }

  .astral-footer__inner,
  .astral-footer__bottom-inner {
    width: min(calc(100% - 36px), 620px);
  }

  .astral-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0 28px;
    text-align: center;
  }

  .astral-footer__brand img {
    margin-inline: auto;
  }

  .astral-footer__identity > small {
    margin-inline: auto;
  }

  .astral-footer__directory {
    padding: 24px 0;
    border: 0;
    border-top: 1px solid rgba(100, 171, 251, 0.14);
    border-bottom: 1px solid rgba(100, 171, 251, 0.14);
    text-align: left;
  }

  .astral-footer__community {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    justify-self: center;
    gap: 0;
    padding-top: 0;
    border-top: 0;
  }

  .astral-footer__socials {
    margin-bottom: 14px;
  }

  .astral-footer__bottom-inner {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 78px;
    padding: 12px 0;
    text-align: center;
    line-height: 1.5;
  }
}

/* Animated home content sky --------------------------------------------- */
.astral-content-stage {
  --content-overlap: 33px;
  position: relative;
  z-index: 11;
  isolation: isolate;
  margin-top: calc(var(--content-overlap) * -1);
  padding: 0 0 18px;
  overflow: hidden;
  background: transparent;
}

.astral-content-stage::before,
.astral-content-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.astral-content-stage::before {
  top: calc(var(--content-overlap) - 120px);
  right: -120px;
  bottom: -120px;
  left: -120px;
  opacity: 0.62;
  background-image:
    radial-gradient(circle, rgba(230, 246, 255, 0.96) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(105, 184, 255, 0.84) 0 1.2px, transparent 1.9px),
    radial-gradient(circle, rgba(247, 211, 140, 0.76) 0 1px, transparent 1.8px);
  background-position: 17px 29px, 73px 111px, 137px 53px;
  background-size: 137px 137px, 211px 211px, 293px 293px;
  transform: translate3d(-68px, -34px, 0);
  will-change: transform;
  animation: astral-content-stars 42s linear infinite;
}

.astral-content-stage::after {
  top: var(--content-overlap);
  opacity: 0.74;
  background:
    radial-gradient(circle at 7% 19%, rgba(218, 240, 255, 0.92) 0 1px, rgba(89, 169, 255, 0.42) 1px 2px, transparent 3px),
    radial-gradient(circle at 19% 72%, rgba(177, 218, 255, 0.78) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 28%, rgba(242, 208, 141, 0.72) 0 1px, transparent 2.4px),
    radial-gradient(circle at 63% 74%, rgba(195, 229, 255, 0.86) 0 1px, rgba(77, 159, 255, 0.28) 1px 2px, transparent 3px),
    radial-gradient(circle at 82% 24%, rgba(215, 239, 255, 0.8) 0 1px, transparent 2.2px),
    radial-gradient(circle at 95% 61%, rgba(240, 206, 137, 0.64) 0 1px, transparent 2px);
  will-change: opacity;
  animation: astral-content-twinkle 4.6s ease-in-out infinite alternate;
}

.astral-content-stage > .realm-status,
.astral-content-stage > .astral-hub {
  position: relative;
  z-index: 3;
}

.astral-content-stage > .realm-status {
  margin-top: 0;
}

.astral-content-stage__separator {
  position: absolute;
  top: var(--content-overlap);
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 4%,
    rgba(63, 144, 255, 0.28) 22%,
    rgba(178, 222, 255, 0.78) 50%,
    rgba(218, 169, 82, 0.4) 76%,
    transparent 96%);
  opacity: 0.72;
  filter: drop-shadow(0 0 8px rgba(67, 158, 255, 0.68));
  transform: translateY(-2px);
}

.astral-content-stage__effects {
  position: absolute;
  inset: var(--content-overlap) 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(50, 137, 255, 0.26), transparent 35rem),
    radial-gradient(ellipse at 10% 48%, rgba(25, 93, 196, 0.18), transparent 39rem),
    radial-gradient(ellipse at 91% 58%, rgba(30, 104, 218, 0.16), transparent 40rem),
    linear-gradient(180deg, #04142f 0%, #020d23 49%, #020919 100%);
}

.astral-content-stage__effects i {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--shoot-length, 190px);
  height: 2px;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(66, 157, 255, 0.08) 20%,
    rgba(101, 188, 255, 0.45) 56%,
    rgba(199, 233, 255, 0.9) 86%,
    #fff 100%);
  box-shadow: 18px 0 12px rgba(91, 181, 255, 0.45), 2px 0 3px rgba(208, 238, 255, 0.38);
  transform: translate3d(-320px, -80px, 0) rotate(20deg) scaleX(0.15);
  transform-origin: right center;
  backface-visibility: hidden;
  contain: layout paint style;
  will-change: transform, opacity;
}

.astral-content-stage__effects i.is-shooting {
  opacity: 1;
}

.astral-content-stage__effects i::before {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 26px;
  height: 26px;
  content: "";
  opacity: 1;
  background:
    radial-gradient(circle at 18% 27%, rgba(255, 238, 190, 0.94) 0 1px, transparent 1.7px),
    radial-gradient(circle at 76% 78%, rgba(180, 226, 255, 0.92) 0 1px, transparent 1.7px),
    linear-gradient(transparent 47%, rgba(225, 246, 255, 0.96) 49%, rgba(255, 255, 255, 0.96) 51%, transparent 53%),
    linear-gradient(90deg, transparent 47%, rgba(225, 246, 255, 0.96) 49%, rgba(255, 255, 255, 0.96) 51%, transparent 53%);
  filter: drop-shadow(0 0 6px rgba(99, 190, 255, 1));
  transform: translateY(-50%);
}

.astral-content-stage__effects i::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 4px #fff,
    0 0 10px #9dd8ff,
    0 0 22px rgba(66, 157, 255, 0.94),
    0 0 34px rgba(66, 157, 255, 0.5);
  transform: translateY(-50%);
}

.astral-content-stage__effects i:nth-child(2n)::after {
  box-shadow:
    0 0 4px #fff,
    0 0 10px #ffe6ac,
    0 0 22px rgba(101, 184, 255, 0.92),
    0 0 34px rgba(57, 145, 255, 0.48);
}

.astral-content-stage__effects i:nth-child(3n) {
  height: 3px;
}

@keyframes astral-content-stars {
  from { transform: translate3d(-68px, -34px, 0); }
  to { transform: translate3d(69px, 35px, 0); }
}

@keyframes astral-content-twinkle {
  from { opacity: 0.46; }
  to { opacity: 0.82; }
}

@media (max-width: 680px) {
  .astral-content-stage {
    --content-overlap: 29px;
  }
}

/* This scene is an explicitly requested ambient effect. The legacy global
   reduced-motion rule above would otherwise collapse it to a single frame. */
@media (prefers-reduced-motion: reduce) {
  .astral-content-stage::before {
    animation-duration: 34s !important;
    animation-iteration-count: infinite !important;
  }

  .astral-content-stage::after {
    animation-duration: 5s !important;
    animation-iteration-count: infinite !important;
  }

}

/* Reference-matched navigation, section divider and ultrawide hero ---------- */
:root {
  --astral-stage-line: linear-gradient(90deg,
    transparent 0%,
    rgba(57, 139, 242, 0.62) 7%,
    rgba(112, 193, 255, 0.96) 28%,
    rgba(221, 241, 255, 1) 48%,
    rgba(245, 205, 126, 0.92) 52%,
    rgba(112, 193, 255, 0.96) 72%,
    rgba(57, 139, 242, 0.62) 93%,
    transparent 100%);
}

.home-page .site-header::after,
.astral-content-stage__separator {
  height: 2px;
  opacity: 1;
  background: var(--astral-stage-line);
  box-shadow:
    0 0 5px rgba(134, 211, 255, 0.92),
    0 0 14px rgba(58, 147, 255, 0.62);
  filter: none;
}

.home-page .site-header::after {
  bottom: -1px;
}

.astral-content-stage__separator {
  transform: translateY(-1px);
}

@media (min-width: 981px) {
  .site-header,
  .home-page .site-header {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    column-gap: clamp(16px, 1.35vw, 28px);
    padding: 0 clamp(28px, 3.35vw, 64px);
    background:
      radial-gradient(circle at 8% 28%, rgba(144, 207, 255, 0.2) 0 1px, transparent 1.6px),
      radial-gradient(circle at 41% 74%, rgba(100, 174, 255, 0.15) 0 1px, transparent 1.5px),
      radial-gradient(circle at 78% 20%, rgba(222, 239, 255, 0.12) 0 1px, transparent 1.6px),
      linear-gradient(90deg, rgba(3, 14, 38, 0.995), rgba(8, 26, 61, 0.975) 48%, rgba(2, 11, 30, 0.995));
    border-bottom: 0;
    box-shadow:
      0 9px 28px rgba(0, 7, 30, 0.46),
      inset 0 -1px 0 rgba(241, 200, 121, 0.2),
      inset 0 1px 0 rgba(184, 224, 255, 0.06);
  }

  .site-header > .brand {
    justify-self: start;
  }

  .home-page .brand img,
  .brand img {
    width: 48px;
    height: 48px;
  }

  .site-header > .main-nav {
    justify-self: center;
  }

  .main-nav {
    justify-content: center;
    gap: clamp(20px, 1.45vw, 30px);
    height: 68px;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    height: 68px;
    padding: 1px 0 0;
    color: rgba(225, 235, 251, 0.84);
    font-family: "Palatino Linotype", "Book Antiqua", "Times New Roman", Georgia, serif;
    font-size: clamp(0.77rem, 0.7rem + 0.12vw, 0.87rem);
    font-weight: 600;
    letter-spacing: 0.065em;
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0, 5, 22, 0.9);
  }

  .main-nav .nav-auth-link {
    display: flex;
  }

  .main-nav a::after {
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8ed8ff 24%, #e9f8ff 50%, #5eaaff 76%, transparent);
    box-shadow:
      0 0 5px rgba(206, 242, 255, 0.98),
      0 0 11px rgba(70, 164, 255, 0.9);
  }

  .main-nav a::before {
    bottom: -4px;
    width: 8px;
    height: 8px;
    border: 1px solid #d9f3ff;
    background: radial-gradient(circle at 35% 30%, #f4fdff, #59b4ff 50%, #1555a7 100%);
    box-shadow:
      0 0 5px rgba(202, 239, 255, 0.95),
      0 0 13px rgba(65, 159, 255, 0.92);
  }

  .main-nav a.is-active::after,
  .main-nav a:hover::after {
    width: 68px;
  }

  .main-nav a.is-active,
  .main-nav a:hover {
    color: #f8fcff;
    text-shadow: 0 0 11px rgba(115, 194, 255, 0.78), 0 1px 4px #000;
  }

  .site-header > .header-actions {
    justify-self: end;
  }

  .site-header__hero-character-frame {
    height: calc(68px + clamp(410px, 27vw, 485px));
  }

  .site-header__hero-character {
    top: clamp(-24px, calc(60px - 3.9vw), 12px);
  }
}

@media (min-width: 1921px) {
  .site-header,
  .home-page .site-header {
    padding-left: calc((100vw - 1920px) / 2 + 64px);
    padding-right: calc((100vw - 1920px) / 2 + 64px);
  }

  .astral-hero {
    background:
      linear-gradient(90deg,
        rgba(2, 11, 31, 0.58) 0%,
        rgba(2, 12, 34, 0.12) 18%,
        rgba(2, 12, 34, 0.04) 50%,
        rgba(2, 12, 34, 0.12) 82%,
        rgba(2, 11, 31, 0.58) 100%),
      url("../img/astral-hero-bg.jpg") center 48% / cover no-repeat;
  }

  .astral-hero::before {
    background:
      radial-gradient(ellipse at 48% 33%, rgba(5, 29, 75, 0.04) 0%, rgba(2, 13, 39, 0.2) 38%, transparent 62%),
      linear-gradient(90deg, rgba(2, 13, 38, 0.18), rgba(2, 14, 42, 0.02) 30%, rgba(4, 19, 53, 0.09) 58%, rgba(1, 9, 27, 0.22)),
      linear-gradient(180deg, rgba(2, 11, 31, 0.03) 45%, rgba(3, 13, 34, 0.35) 73%, rgba(2, 9, 26, 0.96) 100%),
      url("../img/astral-hero-bg-v2.jpg") center 48% / min(100vw, 2880px) auto no-repeat;
    -webkit-mask-image: linear-gradient(90deg,
      transparent calc(50% - 1440px),
      #000 calc(50% - 1190px),
      #000 calc(50% + 1190px),
      transparent calc(50% + 1440px));
    mask-image: linear-gradient(90deg,
      transparent calc(50% - 1440px),
      #000 calc(50% - 1190px),
      #000 calc(50% + 1190px),
      transparent calc(50% + 1440px));
  }
}

/* Keep the visible character artwork anchored between both hero dividers.
   The source PNG contains transparent space above and below the artwork, so
   smaller desktop widths need a slightly larger canvas to reach the lower
   divider while the crown tips retain their navigation overlap. */
@media (min-width: 981px) and (max-width: 1420px) {
  .site-header__hero-character {
    top: clamp(-7px, calc(-49.6px + 4.4vw), 4.6px);
    right: clamp(-240px, calc(50vw - 766px), -60px);
    width: max(100%, 1420px, calc(1577px - 12.7vw));
  }
}

@media (min-width: 1421px) and (max-width: 1920px) {
  .site-header__hero-character {
    right: clamp(-60px, calc(13.48vw - 251px), 8px);
  }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .site-header,
  .home-page .site-header {
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    column-gap: 14px;
    padding-inline: 24px;
  }

  .main-nav {
    gap: clamp(12px, 1.25vw, 18px);
  }

  .main-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .header-cta {
    min-width: 82px;
    padding-inline: 14px;
  }
}

/* Refined live-status ribbon ---------------------------------------------- */
.astral-content-stage > .realm-status {
  min-height: 70px;
  padding: 6px clamp(18px, 2vw, 34px);
  isolation: isolate;
  overflow: visible;
  border: 1px solid rgba(111, 183, 255, 0.58);
  border-top-color: rgba(175, 222, 255, 0.82);
  border-bottom-color: rgba(238, 193, 108, 0.82);
  border-radius: 18px 18px 12px 12px;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(117, 200, 255, 0.62) 16%,
      rgba(231, 245, 255, 0.88) 48%,
      rgba(242, 199, 116, 0.72) 72%,
      transparent 100%) top / 100% 1px no-repeat,
    radial-gradient(ellipse at 50% -18%, rgba(73, 164, 255, 0.32), transparent 48%),
    linear-gradient(108deg,
      rgba(3, 17, 45, 0.985) 0%,
      rgba(8, 35, 78, 0.97) 23%,
      rgba(4, 22, 55, 0.985) 51%,
      rgba(8, 34, 74, 0.97) 78%,
      rgba(2, 14, 38, 0.99) 100%);
  box-shadow:
    0 18px 38px rgba(0, 5, 24, 0.5),
    0 0 18px rgba(42, 133, 245, 0.18),
    inset 0 1px 0 rgba(237, 248, 255, 0.16),
    inset 0 -1px 0 rgba(255, 213, 132, 0.18),
    inset 0 0 34px rgba(39, 119, 230, 0.09);
  backdrop-filter: blur(10px) saturate(1.12);
}

.astral-content-stage > .realm-status::before,
.astral-content-stage > .realm-status::after {
  top: 50%;
  width: 16px;
  height: 30px;
  z-index: 3;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 50% 50%, #fff4c8 0 8%, transparent 10%),
    linear-gradient(135deg, #ffe2a2 0%, #b8792d 38%, #f7cf79 62%, #704016 100%);
  clip-path: polygon(50% 0, 73% 35%, 100% 50%, 73% 65%, 50% 100%, 27% 65%, 0 50%, 27% 35%);
  filter: drop-shadow(0 0 5px rgba(246, 200, 112, 0.62)) drop-shadow(0 0 9px rgba(62, 153, 255, 0.35));
}

.astral-content-stage > .realm-status::before {
  left: -9px;
}

.astral-content-stage > .realm-status::after {
  right: -9px;
}

.realm-status article {
  min-height: 56px;
  gap: clamp(12px, 1.1vw, 18px);
  padding: 6px clamp(14px, 1.65vw, 27px);
}

.realm-status article > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.realm-status article:not(:last-child)::after {
  top: 12px;
  bottom: 12px;
  background: linear-gradient(180deg,
    transparent,
    rgba(113, 190, 255, 0.2) 14%,
    rgba(160, 216, 255, 0.52) 48%,
    rgba(225, 184, 105, 0.28) 76%,
    transparent);
  box-shadow: 0 0 8px rgba(61, 150, 255, 0.18);
}

.realm-status article:not(:last-child)::before {
  position: absolute;
  top: 50%;
  right: -2px;
  z-index: 2;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: #b9e5ff;
  box-shadow: 0 0 7px rgba(89, 179, 255, 0.9);
  transform: translateY(-50%);
}

.realm-status__icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #e6f5ff;
  border: 1px solid rgba(130, 203, 255, 0.66);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(205, 239, 255, 0.26) 0 4%, transparent 6%),
    radial-gradient(circle, rgba(31, 107, 207, 0.68), rgba(5, 33, 80, 0.96) 68%);
  box-shadow:
    0 0 15px rgba(54, 146, 255, 0.32),
    inset 0 0 13px rgba(83, 170, 255, 0.3),
    inset 0 0 0 3px rgba(3, 21, 55, 0.76);
  text-shadow: none;
  transform: none;
}

.realm-status__icon::before {
  position: absolute;
  inset: 4px;
  content: "";
  border: 1px solid rgba(236, 198, 122, 0.32);
  border-radius: inherit;
}

.realm-status__icon::after {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 12px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(236, 249, 255, 0.88), transparent);
  transform: translateX(-50%);
}

.realm-status__icon svg {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  stroke-width: 1.6;
  filter: drop-shadow(0 0 5px rgba(91, 184, 255, 0.86));
  transform: none;
}

.realm-status small {
  color: #b9cce5;
  font-size: clamp(0.69rem, 0.65rem + 0.08vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.145em;
  line-height: 1.1;
  text-shadow: 0 1px 5px rgba(0, 6, 24, 0.9);
}

.realm-status strong {
  margin-top: 5px;
  font-size: clamp(0.93rem, 0.88rem + 0.12vw, 1.06rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-shadow: 0 0 9px rgba(108, 181, 255, 0.28);
}

.realm-status__state.is-online::before,
.realm-status__state.is-offline::before {
  width: 8px;
  height: 8px;
  margin-right: 7px;
  vertical-align: 1px;
  box-shadow: 0 0 5px currentColor, 0 0 12px currentColor;
}

@media (max-width: 980px) {
  .astral-content-stage > .realm-status {
    min-height: 0;
    padding: 8px 12px;
    border-radius: 15px 15px 10px 10px;
  }

  .realm-status article {
    min-height: 58px;
    padding: 8px 14px;
  }

  .realm-status article::after,
  .realm-status article::before {
    display: none;
  }

  .realm-status article:nth-child(odd)::after {
    top: 11px;
    right: 0;
    bottom: 11px;
    display: block;
  }

  .realm-status__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

@media (max-width: 520px) {
  .astral-content-stage > .realm-status {
    width: min(calc(100% - 22px), 760px);
    padding-inline: 7px;
  }

  .realm-status article {
    gap: 9px;
    padding-inline: 8px;
  }

  .realm-status small {
    font-size: 0.62rem;
    letter-spacing: 0.075em;
  }

  .realm-status strong {
    font-size: 0.82rem;
  }
}

/* Final polish: navigation marker, status ribbon and star effects ---------- */
.main-nav a::after {
  z-index: 3;
}

.main-nav a::before {
  z-index: 4;
  border-color: rgba(225, 247, 255, 0.96);
  background: linear-gradient(135deg, #eafaff 0%, #73c9ff 35%, #237acb 68%, #0b3d82 100%);
  box-shadow:
    inset 0 0 2px rgba(255, 255, 255, 0.92),
    0 0 4px rgba(222, 247, 255, 1),
    0 0 11px rgba(74, 174, 255, 0.95),
    0 0 20px rgba(42, 126, 237, 0.58);
}

.astral-content-stage > .realm-status {
  min-height: 64px;
  padding: 4px clamp(20px, 2.3vw, 40px);
  isolation: isolate;
  overflow: visible;
  border: 1px solid rgba(91, 168, 244, 0.5);
  border-top-color: rgba(189, 230, 255, 0.88);
  border-bottom-color: rgba(232, 188, 103, 0.72);
  border-radius: 19px 19px 8px 8px;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(107, 193, 255, 0.48) 15%,
      rgba(226, 245, 255, 0.85) 49%,
      rgba(239, 195, 110, 0.57) 76%,
      transparent 100%) top / 100% 1px no-repeat,
    radial-gradient(ellipse at 50% -34%, rgba(83, 177, 255, 0.38), transparent 53%),
    linear-gradient(180deg, rgba(9, 35, 75, 0.985) 0%, rgba(3, 19, 48, 0.99) 51%, rgba(2, 12, 33, 0.995) 100%);
  box-shadow:
    0 17px 36px rgba(0, 5, 24, 0.48),
    0 0 22px rgba(48, 143, 255, 0.16),
    inset 0 1px 0 rgba(240, 250, 255, 0.14),
    inset 0 -1px 0 rgba(250, 207, 126, 0.11),
    inset 0 0 0 1px rgba(193, 225, 255, 0.025),
    inset 0 17px 30px rgba(50, 132, 232, 0.07);
  backdrop-filter: blur(10px) saturate(1.08);
}

.astral-content-stage > .realm-status::before,
.astral-content-stage > .realm-status::after {
  width: 12px;
  height: 25px;
  background:
    radial-gradient(circle at 50% 50%, #fff7d8 0 8%, transparent 10%),
    linear-gradient(135deg, #ffe1a0 0%, #b9792d 42%, #f2c66e 65%, #754515 100%);
  filter: drop-shadow(0 0 4px rgba(246, 199, 106, 0.58)) drop-shadow(0 0 7px rgba(67, 157, 255, 0.28));
}

.astral-content-stage > .realm-status::before {
  left: -7px;
}

.astral-content-stage > .realm-status::after {
  right: -7px;
}

.realm-status article {
  min-height: 54px;
  gap: clamp(12px, 1.05vw, 17px);
  padding: 5px clamp(15px, 1.7vw, 28px);
  border-radius: 0;
  background: radial-gradient(ellipse at 50% -35%, rgba(85, 174, 255, 0.065), transparent 67%);
}

.realm-status article:not(:last-child)::before {
  display: none;
}

.realm-status article:not(:last-child)::after {
  top: 12px;
  bottom: 12px;
  width: 1px;
  opacity: 0.62;
  background: linear-gradient(180deg, transparent, rgba(116, 191, 255, 0.48) 31%, rgba(216, 190, 139, 0.29) 72%, transparent);
  box-shadow: none;
}

.realm-status__icon {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  overflow: visible;
  color: #eaf8ff;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle, rgba(55, 151, 255, 0.36) 0%, rgba(29, 102, 205, 0.13) 47%, transparent 70%);
  box-shadow: none;
}

.realm-status__icon::before {
  inset: 50% -2px auto;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(151, 216, 255, 0.56), transparent);
  transform: translateY(-50%);
}

.realm-status__icon::after {
  top: -2px;
  bottom: -2px;
  left: 50%;
  width: 1px;
  height: auto;
  background: linear-gradient(180deg, transparent, rgba(140, 210, 255, 0.45), transparent);
  transform: translateX(-50%);
}

.realm-status__icon svg {
  width: 23px;
  height: 23px;
  filter: drop-shadow(0 0 3px rgba(220, 246, 255, 0.92)) drop-shadow(0 0 8px rgba(64, 161, 255, 0.82));
}

.realm-status small {
  color: #bfd1e8;
  font-size: clamp(0.67rem, 0.63rem + 0.08vw, 0.73rem);
  letter-spacing: 0.15em;
}

.realm-status strong {
  margin-top: 3px;
  font-size: clamp(0.92rem, 0.87rem + 0.12vw, 1.03rem);
  font-weight: 500;
  letter-spacing: 0.11em;
}

.realm-status__state.is-online::before,
.realm-status__state.is-offline::before {
  animation: astral-status-pulse 2.2s ease-in-out infinite;
}

/* Randomized stars are generated inside this clipped content-only layer. */
.astral-content-stage::before,
.astral-content-stage::after {
  display: none;
}

.astral-content-stage__effects {
  inset: var(--content-overlap) 0 0;
  overflow: hidden;
  contain: layout paint style;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(50, 137, 255, 0.26), transparent 35rem),
    radial-gradient(ellipse at 10% 48%, rgba(25, 93, 196, 0.18), transparent 39rem),
    radial-gradient(ellipse at 91% 58%, rgba(30, 104, 218, 0.16), transparent 40rem),
    linear-gradient(180deg, #04142f 0%, #020d23 49%, #020919 100%);
}

.astral-star {
  position: absolute;
  top: var(--star-y);
  left: var(--star-x);
  width: var(--star-size);
  height: var(--star-size);
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.28;
  background: var(--star-color, #dff5ff);
  box-shadow:
    0 0 3px var(--star-color, #dff5ff),
    0 0 9px var(--star-glow, rgba(89, 175, 255, 0.72));
  transform: translate3d(0, 0, 0) scale(0.72);
  animation: astral-random-star var(--star-duration) ease-in-out var(--star-delay) infinite;
  will-change: transform, opacity;
}

.astral-star.is-bright::before,
.astral-star.is-bright::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--star-color, #eaf8ff), transparent);
  transform: translate(-50%, -50%);
}

.astral-star.is-bright::before {
  width: var(--star-cross-size, 9px);
  height: 1px;
}

.astral-star.is-bright::after {
  width: 1px;
  height: var(--star-cross-size, 9px);
}

@keyframes astral-random-star {
  0%, 100% {
    opacity: 0.18;
    transform: translate3d(0, 0, 0) scale(0.68);
  }
  38% {
    opacity: var(--star-opacity);
    transform: translate3d(var(--star-drift-x), var(--star-drift-y), 0) scale(1.12);
  }
  52% {
    opacity: var(--star-opacity-mid);
    transform: translate3d(var(--star-drift-mid-x), var(--star-drift-mid-y), 0) scale(0.84);
  }
  76% {
    opacity: var(--star-opacity-soft);
    transform: translate3d(var(--star-drift-reverse-x), var(--star-drift-reverse-y), 0) scale(1);
  }
}

.astral-content-stage__effects i {
  width: var(--shoot-length, 190px);
  height: 2px;
  z-index: 1;
  opacity: 0;
  border-radius: 999px;
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 58%);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(70, 156, 255, 0.03) 16%,
    rgba(89, 181, 255, 0.2) 48%,
    rgba(184, 226, 255, 0.76) 84%,
    #ffffff 100%);
  box-shadow: 8px 0 7px rgba(105, 196, 255, 0.34);
  transform-origin: right center;
  will-change: auto;
}

.astral-content-stage__effects i.is-shooting {
  opacity: 1;
  will-change: transform, opacity;
}

.astral-content-stage__effects i::before {
  top: 50%;
  right: -6px;
  width: 15px;
  height: 15px;
  opacity: 0.92;
  background:
    linear-gradient(transparent 46%, rgba(232, 248, 255, 0.96) 48%, #fff 52%, transparent 54%),
    linear-gradient(90deg, transparent 46%, rgba(232, 248, 255, 0.96) 48%, #fff 52%, transparent 54%);
  filter: drop-shadow(0 0 5px rgba(103, 192, 255, 0.95));
}

.astral-content-stage__effects i::after {
  right: -1px;
  width: 5px;
  height: 5px;
  box-shadow:
    0 0 3px #fff,
    0 0 8px #a9ddff,
    0 0 17px rgba(68, 164, 255, 0.88);
}

/* Native cursor stays visible; a soft glint and star-dust trail follow it. */
.astral-cursor-fx {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.astral-cursor-glint {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 6%, rgba(119, 204, 255, 0.34) 18%, transparent 64%);
  filter: drop-shadow(0 0 4px rgba(217, 245, 255, 0.88)) drop-shadow(0 0 9px rgba(65, 163, 255, 0.72));
  transition: opacity 170ms ease, filter 170ms ease;
  will-change: transform;
}

.astral-cursor-glint.is-visible {
  opacity: 0.84;
}

.astral-cursor-glint::before,
.astral-cursor-glint::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(239, 252, 255, 0.96), transparent);
  transform: translate(-50%, -50%);
}

.astral-cursor-glint::before {
  width: 18px;
  height: 1px;
}

.astral-cursor-glint::after {
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, transparent, rgba(239, 252, 255, 0.92), transparent);
}

.astral-cursor-spark {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--cursor-spark-size, 3px);
  height: var(--cursor-spark-size, 3px);
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 20%, var(--cursor-spark-color, #dff5ff) 36%, transparent 76%);
  box-shadow:
    0 0 4px var(--cursor-spark-color, #dff5ff),
    0 0 10px var(--cursor-spark-glow, rgba(77, 169, 255, 0.78));
  will-change: transform, opacity;
}

.astral-cursor-spark.is-star::before,
.astral-cursor-spark.is-star::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  transform: translate(-50%, -50%);
}

.astral-cursor-spark.is-star::before {
  width: var(--cursor-cross-size, 10px);
  height: 1px;
}

.astral-cursor-spark.is-star::after {
  width: 1px;
  height: var(--cursor-cross-size, 10px);
  background: linear-gradient(180deg, transparent, currentColor, transparent);
}

.astral-cursor-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  opacity: 0;
  border: 1px solid rgba(150, 218, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 0 7px rgba(111, 199, 255, 0.52), inset 0 0 7px rgba(227, 247, 255, 0.2);
  will-change: transform, opacity;
}

@media (pointer: coarse) {
  .astral-cursor-fx {
    display: none;
  }
}

/* The ambient motion is user-requested. Keep this small, isolated layer alive
   even when the preview browser advertises reduced motion globally. */
@media (prefers-reduced-motion: reduce) {
  .astral-star {
    animation-duration: var(--star-duration) !important;
    animation-iteration-count: infinite !important;
  }

  .astral-cursor-glint {
    transition-duration: 170ms !important;
  }
}

/* Subtle ambient life without competing with the hero artwork. */
.main-nav a.is-active::before {
  animation: astral-nav-gem 3.8s ease-in-out infinite;
}

.astral-hero__logo {
  animation: astral-logo-aura 7.5s ease-in-out infinite;
}

.astral-hero__tagline span {
  animation: astral-tagline-spark 2.8s ease-in-out infinite alternate;
}

.astral-hero__tagline span:last-child {
  animation-delay: -1.4s;
}

.astral-panel-heading h2::before {
  animation: astral-heading-gem 4.2s ease-in-out infinite;
}

.astral-spotlight {
  animation: astral-spotlight-drift 22s ease-in-out infinite alternate;
}

@keyframes astral-nav-gem {
  0%, 100% {
    filter: brightness(0.94);
    box-shadow:
      inset 0 0 2px rgba(255, 255, 255, 0.86),
      0 0 4px rgba(222, 247, 255, 0.92),
      0 0 10px rgba(74, 174, 255, 0.82),
      0 0 17px rgba(42, 126, 237, 0.46);
  }
  50% {
    filter: brightness(1.18);
    box-shadow:
      inset 0 0 3px rgba(255, 255, 255, 1),
      0 0 6px rgba(235, 251, 255, 1),
      0 0 15px rgba(91, 190, 255, 1),
      0 0 25px rgba(45, 137, 255, 0.66);
  }
}

@keyframes astral-logo-aura {
  0%, 100% {
    filter:
      drop-shadow(0 12px 24px rgba(0, 13, 54, 0.78))
      drop-shadow(0 0 18px rgba(62, 149, 255, 0.38));
  }
  50% {
    filter:
      drop-shadow(0 12px 25px rgba(0, 13, 54, 0.78))
      drop-shadow(0 0 27px rgba(77, 171, 255, 0.58))
      brightness(1.035);
  }
}

@keyframes astral-tagline-spark {
  from {
    opacity: 0.55;
    filter: drop-shadow(0 0 2px rgba(232, 186, 96, 0.4));
    transform: scale(0.82) rotate(0deg);
  }
  to {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 213, 123, 0.95));
    transform: scale(1.12) rotate(45deg);
  }
}

@keyframes astral-heading-gem {
  0%, 100% {
    filter: brightness(0.92) drop-shadow(0 0 3px rgba(75, 160, 255, 0.46));
    transform: rotate(45deg) scale(0.9);
  }
  50% {
    filter: brightness(1.18) drop-shadow(0 0 7px rgba(91, 181, 255, 0.82));
    transform: rotate(45deg) scale(1.08);
  }
}

@keyframes astral-spotlight-drift {
  from { background-position: 23% 48%; }
  to { background-position: 31% 50%; }
}

@keyframes astral-status-pulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.88);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .astral-content-stage > .realm-status {
    min-height: 0;
    padding: 7px 12px;
    border-radius: 15px 15px 9px 9px;
  }

  .realm-status article {
    min-height: 56px;
    padding: 7px 14px;
  }

  .realm-status article::before {
    display: none;
  }

  .realm-status article:nth-child(odd)::after {
    top: 10px;
    right: 0;
    bottom: 10px;
    display: block;
  }

  .realm-status__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}

@media (max-width: 520px) {
  .astral-content-stage > .realm-status {
    padding-inline: 7px;
  }

  .realm-status article {
    justify-content: flex-start;
    gap: 9px;
    padding-inline: 8px;
  }

  .realm-status__icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav a.is-active::before,
  .astral-hero__logo,
  .astral-hero__tagline span,
  .astral-panel-heading h2::before,
  .astral-spotlight,
  .realm-status__state.is-online::before,
  .realm-status__state.is-offline::before {
    animation-duration: var(--astral-ambient-duration, 7s) !important;
    animation-iteration-count: infinite !important;
  }

  .main-nav a.is-active::before { --astral-ambient-duration: 3.8s; }
  .astral-hero__tagline span { --astral-ambient-duration: 2.8s; }
  .astral-panel-heading h2::before { --astral-ambient-duration: 4.2s; }
  .astral-spotlight { --astral-ambient-duration: 22s; }
  .realm-status__state.is-online::before,
  .realm-status__state.is-offline::before { --astral-ambient-duration: 2.2s; }
}

/* Interactive depth, scroll reveals and localised card light. */
.home-page {
  --hero-bg-x: 0px;
  --hero-bg-y: 0px;
  --hero-overlay-x: 0px;
  --hero-overlay-y: 0px;
  --hero-content-x: 0px;
  --hero-content-y: 0px;
  --hero-character-x: 0px;
}

@media (min-width: 981px) and (pointer: fine) {
  .home-page .astral-hero {
    background-position:
      calc(50% + var(--hero-bg-x))
      calc(48% + var(--hero-bg-y));
    will-change: background-position;
  }

  .home-page .astral-hero::before {
    transform: translate3d(var(--hero-overlay-x), var(--hero-overlay-y), 0) scale(1.018);
    will-change: transform;
  }

  .home-page .astral-hero__content {
    transform: translate3d(var(--hero-content-x), var(--hero-content-y), 0);
    will-change: transform;
  }

  .home-page .site-header__hero-character {
    transform: translate3d(var(--hero-character-x), 0, 0);
    will-change: transform;
  }
}

.astral-effects-ready .astral-reveal {
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(0, 18px, 0) scale(0.988);
  transition:
    opacity 680ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    filter 680ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms),
    transform 760ms cubic-bezier(0.16, 0.78, 0.22, 1) var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.astral-effects-ready .astral-reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}

.astral-news-item,
.quick-link-grid a {
  --reactive-x: 50%;
  --reactive-y: 50%;
  isolation: isolate;
}

.astral-news-item::before,
.quick-link-grid a::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(
    155px circle at var(--reactive-x) var(--reactive-y),
    rgba(126, 211, 255, 0.22) 0%,
    rgba(61, 146, 255, 0.1) 32%,
    rgba(235, 191, 106, 0.045) 51%,
    transparent 72%);
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
}

.astral-news-item:hover::before,
.astral-news-item:focus-visible::before,
.quick-link-grid a:hover::before,
.quick-link-grid a:focus-visible::before {
  opacity: 1;
}

.astral-news-item > *,
.quick-link-grid a > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .astral-effects-ready .astral-reveal {
    transition-duration: 680ms, 680ms, 760ms !important;
  }
}

/* Celestial interaction pass: masked logo light, ambient aurora and tactile UI. */
.astral-hero__logo-stage {
  position: relative;
  display: block;
  width: min(100%, 520px);
  margin: 0 auto;
  line-height: 0;
}

.astral-hero__logo-stage .astral-hero__logo {
  display: block;
  width: 100%;
  margin: 0;
}

.astral-hero__logo-shine,
.astral-hero__logo-sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.astral-hero__logo-shine {
  opacity: 0;
  background: linear-gradient(
    112deg,
    transparent 28%,
    rgba(162, 221, 255, 0.06) 39%,
    rgba(255, 255, 255, 0.88) 49%,
    rgba(120, 201, 255, 0.16) 57%,
    transparent 70%);
  background-position: 165% 50%;
  background-size: 245% 100%;
  -webkit-mask: url("../img/astral-logo.png") center / contain no-repeat;
  mask: url("../img/astral-logo.png") center / contain no-repeat;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 7px rgba(153, 219, 255, 0.74));
  animation: astral-logo-shine 8.8s cubic-bezier(0.35, 0, 0.2, 1) infinite;
}

.astral-hero__logo-sparks i {
  position: absolute;
  width: 17px;
  height: 17px;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(140, 211, 255, 0.95));
  animation: astral-logo-star 6.4s ease-in-out infinite;
}

.astral-hero__logo-sparks i::before,
.astral-hero__logo-sparks i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transform: translate(-50%, -50%);
}

.astral-hero__logo-sparks i::before {
  width: 100%;
  height: 1px;
}

.astral-hero__logo-sparks i::after {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #fff, transparent);
}

.astral-hero__logo-sparks i:nth-child(1) {
  top: 18%;
  left: 64%;
  animation-delay: -0.8s;
}

.astral-hero__logo-sparks i:nth-child(2) {
  top: 60%;
  left: 21%;
  width: 11px;
  height: 11px;
  animation-delay: -3.7s;
}

.astral-hero__logo-sparks i:nth-child(3) {
  top: 73%;
  left: 78%;
  width: 13px;
  height: 13px;
  animation-delay: -5.1s;
}

.realm-status__energy {
  position: absolute;
  top: -1px;
  left: 1.5%;
  z-index: 5;
  width: 18%;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(104, 192, 255, 0.28), #e8f9ff 74%, #fff3c9 91%, transparent);
  box-shadow: 0 0 5px rgba(116, 204, 255, 0.68), 0 0 12px rgba(55, 147, 255, 0.42);
  animation: astral-status-energy 8.2s cubic-bezier(0.32, 0, 0.2, 1) infinite;
}

.realm-status__energy::after {
  position: absolute;
  top: 50%;
  right: 6%;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px #fff, 0 0 11px #77c9ff, 0 0 20px rgba(76, 161, 255, 0.82);
  transform: translateY(-50%);
}

.astral-content-stage__effects::before,
.astral-content-stage__effects::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  mix-blend-mode: screen;
  filter: blur(42px);
  will-change: transform, opacity;
}

.astral-content-stage__effects::before {
  top: 6%;
  left: -19%;
  width: 76%;
  height: 31%;
  background: linear-gradient(112deg, transparent 8%, rgba(24, 105, 231, 0.11) 27%, rgba(72, 172, 255, 0.36) 49%, rgba(131, 91, 238, 0.1) 68%, transparent 87%);
  transform: translate3d(-4%, 0, 0) skewX(-15deg);
  animation: astral-aurora-left 19s ease-in-out infinite alternate;
}

.astral-content-stage__effects::after {
  right: -24%;
  bottom: -3%;
  width: 82%;
  height: 42%;
  background: linear-gradient(68deg, transparent 10%, rgba(40, 90, 217, 0.08) 28%, rgba(49, 150, 255, 0.27) 52%, rgba(233, 184, 94, 0.09) 69%, transparent 88%);
  transform: translate3d(5%, 0, 0) skewX(13deg);
  animation: astral-aurora-right 24s ease-in-out infinite alternate;
}

.astral-interactive-button {
  transform-origin: center;
}

.astral-interactive-button.is-magic-hover {
  filter: brightness(1.08) saturate(1.06);
}

.astral-button-burst,
.astral-button-star {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.astral-button-burst {
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  opacity: 0;
  border: 1px solid rgba(226, 247, 255, 0.84);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), rgba(92, 181, 255, 0.2) 38%, transparent 70%);
  box-shadow: 0 0 13px rgba(91, 183, 255, 0.65);
  mix-blend-mode: screen;
  animation: astral-button-burst 620ms cubic-bezier(0.16, 0.68, 0.28, 1) forwards;
}

.astral-button-star {
  width: var(--button-star-size, 7px);
  height: var(--button-star-size, 7px);
  margin: calc(var(--button-star-size, 7px) * -0.5) 0 0 calc(var(--button-star-size, 7px) * -0.5);
  color: rgba(239, 251, 255, 0.94);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(111, 198, 255, 0.9));
  animation: astral-button-star 760ms ease-out var(--button-star-delay, 0ms) forwards;
}

.astral-button-star::before,
.astral-button-star::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
}

.astral-button-star::before {
  width: 100%;
  height: 1px;
}

.astral-button-star::after {
  width: 1px;
  height: 100%;
}

.quick-link-grid a i,
.astral-news-item__thumb,
.astral-news-item__arrow,
.realm-status__icon {
  transition: transform 240ms cubic-bezier(0.2, 0.72, 0.24, 1), filter 240ms ease, box-shadow 240ms ease;
}

.quick-link-grid a:hover i,
.quick-link-grid a:focus-visible i {
  transform: rotate(45deg) scale(0.88);
  box-shadow: 0 0 18px rgba(73, 165, 255, 0.34), inset 0 0 16px rgba(105, 192, 255, 0.2);
}

.quick-link-grid a:hover b,
.quick-link-grid a:focus-visible b,
.astral-news-item:hover .astral-news-item__arrow,
.astral-news-item:focus-visible .astral-news-item__arrow {
  transform: translateX(3px);
  filter: drop-shadow(0 0 5px rgba(113, 201, 255, 0.78));
}

.quick-link-grid b {
  transition: transform 220ms ease, filter 220ms ease;
}

.astral-news-item:hover .astral-news-item__thumb,
.astral-news-item:focus-visible .astral-news-item__thumb {
  transform: scale(1.025);
  filter: saturate(1.1) brightness(1.05);
  box-shadow: inset 0 0 14px rgba(28, 112, 224, 0.12), 0 7px 17px rgba(0, 6, 24, 0.38), 0 0 13px rgba(65, 153, 255, 0.18);
}

.realm-status article:hover .realm-status__icon {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

@keyframes astral-logo-shine {
  0%, 61% { opacity: 0; background-position: 165% 50%; }
  67% { opacity: 0.62; }
  82% { opacity: 0.34; background-position: -68% 50%; }
  88%, 100% { opacity: 0; background-position: -68% 50%; }
}

@keyframes astral-logo-star {
  0%, 70%, 100% { opacity: 0; transform: scale(0.35) rotate(0deg); }
  76% { opacity: 0.94; transform: scale(1.08) rotate(36deg); }
  83% { opacity: 0; transform: scale(0.54) rotate(70deg); }
}

@keyframes astral-status-energy {
  0%, 12% { opacity: 0; transform: translateX(0); }
  18% { opacity: 0.9; }
  48% { opacity: 0.72; }
  58%, 100% { opacity: 0; transform: translateX(448%); }
}

@keyframes astral-aurora-left {
  0% { opacity: 0.16; transform: translate3d(-4%, 0, 0) skewX(-15deg) scaleY(0.92); }
  55% { opacity: 0.31; }
  100% { opacity: 0.21; transform: translate3d(31%, 15%, 0) skewX(-9deg) scaleY(1.12); }
}

@keyframes astral-aurora-right {
  0% { opacity: 0.13; transform: translate3d(5%, 0, 0) skewX(13deg) scaleY(1); }
  48% { opacity: 0.27; }
  100% { opacity: 0.18; transform: translate3d(-29%, -14%, 0) skewX(8deg) scaleY(1.15); }
}

@keyframes astral-button-burst {
  0% { opacity: 0.72; transform: scale(0.2); }
  42% { opacity: 0.38; }
  100% { opacity: 0; transform: scale(8.5); }
}

@keyframes astral-button-star {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.35) rotate(0deg); }
  18% { opacity: 0.9; }
  100% { opacity: 0; transform: translate3d(var(--button-star-x, 0), var(--button-star-y, -14px), 0) scale(0.2) rotate(70deg); }
}

@media (max-width: 680px) {
  .astral-hero__logo-stage {
    width: min(100%, 470px);
  }

  .astral-content-stage__effects::before,
  .astral-content-stage__effects::after {
    opacity: 0.16;
  }
}

@media (prefers-reduced-motion: reduce) {
  .astral-hero__logo-shine,
  .astral-hero__logo-sparks i,
  .realm-status__energy,
  .astral-content-stage__effects::before,
  .astral-content-stage__effects::after {
    animation-duration: var(--astral-extra-duration, 9s) !important;
    animation-iteration-count: infinite !important;
  }

  .astral-hero__logo-sparks i { --astral-extra-duration: 6.4s; }
  .realm-status__energy { --astral-extra-duration: 8.2s; }
  .astral-content-stage__effects::before { --astral-extra-duration: 19s; }
  .astral-content-stage__effects::after { --astral-extra-duration: 24s; }

  .astral-button-burst,
  .astral-button-star {
    animation-duration: 620ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Deluxe depth pass: cinematic hero atmosphere and celestial panel chrome. */
.astral-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.astral-hero__mist,
.astral-hero__lightveil {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

.astral-hero__mist {
  right: -12%;
  bottom: -36px;
  left: -12%;
  height: 142px;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(18px);
}

.astral-hero__mist--far {
  opacity: 0.26;
  background:
    radial-gradient(ellipse at 18% 72%, rgba(82, 153, 245, 0.2), transparent 29%),
    radial-gradient(ellipse at 52% 55%, rgba(130, 195, 255, 0.21), transparent 34%),
    radial-gradient(ellipse at 84% 68%, rgba(53, 121, 226, 0.17), transparent 28%);
  animation: astral-hero-mist-far 20s ease-in-out infinite alternate;
}

.astral-hero__mist--near {
  bottom: -54px;
  height: 124px;
  opacity: 0.19;
  background:
    radial-gradient(ellipse at 10% 42%, rgba(206, 232, 255, 0.19), transparent 27%),
    radial-gradient(ellipse at 43% 66%, rgba(79, 157, 255, 0.24), transparent 34%),
    radial-gradient(ellipse at 74% 44%, rgba(188, 220, 255, 0.14), transparent 26%),
    radial-gradient(ellipse at 96% 62%, rgba(52, 128, 231, 0.2), transparent 24%);
  animation: astral-hero-mist-near 15s ease-in-out infinite alternate;
}

.astral-hero__lightveil {
  top: -32%;
  left: 34%;
  width: 31%;
  height: 145%;
  opacity: 0.14;
  background: linear-gradient(102deg, transparent 16%, rgba(196, 229, 255, 0.03) 35%, rgba(219, 242, 255, 0.26) 49%, rgba(99, 174, 255, 0.06) 61%, transparent 79%);
  mix-blend-mode: screen;
  filter: blur(14px);
  transform: skewX(-13deg) translate3d(-18%, 0, 0);
  animation: astral-hero-lightveil 13s ease-in-out infinite alternate;
}

.astral-constellations {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  opacity: 0.28;
  mix-blend-mode: screen;
}

.astral-constellations__cluster {
  fill: rgba(231, 247, 255, 0.94);
  stroke: rgba(93, 178, 255, 0.58);
  stroke-width: 1;
  filter: drop-shadow(0 0 4px rgba(73, 165, 255, 0.58));
}

.astral-constellations__cluster path {
  fill: none;
  stroke-dasharray: 7 13;
  animation: astral-constellation-flow 18s linear infinite;
}

.astral-constellations__cluster circle {
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  animation: astral-constellation-node 4.8s ease-in-out infinite;
}

.astral-constellations__cluster--two path { animation-delay: -7s; }
.astral-constellations__cluster--two circle { animation-delay: -2.4s; }
.astral-constellations__cluster--three path { animation-delay: -12s; }
.astral-constellations__cluster--three circle { animation-delay: -1.1s; }
.astral-constellations__cluster--four path { animation-delay: -4s; }
.astral-constellations__cluster--four circle { animation-delay: -3.6s; }

.astral-panel-chrome {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.astral-panel-chrome::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 27%;
  height: 1px;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(125, 210, 255, 0.64), #f4fcff 65%, #efd093 83%, transparent);
  box-shadow: 0 0 7px rgba(89, 182, 255, 0.7);
  transform: translateX(-110%);
  animation: astral-panel-tracer 9.5s cubic-bezier(0.33, 0, 0.18, 1) infinite;
}

.astral-panel-chrome::after {
  position: absolute;
  inset: 5px;
  content: "";
  border: 1px solid rgba(150, 211, 255, 0.055);
  border-radius: 7px;
  box-shadow: inset 0 0 24px rgba(62, 145, 255, 0.025);
}

.astral-panel-chrome i {
  position: absolute;
  width: 19px;
  height: 19px;
  opacity: 0.72;
  filter: drop-shadow(0 0 4px rgba(79, 172, 255, 0.46));
  transition: opacity 260ms ease, filter 260ms ease;
}

.astral-panel-chrome i:nth-child(1) {
  top: 6px;
  left: 6px;
  border-top: 1px solid rgba(238, 199, 124, 0.72);
  border-left: 1px solid rgba(127, 201, 255, 0.62);
}

.astral-panel-chrome i:nth-child(2) {
  top: 6px;
  right: 6px;
  border-top: 1px solid rgba(238, 199, 124, 0.72);
  border-right: 1px solid rgba(127, 201, 255, 0.62);
}

.astral-panel-chrome i:nth-child(3) {
  right: 6px;
  bottom: 6px;
  border-right: 1px solid rgba(127, 201, 255, 0.55);
  border-bottom: 1px solid rgba(238, 199, 124, 0.55);
}

.astral-panel-chrome i:nth-child(4) {
  bottom: 6px;
  left: 6px;
  border-bottom: 1px solid rgba(238, 199, 124, 0.55);
  border-left: 1px solid rgba(127, 201, 255, 0.55);
}

.astral-hub__news,
.astral-hub__links,
.astral-spotlight {
  transition: border-color 260ms ease, box-shadow 260ms ease, filter 260ms ease;
}

.astral-hub__news:hover,
.astral-hub__links:hover,
.astral-spotlight:hover {
  border-color: rgba(127, 198, 255, 0.64);
  box-shadow:
    0 17px 35px rgba(0, 6, 27, 0.4),
    0 0 22px rgba(42, 131, 241, 0.12),
    inset 0 0 28px rgba(57, 139, 245, 0.045);
}

.astral-hub__news:hover .astral-panel-chrome i,
.astral-hub__links:hover .astral-panel-chrome i,
.astral-spotlight:hover .astral-panel-chrome i {
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(92, 185, 255, 0.72));
}

.astral-spotlight {
  --spotlight-lens-x: 50%;
  --spotlight-lens-y: 50%;
}

.astral-spotlight__lens {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.25;
  border-radius: inherit;
  background: radial-gradient(245px circle at var(--spotlight-lens-x) var(--spotlight-lens-y), rgba(132, 205, 255, 0.25), rgba(72, 145, 255, 0.08) 36%, transparent 70%);
  mix-blend-mode: screen;
  transition: opacity 260ms ease;
}

.astral-spotlight.is-lens-active .astral-spotlight__lens {
  opacity: 0.72;
}

@media (min-width: 981px) and (pointer: fine) {
  .astral-news-item {
    --card-shift-x: 0px;
    --card-tilt-x: 0deg;
    --card-tilt-y: 0deg;
    transform: perspective(780px) translateX(var(--card-shift-x)) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y));
    transform-style: preserve-3d;
  }

  .astral-news-item:hover,
  .astral-news-item:focus-visible {
    --card-shift-x: 2px;
  }

  .quick-link-grid a {
    --card-lift: 0px;
    --card-tilt-x: 0deg;
    --card-tilt-y: 0deg;
    transform: perspective(760px) translateY(var(--card-lift)) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y));
    transform-style: preserve-3d;
  }

  .quick-link-grid a:hover,
  .quick-link-grid a:focus-visible {
    --card-lift: -2px;
  }
}

@keyframes astral-hero-mist-far {
  0% { opacity: 0.19; transform: translate3d(-2.5%, 4px, 0) scaleX(1.02); }
  52% { opacity: 0.29; }
  100% { opacity: 0.22; transform: translate3d(3.5%, -7px, 0) scaleX(1.08); }
}

@keyframes astral-hero-mist-near {
  0% { opacity: 0.13; transform: translate3d(3%, 3px, 0) scaleX(1.07); }
  100% { opacity: 0.23; transform: translate3d(-3.8%, -8px, 0) scaleX(1.12); }
}

@keyframes astral-hero-lightveil {
  0% { opacity: 0.08; transform: skewX(-13deg) translate3d(-18%, 0, 0); }
  48% { opacity: 0.16; }
  100% { opacity: 0.1; transform: skewX(-9deg) translate3d(42%, 0, 0); }
}

@keyframes astral-constellation-flow {
  from { stroke-dashoffset: 0; opacity: 0.36; }
  50% { opacity: 0.78; }
  to { stroke-dashoffset: -80; opacity: 0.36; }
}

@keyframes astral-constellation-node {
  0%, 100% { opacity: 0.42; transform: scale(0.72); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes astral-panel-tracer {
  0%, 18% { opacity: 0; transform: translateX(-110%); }
  24% { opacity: 0.82; }
  54% { opacity: 0.54; }
  63%, 100% { opacity: 0; transform: translateX(472%); }
}

@media (max-width: 980px) {
  .astral-constellations {
    opacity: 0.18;
  }

  .astral-panel-chrome i {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 680px) {
  .astral-hero__mist {
    opacity: 0.13;
  }

  .astral-hero__lightveil {
    left: 18%;
    width: 52%;
    opacity: 0.08;
  }

  .astral-constellations {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .astral-hero__mist--far,
  .astral-hero__mist--near,
  .astral-hero__lightveil,
  .astral-constellations__cluster path,
  .astral-constellations__cluster circle,
  .astral-panel-chrome::before {
    animation-duration: var(--astral-deluxe-duration, 18s) !important;
    animation-iteration-count: infinite !important;
  }

  .astral-hero__mist--near { --astral-deluxe-duration: 15s; }
  .astral-hero__lightveil { --astral-deluxe-duration: 13s; }
  .astral-constellations__cluster circle { --astral-deluxe-duration: 4.8s; }
  .astral-panel-chrome::before { --astral-deluxe-duration: 9.5s; }
}

/* Choreographed first impression without moving the anchored character. */
.astral-intro-ready .site-header__hero-character-frame {
  animation: astral-intro-character 1.15s cubic-bezier(0.16, 0.78, 0.2, 1) 80ms both;
}

.astral-intro-ready .astral-hero__logo-stage {
  animation: astral-intro-logo 920ms cubic-bezier(0.16, 0.8, 0.2, 1) 120ms both;
}

.astral-intro-ready .astral-hero__tagline {
  animation: astral-intro-rise 720ms cubic-bezier(0.2, 0.74, 0.24, 1) 330ms both;
}

.astral-intro-ready .astral-hero__actions {
  animation: astral-intro-rise 760ms cubic-bezier(0.2, 0.74, 0.24, 1) 460ms both;
}

.astral-intro-ready .astral-hero__motto {
  animation: astral-intro-motto 840ms cubic-bezier(0.2, 0.74, 0.24, 1) 300ms both;
}

.astral-intro-ready .astral-hero__atmosphere {
  animation: astral-intro-atmosphere 1.35s ease-out 180ms both;
}

@keyframes astral-intro-character {
  from { opacity: 0; clip-path: inset(0 0 0 17%); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes astral-intro-logo {
  from { opacity: 0; filter: blur(7px) brightness(1.32); transform: translate3d(0, 12px, 0) scale(0.955); }
  62% { opacity: 1; filter: blur(0) brightness(1.09); }
  to { opacity: 1; filter: none; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes astral-intro-rise {
  from { opacity: 0; filter: blur(3px); transform: translate3d(0, 11px, 0); }
  to { opacity: 1; filter: none; transform: translate3d(0, 0, 0); }
}

@keyframes astral-intro-motto {
  from { opacity: 0; filter: blur(3px); transform: translate3d(-14px, 0, 0); }
  to { opacity: 1; filter: none; transform: translate3d(0, 0, 0); }
}

@keyframes astral-intro-atmosphere {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .astral-intro-ready .site-header__hero-character-frame,
  .astral-intro-ready .astral-hero__logo-stage,
  .astral-intro-ready .astral-hero__tagline,
  .astral-intro-ready .astral-hero__actions,
  .astral-intro-ready .astral-hero__motto,
  .astral-intro-ready .astral-hero__atmosphere {
    animation-duration: var(--astral-intro-duration, 760ms) !important;
    animation-iteration-count: 1 !important;
  }

  .astral-intro-ready .site-header__hero-character-frame { --astral-intro-duration: 1.15s; }
  .astral-intro-ready .astral-hero__logo-stage { --astral-intro-duration: 920ms; }
  .astral-intro-ready .astral-hero__motto { --astral-intro-duration: 840ms; }
  .astral-intro-ready .astral-hero__atmosphere { --astral-intro-duration: 1.35s; }
}

/* Premium continuity for every public inner page. */
.astral-global-ready .inner-page .page-hero__copy {
  animation: astral-inner-hero-copy 820ms cubic-bezier(0.16, 0.78, 0.2, 1) 90ms both;
}

.astral-global-ready .inner-page .page-sigil {
  animation: astral-inner-hero-sigil 1.05s cubic-bezier(0.16, 0.78, 0.2, 1) 160ms both;
}

.astral-global-ready .inner-page .rune-divider span {
  animation: astral-inner-rune 3.8s ease-in-out infinite;
}

.astral-inner-card {
  --inner-light-x: 50%;
  --inner-light-y: 50%;
  --inner-tilt-x: 0deg;
  --inner-tilt-y: 0deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: perspective(1100px) rotateX(var(--inner-tilt-x)) rotateY(var(--inner-tilt-y));
  transform-style: preserve-3d;
  transition: transform 150ms ease-out, border-color 240ms ease, box-shadow 240ms ease;
}

.astral-inner-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--inner-light-x) var(--inner-light-y), rgba(125, 205, 255, 0.19), rgba(59, 139, 244, 0.07) 37%, transparent 72%);
  mix-blend-mode: screen;
  transition: opacity 240ms ease;
}

.astral-inner-card:hover,
.astral-inner-card:focus-within {
  border-color: rgba(124, 197, 255, 0.64);
  box-shadow: inset 0 0 32px rgba(58, 141, 248, 0.065), 0 20px 46px rgba(0, 7, 29, 0.42), 0 0 24px rgba(49, 137, 245, 0.11);
}

.astral-inner-card:hover::after,
.astral-inner-card:focus-within::after {
  opacity: 1;
}

.astral-inner-card > * {
  position: relative;
  z-index: 1;
}

.astral-global-ready .astral-inner-reveal {
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(0, 17px, 0) scale(0.992);
  transition:
    opacity 620ms cubic-bezier(0.2, 0.72, 0.2, 1) var(--inner-reveal-delay, 0ms),
    filter 620ms cubic-bezier(0.2, 0.72, 0.2, 1) var(--inner-reveal-delay, 0ms),
    transform 690ms cubic-bezier(0.16, 0.78, 0.22, 1) var(--inner-reveal-delay, 0ms);
}

.astral-global-ready .astral-inner-reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
}

.astral-inner-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 16px;
  height: 16px;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86) 0 5%, rgba(106, 195, 255, 0.24) 20%, transparent 66%);
  filter: drop-shadow(0 0 5px rgba(154, 219, 255, 0.78));
  transition: opacity 160ms ease;
  will-change: transform;
}

.astral-inner-cursor::before,
.astral-inner-cursor::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(240, 252, 255, 0.9), transparent);
  transform: translate(-50%, -50%);
}

.astral-inner-cursor::before {
  width: 15px;
  height: 1px;
}

.astral-inner-cursor::after {
  width: 1px;
  height: 15px;
  background: linear-gradient(180deg, transparent, rgba(240, 252, 255, 0.9), transparent);
}

.astral-inner-cursor.is-visible {
  opacity: 0.72;
}

@keyframes astral-inner-hero-copy {
  from { opacity: 0.9; filter: none; transform: translate3d(-8px, 0, 0); }
  to { opacity: 1; filter: none; transform: translate3d(0, 0, 0); }
}

@keyframes astral-inner-hero-sigil {
  from { opacity: 0.85; filter: none; transform: translate3d(9px, 0, 0) scale(0.98); }
  to { opacity: 1; filter: none; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes astral-inner-rune {
  0%, 100% { filter: brightness(0.9); box-shadow: 0 0 8px rgba(66, 161, 255, 0.62); }
  50% { filter: brightness(1.2); box-shadow: 0 0 15px rgba(101, 194, 255, 0.94); }
}

@media (pointer: coarse) {
  .astral-inner-cursor {
    display: none;
  }
}

@media (max-width: 680px) {
  .astral-inner-card {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .astral-global-ready .inner-page .page-hero__copy,
  .astral-global-ready .inner-page .page-sigil,
  .astral-global-ready .inner-page .rune-divider span {
    animation-duration: var(--astral-inner-duration, 820ms) !important;
    animation-iteration-count: 1 !important;
  }

  .astral-global-ready .inner-page .page-sigil { --astral-inner-duration: 1.05s; }

  .astral-global-ready .inner-page .rune-divider span {
    --astral-inner-duration: 3.8s;
    animation-iteration-count: infinite !important;
  }

  .astral-global-ready .astral-inner-reveal {
    transition-duration: 620ms, 620ms, 690ms !important;
  }
}

/* Endgame presentation layer: prismatic hero light, reactive depth and
   ultrawide celestial ornaments. All decorative motion stays GPU-friendly. */
.astral-hero__radiance,
.astral-hero__prism {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.astral-hero__radiance {
  top: -24%;
  left: 28%;
  width: 49%;
  height: 132%;
  opacity: 0.32;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(224, 247, 255, 0.31) 0%, rgba(85, 178, 255, 0.2) 17%, rgba(46, 111, 227, 0.08) 38%, transparent 68%);
  filter: blur(10px);
  animation: astral-endgame-radiance 8.6s ease-in-out infinite alternate;
}

.astral-hero__prism {
  top: -34%;
  left: 34%;
  width: 48%;
  height: 172%;
  opacity: 0.13;
  background:
    linear-gradient(104deg, transparent 22%, rgba(119, 197, 255, 0.04) 33%, rgba(225, 247, 255, 0.23) 45%, rgba(101, 158, 255, 0.055) 54%, transparent 68%),
    linear-gradient(97deg, transparent 41%, rgba(248, 211, 143, 0.12) 49%, transparent 57%);
  filter: blur(8px);
  transform: skewX(-10deg) translate3d(-14%, 0, 0);
  animation: astral-endgame-prism 15.5s ease-in-out infinite alternate;
}

.site-header::before {
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(105, 195, 255, 0.38), #eefbff 66%, #f5d99a 83%, transparent);
  background-position: -28% 0;
  background-repeat: no-repeat;
  background-size: 22% 100%;
  box-shadow: 0 0 5px rgba(102, 195, 255, 0.82), 0 0 13px rgba(49, 139, 248, 0.46);
  animation: astral-header-beam 11.5s cubic-bezier(0.34, 0, 0.2, 1) infinite;
}

.astral-content-stage__effects {
  --content-lens-x: 50%;
  --content-lens-y: 42%;
}

.astral-content-stage__lens {
  position: absolute;
  top: var(--content-lens-y);
  left: var(--content-lens-x);
  z-index: 0;
  width: min(58vw, 820px);
  height: min(47vw, 610px);
  pointer-events: none;
  opacity: 0.24;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(128, 210, 255, 0.19) 0%, rgba(49, 139, 246, 0.11) 28%, rgba(42, 82, 206, 0.045) 48%, transparent 72%);
  mix-blend-mode: screen;
  filter: blur(17px);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 420ms ease;
  will-change: transform, opacity;
}

.astral-content-stage__effects.is-lens-active .astral-content-stage__lens {
  opacity: 0.58;
}

.astral-gutter-sigil {
  position: absolute;
  top: 20%;
  z-index: 1;
  display: none;
  width: 68px;
  height: 220px;
  pointer-events: none;
  opacity: 0.42;
  color: rgba(143, 211, 255, 0.78);
  filter: drop-shadow(0 0 7px rgba(57, 148, 255, 0.38));
  animation: astral-gutter-sigil 9.5s ease-in-out infinite alternate;
}

.astral-gutter-sigil--left { left: clamp(28px, 4.2vw, 82px); }
.astral-gutter-sigil--right {
  right: clamp(28px, 4.2vw, 82px);
  animation-delay: -4.8s;
}

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

.astral-gutter-sigil::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(102, 190, 255, 0.18) 12%, rgba(183, 229, 255, 0.72) 48%, rgba(235, 194, 113, 0.36) 73%, transparent);
  box-shadow: 0 0 8px rgba(72, 166, 255, 0.32);
}

.astral-gutter-sigil::after {
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(124, 202, 255, 0.48);
  background: radial-gradient(circle, rgba(198, 235, 255, 0.2), transparent 59%);
  box-shadow: inset 0 0 16px rgba(47, 136, 246, 0.12), 0 0 13px rgba(55, 145, 255, 0.12);
  transform: translate(-50%, -50%) rotate(45deg);
}

.astral-gutter-sigil b {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(225, 246, 255, 0.82);
  background: linear-gradient(135deg, #dff7ff, #4da8f7 48%, #164eac);
  box-shadow: 0 0 7px rgba(87, 181, 255, 0.75);
  transform: translateX(-50%) rotate(45deg);
  animation: astral-gutter-node 4.2s ease-in-out infinite;
}

.astral-gutter-sigil b:nth-child(1) { top: 7%; }
.astral-gutter-sigil b:nth-child(2) {
  top: calc(50% - 5px);
  width: 11px;
  height: 11px;
  color: #f3ce86;
  border-color: rgba(255, 226, 167, 0.86);
  background: linear-gradient(135deg, #fff4d5, #d69c42 53%, #754313);
  box-shadow: 0 0 8px rgba(238, 190, 99, 0.66);
  animation-delay: -2.1s;
}
.astral-gutter-sigil b:nth-child(3) {
  bottom: 7%;
  animation-delay: -3.2s;
}

.astral-hub__news,
.astral-hub__links,
.astral-spotlight {
  --panel-light-x: 50%;
  --panel-light-y: 50%;
  --panel-tilt-x: 0deg;
  --panel-tilt-y: 0deg;
}

.astral-panel-chrome {
  transform: perspective(1250px) rotateX(var(--panel-tilt-x)) rotateY(var(--panel-tilt-y)) scale(0.999);
  transform-style: preserve-3d;
  transition: transform 145ms ease-out;
  will-change: transform;
}

.astral-panel-chrome::after {
  opacity: 0.42;
  background:
    radial-gradient(330px circle at var(--panel-light-x) var(--panel-light-y), rgba(150, 220, 255, 0.16), rgba(55, 142, 250, 0.055) 36%, transparent 70%);
  mix-blend-mode: screen;
  transition: opacity 260ms ease;
}

.is-panel-reactive .astral-panel-chrome::after {
  opacity: 0.95;
}

.is-panel-reactive {
  filter: brightness(1.025) saturate(1.035);
}

.brand img {
  transform-origin: center;
  animation: astral-brand-breathe 6.8s ease-in-out infinite;
}

.inner-page .page-hero {
  isolation: isolate;
  overflow: hidden;
}

.inner-page .page-hero::before {
  z-index: 0;
}

.inner-page .page-hero::after {
  position: absolute;
  inset: -28% -12%;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background:
    linear-gradient(105deg, transparent 23%, rgba(117, 195, 255, 0.035) 36%, rgba(226, 248, 255, 0.22) 47%, rgba(99, 157, 255, 0.045) 56%, transparent 69%),
    radial-gradient(ellipse at 72% 44%, rgba(86, 176, 255, 0.2), transparent 28%);
  mix-blend-mode: screen;
  filter: blur(9px);
  transform: translate3d(-11%, 0, 0) skewX(-8deg);
  animation: astral-inner-prism 16.5s ease-in-out infinite alternate;
}

.inner-page .page-hero__copy,
.inner-page .page-sigil {
  z-index: 2;
}

@media (min-width: 1560px) {
  .astral-gutter-sigil { display: block; }
}

@media (max-width: 980px) {
  .astral-hero__radiance {
    left: 18%;
    width: 66%;
    opacity: 0.21;
  }

  .astral-hero__prism {
    left: 22%;
    width: 66%;
    opacity: 0.085;
  }

  .astral-content-stage__lens {
    width: 660px;
    height: 510px;
    opacity: 0.17;
  }
}

@media (max-width: 680px) {
  .site-header::before { display: none; }
  .astral-hero__radiance { opacity: 0.14; }
  .astral-hero__prism { display: none; }
  .astral-content-stage__lens { opacity: 0.1; }
  .astral-panel-chrome { transform: none; }
}

@keyframes astral-endgame-radiance {
  0% { opacity: 0.22; transform: translate3d(-1.5%, 1%, 0) scale(0.96); }
  52% { opacity: 0.36; }
  100% { opacity: 0.28; transform: translate3d(2.2%, -1.5%, 0) scale(1.055); }
}

@keyframes astral-endgame-prism {
  0% { opacity: 0.075; transform: skewX(-10deg) translate3d(-14%, 0, 0); }
  55% { opacity: 0.15; }
  100% { opacity: 0.09; transform: skewX(-7deg) translate3d(31%, 0, 0); }
}

@keyframes astral-header-beam {
  0%, 21% { opacity: 0; background-position: -28% 0; }
  27% { opacity: 0.88; }
  56% { opacity: 0.46; }
  66%, 100% { opacity: 0; background-position: 128% 0; }
}

@keyframes astral-gutter-sigil {
  0% { opacity: 0.25; transform: translate3d(0, -7px, 0); }
  50% { opacity: 0.48; }
  100% { opacity: 0.32; transform: translate3d(0, 10px, 0); }
}

@keyframes astral-gutter-node {
  0%, 100% { filter: brightness(0.86); transform: translateX(-50%) rotate(45deg) scale(0.78); }
  50% { filter: brightness(1.24); transform: translateX(-50%) rotate(45deg) scale(1.08); }
}

@keyframes astral-brand-breathe {
  0%, 100% { opacity: 0.92; transform: translate3d(0, 0, 0) scale(0.98); }
  50% { opacity: 1; transform: translate3d(0, -1px, 0) scale(1.035); }
}

@keyframes astral-inner-prism {
  0% { opacity: 0.1; transform: translate3d(-11%, 0, 0) skewX(-8deg); }
  52% { opacity: 0.22; }
  100% { opacity: 0.13; transform: translate3d(19%, 0, 0) skewX(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .astral-hero__radiance,
  .astral-hero__prism,
  .site-header::before,
  .astral-gutter-sigil,
  .astral-gutter-sigil b,
  .brand img,
  .inner-page .page-hero::after {
    animation-duration: var(--astral-endgame-duration, 10s) !important;
    animation-iteration-count: infinite !important;
  }

  .astral-hero__radiance { --astral-endgame-duration: 8.6s; }
  .astral-hero__prism { --astral-endgame-duration: 15.5s; }
  .site-header::before { --astral-endgame-duration: 11.5s; }
  .astral-gutter-sigil { --astral-endgame-duration: 9.5s; }
  .astral-gutter-sigil b { --astral-endgame-duration: 4.2s; }
  .brand img { --astral-endgame-duration: 6.8s; }
  .inner-page .page-hero::after { --astral-endgame-duration: 16.5s; }
}
