/* Astral Chronicles — shared inner-page system
   News, Download, Features, Support, Account, Vote, Donate and 404. */

.inner-page:not(.ranking-page) {
  --inner-ink: #020919;
  --inner-deep: #04132d;
  --inner-panel: rgba(6, 24, 58, 0.88);
  --inner-panel-soft: rgba(8, 31, 70, 0.68);
  --inner-blue: #58b8ff;
  --inner-blue-bright: #a7e5ff;
  --inner-line: rgba(89, 175, 255, 0.42);
  --inner-line-soft: rgba(109, 188, 255, 0.18);
  --inner-gold: #e7bc6a;
  --inner-gold-bright: #ffe6a9;
  --inner-gold-soft: rgba(231, 188, 106, 0.34);
  --inner-copy: #b9cce5;
  --inner-max: 1500px;
  --inner-word: "ASTRAL";
  background: #010817;
}

.news-page { --inner-word: "DISPATCH"; }
.download-page { --inner-word: "LAUNCHER"; }
.features-page { --inner-word: "CHRONICLES"; }
.faq-page { --inner-word: "SUPPORT"; }
.account-page { --inner-word: "ACCOUNT"; }
.vote-page { --inner-word: "REWARDS"; }
.donate-page { --inner-word: "CELESTIAL"; }
.fehlerseite-page { --inner-word: "LOST PATH"; }

.inner-page:not(.ranking-page) .page-shell {
  overflow: clip;
  background: #010817;
}

.inner-page:not(.ranking-page) .page-main {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 68px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 9%, rgba(26, 105, 225, 0.22), transparent 34rem),
    radial-gradient(circle at 10% 46%, rgba(35, 100, 211, 0.12), transparent 29rem),
    radial-gradient(circle at 92% 58%, rgba(16, 85, 190, 0.12), transparent 32rem),
    linear-gradient(180deg, #03122d 0%, #020b1e 52%, #010817 100%);
}

.inner-page:not(.ranking-page) .page-main::before {
  position: absolute;
  inset: 0 0 260px;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.65;
  background:
    radial-gradient(circle at 7% 4%, rgba(194, 229, 255, 0.9) 0 1px, transparent 1.7px),
    radial-gradient(circle at 77% 8%, rgba(194, 229, 255, 0.8) 0 1px, transparent 1.7px),
    radial-gradient(circle at 38% 41%, rgba(106, 188, 255, 0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 90% 73%, rgba(241, 204, 132, 0.66) 0 1px, transparent 1.8px),
    radial-gradient(circle at 18% 78%, rgba(139, 207, 255, 0.58) 0 1.2px, transparent 2px);
  background-size: 197px 197px, 283px 283px, 239px 239px, 331px 331px, 271px 271px;
  animation: innerStarsDrift 54s linear infinite;
}

.inner-page:not(.ranking-page) .page-main::after {
  position: absolute;
  inset: 430px -15vw 220px;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.52;
  background:
    radial-gradient(ellipse at 48% 14%, rgba(62, 151, 255, 0.16), transparent 33rem),
    linear-gradient(112deg, transparent 18%, rgba(69, 154, 255, 0.035) 35%, transparent 52%);
  filter: blur(12px);
  transform: rotate(-3deg);
  animation: innerAurora 12s ease-in-out infinite alternate;
}

@keyframes innerStarsDrift {
  to { background-position: 78px 32px, -42px 69px, 112px -51px, -73px -26px, 39px 91px; }
}

@keyframes innerAurora {
  from { opacity: 0.35; transform: translate3d(-2%, -1%, 0) rotate(-3deg); }
  to { opacity: 0.68; transform: translate3d(2%, 1%, 0) rotate(-1deg); }
}

/* Header --------------------------------------------------------------- */
.inner-page:not(.ranking-page) .site-header {
  min-height: 68px;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  padding-inline: max(22px, calc((100vw - var(--inner-max)) / 2));
  position: sticky;
  top: 0;
  z-index: 80;
  background:
    radial-gradient(ellipse at 50% -85%, rgba(82, 164, 255, 0.21), transparent 54%),
    linear-gradient(90deg, rgba(2, 11, 31, 0.99), rgba(7, 23, 55, 0.965) 44%, rgba(2, 10, 29, 0.99));
  border-bottom: 0;
  box-shadow:
    0 7px 28px rgba(0, 5, 24, 0.48),
    inset 0 -1px 0 rgba(238, 197, 119, 0.3),
    inset 0 -8px 22px rgba(43, 118, 223, 0.055);
  backdrop-filter: blur(18px) saturate(1.2);
}

.inner-page:not(.ranking-page) .site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent 2%, rgba(63, 151, 255, 0.22) 17%, rgba(161, 221, 255, 0.78) 50%, rgba(63, 151, 255, 0.22) 83%, transparent 98%);
  filter: drop-shadow(0 0 6px rgba(77, 169, 255, 0.76));
}

.inner-page:not(.ranking-page) .brand img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 11px rgba(91, 177, 255, 0.58));
}

.inner-page:not(.ranking-page) .main-nav {
  gap: clamp(1.15rem, 2.05vw, 2.8rem);
}

.inner-page:not(.ranking-page) .main-nav a {
  display: flex;
  align-items: center;
  height: 68px;
  padding: 1px 0 0;
  color: rgba(229, 239, 252, 0.82);
  font-family: "Palatino Linotype", "Book Antiqua", "Times New Roman", Georgia, serif;
  font-size: clamp(0.74rem, 0.69rem + 0.1vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.085em;
}

.inner-page:not(.ranking-page) .main-nav a::after {
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 214, 255, 0.68) 24%, #f3fbff 50%, rgba(93, 171, 255, 0.72) 76%, transparent);
  box-shadow: 0 0 6px rgba(116, 202, 255, 0.9), 0 0 15px rgba(52, 139, 250, 0.58);
}

.inner-page:not(.ranking-page) .main-nav a::before {
  bottom: -5px;
  z-index: 2;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(232, 248, 255, 0.94);
  background: linear-gradient(135deg, #e9fbff, #54aeff 48%, #194b9d);
  box-shadow: 0 0 7px rgba(176, 228, 255, 0.98), 0 0 15px rgba(55, 150, 255, 0.72);
  transform: translateX(-50%) rotate(45deg) scale(0);
}

.inner-page:not(.ranking-page) .main-nav a:is(.is-active, :hover)::before {
  transform: translateX(-50%) rotate(45deg) scale(1);
}

.inner-page:not(.ranking-page) .header-cta {
  min-width: 100px;
  min-height: 42px;
  padding-inline: 22px;
  color: #fff1cd;
  font-size: 0.75rem;
  border-color: rgba(248, 211, 139, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 239, 198, 0.09), transparent 44%),
    linear-gradient(120deg, rgba(10, 31, 66, 0.98), rgba(2, 13, 34, 0.995));
  box-shadow:
    0 10px 26px rgba(0, 4, 19, 0.42),
    0 0 17px rgba(235, 188, 97, 0.13),
    inset 0 1px 0 rgba(255, 243, 207, 0.18),
    inset 0 -1px 0 rgba(177, 116, 38, 0.35);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

/* Shared hero ---------------------------------------------------------- */
.inner-page:not(.ranking-page) .page-hero {
  width: 100%;
  min-height: clamp(480px, 31.3vw, 520px);
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(300px, 430px);
  justify-content: center;
  align-items: center;
  gap: clamp(54px, 8vw, 150px);
  padding: clamp(54px, 4.3vw, 68px) max(30px, calc((100vw - var(--inner-max)) / 2)) clamp(54px, 4vw, 64px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(132, 204, 255, 0.76);
  background:
    linear-gradient(90deg, rgba(1, 9, 29, 0.55), rgba(2, 13, 39, 0.24) 45%, rgba(1, 9, 29, 0.52)),
    url("../img/astral-hero-islands-v4.png") center 47% / cover no-repeat,
    url("../img/astral-hero-sky-v5.png") center 45% / cover no-repeat;
  box-shadow:
    inset 0 -105px 115px rgba(1, 7, 23, 0.68),
    0 12px 32px rgba(0, 7, 30, 0.5);
}

.inner-page:not(.ranking-page) .page-hero--compact {
  min-height: clamp(480px, 31.3vw, 520px);
}

.inner-page:not(.ranking-page) .page-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 1;
  background:
    radial-gradient(ellipse at 24% 46%, rgba(73, 168, 255, 0.16), transparent 28rem),
    radial-gradient(ellipse at 81% 37%, rgba(40, 121, 228, 0.13), transparent 25rem),
    linear-gradient(180deg, rgba(1, 8, 27, 0.03) 0 47%, rgba(1, 8, 27, 0.78) 100%);
}

.inner-page:not(.ranking-page) .page-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  width: auto;
  height: 3px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent 0%, rgba(69, 157, 255, 0.56) 8%, rgba(167, 222, 255, 0.97) 34%, #f8ffff 49%, rgba(242, 202, 126, 0.92) 52%, rgba(118, 195, 255, 0.92) 72%, rgba(58, 145, 247, 0.55) 92%, transparent 100%);
  box-shadow: 0 0 7px rgba(177, 225, 255, 0.92), 0 0 20px rgba(56, 151, 255, 0.56);
}

@keyframes innerHeroDrift {
  from { transform: scale(1.025) translate3d(-0.35%, 0, 0); }
  to { transform: scale(1.045) translate3d(0.35%, -0.35%, 0); }
}

.inner-page:not(.ranking-page) .page-hero > * {
  position: relative;
  z-index: 2;
}

.inner-page:not(.ranking-page) .page-hero__copy {
  max-width: 760px;
  padding: 20px 0 20px clamp(26px, 3vw, 46px);
}

.inner-page:not(.ranking-page) .page-hero__copy::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(109, 198, 255, 0.95) 18%, rgba(232, 194, 116, 0.65) 50%, rgba(109, 198, 255, 0.95) 82%, transparent);
  box-shadow: 0 0 14px rgba(74, 170, 255, 0.62);
}

.inner-page:not(.ranking-page) .page-hero__copy::after {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 11px;
  height: 11px;
  content: "";
  border: 1px solid rgba(255, 224, 160, 0.8);
  background: #228ae4;
  box-shadow: 0 0 12px rgba(77, 177, 255, 0.88);
  transform: translateY(-50%) rotate(45deg);
}

.inner-page:not(.ranking-page) .page-hero .eyebrow {
  margin: 0 0 14px;
  color: #82cbff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-shadow: 0 0 13px rgba(70, 163, 255, 0.48);
}

.inner-page:not(.ranking-page) .page-hero h1 {
  max-width: none;
  margin: 0;
  color: #fff7e2;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 5.8vw, 7.2rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 0.94;
  text-shadow: 0 4px 22px rgba(0, 7, 25, 0.9), 0 0 28px rgba(74, 156, 255, 0.22);
}

.inner-page:not(.ranking-page) .rune-divider {
  width: min(270px, 76%);
  height: 19px;
  margin: 22px 0 18px;
  position: relative;
}

.inner-page:not(.ranking-page) .rune-divider::before,
.inner-page:not(.ranking-page) .rune-divider::after {
  position: absolute;
  top: 50%;
  width: calc(50% - 12px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(111, 194, 255, 0.75));
}

.inner-page:not(.ranking-page) .rune-divider::before { left: 0; }
.inner-page:not(.ranking-page) .rune-divider::after { right: 0; transform: scaleX(-1); }

.inner-page:not(.ranking-page) .rune-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid #d8f0ff;
  background: linear-gradient(135deg, #76c7ff, #0c5fbd);
  box-shadow: 0 0 13px rgba(79, 174, 255, 0.86);
  transform: translate(-50%, -50%) rotate(45deg);
}

.inner-page:not(.ranking-page) .page-hero .intro {
  max-width: 660px;
  margin: 0;
  color: #c2d2e7;
  font-size: clamp(0.96rem, 0.91rem + 0.14vw, 1.08rem);
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 5, 20, 0.8);
}

.inner-page:not(.ranking-page) .page-sigil {
  width: clamp(250px, 25vw, 380px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  padding: clamp(34px, 4vw, 58px);
  position: relative;
  filter: none;
}

.inner-page:not(.ranking-page) .page-sigil::before,
.inner-page:not(.ranking-page) .page-sigil::after {
  position: absolute;
  inset: 8%;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(105, 189, 255, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(37, 120, 232, 0.18), rgba(3, 17, 43, 0.18) 55%, transparent 70%);
  box-shadow: inset 0 0 38px rgba(56, 145, 255, 0.16), 0 0 34px rgba(54, 145, 255, 0.16);
}

.inner-page:not(.ranking-page) .page-sigil::after {
  inset: 16%;
  border-style: dashed;
  border-color: rgba(239, 198, 119, 0.36);
  animation: innerOrbit 28s linear infinite;
}

@keyframes innerOrbit { to { transform: rotate(360deg); } }

.inner-page:not(.ranking-page) .page-sigil img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 8, 31, 0.7)) drop-shadow(0 0 20px rgba(60, 153, 255, 0.46));
}

.inner-page:not(.ranking-page) .page-sigil--logo {
  width: clamp(300px, 29vw, 440px);
  aspect-ratio: 1.35;
  padding: clamp(20px, 3vw, 42px);
  background: none;
  border: 0;
  box-shadow: none;
}

.inner-page:not(.ranking-page) .page-sigil--logo::before,
.inner-page:not(.ranking-page) .page-sigil--logo::after {
  inset: 2% 14%;
}

.inner-page:not(.ranking-page) .page-sigil--logo::after { inset: 12% 22%; }

.inner-page:not(.ranking-page) .faq-quick-card {
  width: min(100%, 430px);
  justify-self: center;
  padding: clamp(34px, 4vw, 52px);
}

.inner-page:not(.ranking-page) .faq-quick-card strong {
  display: block;
  font-size: clamp(1.75rem, 2.4vw, 2.8rem);
  line-height: 1.14;
}

.inner-page:not(.ranking-page) .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 27px;
}

/* Shared content and surfaces ----------------------------------------- */
.inner-page:not(.ranking-page) .content-band {
  width: min(calc(100% - clamp(34px, 6vw, 96px)), var(--inner-max));
  margin: clamp(42px, 5vw, 76px) auto 0;
  position: relative;
  z-index: 2;
}

.inner-page:not(.ranking-page) .content-band:last-of-type {
  margin-bottom: clamp(86px, 8vw, 132px);
}

.inner-page:not(.ranking-page) :is(
  .forge-card,
  .auth-panel,
  .download-card,
  .requirements-panel,
  .support-panel,
  .faq-quick-card,
  .feature-callout,
  .news-article,
  .feature-tile
) {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--inner-line);
  border-radius: 12px;
  background:
    linear-gradient(142deg, rgba(11, 42, 91, 0.93), rgba(4, 19, 49, 0.94) 52%, rgba(3, 13, 34, 0.97)),
    radial-gradient(circle at 12% 0, rgba(91, 181, 255, 0.2), transparent 20rem);
  box-shadow:
    inset 0 1px 0 rgba(215, 239, 255, 0.08),
    inset 0 0 42px rgba(48, 133, 241, 0.07),
    0 22px 55px rgba(0, 5, 23, 0.35);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.inner-page:not(.ranking-page) :is(
  .forge-card,
  .auth-panel,
  .download-card,
  .requirements-panel,
  .support-panel,
  .faq-quick-card,
  .feature-callout,
  .news-article,
  .feature-tile
)::before {
  position: absolute;
  inset: 7px;
  z-index: 3;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(123, 200, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(var(--inner-gold), var(--inner-gold)) 0 0 / 26px 1px no-repeat,
    linear-gradient(var(--inner-gold), var(--inner-gold)) 0 0 / 1px 26px no-repeat,
    linear-gradient(var(--inner-gold), var(--inner-gold)) 100% 0 / 26px 1px no-repeat,
    linear-gradient(var(--inner-gold), var(--inner-gold)) 100% 0 / 1px 26px no-repeat,
    linear-gradient(var(--inner-gold), var(--inner-gold)) 0 100% / 26px 1px no-repeat,
    linear-gradient(var(--inner-gold), var(--inner-gold)) 0 100% / 1px 26px no-repeat,
    linear-gradient(var(--inner-gold), var(--inner-gold)) 100% 100% / 26px 1px no-repeat,
    linear-gradient(var(--inner-gold), var(--inner-gold)) 100% 100% / 1px 26px no-repeat;
  opacity: 0.52;
}

.inner-page:not(.ranking-page) :is(
  .forge-card,
  .auth-panel,
  .download-card,
  .support-panel,
  .faq-quick-card,
  .news-article,
  .feature-tile
):hover {
  border-color: rgba(125, 203, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(216, 240, 255, 0.12),
    inset 0 0 45px rgba(57, 145, 255, 0.1),
    0 27px 65px rgba(0, 5, 23, 0.42),
    0 0 25px rgba(47, 133, 239, 0.11);
}

.inner-page:not(.ranking-page) :is(
  .forge-card h2,
  .auth-panel h2,
  .download-card h2,
  .support-panel h2,
  .feature-callout h2,
  .news-article h2,
  .requirements-panel h2,
  .requirements-panel h3,
  .faq-quick-card strong
) {
  color: #fff4d8;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-shadow: 0 3px 16px rgba(0, 6, 25, 0.68);
}

.inner-page:not(.ranking-page) :is(
  .forge-card p,
  .auth-panel p,
  .download-card p,
  .feature-callout p,
  .news-article p,
  .faq-quick-card
) {
  color: var(--inner-copy);
  line-height: 1.72;
}

.inner-page:not(.ranking-page) :is(.panel-kicker, .card-index, .faq-quick-card > span) {
  color: #79c6ff;
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(64, 156, 255, 0.46);
}

.inner-page:not(.ranking-page) .section-heading {
  min-height: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.inner-page:not(.ranking-page) .section-heading::before,
.inner-page:not(.ranking-page) .section-heading::after {
  height: 1px;
  flex: 1;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(98, 183, 255, 0.48));
}

.inner-page:not(.ranking-page) .section-heading::after { transform: scaleX(-1); }

.inner-page:not(.ranking-page) .section-heading h2 {
  margin: 0;
  color: #fff0c9;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.75vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

/* Buttons -------------------------------------------------------------- */
.inner-page:not(.ranking-page) .btn,
.inner-page:not(.ranking-page) .astral-footer__cta,
.inner-page:not(.ranking-page) .donation-stripe-button {
  min-height: 52px;
  padding: 0 28px;
  gap: 14px;
  overflow: hidden;
  border-radius: 5px;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  transform: translateZ(0);
}

.inner-page:not(.ranking-page) .btn::before {
  inset: 1px;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.16), transparent 28%, transparent 68%, rgba(255, 255, 255, 0.08));
  clip-path: inherit;
}

.inner-page:not(.ranking-page) .btn-primary {
  color: #1a1208;
  border: 1px solid #f0c66f;
  background:
    linear-gradient(180deg, #ffe3a0 0%, #e6ad4c 64%, #be7922 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 251, 224, 0.88),
    inset 0 -8px 18px rgba(112, 59, 4, 0.16),
    0 8px 22px rgba(0, 6, 24, 0.36),
    0 0 17px rgba(229, 174, 73, 0.18);
  text-shadow: 0 1px 0 rgba(255, 242, 203, 0.66);
}

.inner-page:not(.ranking-page) .btn-primary:hover {
  color: #120c04;
  border-color: #ffe7a7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 240, 0.95),
    inset 0 -8px 18px rgba(112, 59, 4, 0.12),
    0 10px 28px rgba(0, 6, 24, 0.42),
    0 0 26px rgba(242, 187, 82, 0.36);
}

.inner-page:not(.ranking-page) .btn-ghost {
  color: #eef8ff;
  border: 1px solid rgba(102, 190, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(28, 111, 216, 0.96), rgba(7, 50, 120, 0.98) 66%, rgba(4, 30, 78, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(192, 230, 255, 0.28),
    inset 0 -10px 22px rgba(0, 19, 66, 0.24),
    0 8px 22px rgba(0, 6, 24, 0.36),
    0 0 18px rgba(55, 151, 255, 0.2);
}

.inner-page:not(.ranking-page) .btn-ghost:hover {
  border-color: rgba(164, 220, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(218, 240, 255, 0.38),
    inset 0 -10px 22px rgba(0, 19, 66, 0.2),
    0 10px 28px rgba(0, 6, 24, 0.42),
    0 0 28px rgba(58, 157, 255, 0.34);
}

.inner-page:not(.ranking-page) .btn-unavailable {
  color: #9db2cd;
  border: 1px solid rgba(122, 169, 219, 0.36);
  background: linear-gradient(180deg, rgba(26, 57, 103, 0.58), rgba(6, 25, 58, 0.8));
  box-shadow: inset 0 1px 0 rgba(208, 230, 255, 0.11);
  cursor: default;
  user-select: none;
}

.inner-page:not(.ranking-page) .btn-unavailable::before {
  border-color: rgba(170, 202, 233, 0.08);
}

.inner-page:not(.ranking-page) .text-link {
  color: #8fd3ff;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.inner-page:not(.ranking-page) .text-link:hover {
  color: #ffe5a4;
  text-shadow: 0 0 14px rgba(226, 180, 91, 0.42);
  transform: translateX(3px);
}

/* Forms and data rows -------------------------------------------------- */
.inner-page:not(.ranking-page) .auth-form {
  gap: 18px;
  margin-top: 27px;
}

.inner-page:not(.ranking-page) .auth-form label:not(.check-row) > span {
  color: #b9d5f2;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.inner-page:not(.ranking-page) :is(
  .auth-form input[type="text"],
  .auth-form input[type="email"],
  .auth-form input[type="password"],
  .auth-form select,
  .donation-shell input,
  .donation-shell select,
  .donation-shell textarea
) {
  min-height: 54px;
  padding-inline: 17px;
  color: #f4f9ff;
  border: 1px solid rgba(91, 173, 255, 0.38);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(2, 12, 31, 0.86), rgba(5, 23, 54, 0.78));
  box-shadow: inset 0 1px 12px rgba(0, 4, 18, 0.4), 0 0 0 rgba(64, 155, 255, 0);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.inner-page:not(.ranking-page) :is(
  .auth-form input,
  .auth-form select,
  .donation-shell input,
  .donation-shell select,
  .donation-shell textarea
):focus {
  border-color: rgba(132, 207, 255, 0.86);
  background: linear-gradient(180deg, rgba(3, 18, 45, 0.94), rgba(8, 35, 77, 0.88));
  box-shadow: 0 0 0 3px rgba(70, 159, 255, 0.11), 0 0 20px rgba(66, 158, 255, 0.15), inset 0 1px 12px rgba(0, 4, 18, 0.32);
}

.inner-page:not(.ranking-page) .check-row {
  padding: 3px 0;
  color: #9fb8d6;
}

.inner-page:not(.ranking-page) .check-row input {
  width: 18px;
  height: 18px;
  accent-color: #4ea5f8;
}

.inner-page:not(.ranking-page) .stat-list {
  gap: 0;
  margin-top: 23px;
}

.inner-page:not(.ranking-page) .stat-list li {
  min-height: 49px;
  align-items: center;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(100, 178, 255, 0.15);
}

.inner-page:not(.ranking-page) .stat-list span {
  color: #87a5c9;
  font-size: 0.82rem;
}

.inner-page:not(.ranking-page) .stat-list strong {
  color: #e9f5ff;
  font-size: 0.84rem;
}

.inner-page:not(.ranking-page) :is(.fail, .success, .hint) {
  padding: 17px 19px;
  border-radius: 6px;
  border-color: rgba(106, 184, 255, 0.36);
  background: linear-gradient(135deg, rgba(5, 24, 56, 0.94), rgba(3, 15, 38, 0.96));
  box-shadow: inset 3px 0 0 #55adff, inset 0 0 22px rgba(59, 148, 255, 0.06);
}

.inner-page:not(.ranking-page) .fail { box-shadow: inset 3px 0 0 #ff7584, inset 0 0 22px rgba(255, 86, 109, 0.06); }
.inner-page:not(.ranking-page) .success { box-shadow: inset 3px 0 0 #69e5ae, inset 0 0 22px rgba(74, 218, 154, 0.06); }

/* News ---------------------------------------------------------------- */
.inner-page:not(.ranking-page) .news-list {
  gap: clamp(22px, 2.2vw, 34px);
}

.inner-page:not(.ranking-page) .news-article {
  grid-template-columns: minmax(300px, 0.43fr) minmax(0, 1fr);
  min-height: 300px;
  isolation: isolate;
}

.inner-page:not(.ranking-page) .news-article:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.43fr);
}

.inner-page:not(.ranking-page) .news-article:nth-child(even) .news-thumb { order: 2; }
.inner-page:not(.ranking-page) .news-article:nth-child(even) > div:last-child { order: 1; }

.inner-page:not(.ranking-page) .news-article .news-thumb {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(91, 177, 255, 0.28);
  background-image:
    linear-gradient(180deg, rgba(3, 18, 51, 0.05), rgba(2, 11, 33, 0.28)),
    url("../img/astral-hero-bg-v2.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.03);
  transform: scale(1.001);
  transition: filter 500ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.inner-page:not(.ranking-page) .news-article .news-thumb--one { background-position: 22% 45%; }
.inner-page:not(.ranking-page) .news-article .news-thumb--two { background-position: 68% 43%; }
.inner-page:not(.ranking-page) .news-article .news-thumb--three { background-position: 44% 58%; }

.inner-page:not(.ranking-page) .news-article:nth-child(even) .news-thumb {
  border-right: 0;
  border-left: 1px solid rgba(91, 177, 255, 0.28);
}

.inner-page:not(.ranking-page) .news-article:hover .news-thumb {
  filter: saturate(1.08) contrast(1.04) brightness(1.04);
  transform: scale(1.035);
}

.inner-page:not(.ranking-page) .news-article > div:last-child {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(32px, 4vw, 58px);
  position: relative;
  z-index: 2;
}

.inner-page:not(.ranking-page) .news-article time {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #79c7ff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.inner-page:not(.ranking-page) .news-article time::before {
  width: 7px;
  height: 7px;
  content: "";
  background: #e7bc6a;
  box-shadow: 0 0 9px rgba(231, 188, 106, 0.6);
  transform: rotate(45deg);
}

.inner-page:not(.ranking-page) .news-article h2 {
  margin-top: 15px;
  font-size: clamp(1.65rem, 1.25rem + 1vw, 2.5rem);
  line-height: 1.12;
}

.inner-page:not(.ranking-page) .news-article p {
  max-width: 720px;
  margin: 15px 0 0;
}

/* Download ------------------------------------------------------------ */
.inner-page:not(.ranking-page) .download-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
  align-items: stretch;
}

.inner-page:not(.ranking-page) .download-card {
  min-height: 430px;
  padding: clamp(30px, 3vw, 44px);
}

.inner-page:not(.ranking-page) .download-card__head {
  align-items: flex-start;
  margin-bottom: 24px;
}

.inner-page:not(.ranking-page) .download-card__number {
  color: rgba(118, 197, 255, 0.2);
  font-size: clamp(2.3rem, 3.4vw, 4rem);
  font-weight: 500;
  line-height: 0.78;
  text-shadow: 0 0 20px rgba(74, 163, 255, 0.14);
}

.inner-page:not(.ranking-page) .download-card h2 {
  font-size: clamp(1.5rem, 1.18rem + 0.65vw, 2.05rem);
}

.inner-page:not(.ranking-page) .download-card__description {
  min-height: 76px;
  margin: 15px 0 24px;
}

.inner-page:not(.ranking-page) .download-card__meta {
  gap: 12px;
}

.inner-page:not(.ranking-page) .download-card__meta > span {
  padding: 14px;
  border: 1px solid rgba(91, 174, 255, 0.18);
  border-radius: 5px;
  background: rgba(2, 13, 34, 0.48);
}

.inner-page:not(.ranking-page) .download-card__meta small {
  color: #6a9fcf;
}

.inner-page:not(.ranking-page) .download-card__action {
  margin-top: 24px;
}

.inner-page:not(.ranking-page) .requirements-panel {
  padding: clamp(30px, 4vw, 54px);
}

.inner-page:not(.ranking-page) .requirements-grid {
  gap: clamp(22px, 3vw, 42px);
}

.inner-page:not(.ranking-page) .requirements-grid article {
  min-height: 100%;
  padding: clamp(26px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(89, 173, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(7, 30, 68, 0.7), rgba(3, 17, 43, 0.72));
  box-shadow: inset 0 1px 0 rgba(201, 234, 255, 0.05);
}

.inner-page:not(.ranking-page) .requirements-grid article::after {
  position: absolute;
  top: -40px;
  right: -28px;
  width: 120px;
  height: 120px;
  content: "";
  border: 1px solid rgba(91, 178, 255, 0.12);
  transform: rotate(45deg);
}

/* Feature mosaic ------------------------------------------------------ */
.inner-page:not(.ranking-page) .feature-showcase {
  gap: clamp(20px, 2.2vw, 32px);
}

.inner-page:not(.ranking-page) .feature-tile {
  min-height: 340px;
}

.inner-page:not(.ranking-page) .feature-tile__copy {
  padding: clamp(32px, 3.6vw, 52px);
}

.inner-page:not(.ranking-page) .feature-tile__copy h2 {
  margin-top: 18px;
  color: #fff4d8;
  font-size: clamp(1.5rem, 1.14rem + 0.86vw, 2.25rem);
  font-weight: 500;
  line-height: 1.12;
}

.inner-page:not(.ranking-page) .feature-tile__copy p {
  color: var(--inner-copy);
  line-height: 1.75;
}

.inner-page:not(.ranking-page) .feature-tile .card-index {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(111, 196, 255, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 132, 235, 0.38), rgba(3, 20, 51, 0.92));
  box-shadow: inset 0 0 18px rgba(64, 157, 255, 0.16), 0 0 15px rgba(53, 145, 249, 0.12);
}

.inner-page:not(.ranking-page) .feature-tile__media {
  min-height: 290px;
  background: #03132f;
}

.inner-page:not(.ranking-page) .feature-tile__media::after {
  background:
    linear-gradient(90deg, rgba(2, 12, 31, 0.3), transparent 38%, rgba(3, 16, 42, 0.82)),
    linear-gradient(180deg, rgba(5, 24, 57, 0.04), rgba(2, 12, 31, 0.58));
}

.inner-page:not(.ranking-page) .feature-tile__media img {
  filter: saturate(0.96) contrast(1.05) brightness(0.86);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 500ms ease;
}

.inner-page:not(.ranking-page) .feature-tile:hover .feature-tile__media img {
  filter: saturate(1.08) contrast(1.05) brightness(0.94);
  transform: scale(1.065);
}

.inner-page:not(.ranking-page) .feature-tile--no-image {
  background:
    radial-gradient(circle at 88% 16%, rgba(55, 151, 255, 0.2), transparent 16rem),
    linear-gradient(142deg, rgba(11, 42, 91, 0.93), rgba(3, 13, 34, 0.97));
}

.inner-page:not(.ranking-page) .feature-tile--video .feature-tile__media {
  min-height: 400px;
}

.inner-page:not(.ranking-page) .feature-callout {
  min-height: 190px;
  padding: clamp(34px, 4vw, 58px);
  background:
    radial-gradient(circle at 86% 20%, rgba(75, 165, 255, 0.22), transparent 18rem),
    linear-gradient(110deg, rgba(13, 48, 99, 0.94), rgba(4, 19, 48, 0.96));
}

.inner-page:not(.ranking-page) .feature-callout h2 {
  font-size: clamp(1.55rem, 1.2rem + 1vw, 2.6rem);
}

/* FAQ / Support ------------------------------------------------------- */
.inner-page:not(.ranking-page) .faq-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(24px, 3vw, 42px);
  align-items: start;
}

.inner-page:not(.ranking-page) .faq-list {
  gap: 15px;
}

.inner-page:not(.ranking-page) .faq-list details {
  overflow: hidden;
  border: 1px solid rgba(83, 167, 255, 0.3);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(7, 29, 68, 0.82), rgba(3, 16, 42, 0.91));
  box-shadow: inset 0 1px 0 rgba(202, 233, 255, 0.04), 0 14px 34px rgba(0, 5, 22, 0.18);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.inner-page:not(.ranking-page) .faq-list details[open] {
  border-color: rgba(116, 197, 255, 0.58);
  background: linear-gradient(145deg, rgba(11, 42, 91, 0.9), rgba(3, 17, 44, 0.94));
  box-shadow: inset 3px 0 0 rgba(229, 185, 101, 0.76), 0 18px 42px rgba(0, 5, 22, 0.26), 0 0 20px rgba(56, 149, 252, 0.08);
}

.inner-page:not(.ranking-page) .faq-list summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 21px 26px;
  color: #edf7ff;
  font-size: clamp(0.82rem, 0.76rem + 0.18vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  list-style: none;
}

.inner-page:not(.ranking-page) .faq-list summary::-webkit-details-marker { display: none; }

.inner-page:not(.ranking-page) .faq-list summary::after {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  content: "+";
  color: #9bd9ff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  border: 1px solid rgba(102, 189, 255, 0.42);
  border-radius: 50%;
  background: rgba(8, 39, 84, 0.76);
  box-shadow: 0 0 13px rgba(58, 151, 255, 0.12);
  transition: transform 220ms ease, border-color 180ms ease;
}

.inner-page:not(.ranking-page) .faq-list details[open] summary::after {
  content: "−";
  color: #ffe3a1;
  border-color: rgba(231, 188, 106, 0.62);
  transform: rotate(180deg);
}

.inner-page:not(.ranking-page) .faq-list details[open] summary {
  border-bottom: 1px solid rgba(92, 176, 255, 0.18);
}

.inner-page:not(.ranking-page) .faq-list p {
  padding: 22px 27px 27px;
  color: var(--inner-copy);
  line-height: 1.75;
}

.inner-page:not(.ranking-page) .support-panel {
  padding: clamp(30px, 3.4vw, 46px);
  position: sticky;
  top: 100px;
}

.inner-page:not(.ranking-page) .support-panel h2 {
  margin-bottom: 20px;
  font-size: 1.75rem;
}

.inner-page:not(.ranking-page) .support-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 4px;
  color: #b9cce4;
  border-bottom-color: rgba(97, 179, 255, 0.16);
}

.inner-page:not(.ranking-page) .support-panel a::after {
  content: "›";
  color: #e9bd68;
  font-size: 1.2rem;
}

.inner-page:not(.ranking-page) .support-panel a:hover {
  color: #fff3d3;
}

/* Account ------------------------------------------------------------- */
.inner-page.account-page .auth-layout {
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(22px, 2.4vw, 36px);
  align-items: start;
}

.inner-page:not(.ranking-page) .auth-panel {
  padding: clamp(34px, 4vw, 56px);
}

.inner-page:not(.ranking-page) .auth-panel h2 {
  font-size: clamp(1.8rem, 1.42rem + 0.8vw, 2.55rem);
}

.inner-page:not(.ranking-page) .auth-panel--register {
  background:
    radial-gradient(circle at 93% 3%, rgba(62, 157, 255, 0.21), transparent 20rem),
    radial-gradient(circle at 0 95%, rgba(214, 171, 88, 0.07), transparent 22rem),
    linear-gradient(142deg, rgba(11, 42, 91, 0.94), rgba(4, 19, 49, 0.97) 52%, rgba(3, 13, 34, 0.99));
}

.inner-page.account-page .account-entry-rail {
  display: grid;
  gap: 24px;
}

.inner-page.account-page .auth-panel--login {
  background:
    radial-gradient(circle at 0 0, rgba(60, 143, 246, 0.18), transparent 17rem),
    linear-gradient(145deg, rgba(10, 36, 78, 0.95), rgba(3, 16, 40, 0.98));
}

.inner-page.account-page .account-panel-heading {
  display: flex;
  align-items: center;
  gap: 19px;
}

.inner-page.account-page .account-panel-heading__number {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  color: #ffe4a1;
  border: 1px solid rgba(236, 196, 116, 0.75);
  background: linear-gradient(145deg, rgba(16, 60, 116, 0.93), rgba(5, 23, 56, 0.97));
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(100% - 11px), calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px), 0 11px);
  box-shadow: inset 0 0 15px rgba(92, 176, 255, 0.17), 0 0 18px rgba(57, 142, 247, 0.17);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.inner-page.account-page .account-panel-heading .panel-kicker {
  margin: 0 0 5px;
}

.inner-page.account-page .account-panel-heading h2 {
  margin: 0;
  line-height: 1.1;
}

.inner-page.account-page .auth-panel .account-panel-lead {
  max-width: 62ch;
  margin: 22px 0 0;
  color: #bbd0e8;
  font-size: 0.94rem;
}

.inner-page.account-page .account-login-form {
  gap: 20px;
  margin-top: 31px;
}

.inner-page.account-page .account-login-form .account-submit-button {
  margin-top: 8px;
}

.inner-page.account-page .account-submit-button {
  width: min(100%, 290px);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-inline: 25px;
  cursor: pointer;
}

.inner-page.account-page .account-submit-button span:last-child {
  color: inherit;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.inner-page.account-page .account-submit-button:hover span:last-child {
  transform: translateX(4px);
}

.inner-page.account-page .account-login-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  margin-top: 31px;
  padding-top: 23px;
  border-top: 1px solid rgba(120, 190, 255, 0.17);
  color: #95abc6;
  font-size: 0.82rem;
}

.inner-page.account-page .account-login-help .text-link {
  margin: 0;
}

.inner-page.account-page .account-onboarding {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(91, 175, 255, 0.4);
  border-radius: 12px;
  background:
    radial-gradient(circle at 86% 9%, rgba(94, 179, 255, 0.2), transparent 12rem),
    linear-gradient(136deg, rgba(12, 46, 94, 0.9), rgba(3, 17, 43, 0.96));
  box-shadow: inset 0 1px 0 rgba(209, 237, 255, 0.1), 0 20px 50px rgba(0, 5, 22, 0.28);
}

.inner-page.account-page .account-onboarding::before {
  position: absolute;
  top: -42px;
  right: -24px;
  width: 170px;
  height: 170px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(123, 203, 255, 0.21);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(91, 174, 255, 0.045), 0 0 0 52px rgba(91, 174, 255, 0.025);
}

.inner-page.account-page .account-onboarding h2 {
  max-width: 12ch;
  margin: 7px 0 23px;
  color: #fff3d5;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 0.6vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.16;
  text-transform: uppercase;
}

.inner-page.account-page .account-onboarding ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inner-page.account-page .account-onboarding li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(117, 184, 249, 0.14);
}

.inner-page.account-page .account-onboarding li > span {
  color: #89cbff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.inner-page.account-page .account-onboarding strong,
.inner-page.account-page .account-onboarding small {
  display: block;
}

.inner-page.account-page .account-onboarding strong {
  color: #edf7ff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.inner-page.account-page .account-onboarding small {
  margin-top: 3px;
  color: #a9bfdb;
  font-size: 0.78rem;
  line-height: 1.45;
}

.inner-page.account-page .account-onboarding__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 39px;
  margin-top: 16px;
  padding-bottom: 5px;
  color: #ffe3a4;
  border-bottom: 1px solid rgba(231, 188, 106, 0.61);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease, gap 180ms ease;
}

.inner-page.account-page .account-onboarding__link:hover {
  gap: 28px;
  color: #fff5d8;
}

.inner-page.account-page .account-register-form {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 26px;
}

.inner-page.account-page .account-form-section {
  padding: 27px 0 30px;
  border-top: 1px solid rgba(108, 185, 255, 0.2);
}

.inner-page.account-page .account-form-section__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.inner-page.account-page .account-form-section__heading > span {
  color: #edc477;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.inner-page.account-page .account-form-section__heading h3 {
  margin: 0;
  color: #eaf6ff;
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inner-page.account-page .account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 20px;
}

.inner-page.account-page .account-form-grid label {
  min-width: 0;
}

.inner-page.account-page .account-form-section__hint {
  margin: -7px 0 22px;
  color: #9db8d6;
  font-size: 0.82rem;
}

.inner-page.account-page .account-register-finish {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  padding-top: 27px;
  border-top: 1px solid rgba(108, 185, 255, 0.2);
}

.inner-page.account-page .account-register-finish .check-row {
  flex: 1 1 280px;
  line-height: 1.5;
}

.inner-page.account-page .account-register-finish .account-submit-button {
  flex: 0 1 260px;
  margin: 0;
}

.inner-page:not(.ranking-page) .account-overview {
  gap: clamp(24px, 3vw, 42px);
}

.inner-page:not(.ranking-page) .account-overview__hero {
  padding: clamp(34px, 4vw, 55px);
  background:
    radial-gradient(circle at 88% 12%, rgba(81, 174, 255, 0.25), transparent 22rem),
    linear-gradient(112deg, rgba(12, 48, 102, 0.94), rgba(3, 17, 43, 0.96));
}

.inner-page.account-page .account-overview__identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 30px);
}

.inner-page.account-page .account-overview__emblem {
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(126, 206, 255, 0.58);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 92, 178, 0.4), rgba(2, 14, 40, 0.86));
  box-shadow: 0 0 0 7px rgba(80, 166, 255, 0.06), 0 0 25px rgba(70, 154, 255, 0.15);
}

.inner-page.account-page .account-overview__emblem img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(88, 175, 255, 0.57));
}

.inner-page.account-page .account-overview__identity h2 {
  margin: 6px 0 10px;
  overflow-wrap: anywhere;
}

.inner-page.account-page .account-overview__identity p:last-child {
  margin: 0;
}

.inner-page.account-page .account-overview__controls {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.inner-page.account-page .account-overview__session {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b7f4d4;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inner-page.account-page .account-overview__session::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: #68e4ab;
  box-shadow: 0 0 12px rgba(95, 236, 174, 0.82);
}

.inner-page.account-page .account-overview__controls .account-actions {
  justify-content: flex-end;
  margin: 0;
}

.inner-page:not(.ranking-page) .account-overview-grid,
.inner-page:not(.ranking-page) .character-grid {
  gap: clamp(20px, 2.4vw, 34px);
}

.inner-page:not(.ranking-page) :is(.account-overview-grid, .character-grid) .forge-card {
  padding: clamp(30px, 3vw, 44px);
}

/* Vote ---------------------------------------------------------------- */
.inner-page:not(.ranking-page) .vote-layout {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  gap: clamp(24px, 3vw, 42px);
}

.inner-page:not(.ranking-page) .vote-layout--single {
  grid-template-columns: minmax(0, 820px);
}

.inner-page:not(.ranking-page) :is(.vote-card, .vote-history-card, .vote-login-panel) {
  padding: clamp(34px, 4vw, 54px);
}

.inner-page:not(.ranking-page) .vote-card__head h2 {
  font-size: clamp(1.55rem, 1.2rem + 0.7vw, 2.15rem);
}

.inner-page:not(.ranking-page) .vote-status {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #9fb8d6;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(102, 182, 255, 0.28);
  border-radius: 999px;
  background: rgba(4, 21, 51, 0.72);
}

.inner-page:not(.ranking-page) .vote-status::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.inner-page:not(.ranking-page) .vote-status.is-ready { color: #70e7b1; border-color: rgba(77, 218, 159, 0.3); }
.inner-page:not(.ranking-page) .vote-status.is-pending { color: #efc26d; border-color: rgba(231, 188, 106, 0.3); }

.inner-page:not(.ranking-page) .vote-history-card {
  position: sticky;
  top: 100px;
}

.inner-page:not(.ranking-page) .vote-history-list > div {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 16px;
  border-bottom: 1px solid rgba(91, 177, 255, 0.16);
}

.inner-page:not(.ranking-page) .vote-history-list span {
  color: #89a4c4;
  font-size: 0.78rem;
}

.inner-page:not(.ranking-page) .vote-history-list em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #7fe7b5;
  font-style: normal;
  font-weight: 700;
}

/* Donations ----------------------------------------------------------- */
.inner-page:not(.ranking-page) .donate-login-layout {
  display: grid;
  place-items: center;
}

.inner-page:not(.ranking-page) .donate-login-card {
  width: min(100%, 820px);
  text-align: center;
}

.inner-page:not(.ranking-page) .donate-login-card .btn {
  margin-top: 14px;
}

.inner-page:not(.ranking-page) .donation-shell {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

.inner-page:not(.ranking-page) :is(.donation-packages-card, .donation-history-card) {
  padding: clamp(30px, 4vw, 52px);
}

.inner-page:not(.ranking-page) .donation-section-head {
  align-items: end;
  margin-bottom: 26px;
}

.inner-page:not(.ranking-page) .donation-section-head h2,
.inner-page:not(.ranking-page) .donation-heading h2 {
  font-size: clamp(1.65rem, 1.3rem + 0.8vw, 2.35rem);
}

.inner-page:not(.ranking-page) :is(.donation-currency, .donation-history-count) {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #98cdf5;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(97, 181, 255, 0.26);
  border-radius: 999px;
  background: rgba(3, 21, 51, 0.7);
}

.inner-page:not(.ranking-page) .donation-table-scroll {
  border: 1px solid rgba(89, 174, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 13, 34, 0.4);
}

.inner-page:not(.ranking-page) .donation-package-table,
.inner-page:not(.ranking-page) .donation-history-table {
  min-width: 880px;
}

.inner-page:not(.ranking-page) .donation-package-table th,
.inner-page:not(.ranking-page) .donation-history-table th {
  color: #84c9f9;
  background: rgba(8, 37, 80, 0.66);
}

.inner-page:not(.ranking-page) :is(.donation-package-table, .donation-history-table) td {
  border-bottom-color: rgba(91, 175, 255, 0.14);
}

.inner-page:not(.ranking-page) .donation-package-table tr.is-featured {
  background: linear-gradient(90deg, rgba(226, 176, 85, 0.08), rgba(60, 147, 246, 0.08));
  box-shadow: inset 3px 0 0 rgba(231, 188, 106, 0.72);
}

.inner-page:not(.ranking-page) .donation-package-table input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #e7bc6a;
}

.inner-page:not(.ranking-page) .donation-featured {
  margin-left: 8px;
  padding: 4px 8px;
  color: #211507;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #e7bc6a;
}

.inner-page:not(.ranking-page) .donation-payment-section {
  display: grid;
  gap: 20px;
}

.inner-page:not(.ranking-page) .donation-method-card {
  padding: clamp(28px, 3.5vw, 46px);
  gap: clamp(26px, 4vw, 60px);
}

.inner-page:not(.ranking-page) .donation-method-mark {
  width: 50px;
  height: 50px;
  color: #8ceec0;
  border-color: rgba(101, 221, 168, 0.42);
  background: rgba(27, 105, 76, 0.2);
  box-shadow: 0 0 17px rgba(61, 209, 146, 0.12);
}

.inner-page:not(.ranking-page) .donation-method-card h3 {
  color: #fff2d2;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.inner-page:not(.ranking-page) .donation-stripe-button {
  color: #eef8ff;
  border: 1px solid rgba(105, 190, 255, 0.7);
  background: linear-gradient(180deg, #277bd4, #0b469d);
  box-shadow: inset 0 1px 0 rgba(213, 240, 255, 0.28), 0 8px 22px rgba(0, 7, 26, 0.3);
}

/* Error page ---------------------------------------------------------- */
.inner-page:not(.ranking-page).fehlerseite-page .page-hero {
  min-height: calc(100vh - 72px);
  border-bottom: 0;
}

.inner-page:not(.ranking-page).fehlerseite-page .site-footer {
  margin-top: 0;
}

/* Footer joins the content stage without a floating gap --------------- */
.inner-page:not(.ranking-page) .site-footer.astral-footer {
  margin-top: 0;
  border-top-color: rgba(106, 187, 255, 0.52);
  background:
    radial-gradient(ellipse at 50% -15%, rgba(48, 135, 250, 0.24), transparent 38rem),
    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, #071c40 0%, #031027 62%, #020a19 100%);
}

.inner-page:not(.ranking-page) .site-footer.astral-footer::before {
  background: linear-gradient(90deg, transparent 3%, rgba(67, 158, 255, 0.38) 25%, rgba(239, 198, 120, 0.88) 50%, rgba(67, 158, 255, 0.38) 75%, transparent 97%);
  box-shadow: 0 0 17px rgba(70, 158, 255, 0.46);
}

/* Motion hooks supplied by astral-global.js --------------------------- */
.inner-page:not(.ranking-page) .astral-inner-card {
  transform: perspective(1000px) rotateX(var(--inner-tilt-x, 0deg)) rotateY(var(--inner-tilt-y, 0deg));
  transform-style: preserve-3d;
}

.inner-page:not(.ranking-page) .astral-inner-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: radial-gradient(circle 150px at var(--inner-light-x, 50%) var(--inner-light-y, 50%), rgba(139, 211, 255, 0.14), transparent 72%);
  transition: opacity 220ms ease;
}

.inner-page:not(.ranking-page) .astral-inner-card:hover::after { opacity: 1; }

/* Responsive ---------------------------------------------------------- */
@media (min-width: 2100px) {
  .inner-page:not(.ranking-page) .page-hero {
    min-height: 520px;
    background-size: 100% auto, 100% auto, cover;
  }
}

@media (max-width: 1240px) {
  .inner-page:not(.ranking-page) .site-header {
    padding-inline: 24px;
  }

  .inner-page:not(.ranking-page) .page-hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(28px, 5vw, 64px);
    padding-inline: clamp(32px, 6vw, 76px);
  }

  .inner-page:not(.ranking-page) .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-page:not(.ranking-page) .feature-tile--image-left,
  .inner-page:not(.ranking-page) .feature-tile--image-right {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 1fr;
  }

  .inner-page:not(.ranking-page) .feature-tile--image-right .feature-tile__media { order: 1; }
  .inner-page:not(.ranking-page) .feature-tile--image-right .feature-tile__copy { order: 2; }
}

@media (max-width: 980px) {
  .inner-page:not(.ranking-page) .site-header {
    min-height: 66px;
    grid-template-columns: 58px 1fr 52px;
    padding-inline: 18px;
  }

  .inner-page:not(.ranking-page) .brand img {
    width: 47px;
    height: 47px;
  }

  .inner-page:not(.ranking-page) .burger {
    justify-self: end;
  }

  .inner-page:not(.ranking-page) .main-nav {
    top: 66px;
    z-index: 79;
    padding: 16px 24px 26px;
    background: rgba(2, 12, 31, 0.985);
    border-bottom: 1px solid rgba(100, 182, 255, 0.42);
    box-shadow: 0 18px 38px rgba(0, 5, 22, 0.48);
  }

  .inner-page:not(.ranking-page) .main-nav a {
    width: 100%;
    height: auto;
    min-height: 44px;
    justify-content: center;
    padding: 13px 0;
    text-align: center;
  }

  .inner-page:not(.ranking-page) .header-actions { display: none; }

  .inner-page:not(.ranking-page) .page-hero,
  .inner-page:not(.ranking-page) .page-hero--compact {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 76px clamp(25px, 7vw, 64px) 64px;
  }

  .inner-page:not(.ranking-page) .page-hero__copy {
    max-width: 720px;
  }

  .inner-page:not(.ranking-page) .page-sigil,
  .inner-page:not(.ranking-page) .faq-quick-card {
    justify-self: start;
  }

  .inner-page:not(.ranking-page) .page-sigil {
    width: min(330px, 68vw);
    margin-left: clamp(16px, 6vw, 54px);
  }

  .inner-page:not(.ranking-page) .page-sigil--logo {
    width: min(400px, 78vw);
  }

  .inner-page:not(.ranking-page) .news-article,
  .inner-page:not(.ranking-page) .news-article:nth-child(even) {
    grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  }

  .inner-page:not(.ranking-page) .news-article:nth-child(even) .news-thumb { order: 1; border: 0; border-right: 1px solid rgba(91, 177, 255, 0.28); }
  .inner-page:not(.ranking-page) .news-article:nth-child(even) > div:last-child { order: 2; }

  .inner-page:not(.ranking-page) .faq-layout,
  .inner-page:not(.ranking-page) .vote-layout {
    grid-template-columns: 1fr;
  }

  .inner-page:not(.ranking-page) :is(.support-panel, .vote-history-card) {
    position: relative;
    top: auto;
  }

  .inner-page:not(.ranking-page) .feature-tile--video {
    grid-template-columns: 1fr;
  }

  .inner-page:not(.ranking-page) .feature-tile--video .feature-tile__media { order: 1; }
  .inner-page:not(.ranking-page) .feature-tile--video .feature-tile__copy { order: 2; }
}

@media (max-width: 760px) {
  .inner-page:not(.ranking-page) .page-main::before { opacity: 0.4; }

  .inner-page:not(.ranking-page) .page-hero,
  .inner-page:not(.ranking-page) .page-hero--compact {
    padding: 62px 22px 54px;
  }

  .inner-page:not(.ranking-page) .page-hero__copy {
    padding-left: 27px;
  }

  .inner-page:not(.ranking-page) .page-hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .inner-page:not(.ranking-page) .page-hero::after {
    right: 10px;
    font-size: 20vw;
  }

  .inner-page:not(.ranking-page) .content-band {
    width: min(calc(100% - 28px), var(--inner-max));
    margin-top: 30px;
  }

  .inner-page:not(.ranking-page) .content-band:last-of-type {
    margin-bottom: 72px;
  }

  .inner-page:not(.ranking-page) .hero-actions,
  .inner-page:not(.ranking-page) .feature-callout,
  .inner-page:not(.ranking-page) .account-overview__hero {
    align-items: stretch;
    flex-direction: column;
  }

  .inner-page:not(.ranking-page) .hero-actions .btn,
  .inner-page:not(.ranking-page) .feature-callout .btn,
  .inner-page:not(.ranking-page) .account-actions .btn {
    width: 100%;
  }

  .inner-page:not(.ranking-page) .news-article,
  .inner-page:not(.ranking-page) .news-article:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .inner-page:not(.ranking-page) .news-article .news-thumb,
  .inner-page:not(.ranking-page) .news-article:nth-child(even) .news-thumb {
    min-height: 220px;
    border: 0;
    border-bottom: 1px solid rgba(91, 177, 255, 0.28);
  }

  .inner-page:not(.ranking-page) .news-article > div:last-child {
    padding: 30px 26px 34px;
  }

  .inner-page:not(.ranking-page) .download-grid,
  .inner-page:not(.ranking-page) .requirements-grid,
  .inner-page:not(.ranking-page) .auth-layout,
  .inner-page:not(.ranking-page) .account-overview-grid,
  .inner-page:not(.ranking-page) .character-grid,
  .inner-page:not(.ranking-page) .feature-showcase {
    grid-template-columns: 1fr;
  }

  .inner-page:not(.ranking-page) .feature-tile--no-image,
  .inner-page:not(.ranking-page) .feature-tile--image-left,
  .inner-page:not(.ranking-page) .feature-tile--image-right,
  .inner-page:not(.ranking-page) .feature-tile--image-top,
  .inner-page:not(.ranking-page) .feature-tile--video {
    grid-column: 1;
  }

  .inner-page:not(.ranking-page) .feature-tile--image-left,
  .inner-page:not(.ranking-page) .feature-tile--image-right {
    grid-template-rows: 220px 1fr;
  }

  .inner-page:not(.ranking-page) .feature-tile--video .feature-tile__media {
    min-height: 230px;
  }

  .inner-page:not(.ranking-page) .feature-callout {
    display: grid;
  }

  .inner-page:not(.ranking-page) .auth-panel--register .auth-form {
    grid-template-columns: 1fr;
  }

  .inner-page:not(.ranking-page) .donation-method-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .inner-page:not(.ranking-page) .page-hero,
  .inner-page:not(.ranking-page) .page-hero--compact {
    padding-inline: 17px;
  }

  .inner-page:not(.ranking-page) .page-hero__copy {
    padding-left: 22px;
  }

  .inner-page:not(.ranking-page) .page-sigil {
    width: min(280px, 82vw);
    margin-left: 5px;
  }

  .inner-page:not(.ranking-page) .faq-quick-card,
  .inner-page:not(.ranking-page) :is(.auth-panel, .vote-card, .vote-history-card, .vote-login-panel),
  .inner-page:not(.ranking-page) :is(.download-card, .requirements-panel),
  .inner-page:not(.ranking-page) :is(.donation-packages-card, .donation-history-card) {
    padding: 27px 22px;
  }

  .inner-page:not(.ranking-page) .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 19px;
  }

  .inner-page:not(.ranking-page) .download-card__meta {
    grid-template-columns: 1fr;
  }

  .inner-page:not(.ranking-page) .vote-card__head,
  .inner-page:not(.ranking-page) .donation-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .inner-page:not(.ranking-page) .section-heading h2 {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 1100px) {
  .inner-page.account-page .auth-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .inner-page.account-page .account-entry-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .inner-page.account-page .account-entry-rail,
  .inner-page.account-page .account-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .inner-page.account-page .account-overview__hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .inner-page.account-page .account-overview__controls {
    justify-items: start;
  }

  .inner-page.account-page .account-overview__controls .account-actions {
    justify-content: flex-start;
  }

  .inner-page.account-page .account-overview__emblem {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
  }

  .inner-page.account-page .account-overview__emblem img {
    width: 50px;
    height: 50px;
  }

  .inner-page.account-page .account-panel-heading__number {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 0.78rem;
  }

  .inner-page.account-page .account-register-finish .account-submit-button {
    flex-basis: 100%;
  }
}

/* The emblem becomes a quiet watermark on small screens instead of pushing
   the first useful content far below the fold. */
@media (max-width: 760px) {
  .inner-page:not(.ranking-page) .page-hero,
  .inner-page:not(.ranking-page) .page-hero--compact {
    min-height: 500px;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 52px 18px 44px;
  }

  .inner-page:not(.ranking-page) .page-hero__copy {
    width: 100%;
    min-width: 0;
    padding-left: 20px;
  }

  .inner-page:not(.ranking-page) .page-hero h1 {
    font-size: clamp(2rem, 11.5vw, 4.6rem);
    overflow-wrap: break-word;
  }

  .inner-page:not(.ranking-page) .page-hero .intro {
    line-height: 1.55;
  }

  .inner-page:not(.ranking-page) .page-sigil,
  .inner-page:not(.ranking-page) .page-sigil--logo {
    position: absolute;
    right: 5px;
    bottom: 7px;
    z-index: 1;
    width: min(34vw, 132px);
    margin: 0;
    padding: 10px;
    opacity: 0.3;
    pointer-events: none;
  }

  .inner-page:not(.ranking-page) .page-hero::after {
    right: 0;
    font-size: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inner-page:not(.ranking-page) .page-main::before,
  .inner-page:not(.ranking-page) .page-main::after,
  .inner-page:not(.ranking-page) .page-hero::before,
  .inner-page:not(.ranking-page) .page-sigil::after {
    animation: none !important;
  }

  .inner-page:not(.ranking-page) .astral-inner-card {
    transform: none !important;
  }
}

/* News journal -------------------------------------------------------- */
.inner-page.news-page .news-journal {
  display: grid;
  gap: clamp(23px, 3vw, 35px);
}

.inner-page.news-page .news-journal__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 0 4px 21px;
  position: relative;
}

.inner-page.news-page .news-journal__heading::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(236, 190, 101, 0.85), rgba(113, 199, 255, 0.55) 40%, rgba(113, 199, 255, 0.12));
  box-shadow: 0 0 10px rgba(86, 172, 255, 0.34);
}

.inner-page.news-page .news-journal__heading .panel-kicker {
  margin: 0 0 7px;
}

.inner-page.news-page .news-journal__heading h2 {
  margin: 0;
  color: #fff2d2;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.2rem + 1vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.065em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 3px 19px rgba(0, 6, 25, 0.72);
}

.inner-page.news-page .news-journal__count {
  color: #8fb1d7;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.inner-page.news-page .news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.1vw, 30px);
}

.inner-page.news-page .news-story {
  min-width: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(100, 184, 255, 0.49);
  border-radius: 12px;
  background:
    radial-gradient(circle at 95% 0, rgba(63, 151, 255, 0.13), transparent 20rem),
    linear-gradient(145deg, rgba(11, 41, 86, 0.95), rgba(3, 16, 40, 0.98));
  box-shadow: inset 0 1px 0 rgba(213, 240, 255, 0.08), 0 18px 46px rgba(0, 6, 25, 0.32);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.inner-page.news-page .news-story::before {
  position: absolute;
  inset: 7px;
  z-index: 3;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(123, 200, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(#e4b76c, #e4b76c) 0 0 / 22px 1px no-repeat,
    linear-gradient(#e4b76c, #e4b76c) 0 0 / 1px 22px no-repeat,
    linear-gradient(#e4b76c, #e4b76c) 100% 0 / 22px 1px no-repeat,
    linear-gradient(#e4b76c, #e4b76c) 100% 0 / 1px 22px no-repeat,
    linear-gradient(#e4b76c, #e4b76c) 0 100% / 22px 1px no-repeat,
    linear-gradient(#e4b76c, #e4b76c) 0 100% / 1px 22px no-repeat,
    linear-gradient(#e4b76c, #e4b76c) 100% 100% / 22px 1px no-repeat,
    linear-gradient(#e4b76c, #e4b76c) 100% 100% / 1px 22px no-repeat;
  opacity: 0.55;
}

.inner-page.news-page .news-story:hover,
.inner-page.news-page .news-story:focus-within {
  border-color: rgba(160, 217, 255, 0.91);
  box-shadow: inset 0 1px 0 rgba(226, 245, 255, 0.12), 0 24px 54px rgba(0, 6, 25, 0.41), 0 0 26px rgba(61, 151, 255, 0.12);
  transform: translateY(-3px);
}

.inner-page.news-page .news-story--lead {
  grid-column: 1 / -1;
  border-color: rgba(225, 190, 120, 0.53);
}

.inner-page.news-page .news-story__link {
  height: 100%;
  min-height: 490px;
  display: grid;
  grid-template-rows: 240px minmax(0, 1fr);
  color: inherit;
  text-decoration: none;
}

.inner-page.news-page .news-story--lead .news-story__link {
  min-height: 420px;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-rows: minmax(0, 1fr);
}

.inner-page.news-page .news-story__link:focus-visible {
  outline: 2px solid #c2eaff;
  outline-offset: -5px;
}

.inner-page.news-page .news-story__art {
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(95, 178, 255, 0.36);
  background: #09234e;
}

.inner-page.news-page .news-story--lead .news-story__art {
  border-right: 1px solid rgba(235, 194, 115, 0.42);
  border-bottom: 0;
}

.inner-page.news-page .news-story__art::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(0, 12, 38, 0.03) 55%, rgba(0, 12, 38, 0.33));
}

.inner-page.news-page .news-story--lead .news-story__art::after {
  background: linear-gradient(90deg, rgba(0, 12, 38, 0.04) 60%, rgba(0, 12, 38, 0.34));
}

.inner-page.news-page .news-story__art img,
.inner-page.news-page .news-story__fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 650ms ease;
}

.inner-page.news-page .news-story__fallback {
  background: url("../img/astral-hero-bg-v2.jpg") center / cover no-repeat;
}

.inner-page.news-page .news-story:hover .news-story__art img,
.inner-page.news-page .news-story:hover .news-story__fallback,
.inner-page.news-page .news-story:focus-within .news-story__art img {
  filter: saturate(1.08) brightness(1.04);
  transform: scale(1.045);
}

.inner-page.news-page .news-story__featured {
  position: absolute;
  bottom: 21px;
  left: 24px;
  z-index: 2;
  padding: 9px 15px;
  color: #201504;
  border: 1px solid rgba(255, 235, 177, 0.83);
  background: linear-gradient(180deg, #ffe6aa, #d9a44e);
  box-shadow: 0 5px 16px rgba(0, 6, 22, 0.4);
  font-family: var(--font-display);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.inner-page.news-page .news-story__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: clamp(30px, 3vw, 44px);
}

.inner-page.news-page .news-story--lead .news-story__copy {
  justify-content: center;
  padding: clamp(38px, 4vw, 64px);
}

.inner-page.news-page .news-story__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 15px;
}

.inner-page.news-page .news-story__category {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  color: #bce5ff;
  border: 1px solid rgba(112, 194, 255, 0.43);
  background: rgba(17, 69, 132, 0.52);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.inner-page.news-page .news-story__meta time {
  color: #9ab6d5;
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.inner-page.news-page .news-story__copy h3 {
  margin: 20px 0 0;
  color: #fff3d5;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.22rem + 0.65vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.13;
  text-transform: uppercase;
  text-shadow: 0 3px 17px rgba(0, 5, 24, 0.65);
}

.inner-page.news-page .news-story--lead .news-story__copy h3 {
  font-size: clamp(2rem, 1.55rem + 1.1vw, 3rem);
}

.inner-page.news-page .news-story__copy p {
  max-width: 56ch;
  margin: 13px 0 0;
  color: #bad0e8;
  font-size: 0.92rem;
  line-height: 1.68;
}

.inner-page.news-page .news-story__action {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding: 0 15px;
  color: #ffe3a5;
  border: 1px solid rgba(229, 187, 110, 0.68);
  background: linear-gradient(180deg, rgba(23, 70, 133, 0.64), rgba(5, 27, 66, 0.82));
  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);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.inner-page.news-page .news-story--lead .news-story__action {
  margin-top: 31px;
  color: #261701;
  background: linear-gradient(180deg, #ffe4a8, #d9a350);
}

.inner-page.news-page .news-story__action > span {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.inner-page.news-page .news-story:hover .news-story__action > span,
.inner-page.news-page .news-story:focus-within .news-story__action > span {
  transform: translateX(4px);
}

.inner-page.news-page .news-journal__empty {
  padding: clamp(36px, 5vw, 70px);
  border: 1px solid rgba(100, 184, 255, 0.45);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(11, 41, 86, 0.94), rgba(3, 16, 40, 0.98));
}

.inner-page.news-page .news-journal__empty h3 {
  margin: 8px 0;
  color: #fff3d5;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.3rem);
  font-weight: 500;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .inner-page.news-page .news-list { grid-template-columns: minmax(0, 1fr); }
  .inner-page.news-page .news-story--lead { grid-column: 1; }
  .inner-page.news-page .news-story__link { min-height: 0; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); grid-template-rows: minmax(255px, auto); }
  .inner-page.news-page .news-story--lead .news-story__link { grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr); grid-template-rows: minmax(310px, auto); }
  .inner-page.news-page .news-story__art { border-right: 1px solid rgba(95, 178, 255, 0.36); border-bottom: 0; }
  .inner-page.news-page .news-story__copy { justify-content: center; }
  .inner-page.news-page .news-story__action { margin-top: 24px; }
}

@media (max-width: 640px) {
  .inner-page.news-page .news-story__link,
  .inner-page.news-page .news-story--lead .news-story__link {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 220px minmax(0, 1fr);
  }
  .inner-page.news-page .news-story__art,
  .inner-page.news-page .news-story--lead .news-story__art {
    border-right: 0;
    border-bottom: 1px solid rgba(95, 178, 255, 0.36);
  }
  .inner-page.news-page .news-story__copy,
  .inner-page.news-page .news-story--lead .news-story__copy { padding: 28px 25px 31px; }
  .inner-page.news-page .news-story__copy h3 { font-size: clamp(1.4rem, 5.5vw, 1.9rem); }
  .inner-page.news-page .news-story--lead .news-story__copy h3 { font-size: clamp(1.65rem, 7vw, 2.25rem); }
  .inner-page.news-page .news-story__featured { bottom: 16px; left: 17px; }
  .inner-page.news-page .news-journal__heading { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .inner-page.news-page .news-story,
  .inner-page.news-page .news-story__art img,
  .inner-page.news-page .news-story__fallback,
  .inner-page.news-page .news-story__action > span { transition: none !important; }
  .inner-page.news-page .news-story:hover { transform: none; }
}

/* Features: distinct system chapters and an intentional four-card sequence. */
.inner-page.features-page .feature-showcase {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: clamp(18px, 2vw, 28px);
}

.inner-page.features-page .feature-showcase__intro {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
  align-items: end;
  gap: clamp(25px, 4vw, 60px);
  padding: 0 5px clamp(25px, 3vw, 39px);
  border-bottom: 1px solid rgba(110, 187, 255, 0.31);
}

.inner-page.features-page .feature-showcase__intro .panel-kicker {
  margin: 0 0 10px;
}

.inner-page.features-page .feature-showcase__intro h2 {
  margin: 0;
  color: #fff1d2;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.1vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.07;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 10, 34, 0.72);
}

.inner-page.features-page .feature-showcase__intro > div > p:last-child {
  max-width: 55ch;
  margin: 14px 0 0;
  color: var(--inner-copy);
  line-height: 1.65;
}

.inner-page.features-page .feature-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.inner-page.features-page .feature-chapters a {
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border: 1px solid rgba(103, 183, 255, 0.28);
  border-radius: 5px;
  background: linear-gradient(115deg, rgba(22, 70, 131, 0.58), rgba(5, 25, 58, 0.68));
  color: #e8f2ff;
  text-decoration: none;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.inner-page.features-page .feature-chapters a:hover,
.inner-page.features-page .feature-chapters a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(241, 202, 128, 0.72);
  background: linear-gradient(115deg, rgba(33, 93, 157, 0.74), rgba(8, 33, 72, 0.86));
  outline: none;
}

.inner-page.features-page .feature-chapters span {
  flex: 0 0 auto;
  color: var(--inner-gold-bright);
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.inner-page.features-page .feature-chapters strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.inner-page.features-page .feature-showcase > .feature-tile {
  grid-column: auto;
  min-width: 0;
  min-height: 0;
  scroll-margin-top: 94px;
}

.inner-page.features-page .feature-tile--combat,
.inner-page.features-page .feature-tile--ranking {
  grid-column: 1 / -1 !important;
  grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr);
}

.inner-page.features-page .feature-tile--combat {
  min-height: 405px;
}

.inner-page.features-page .feature-tile--ranking {
  min-height: 342px;
  grid-template-columns: minmax(0, 1.09fr) minmax(0, 0.91fr);
  grid-template-rows: minmax(342px, auto);
}

.inner-page.features-page .feature-tile--seasons,
.inner-page.features-page .feature-tile--crafting {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 290px minmax(230px, 1fr);
}

.inner-page.features-page .feature-tile--seasons .feature-tile__media,
.inner-page.features-page .feature-tile--crafting .feature-tile__media,
.inner-page.features-page .feature-tile--ranking .feature-tile__media {
  order: 1;
}

.inner-page.features-page .feature-tile--seasons .feature-tile__copy,
.inner-page.features-page .feature-tile--crafting .feature-tile__copy,
.inner-page.features-page .feature-tile--ranking .feature-tile__copy {
  order: 2;
}

.inner-page.features-page .feature-tile--combat .feature-tile__media {
  order: 2;
  min-height: 405px;
  border-left: 1px solid rgba(108, 181, 255, 0.26);
}

.inner-page.features-page .feature-tile--combat .feature-tile__copy {
  order: 1;
}

.inner-page.features-page .feature-tile--ranking .feature-tile__media {
  min-height: 342px;
  border-right: 1px solid rgba(108, 181, 255, 0.26);
}

.inner-page.features-page .feature-tile__media {
  min-height: 0;
  background: #071c3b;
}

.inner-page.features-page .feature-tile__media::after {
  background: linear-gradient(180deg, transparent 40%, rgba(4, 17, 43, 0.34) 100%);
}

.inner-page.features-page .feature-tile__media--video::before {
  opacity: 0.12;
  animation: none;
}

.inner-page.features-page .feature-tile__media :is(img, video, iframe) {
  filter: saturate(1.04) contrast(1.02) brightness(0.91);
}

.inner-page.features-page .feature-tile__media img {
  object-position: center 47%;
}

.inner-page.features-page .feature-tile__copy {
  align-content: center;
  padding: clamp(30px, 3.5vw, 54px);
}

.inner-page.features-page .feature-tile--seasons .feature-tile__copy,
.inner-page.features-page .feature-tile--crafting .feature-tile__copy {
  padding: clamp(27px, 2.8vw, 40px);
}

.inner-page.features-page .feature-tile__overline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.inner-page.features-page .feature-tile .card-index {
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  border-color: rgba(130, 208, 255, 0.61);
  color: #d9f4ff;
  font-size: 0.76rem;
}

.inner-page.features-page .feature-tile__category {
  color: var(--inner-gold-bright);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.inner-page.features-page .feature-tile__copy h2 {
  margin-top: 19px;
  font-size: clamp(1.65rem, 1.2rem + 1vw, 2.6rem);
}

.inner-page.features-page .feature-tile--combat .feature-tile__copy h2 {
  font-size: clamp(2rem, 1.4rem + 1.5vw, 3.15rem);
}

.inner-page.features-page .feature-tile__copy p {
  max-width: 55ch;
  margin-top: 16px;
}

.inner-page.features-page .feature-tile__link {
  width: fit-content;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 27px;
  padding: 11px 17px;
  border: 1px solid rgba(233, 190, 107, 0.76);
  background: linear-gradient(120deg, rgba(45, 90, 141, 0.42), rgba(4, 24, 58, 0.86));
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  color: #fff3d4;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.inner-page.features-page .feature-tile__link:hover,
.inner-page.features-page .feature-tile__link:focus-visible {
  background: linear-gradient(120deg, rgba(77, 136, 200, 0.7), rgba(17, 55, 111, 0.88));
  box-shadow: 0 0 20px rgba(69, 159, 255, 0.2);
  outline: 2px solid var(--inner-gold-bright);
  outline-offset: 2px;
}

.inner-page.features-page .feature-tile__link span {
  color: var(--inner-gold-bright);
  font-size: 1.2rem;
  line-height: 0;
}

.inner-page.features-page .feature-callout {
  gap: 30px;
  margin-top: clamp(25px, 3vw, 40px);
}

.inner-page.features-page .feature-callout__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px;
}

.inner-page.features-page .feature-callout__actions .btn {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .inner-page.features-page .feature-showcase__intro {
    grid-template-columns: 1fr;
  }

  .inner-page.features-page .feature-chapters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .inner-page.features-page .feature-tile--combat,
  .inner-page.features-page .feature-tile--ranking {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .inner-page.features-page .feature-tile--combat,
  .inner-page.features-page .feature-tile--ranking {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(300px, auto) auto;
  }

  .inner-page.features-page .feature-tile--combat .feature-tile__media,
  .inner-page.features-page .feature-tile--ranking .feature-tile__media {
    order: 1;
    min-height: 300px;
    border: 0;
    border-bottom: 1px solid rgba(108, 181, 255, 0.26);
  }

  .inner-page.features-page .feature-tile--combat .feature-tile__copy,
  .inner-page.features-page .feature-tile--ranking .feature-tile__copy {
    order: 2;
  }
}

@media (max-width: 820px) {
  .inner-page.features-page .feature-showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .inner-page.features-page .feature-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-page.features-page .feature-tile--seasons,
  .inner-page.features-page .feature-tile--crafting {
    grid-template-rows: minmax(250px, auto) auto;
  }

  .inner-page.features-page .feature-callout__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .inner-page.features-page .feature-showcase__intro {
    gap: 23px;
  }

  .inner-page.features-page .feature-chapters a {
    min-height: 48px;
    gap: 8px;
    padding: 8px;
  }

  .inner-page.features-page .feature-chapters strong {
    font-size: 0.64rem;
  }

  .inner-page.features-page .feature-tile--combat,
  .inner-page.features-page .feature-tile--ranking,
  .inner-page.features-page .feature-tile--seasons,
  .inner-page.features-page .feature-tile--crafting {
    grid-template-rows: minmax(220px, auto) auto;
  }

  .inner-page.features-page .feature-tile--combat .feature-tile__media,
  .inner-page.features-page .feature-tile--ranking .feature-tile__media {
    min-height: 220px;
  }

  .inner-page.features-page .feature-tile__copy,
  .inner-page.features-page .feature-tile--seasons .feature-tile__copy,
  .inner-page.features-page .feature-tile--crafting .feature-tile__copy {
    padding: 26px 23px 30px;
  }

  .inner-page.features-page .feature-callout__actions,
  .inner-page.features-page .feature-callout__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inner-page.features-page .feature-chapters a,
  .inner-page.features-page .feature-tile__link,
  .inner-page.features-page .feature-tile__media img { transition: none !important; }
  .inner-page.features-page .feature-chapters a:hover { transform: none; }
}
