/* ==========================================================================
   Legacy 2 - Lineage II server site
   Plain CSS, no framework. Sections:
   1. Tokens   2. Base   3. Layout   4. Buttons & UI   5. Header & nav
   6. Hero     7. Status bar   8. Sections   9. Races   10. Steps
   11. News    12. Forms   13. Tables & rankings   14. Download   15. Prose
   16. Footer  17. Motion   18. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --gold: #6f9fdc;
  --gold-pale: #a9cdf6;
  --gold-cta: #a88a58;
  --parchment: #b0bdd0;
  --silver: #a9b1be;
  --ash: #626c7a;
  --charcoal: #17284f;
  --black: #0b162f;
  --ink: #080f20;
  --burgundy: #682d2a;
  --ember: #8c3a2c;
  --electric: #2f86ff;
  --ice: #8fd0ff;
  --ok: #7fae6e;
  --bad: #b5544a;

  --text: #dbe2ee;
  --text-dim: #a6b1c2;
  --line: rgba(120, 160, 230, 0.2);
  --line-strong: rgba(201, 183, 142, 0.34);
  --panel: rgba(14, 27, 59, 0.72);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-title: "Cinzel", "Cormorant Garamond", serif;

  --topbar-h: 38px;
  --navbar-h: 58px;
  --header-h: calc(var(--topbar-h) + var(--navbar-h));
  --announce-h: 0px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 140px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--announce-h) + 16px);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--gold-pale);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: #e5e9f0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.005em;
  font-variant-numeric: lining-nums;
}

/* Cormorant defaults to old-style figures; keep numbers full height everywhere. */
.brand span,
.rates__value,
.countdown__value,
.status-bar__value,
.step::before,
.table .rank {
  font-variant-numeric: lining-nums tabular-nums;
}

p {
  margin: 0 0 1em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--burgundy);
  color: var(--parchment);
}

:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
  color: var(--ink);
}

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

[hidden] {
  display: none !important;
}

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: calc(820px + var(--gutter) * 2);
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section--tight {
  padding: clamp(48px, 7vw, 88px) 0;
}

.section--dark {
  background: var(--ink);
}

.section-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 138, 88, 0.5) 25%,
    rgba(176, 189, 208, 0.9) 50%,
    rgba(168, 138, 88, 0.5) 75%,
    transparent
  );
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

.title + .lead,
.title + p {
  margin-top: 16px;
}

.title--sm {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.lead {
  color: var(--text);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  max-width: 58ch;
}

.section-head--center .lead {
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: min(360px, 70%);
  height: 14px;
  margin: 18px 0 22px;
  background: url("../img/ui/divider-h.webp") center / contain no-repeat;
  opacity: 0.85;
}

.section-head--center .divider {
  margin-left: auto;
  margin-right: auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.split--wide-media {
  grid-template-columns: 1.15fr 0.85fr;
}

/* 4. Buttons & small UI ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #a88a58 0%, #7e4a32 55%, #682d2a 100%);
  border-color: rgba(176, 189, 208, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, 0.25), 0 10px 30px -12px rgba(104, 45, 42, 0.8);
}

.btn--primary:hover {
  color: #fff;
  border-color: var(--parchment);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, 0.35), 0 12px 36px -10px rgba(168, 138, 88, 0.55);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--parchment);
  background: rgba(11, 22, 47, 0.35);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  color: #fff;
  border-color: var(--gold-pale);
  background: rgba(11, 22, 47, 0.6);
}

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.74rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.link-arrow i {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover i {
  transform: translateX(4px);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ash);
  flex-shrink: 0;
}

.status-dot.is-online {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(127, 174, 110, 0.18);
}

.status-dot.is-offline {
  background: var(--bad);
}

.status-dot.is-soon {
  background: var(--gold);
}

.notice {
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(23, 40, 79, 0.6);
  color: var(--text);
  font-size: 0.92rem;
}

.notice--error {
  border-left-color: var(--bad);
}

.notice--success {
  border-left-color: var(--ok);
}

/* 5. Header & nav ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(7, 14, 29, 0.75), rgba(7, 14, 29, 0));
}

.site-header.is-solid {
  background: rgba(9, 17, 37, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--navbar-h);
}

.announce__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-pale);
  box-shadow: 0 0 0 3px rgba(201, 183, 142, 0.2);
  flex-shrink: 0;
}

.announce__link {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.announce__link:hover {
  color: var(--gold-pale);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 34px;
  height: auto;
  transition: transform 0.35s var(--ease);
}

.brand span {
  color: #e5e9f0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav {
  position: relative;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: #fff;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav.has-indicator .nav__link::after {
  display: none;
}

.nav__indicator {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale), transparent);
  box-shadow: 0 0 10px rgba(201, 183, 142, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.3s ease;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 0 28px 28px;
  background:
    radial-gradient(ellipse 90% 45% at 50% 0%, rgba(201, 164, 103, 0.10), transparent 70%),
    radial-gradient(ellipse 70% 40% at 100% 100%, rgba(140, 58, 44, 0.12), transparent 70%),
    #091125;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  flex-shrink: 0;
  margin: 0 -6px;
}

.mobile-nav__close {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Big serif links, no boxes: a quiet, editorial menu */
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: clamp(18px, 5vh, 44px) 0 clamp(24px, 5vh, 40px);
  padding: 0;
  list-style: none;
}

.mobile-nav__list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  color: rgba(229, 233, 240, 0.88);
  font-family: "Cinzel", var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2;
  transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-nav__list a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border: 1px solid rgba(201, 183, 142, 0.45);
  transform: rotate(45deg);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.mobile-nav__list a:hover,
.mobile-nav__list a:focus-visible {
  color: var(--gold-pale);
  transform: translateX(4px);
}

.mobile-nav__list a[aria-current="page"] {
  color: var(--gold-pale);
}

.mobile-nav__list a:hover::before,
.mobile-nav__list a:focus-visible::before,
.mobile-nav__list a[aria-current="page"]::before {
  background: var(--gold-pale);
  border-color: var(--gold-pale);
}

/* Links glide in one after another when the menu opens */
.mobile-nav__list li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav.is-open .mobile-nav__list li {
  opacity: 1;
  transform: none;
}

.mobile-nav.is-open .mobile-nav__list li:nth-child(2) { transition-delay: 0.03s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(3) { transition-delay: 0.06s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(4) { transition-delay: 0.09s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(5) { transition-delay: 0.12s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(6) { transition-delay: 0.15s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(7) { transition-delay: 0.18s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(8) { transition-delay: 0.21s; }
.mobile-nav.is-open .mobile-nav__list li:nth-child(9) { transition-delay: 0.24s; }

.mobile-nav__account {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.mobile-nav__account .btn {
  justify-content: center;
  min-width: 0;
  padding-inline: 10px;
  font-size: 0.72rem;
}

.mobile-nav__socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
}

.mobile-nav__socials .eyebrow {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--ash, rgba(176, 189, 208, 0.55));
}

.mobile-nav__socials .socials {
  justify-content: flex-end;
  gap: 8px;
}

.mobile-nav .mobile-nav__socials .socials a {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav__list li {
    transition: none;
    transform: none;
  }
}

/* Header socials: staggered entrance, gold fill, sibling dimming, tooltip */
.header-socials {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 6px 5px 16px;
  border-left: 1px solid var(--line);
}

.site-header .header-socials a {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--silver);
  font-size: 0.86rem;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  background: rgba(11, 22, 47, 0.4);
  opacity: 0;
  animation: social-in 0.6s var(--ease) calc(0.5s + var(--i, 0) * 0.09s) forwards;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.3s var(--ease);
}

.site-header .header-socials a i {
  transition: transform 0.35s var(--ease);
}

.site-header .header-socials:hover a:not(:hover) {
  opacity: 0.4;
}

.site-header .header-socials a:hover,
.site-header .header-socials a:focus-visible {
  border-color: var(--gold-pale);
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-pale), var(--gold));
  transform: translateY(-2px);
}

.site-header .header-socials a:hover i {
  transform: scale(1.15) rotate(-6deg);
}

.social-tip {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 5;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  background: rgba(9, 17, 37, 0.96);
  color: var(--parchment);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -4px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease), left 0.25s var(--ease);
}

.social-tip.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes social-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Scroll progress line */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-header.is-solid .header-progress {
  opacity: 1;
}

.header-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--gold-pale));
  transform: scaleX(0);
  transform-origin: left;
}

/* Living status dot */
.status-dot.is-online,
.status-dot.is-soon {
  position: relative;
}

.status-dot.is-online::after,
.status-dot.is-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: dot-pulse 2s ease-out infinite;
}

@keyframes dot-pulse {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .header-socials a {
    opacity: 1;
    animation: none;
  }

  .status-dot::after {
    animation: none !important;
  }
}

/* 6. Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, center 30%);
}

.hero__media video {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__media video.is-ready {
  opacity: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, transparent 40%, rgba(6, 12, 25, 0.55) 100%),
    linear-gradient(180deg, rgba(6, 12, 25, 0.4) 0%, transparent 20%, rgba(7, 15, 31, 0.35) 38%, rgba(7, 15, 31, 0.88) 62%, var(--black) 100%);
}

.hero__content {
  width: 100%;
  padding-top: calc(var(--header-h) + var(--announce-h) + 40px);
  padding-bottom: clamp(40px, 7vh, 80px);
  text-align: center;
}

.hero__wordmark {
  width: min(440px, 70vw);
  margin: 0 auto 10px;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.6));
}

.hero__tagline {
  margin: 0 0 28px;
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero .divider {
  margin: 16px auto 26px;
}

.hero .btn-row {
  justify-content: center;
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
  color: var(--silver);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__meta img {
  height: 30px;
  width: auto;
}

.hero__meta .sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.3);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(8, 15, 32, 0.45);
  color: var(--parchment);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero__badge-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__note {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--ash);
  font-size: 0.74rem;
  line-height: 1.5;
}

.hero__note a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__date {
  margin: -12px 0 26px;
  color: var(--silver);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

/* Newsletter (hero) */
.newsletter {
  width: min(560px, 100%);
  margin: 4px auto 26px;
}

.newsletter .eyebrow {
  margin-bottom: 8px;
}

.newsletter__title {
  margin: 0 0 6px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

.newsletter__text {
  margin: 0 auto 18px;
  max-width: 46ch;
  color: var(--silver);
  font-size: 0.92rem;
}

.newsletter__form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 15, 32, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.newsletter__form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #fff;
}

.newsletter__form input[type="email"]::placeholder {
  color: var(--ash);
}

.newsletter__form input[type="email"]:focus {
  outline: none;
}

.newsletter__form:focus-within {
  border-color: var(--gold-pale);
}

.newsletter__form input[aria-invalid="true"] {
  color: #f0b5ad;
}

.newsletter__status {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-size: 0.84rem;
}

.newsletter__status.is-error {
  color: #e08a80;
}

.newsletter__status.is-success {
  color: #a9d29a;
}

.newsletter__proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 0;
  color: var(--silver);
  font-size: 0.84rem;
}

.newsletter__proof strong {
  color: var(--parchment);
  font-variant-numeric: lining-nums tabular-nums;
}

.newsletter__avatars {
  display: flex;
}

.newsletter__avatars img {
  width: 28px;
  height: 28px;
  padding: 3px;
  margin-left: -8px;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #0c1834;
}

.newsletter__avatars img:first-child {
  margin-left: 0;
}

.countdown {
  display: inline-flex;
  gap: clamp(14px, 3vw, 32px);
  margin: 4px auto 26px;
}

.countdown__unit {
  min-width: 56px;
  text-align: center;
}

.countdown__value {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  display: block;
  margin-top: 6px;
  color: var(--gold-pale);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--gold-pale));
  transform: translateX(-50%);
  opacity: 0.6;
}

/* Inner page hero */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--announce-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 15, 32, 0.6), var(--black) 95%);
}

.page-hero .title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}

.page-hero .lead {
  margin: 0 auto;
}

/* 7. Status bar ------------------------------------------------------------- */
.status-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 19, 41, 0.92);
}

.status-bar__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.status-bar__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 20px;
  background: #0a1329;
}

.status-bar__label {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-bar__value {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e9f0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

/* 8. Content sections --------------------------------------------------------- */
/* Rates */
.rates {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rates li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

.rates__label {
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.rates__value {
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

/* CTA band with video */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--black) 0%, rgba(8, 15, 32, 0.6) 30%, rgba(8, 15, 32, 0.82) 62%, var(--black) 100%);
}

.cta-band .btn-row {
  justify-content: center;
}


/* 9. Races ------------------------------------------------------------------ */
.races {
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 60% at 22% 50%, rgba(201, 140, 70, 0.13), transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 40%, rgba(104, 45, 42, 0.14), transparent 70%),
    var(--ink);
}

.races__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.race-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.race-stage::before {
  content: "";
  position: absolute;
  inset: 4%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.race-stage::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(201, 183, 142, 0.12);
  border-radius: 50%;
}

.race-stage__glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 170, 100, 0.3), rgba(140, 58, 44, 0.1) 50%, transparent 70%);
  filter: blur(14px);
}

.race-stage__emblem {
  position: relative;
  z-index: 1;
  width: 66%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.65));
}

.race-stage__emblem.is-entering {
  animation: emblem-in 0.6s var(--ease) both;
}

.races__content .lead {
  margin-bottom: 28px;
}

.race-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 0 0 28px;
}

.race-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 27, 59, 0.6);
  color: var(--text-dim);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease, transform 0.25s var(--ease);
}

.race-tab img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(0.85) brightness(0.75);
  transition: filter 0.3s ease;
}

.race-tab:hover {
  color: #fff;
  transform: translateY(-2px);
}

.race-tab:hover img {
  filter: grayscale(1) sepia(0.6) saturate(1.4) brightness(0.95);
}

.race-tab[aria-selected="true"] {
  color: #fff;
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(168, 138, 88, 0.16), rgba(14, 27, 59, 0.6));
  box-shadow: 0 10px 30px -14px rgba(168, 138, 88, 0.6);
}

/* race crests in the site's gold instead of their original purple */
.race-tab[aria-selected="true"] img {
  filter: grayscale(1) sepia(0.75) saturate(1.7) brightness(1.08) drop-shadow(0 0 6px rgba(230, 180, 100, 0.45));
}

.race-panel {
  min-height: 250px;
}

.race-panel.is-entering .race-panel__body {
  animation: fade-up 0.45s var(--ease) both;
}

.race-panel__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.race-panel__name small {
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.race-panel__body > p {
  color: var(--text);
  max-width: 56ch;
}

.race-panel__classes {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.race-panel__classes li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.race-panel__classes strong {
  color: var(--gold-pale);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.race-panel__classes span {
  color: var(--text-dim);
}

/* Journeys: full-screen video slider (AION2 "World" style) ----------------- */
.jw {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(560px, 92vh, 980px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: var(--ink);
}

.jw__media,
.jw__layer {
  position: absolute;
  inset: 0;
}

.jw__media {
  z-index: -2;
}

.jw__layer {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.jw__layer.is-active {
  opacity: 1;
}

.jw__layer img,
.jw__layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jw__layer video {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.jw__layer video.is-ready {
  opacity: 1;
}

.jw__layer.is-active img {
  animation: hero-push 14s ease-out both;
}

.jw::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 46% 40% at 50% 50%, rgba(7, 13, 28, 0.5), transparent 75%),
    linear-gradient(180deg, var(--black) 0%, rgba(8, 15, 32, 0.25) 18%, rgba(8, 15, 32, 0.2) 70%, var(--black) 100%);
}

.jw__label {
  position: absolute;
  top: 34px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1100px, 90%);
  margin: 0;
  translate: -50% 0;
  color: var(--parchment);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.jw__label::before,
.jw__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background:
    radial-gradient(circle, rgba(176, 189, 208, 0.8) 1px, transparent 1.5px) 0 50% / 8px 3px repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}

.jw__label::after {
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 60%);
  mask-image: linear-gradient(270deg, transparent, #000 60%);
}

.jw__label span {
  position: relative;
  padding: 0 4px;
  text-shadow: 0 0 14px rgba(255, 230, 180, 0.35);
}

.jw__label span::before {
  content: "✦";
  position: absolute;
  top: -20px;
  left: 50%;
  translate: -50% 0;
  color: #fff6e0;
  font-size: 0.7rem;
  text-shadow: 0 0 10px rgba(255, 230, 180, 0.9);
}

.jw__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1040px;
}

.jw__content.is-entering .jw__kicker,
.jw__content.is-entering .jw__title,
.jw__content.is-entering .jw__text,
.jw__content.is-entering .jw__meta,
.jw__content.is-entering .gem-btn {
  animation: fade-up 0.7s var(--ease) both;
}

.jw__content.is-entering .jw__text {
  animation-delay: 0.08s;
}

.jw__content.is-entering .jw__meta,
.jw__content.is-entering .gem-btn {
  animation-delay: 0.16s;
}

.jw__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: var(--gold-pale);
  font-family: var(--font-title);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.jw__kicker::before,
.jw__kicker::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 205, 150, 0.7));
}

.jw__kicker::after {
  transform: scaleX(-1);
}

.jw__kicker span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.jw__access {
  padding: 4px 9px 3px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-shadow: none;
  background: rgba(8, 15, 32, 0.35);
}

.jw__access.is-premium {
  border-color: rgba(222, 186, 120, 0.7);
  color: #cfe5ff;
  background: linear-gradient(180deg, rgba(120, 52, 40, 0.55), rgba(60, 24, 20, 0.55));
}

.jw__meta {
  display: flex;
  justify-content: center;
  margin: -6px 0 28px;
  padding: 0;
  list-style: none;
}

.jw__meta li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 26px;
}

.jw__meta li + li {
  border-left: 1px solid rgba(232, 205, 150, 0.28);
}

.jw__meta span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.jw__meta strong {
  color: #f4efe4;
  font-family: var(--font-title);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.jw__title {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #f4efe4;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 38%, #a1abbb 52%, #f2ecdf 66%, #bec7d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7));
}

/* sparkles around the title */
.jw__title::before,
.jw__title::after {
  content: "";
  position: absolute;
  inset: -24px -40px;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 6% 30%, #fff6e0, transparent 60%),
    radial-gradient(1.5px 1.5px at 96% 40%, #fff6e0, transparent 60%),
    radial-gradient(2.5px 2.5px at 88% 82%, rgba(255, 230, 180, 0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 14% 86%, #fff6e0, transparent 60%),
    radial-gradient(2px 2px at 50% 0%, rgba(255, 230, 180, 0.9), transparent 60%);
  animation: twinkle 3.2s ease-in-out infinite;
}

.jw__title::after {
  background-image:
    radial-gradient(1.5px 1.5px at 2% 62%, #fff6e0, transparent 60%),
    radial-gradient(2px 2px at 100% 14%, rgba(255, 230, 180, 0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 100%, #fff6e0, transparent 60%);
  animation-delay: 1.6s;
}

.jw__text {
  max-width: 46ch;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.jw__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  background: none;
  translate: 0 -50%;
  filter: drop-shadow(0 0 8px rgba(255, 230, 180, 0.35));
  transition: transform 0.3s var(--ease), filter 0.3s ease;
}

.jw__arrow svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #f3ead6;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jw__arrow .jw__arrow-star {
  stroke: #fff6e0;
  stroke-width: 2.5;
}

.jw__arrow--prev {
  left: clamp(12px, 3vw, 48px);
}

.jw__arrow--next {
  right: clamp(12px, 3vw, 48px);
}

.jw__arrow--prev:hover {
  transform: translateX(-4px);
  filter: drop-shadow(0 0 14px rgba(255, 230, 180, 0.8));
}

.jw__arrow--next:hover {
  transform: translateX(4px);
  filter: drop-shadow(0 0 14px rgba(255, 230, 180, 0.8));
}

.jw__dots {
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 54px;
  translate: -50% 0;
}

.jw__dots::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -200px;
  right: -200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 189, 208, 0.45) 25%, rgba(176, 189, 208, 0.45) 75%, transparent);
  z-index: -1;
}

.jw__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* 4-point star */
.jw__dot span {
  width: 12px;
  height: 12px;
  background: #f3ead6;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 4px rgba(255, 230, 180, 0.8));
  transition: transform 0.35s var(--ease), background-color 0.3s ease;
}

.jw__dot:hover span {
  transform: scale(1.3);
}

.jw__dot[aria-selected="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid #f3ead6;
  transform: rotate(45deg) scale(0.9);
  box-shadow: 0 0 14px rgba(255, 230, 180, 0.6), inset 0 0 8px rgba(255, 230, 180, 0.4);
}

.jw__dot[aria-selected="true"] span {
  transform: scale(1.5);
  background: #fff;
}

/* The Server: head, rates band, advantages ------------------------------- */
.why-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.why-head .lead {
  margin: 0;
  padding-bottom: 10px;
}

.rate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 clamp(48px, 6vw, 72px);
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(168, 138, 88, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(23, 40, 79, 0.55), rgba(11, 22, 47, 0.75));
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg));
}

.rate-grid li {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: clamp(20px, 2.6vw, 30px) 12px;
  text-align: center;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.rate-grid li:nth-child(4n + 1) {
  border-left: 0;
}

.rate-grid li:nth-child(-n + 4) {
  border-top: 0;
}

.rate-grid .rates__value {
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}

.rate-grid li:first-child .rates__value {
  color: var(--gold-pale);
}

.rate-grid .rates__label {
  color: var(--text-dim);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(28px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 26px 0 24px;
  border-top: 1px solid var(--line);
}

.why-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.why-item:hover::before {
  transform: scaleX(1);
}

.why-item__num {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: lining-nums;
  transition: color 0.4s ease;
}

.why-item:hover .why-item__num {
  color: var(--gold);
}

.why-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.why-item h3 i {
  color: var(--gold);
  font-size: 0.85rem;
}

.why-item p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* Conquest (full-bleed art + overlapping panel) ----------------------------- */
.conquest {
  position: relative;
  padding-bottom: var(--section-y);
  background: var(--black);
  isolation: isolate;
}

.conquest__band {
  position: relative;
  height: clamp(320px, 42vw, 560px);
  overflow: hidden;
}

.conquest__band img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
}

.conquest__band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(11, 22, 47, 0.4) 22%, transparent 40%, transparent 60%, rgba(11, 22, 47, 0.4) 78%, var(--black) 100%),
    linear-gradient(180deg, var(--black) 0%, rgba(11, 22, 47, 0.2) 30%, rgba(11, 22, 47, 0.35) 65%, var(--black) 100%);
}

.conquest__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(-220px, -16vw, -120px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(23, 40, 79, 0.78), rgba(11, 22, 47, 0.94));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.conquest__intro p {
  color: var(--text-dim);
}

.conquest__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.conquest__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 15, 32, 0.5);
  color: var(--text-dim);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.conquest__tab i {
  font-size: 1.4rem;
  color: var(--ash);
  transition: color 0.25s ease, transform 0.25s var(--ease);
}

.conquest__tab:hover {
  color: #fff;
  transform: translateY(-2px);
}

.conquest__tab[aria-selected="true"] {
  color: #fff;
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(168, 138, 88, 0.16), rgba(8, 15, 32, 0.5));
}

.conquest__tab[aria-selected="true"] i {
  color: var(--gold-pale);
  transform: scale(1.1);
}

.conquest__detail {
  align-self: center;
}

.conquest__detail.is-entering {
  animation: fade-up 0.45s var(--ease) both;
}

.conquest__detail h3 {
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.conquest__detail > p {
  color: var(--text);
}

.schedule {
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}

.schedule div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.schedule dt {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.schedule dd {
  margin: 0;
  color: var(--parchment);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: right;
}

/* Community strip ------------------------------------------------------------ */
.community {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, rgba(104, 45, 42, 0.25), transparent 70%),
    rgba(14, 27, 59, 0.6);
}

.community .eyebrow {
  margin-bottom: 8px;
}

.community h3 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.community p {
  margin: 0;
  color: var(--text-dim);
}

.community__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.community__actions .socials {
  margin: 0;
}

/* 10. Steps ------------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(40px, 6vw, 64px) 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: left;
}

.steps--4 {
  grid-template-columns: repeat(4, 1fr);
}

.step {
  position: relative;
  padding: 28px clamp(20px, 3vw, 36px);
  border-top: 1px solid var(--line-strong);
  counter-increment: step;
}

.step + .step {
  border-left: 1px solid var(--line);
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.step p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* 11. News ----------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}

.news-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.news-card__tag {
  color: var(--gold);
}

.news-card h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.news-card h3 a {
  color: inherit;
}

.news-card h3 a:hover {
  color: var(--gold-pale);
}

.news-card p {
  flex: 1;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.news-filter {
  position: relative;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.news-filter[aria-pressed="true"] {
  color: #fff;
}

.news-filter[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
}

.article {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.article:first-child {
  padding-top: 0;
}

.article h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.article__body {
  color: var(--text);
}

.article__body ul {
  padding-left: 1.2em;
}

.article:target h2 {
  color: var(--gold-pale);
}

/* 12. Forms ------------------------------------------------------------------ */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--parchment);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 15, 32, 0.75);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--gold-pale);
  box-shadow: 0 0 0 3px rgba(201, 183, 142, 0.15);
}

.field input[aria-invalid="true"] {
  border-color: var(--bad);
}

.field__hint,
.field__error {
  margin: 6px 0 0;
  font-size: 0.8rem;
}

.field__hint {
  color: var(--text-dim);
}

.field__error {
  color: #e08a80;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 22px;
  font-size: 0.9rem;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 18px;
}


/* Registration modal */
.modal {
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 36px 32px 28px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: linear-gradient(180deg, #0f1e41, var(--black) 60%);
  color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(176, 189, 208, 0.08);
  text-align: center;
}

.modal[open] {
  animation: modal-in 0.35s var(--ease) both;
}

.modal::backdrop {
  background: rgba(6, 11, 24, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  font-size: 1.05rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.modal__emblem {
  width: 40px;
  margin: 0 auto 14px;
}

.modal__title {
  font-size: 1.9rem;
}

.modal__sub {
  margin: 6px 0 24px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.modal form,
.modal .notice {
  text-align: left;
}

.modal .notice {
  margin-bottom: 20px;
}

.modal .field {
  margin-bottom: 14px;
}

.modal .field label {
  font-size: 0.7rem;
}

.modal .field input {
  min-height: 44px;
}

.modal .field input::placeholder {
  color: var(--ash);
}

.modal .check {
  margin: 4px 0 18px;
  font-size: 0.84rem;
}

.modal [data-turnstile]:not(:empty) {
  margin-bottom: 14px;
}

.modal form:has(:disabled) .field input {
  opacity: 0.55;
}

.modal__foot {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.82rem;
}

body.modal-open {
  overflow: hidden;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 13. Tables & rankings -------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.table th,
.table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.table th {
  color: var(--gold-pale);
  background: rgba(23, 40, 79, 0.6);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover td {
  background: rgba(168, 138, 88, 0.05);
}

.table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table .rank {
  width: 64px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.table tr:nth-child(-n + 3) .rank {
  color: var(--parchment);
}

.table__empty {
  padding: 40px 18px !important;
  color: var(--text-dim);
  text-align: center !important;
  white-space: normal !important;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tab[aria-selected="true"] {
  color: #fff;
}

.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
}

/* 14. Download ---------------------------------------------------------------- */
.download-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.download-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 32px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.download-item h3 {
  margin-bottom: 4px;
  font-size: 1.6rem;
}

.download-item p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.download-item .btn-row {
  justify-content: flex-end;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  color: #e5e9f0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 300;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details > div {
  padding: 0 0 22px;
  color: var(--text-dim);
}

/* 15. Prose (terms / legal) ---------------------------------------------------- */
.prose h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 6px;
}

.prose h2 {
  scroll-margin-top: calc(var(--header-h) + 48px);
}

.prose em {
  color: var(--gold-pale);
  font-style: normal;
}

.prose code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.04);
}

.legal-summary {
  margin: 0 0 48px;
  padding: 20px 24px;
  border: 1px solid rgba(222, 186, 120, 0.35);
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(222, 186, 120, 0.08), transparent);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 48px;
  padding: 0 0 18px;
  list-style: none;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* 16. Footer ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 32px;
  background: var(--ink);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale) 20%, var(--gold) 40%, var(--ash) 55%, var(--burgundy) 80%, transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  width: 170px;
  margin-bottom: 18px;
}

.footer-brand .footer-server {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--parchment);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 34ch;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: var(--parchment);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #fff;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--silver);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  border-color: var(--gold-pale);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
  color: var(--ash);
  font-size: 0.8rem;
}

.footer-bottom p {
  max-width: 70ch;
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-legal a {
  color: var(--text-dim);
}

/* 17. Motion ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes emblem-in {
  from {
    opacity: 0;
    transform: scale(0.9) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__media video,
  .cta-band__media[data-video] {
    display: none;
  }
}


/* ==========================================================================
   Studio layer - shape language, texture and motion
   ========================================================================== */

/* Film grain over everything: kills the flat "rendered" look. */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 300;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Chamfered corners, like the Lineage II interface, instead of soft radii. */
:root {
  --cut: 10px;
  --cut-lg: 18px;
}

.btn,
.newsletter__form,
.race-tab,
.conquest__tab,
.notice,
.field input,
.announce__link {
  border-radius: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.conquest__panel,
.community,
.modal,
.table-wrap {
  border-radius: 0;
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg));
}

.announce__link {
  clip-path: none;
}

/* Primary button: metallic sheen sweep on hover. */
.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 210, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}

.btn--primary:hover::after {
  left: 130%;
}

/* Bigger, tighter display type. */
.title {
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.title--sm {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

/* Chapter markers: "01 -- RACES" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.eyebrow__num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: lining-nums;
}

.eyebrow__num::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.section-head--center .eyebrow {
  justify-content: center;
}

/* Giant outlined words drifting behind sections. */
.ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 183, 142, 0.07);
  font-family: var(--font-display);
  font-size: clamp(8rem, 24vw, 22rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  translate: -50% -50%;
  will-change: transform;
}

.races,
.why,
.cta-band {
  position: relative;
  overflow: hidden;
}

.races > .container,
.why > .container,
.cta-band > .container {
  position: relative;
  z-index: 1;
}

/* Marquee ticker */
.marquee {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #0d1935, #0b152d 50%, #0d1935);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
}

.marquee__group span {
  padding: 16px 26px;
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}

.marquee__group i {
  color: var(--gold);
  font-style: normal;
  font-size: 0.8rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Hero: slow push-in, viewport frame and HUD details. */
.hero__media img {
  animation: hero-push 22s ease-out both;
}

@keyframes hero-push {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

.hero__media {
  will-change: transform;
}

.hero__content {
  will-change: opacity, transform;
}

/* Floating emblem in the races stage. */
[data-float] {
  animation: float 6s ease-in-out infinite;
}

[data-float].is-entering {
  animation: emblem-in 0.6s var(--ease) both, float 6s ease-in-out 0.6s infinite;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.race-stage::after {
  animation: spin 60s linear infinite;
}

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

/* Reveal: a touch more travel and a soft blur for a filmic entrance. */
.reveal {
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}

.reveal.is-visible {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .marquee__track,
  .hero__media img,
  [data-float],
  .race-stage::after {
    animation: none !important;
  }

  .reveal {
    filter: none;
  }
}


/* ==========================================================================
   AION2-style header: utility top bar + nav row + hanging CTA
   ========================================================================== */
.site-header {
  background: none;
  border-bottom: 0;
  transition: transform 0.4s var(--ease);
}

.site-header.is-solid {
  transform: translateY(calc(-1 * var(--topbar-h)));
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.topbar {
  height: var(--topbar-h);
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.85), rgba(6, 6, 6, 0.55));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.topbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.topbar__logo img {
  width: 20px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.brand img[src*="legacy2-logo"] {
  width: 78px;
}

/* Small notice (e.g. launcher not yet available) */
.toast {
  position: fixed;
  z-index: 400;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(9, 18, 40, 0.96);
  color: var(--parchment);
  font-size: 0.82rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.topbar__announce {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  white-space: nowrap;
}

.topbar__announce [data-announce-text] {
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__right {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.topbar__announce + .topbar__right {
  margin-left: 0;
}

@media (max-width: 1320px) {
  .topbar__announce .announce__link {
    display: none;
  }
}

@media (max-width: 1180px) {
  .topbar .header-status {
    display: none;
  }
}

.topbar__links {
  display: flex;
  align-items: center;
}

.topbar__links a {
  padding: 0 12px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar__links a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.topbar__links a:hover {
  color: #fff;
}

.header-status {
  font-size: 0.78rem;
}

.navbar {
  position: relative;
  background: linear-gradient(180deg, rgba(9, 18, 40, 0.72), rgba(9, 18, 40, 0.5));
  border-bottom: 1px solid rgba(176, 189, 208, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.35s ease;
}

.site-header.is-solid .navbar {
  background: rgba(9, 17, 37, 0.94);
}

.navbar .brand {
  display: none;
}

.nav {
  margin-left: 0;
}

.nav__list {
  gap: 0;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--navbar-h);
  padding: 0 16px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--gold-pale);
}

.nav__new {
  margin: -10px 0 0 2px;
  color: #e0563f;
  font-size: 0.62rem;
  font-weight: 700;
}

.nav__ext {
  margin-left: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
}

.nav__indicator {
  bottom: 10px;
}

.header-actions {
  display: none;
}

.nav-cta {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 190px;
  margin: -1px calc(-1 * var(--gutter)) -1px auto;
  padding: 0 28px;
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(60, 20, 10, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 240, 210, 0.35), transparent 45%),
    linear-gradient(135deg, #c9a467 0%, #a0703c 40%, #7e3a2c 100%);
  clip-path: polygon(0 0, calc(50% - 9px) 0, 50% 9px, calc(50% + 9px) 0, 100% 0, 100% 100%, 0 100%);
  transition: filter 0.3s ease;
}

.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 236, 200, 0.45);
  border-top: 0;
  pointer-events: none;
}

.nav-cta:hover {
  color: #fff;
  filter: brightness(1.12);
}

.site-header .header-socials {
  padding: 0 0 0 16px;
}

.site-header .header-socials::before {
  display: none;
}

.site-header .header-socials a {
  width: 26px;
  height: 26px;
  font-size: 0.74rem;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.header-progress {
  bottom: 0;
}

/* ==========================================================================
   AION2-style hero
   ========================================================================== */
.hero {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  overflow: visible;
  z-index: 2;
}

.hero__media {
  overflow: hidden;
}

.hero__media-inner {
  position: absolute;
  inset: -4% 0;
  will-change: transform;
  --hero-pos: center 18%;
}

.hero::before {
  background:
    radial-gradient(ellipse 42% 38% at 50% 52%, rgba(8, 17, 36, 0.66), transparent 78%),
    linear-gradient(180deg, rgba(6, 12, 25, 0.55) 0%, transparent 20%, rgba(8, 17, 36, 0.18) 50%, rgba(7, 15, 31, 0.88) 80%, var(--black) 100%);
}

.hero__sparks {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 240, 210, 0.9), transparent 60%),
    radial-gradient(1px 1px at 70% 22%, rgba(255, 240, 210, 0.8), transparent 60%),
    radial-gradient(2px 2px at 44% 62%, rgba(255, 220, 170, 0.7), transparent 60%),
    radial-gradient(1px 1px at 83% 58%, rgba(255, 240, 210, 0.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 40%, rgba(255, 240, 210, 0.7), transparent 60%),
    radial-gradient(1px 1px at 30% 72%, rgba(255, 240, 210, 0.7), transparent 60%);
  animation: sparks 9s ease-in-out infinite alternate;
}

@keyframes sparks {
  from {
    opacity: 0.4;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-18px);
  }
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 40px;
}

.hero__runes {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: rgba(255, 246, 224, 0.82);
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.hero__runes i {
  color: var(--gold-pale);
  font-style: normal;
  font-size: 0.6rem;
}

.hero__title {
  position: relative;
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f4efe4;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 38%, #a1abbb 52%, #f2ecdf 66%, #bec7d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.65));
}

.hero__title::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 37%;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle, #fff 0, rgba(255, 246, 224, 0.9) 12%, rgba(255, 230, 180, 0.35) 30%, transparent 60%);
  animation: twinkle 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.flourish {
  width: min(820px, 92%);
  height: auto;
  margin: 6px auto 10px;
  overflow: visible;
}

.hero__tagline {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 26px;
}

/* Quiet legal line under the hero buttons */
.hero__disclaimer {
  max-width: 820px;
  margin: 22px auto 0;
  color: rgba(176, 189, 208, 0.5);
  font-size: 0.72rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Gem buttons: pointed ends, glossy face, diamond caps outside the shape. */
.gem-btn {
  --gem-edge: #f6e3b4;
  --gem-top: #f3dcaa;
  --gem-mid: #c39a5c;
  --gem-low: #7e5530;
  --gem-text: #2b1709;
  position: relative;
  display: inline-flex;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--gem-text);
  cursor: pointer;
  transition: transform 0.25s var(--ease), filter 0.25s ease;
}

.gem-btn--crimson {
  --gem-edge: #f2c2b4;
  --gem-top: #d9806b;
  --gem-mid: #9a3b2f;
  --gem-low: #4f1915;
  --gem-text: #fff;
}

.gem-btn::before,
.gem-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gem-edge);
  background: rgba(7, 15, 31, 0.6);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.gem-btn::before {
  left: 2px;
}

.gem-btn::after {
  right: 2px;
}

.gem-btn__face {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 230px;
  min-height: 52px;
  padding: 0 40px;
  font-family: var(--font-title);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
  background: var(--gem-edge);
  clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 20px 100%, 0 50%);
}

.gem-btn--crimson .gem-btn__face {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.gem-btn__face::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 48%, transparent 52%),
    linear-gradient(180deg, var(--gem-top), var(--gem-mid) 55%, var(--gem-low));
  clip-path: polygon(19px 0, calc(100% - 19px) 0, 100% 50%, calc(100% - 19px) 100%, 19px 100%, 0 50%);
}

.gem-btn__face {
  isolation: isolate;
}

.gem-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1) drop-shadow(0 8px 22px rgba(201, 164, 103, 0.35));
}

.gem-btn--crimson:hover {
  filter: brightness(1.12) drop-shadow(0 8px 22px rgba(154, 59, 47, 0.45));
}

.gem-btn:hover::before {
  transform: translate(-4px, -50%) rotate(225deg);
}

.gem-btn:hover::after {
  transform: translate(4px, -50%) rotate(225deg);
}

.gem-btn--sm .gem-btn__face {
  min-width: 180px;
  min-height: 46px;
  padding: 0 30px;
  font-size: 1rem;
}

.gem-btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* News cards overlapping the bottom of the hero */
.hero__cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: calc(1100px + var(--gutter) * 2);
  margin-bottom: -110px;
}

.hero-card {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  border: 1px solid rgba(176, 189, 208, 0.28);
  background: #0c1834;
  color: #fff;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 2;
  width: 120px;
  height: 14px;
  translate: -50% 0;
  background:
    linear-gradient(90deg, transparent, var(--gold-pale), transparent) center 0 / 100% 1px no-repeat;
  clip-path: polygon(0 0, 100% 0, 54% 100%, 46% 100%);
  border-top: 1px solid var(--gold-pale);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 13, 28, 0.92));
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.8s var(--ease);
}

.hero-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-pale);
  color: #fff;
}

.hero-card:hover img {
  transform: scale(1.06);
}

.hero-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(8, 15, 32, 0.75);
  color: #fff;
  font-size: 0.72rem;
}

.hero-card__body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-card__body time {
  color: var(--gold-pale);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero-card__body strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}




/* Header layout: full-bleed so "Play Now" touches the right edge of the screen */
.site-header .container {
  max-width: none;
}

.topbar__right {
  gap: 0;
}

.topbar .header-socials {
  padding: 0 16px 0 0;
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  margin-right: 4px;
}

.topbar__links a:last-child {
  padding-right: 0;
}

.nav-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 210px;
  line-height: 1.1;
}

.nav-cta small {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Hero gem buttons: identical size regardless of label length */
.hero__actions .gem-btn__face {
  width: 290px;
  min-width: 0;
  padding: 0 24px;
}

/* Metallic section titles (same treatment as the hero title) */
.title,
.conquest__detail h3,
.race-panel__name {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f4efe4;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 38%, #a1abbb 52%, #f2ecdf 66%, #bec7d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 8px 22px rgba(0, 0, 0, 0.5));
}

.title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.title--sm {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

.page-hero .title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.race-panel__name small {
  -webkit-text-fill-color: var(--gold);
  font-family: var(--font-ui);
}

.conquest__detail h3 {
  text-transform: uppercase;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}


/* Races: character art in front, race emblem as a faded watermark behind */
.race-stage {
  aspect-ratio: auto;
  height: clamp(420px, 46vw, 640px);
  max-width: 560px;
}

.race-stage::before {
  inset: auto;
  top: 6%;
  left: 50%;
  width: 82%;
  aspect-ratio: 1;
  translate: -50% 0;
}

.race-stage::after {
  inset: auto;
  top: 14%;
  left: 50%;
  width: 66%;
  aspect-ratio: 1;
  translate: -50% 0;
}

.race-stage__glow {
  inset: auto;
  top: 10%;
  left: 50%;
  width: 76%;
  aspect-ratio: 1;
  translate: -50% 0;
}

.race-stage__emblem {
  position: absolute;
  top: 18%;
  left: 50%;
  z-index: 0;
  width: 54%;
  opacity: 0.22;
  translate: -50% 0;
  filter: grayscale(1) sepia(0.7) saturate(1.5) blur(0.5px) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.race-stage__emblem.is-entering {
  animation: emblem-fade 0.7s var(--ease) both;
}

.race-stage__char {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: auto;
  max-width: 120%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  translate: -50% 0;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

.race-stage__char.is-entering {
  animation: char-in 0.75s var(--ease) both;
}

@keyframes char-in {
  from {
    opacity: 0;
    transform: translateX(-36px) scale(0.97);
    filter: blur(6px) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  }
}

@keyframes emblem-fade {
  from {
    opacity: 0;
    transform: scale(0.85) rotate(-8deg);
  }
  to {
    opacity: 0.22;
    transform: none;
  }
}

@media (max-width: 720px) {
  .jw {
    min-height: 620px;
  }

  .jw__arrow {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: 34px;
    translate: 0 0;
  }

  .jw__dots {
    bottom: 44px;
    gap: 22px;
  }

  .jw__dots::before {
    left: -40px;
    right: -40px;
  }

  .jw__label {
    top: 24px;
    font-size: 0.8rem;
  }

  .jw__title {
    font-size: clamp(2rem, 9.5vw, 2.8rem);
  }

  .jw__kicker {
    gap: 10px;
    letter-spacing: 0.24em;
  }

  .jw__kicker::before,
  .jw__kicker::after {
    width: 18px;
  }

  .jw__kicker span,
  .jw__access {
    white-space: nowrap;
  }

  .jw__meta {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    width: 100%;
  }

  .jw__meta li {
    justify-content: flex-start;
    padding: 0 8px;
    text-align: center;
  }

  .jw__meta span {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .jw__meta strong {
    font-size: 0.86rem;
    line-height: 1.3;
  }
}

@media (max-width: 960px) {
  /* Mobile order: heading, race icons, character, description,
     so the character changes right under the icon you tap. */
  .races__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .races__content {
    display: contents;
  }

  .races__content > .eyebrow,
  .races__content > .title,
  .races__content > .lead {
    order: 1;
  }

  .races__content > .eyebrow {
    align-self: flex-start;
  }

  .race-tabs {
    order: 2;
    margin-bottom: 8px;
  }

  .race-stage {
    order: 3;
    height: 380px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 8px;
  }

  .race-panel {
    order: 4;
  }
}


/* ==========================================================================
   Launch / Grand Opening (newsletter)
   ========================================================================== */
.launch {
  position: relative;
  padding: calc(110px + clamp(64px, 8vw, 104px)) 0 clamp(72px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: var(--black);
}

.launch__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.launch__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
  filter: saturate(0.9);
}

.launch__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 34% 62% at 50% 52%, rgba(8, 16, 35, 0.72), transparent 75%),
    radial-gradient(ellipse 42% 55% at 50% 38%, rgba(201, 164, 103, 0.16), transparent 70%),
    linear-gradient(180deg, var(--black) 0%, rgba(11, 22, 47, 0.45) 20%, rgba(11, 22, 47, 0.55) 70%, var(--black) 100%);
}

.launch__rays {
  position: absolute;
  top: 250px;
  left: 50%;
  width: 1100px;
  height: 1100px;
  translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 230, 180, 0.07) 0deg 4deg, transparent 4deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 60%);
  mask-image: radial-gradient(circle, #000 0, transparent 60%);
  animation: spin 90s linear infinite;
}

.launch__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Emblem in rotating rings */
.launch__crest {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  margin-bottom: 26px;
}

.launch__crest::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 240, 210, 0.35), rgba(15, 30, 65, 0.95) 65%);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 200, 0.4), 0 0 46px rgba(201, 164, 103, 0.45);
}

.launch__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(176, 189, 208, 0.45);
}

.launch__ring--outer {
  border-style: dashed;
  border-color: rgba(176, 189, 208, 0.35);
  animation: spin 40s linear infinite;
}

.launch__ring--inner {
  inset: 9px;
  border-color: rgba(176, 189, 208, 0.2);
  border-top-color: var(--gold-pale);
  border-bottom-color: var(--gold-pale);
  animation: spin 14s linear infinite reverse;
}

.launch__crest img {
  position: relative;
  width: 44px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
}

.launch .newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(900px, 100%);
  margin: 0;
}

.launch__form {
  width: min(620px, 100%);
}

.launch__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.launch__eyebrow i {
  color: var(--gold-pale);
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0;
}

.launch__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f4efe4;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 38%, #a1abbb 52%, #f2ecdf 66%, #bec7d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
}

.launch__date {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, 100%);
  margin: 18px auto 26px;
  color: var(--parchment);
  font-family: var(--font-title);
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.launch__date::before,
.launch__date::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale));
  box-shadow: 0 0 8px rgba(255, 230, 180, 0.5);
}

.launch__date::after {
  background: linear-gradient(270deg, transparent, var(--gold-pale));
}

.launch__date span {
  white-space: nowrap;
}

/* compact countdown */
.launch__cd {
  display: inline-grid;
  grid-template-columns: repeat(4, 76px);
  gap: 10px;
  margin: 0 auto 26px;
}

.launch__cd div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 0 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(23, 40, 79, 0.7), rgba(9, 17, 37, 0.85));
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.launch__cd strong {
  color: #f6f0e3;
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}

.launch__cd span {
  color: var(--text-dim);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.launch__text {
  max-width: 48ch;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}

.launch__rewards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.launch__rewards li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--parchment);
  font-size: 0.86rem;
  font-weight: 500;
}

.launch__reward-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-pale);
  font-size: 0.74rem;
  background: radial-gradient(circle, rgba(201, 164, 103, 0.18), transparent 70%);
}

/* framed form */
.launch__form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(18, 31, 62, 0.92), rgba(9, 18, 40, 0.95));
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  clip-path: none;
}

.launch__form:focus-within {
  border-color: var(--gold-pale);
  box-shadow: 0 0 0 3px rgba(201, 183, 142, 0.12), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}

.launch__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid var(--gold-pale);
  pointer-events: none;
}

.launch__corner--tl {
  top: -5px;
  left: -5px;
  border-top-width: 2px;
  border-left-width: 2px;
}

.launch__corner--br {
  right: -5px;
  bottom: -5px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}

/* The email box reads as a real input: its own inset field with the icon inside */
.launch__form {
  padding: 8px;
}

.launch__form-icon {
  position: absolute;
  left: 26px;
  top: 50%;
  translate: 0 -50%;
  z-index: 1;
  color: var(--gold-pale);
  font-size: 1rem;
  pointer-events: none;
}

.launch__form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px 0 46px;
  border: 1px solid rgba(201, 183, 142, 0.32);
  border-radius: 0;
  background: rgba(255, 248, 232, 0.06);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1rem;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.launch__form input[type="email"]:hover {
  border-color: rgba(201, 183, 142, 0.5);
}

.launch__form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold-pale);
  background: rgba(255, 248, 232, 0.09);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(201, 183, 142, 0.14);
}

.launch__form input[type="email"]::placeholder {
  color: rgba(214, 221, 232, 0.55);
}

.launch__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--gold-pale);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.launch__hint i {
  font-size: 0.75rem;
  animation: hint-bob 1.8s ease-in-out infinite;
}

@keyframes hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.launch__form .gem-btn {
  padding: 0;
  flex-shrink: 0;
}

.launch__form .gem-btn::before,
.launch__form .gem-btn::after {
  display: none;
}

.launch__form .gem-btn__face {
  min-height: 48px;
}

/* social proof */
.launch__proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.launch__avatars {
  display: flex;
}

.launch__avatars img {
  width: 38px;
  height: 38px;
  margin-left: -10px;
  border: 2px solid #0f1d3f;
  border-radius: 50%;
  object-fit: cover;
  background: #17284f;
  box-shadow: 0 0 0 1px rgba(176, 189, 208, 0.35);
}

.launch__avatars img:first-child {
  margin-left: 0;
}

.launch__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -10px;
  border: 1px solid #c9a467;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(222, 186, 120, 0.28), #0c1732 75%);
  box-shadow: 0 0 0 2px #0f1d3f, 0 0 14px rgba(201, 164, 103, 0.25);
  color: #cfe5ff;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
}

.launch__avatar:first-child {
  margin-left: 0;
}

.launch__count {
  text-align: left;
  color: var(--silver);
  font-size: 0.86rem;
  line-height: 1.3;
}

.launch__count strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  color: #f4efe4;
  background: linear-gradient(180deg, #fff, #bec7d5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.launch .countdown {
  justify-content: center;
}

@media (max-width: 720px) {
  .launch__cd {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }

  .launch__form {
    flex-wrap: wrap;
    padding: 10px;
  }

  /* Icon sits inside the email field (first row of the form) */
  .launch__form-icon {
    top: 36px;
  }

  .launch__form input[type="email"] {
    flex-basis: 100%;
    width: 100%;
    min-height: 52px;
  }

  .launch__form .gem-btn,
  .launch__form .gem-btn__face {
    width: 100%;
  }

  .launch__date {
    gap: 10px;
  }

  .launch__date span {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch__rays,
  .launch__ring,
  .launch__hint i {
    animation: none !important;
  }
}


/* Fair-play pledge strip (under the hero) */
.pledge {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 140% at 50% 50%, rgba(168, 138, 88, 0.1), transparent 70%),
    linear-gradient(180deg, #0d1937, #0a142b);
}

.pledge::before,
.pledge::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 189, 208, 0.5) 30%, rgba(255, 246, 224, 0.8) 50%, rgba(176, 189, 208, 0.5) 70%, transparent);
}

.pledge::before {
  top: -1px;
}

.pledge::after {
  bottom: -1px;
}

.pledge__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.pledge__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pledge__list li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e5e9f0;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pledge__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-pale);
  font-size: 0.85rem;
  background: radial-gradient(circle, rgba(168, 138, 88, 0.16), transparent 70%);
}

/* the "no" slash across the icon */
.pledge__icon.is-no::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 30px;
  border-radius: 2px;
  background: #c4573f;
  box-shadow: 0 0 0 2px #0b1630;
  transform: rotate(45deg);
}

.pledge__support {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.pledge__support .link-arrow {
  color: var(--gold-pale);
  white-space: nowrap;
}

.pledge__support .link-arrow:hover {
  color: #fff;
}

@media (max-width: 720px) {
  .pledge__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .pledge__list li {
    font-size: 0.9rem;
  }
}


/* ==========================================================================
   Features: "Classic 3.5 - Fully Remastered" block over the castle art
   ========================================================================== */
.conquest {
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.conquest__band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(100%, 1040px);
  z-index: -1;
}

/* Heroes on both sides of the server section, placed from the centre so
   they frame the content on every screen width. */
.conquest__band .conquest__hero {
  position: absolute;
  top: auto;
  bottom: 4%;
  width: auto;
  height: min(88%, 860px);
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 40px rgba(255, 150, 60, 0.22)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.conquest__band .conquest__hero--left {
  left: max(-290px, calc(50% - 1100px));
}

.conquest__band .conquest__hero--right {
  left: auto;
  right: max(-450px, calc(50% - 1230px));
}

@media (max-width: 1000px) {
  .conquest__band .conquest__hero {
    display: none;
  }
}

.conquest__band::after {
  background:
    linear-gradient(90deg, rgba(11, 22, 47, 0.85) 0%, rgba(11, 22, 47, 0.15) 13%, rgba(11, 22, 47, 0.3) 30%, rgba(11, 22, 47, 0.55) 48%, rgba(11, 22, 47, 0.55) 70%, rgba(11, 22, 47, 0.15) 88%, rgba(11, 22, 47, 0.85) 100%),
    linear-gradient(180deg, var(--black) 0%, rgba(11, 22, 47, 0.15) 18%, rgba(11, 22, 47, 0.35) 55%, var(--black) 100%);
}

.conquest__panel {
  margin-top: 0;
  padding: clamp(24px, 3vw, 40px);
  gap: clamp(24px, 4vw, 56px);
}

.conquest__tabs {
  margin: 18px 0;
}

.conquest__tab {
  padding: 12px 6px;
}

.schedule div {
  padding: 10px 0;
}

.remaster {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin-bottom: clamp(36px, 4vw, 56px);
}

/* the 3.5 crest */
.remaster__crest {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  text-align: center;
}

.remaster__crest::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(320px, 100%);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 103, 0.26), rgba(104, 45, 42, 0.12) 45%, transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

.remaster__crest::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(260px, 90%);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px dashed rgba(176, 189, 208, 0.18);
  border-radius: 50%;
  animation: spin 70s linear infinite;
  z-index: -1;
}

.remaster__base {
  color: var(--gold-pale);
  font-family: var(--font-title);
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.7em;
  text-transform: uppercase;
  padding-left: 0.7em;
}

.remaster__version {
  display: block;
  margin: 2px 0 6px;
  font-family: var(--font-title);
  font-size: clamp(4.6rem, 8.5vw, 7.6rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #f4efe4;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 34%, #909cad 52%, #f2ecdf 68%, #b1bccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.7));
  font-variant-numeric: lining-nums;
}

.remaster__tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 26px;
  color: #fff6e0;
  font-family: var(--font-title);
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #8c3a2c, #5a221d);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.remaster__tag::before,
.remaster__tag::after {
  content: "✦";
  color: var(--gold-pale);
  font-size: 0.6rem;
  letter-spacing: 0;
}

/* copy */
.remaster__copy .title {
  max-width: 24ch;
}

.remaster__text {
  max-width: 62ch;
  margin: 12px 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.96rem, 1.15vw, 1.04rem);
  line-height: 1.65;
}

.remaster__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.remaster__pillars li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.remaster__pillar-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  font-size: 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-pale);
  background: radial-gradient(circle, rgba(201, 164, 103, 0.2), transparent 70%);
}

.remaster__pillars strong {
  display: block;
  margin-bottom: 4px;
  color: #e5e9f0;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.remaster__pillars span:not(.remaster__pillar-icon) {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .remaster {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .remaster__copy .title,
  .remaster__text {
    margin-left: auto;
    margin-right: auto;
  }

  .remaster__copy .eyebrow {
    justify-content: center;
  }

  .remaster__pillars {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .remaster__pillars {
    grid-template-columns: 1fr;
  }

  .remaster__pillars li {
    flex-direction: row;
    align-items: flex-start;
  }

  .remaster__pillar-icon {
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .remaster__crest::after {
    animation: none;
  }
}


/* ==========================================================================
   Premium membership
   ========================================================================== */
.premium {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(168, 138, 88, 0.12), transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(104, 45, 42, 0.14), transparent 70%),
    var(--black);
}

.premium .section-head {
  max-width: 860px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.premium__offer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) auto 2.1fr;
  align-items: stretch;
  gap: 18px;
}

.premium__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 24px 24px;
  border: 1px solid rgba(176, 189, 208, 0.32);
  border-radius: 12px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(201, 164, 103, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(21, 37, 74, 0.9), rgba(10, 20, 44, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 240, 210, 0.04), inset 0 0 40px rgba(201, 164, 103, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.premium__card--included {
  border-color: rgba(176, 189, 208, 0.5);
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(201, 164, 103, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(24, 42, 84, 0.95), rgba(11, 21, 46, 0.95));
}

/* small gold ornament on the top edge */
.premium__ornament {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 140px;
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, #fff6e0, transparent);
}

.premium__ornament::after {
  content: "✦";
  position: absolute;
  top: -10px;
  left: 50%;
  translate: -50% 0;
  color: #fff6e0;
  font-size: 0.75rem;
  text-shadow: 0 0 10px rgba(255, 230, 180, 0.9);
}

.premium__card-eyebrow {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.premium__card-title {
  margin: 0 0 14px;
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 600;
  color: #f4efe4;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 40%, #a1abbb 55%, #f2ecdf 70%, #bec7d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45));
}

.premium__art {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 210px;
}

.premium__art::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 103, 0.35), transparent 70%);
  filter: blur(14px);
}

.premium__art img {
  position: relative;
  width: 100%;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6));
  transition: transform 0.6s var(--ease);
}

.premium__card:hover .premium__art img {
  transform: scale(1.04);
}

.premium__card-text {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--gold-pale);
  font-size: 0.9rem;
  line-height: 1.5;
}

.premium__plus {
  align-self: center;
  color: var(--gold-pale);
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 230, 180, 0.5);
}

.premium__unlocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.premium__unlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.premium__unlock-art {
  position: relative;
  width: 100%;
  height: 200px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.premium__unlock-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 15, 31, 0.75));
}

.premium__unlock-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.premium__unlock:hover .premium__unlock-art img {
  transform: scale(1.06);
}

.premium__unlock strong {
  color: #e5e9f0;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.premium__unlock span {
  color: var(--text-dim);
  font-size: 0.84rem;
}

/* price + call to action */
.premium__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 18px 28px;
  margin-top: 26px;
  padding: 22px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(104, 45, 42, 0.18), rgba(14, 27, 58, 0.9) 30%, rgba(14, 27, 58, 0.9) 70%, rgba(104, 45, 42, 0.18));
}

.premium__price {
  display: flex;
  flex-shrink: 0;
  align-items: baseline;
  gap: 6px;
}

.premium__terms {
  flex: 0 1 auto;
  min-width: 0;
}

.premium__checkout .gem-btn {
  flex-shrink: 0;
}

.premium__price strong {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  color: #f4efe4;
  background: linear-gradient(180deg, #fff 0%, #f0dfb6 50%, #c9a467 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: lining-nums;
}

.premium__price span {
  color: var(--parchment);
  font-size: 0.95rem;
}

.premium__terms p {
  margin: 0;
  color: var(--silver);
  font-size: 0.88rem;
}

.premium__terms .premium__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 0.79rem;
}

.premium__note i {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .premium__offer {
    grid-template-columns: 1fr;
  }

  .premium__checkout {
    flex-wrap: wrap;
  }

  .premium__plus {
    justify-self: center;
  }

  .premium__card--included .premium__art {
    min-height: 200px;
  }
}

@media (max-width: 720px) {
  .premium__unlocks {
    grid-template-columns: 1fr;
  }

  .premium__unlock-art {
    height: 150px;
  }

  .premium__checkout {
    flex-direction: column;
    flex-wrap: wrap;
    text-align: center;
  }

  .premium__terms .premium__note {
    justify-content: center;
  }
}


/* ==========================================================================
   News blog: banner grid + article page
   ========================================================================== */
.page-hero--compact {
  padding-bottom: clamp(32px, 4vw, 48px);
}

.page-hero--compact .title {
  margin-bottom: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 3px 9px;
  border: 1px solid rgba(176, 189, 208, 0.28);
  border-radius: 3px;
  background: rgba(104, 45, 42, 0.55);
  color: var(--parchment);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.news-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-banner {
  position: relative;
  display: block;
  min-height: 200px;
  overflow: hidden;
  border: 1px solid rgba(176, 189, 208, 0.18);
  border-radius: 10px;
  background: #0d1937;
  color: #fff;
  isolation: isolate;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.8s var(--ease);
}

.news-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 17, 36, 0.92) 0%, rgba(8, 17, 36, 0.55) 55%, rgba(8, 17, 36, 0.15) 100%),
    linear-gradient(180deg, transparent 30%, rgba(8, 17, 36, 0.85) 100%);
}

.news-banner:hover {
  color: #fff;
  transform: translateY(-4px);
  border-color: rgba(176, 189, 208, 0.5);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(201, 164, 103, 0.15);
}

.news-banner:hover img {
  transform: scale(1.06);
}

.news-banner__body {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-banner__body .chips {
  margin-bottom: 4px;
}

.news-banner__title {
  font-family: var(--font-title);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.news-banner__type {
  color: var(--gold-pale);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.news-banner__date {
  color: var(--text-dim);
  font-weight: 500;
}

.news-banner__excerpt {
  max-width: 60ch;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.news-banner--featured {
  grid-column: 1 / -1;
  min-height: 340px;
}

.news-banner--featured .news-banner__body {
  left: clamp(20px, 3vw, 40px);
  bottom: clamp(20px, 3vw, 36px);
}

.news-banner--featured .news-banner__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* article page */
.article-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(36px, 5vw, 56px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.article-hero__media {
  position: absolute;
  inset: 0 0 0 30%;
  z-index: -2;
}

.article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--black) 30%, rgba(11, 22, 47, 0.75) 55%, rgba(11, 22, 47, 0.2) 100%),
    linear-gradient(180deg, rgba(11, 22, 47, 0.4), transparent 40%, rgba(11, 22, 47, 0.6));
}

.article-hero__inner {
  max-width: calc(980px + var(--gutter) * 2);
}

.article-hero__title {
  margin: 14px 0 6px;
  max-width: 22ch;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  color: #f4efe4;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 38%, #a1abbb 52%, #f2ecdf 66%, #bec7d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)) drop-shadow(0 8px 22px rgba(0, 0, 0, 0.5));
}

.article-hero__type {
  margin: 0 0 26px;
  color: var(--gold-pale);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 40px;
}

.article-hero__meta time {
  display: block;
  color: #fff;
  font-weight: 600;
}

.article-hero__label {
  display: block;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share .article-hero__label {
  margin-right: 6px;
}

.share__btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(11, 22, 47, 0.5);
  color: #e5e9f0;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.share__btn:hover {
  border-color: var(--gold-pale);
  background: linear-gradient(180deg, var(--gold-pale), var(--gold));
  color: var(--ink);
  transform: translateY(-2px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 27, 58, 0.7);
  color: var(--text-dim);
  font-size: 0.88rem;
}

.breadcrumb a {
  display: inline-flex;
  color: var(--text-dim);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb img {
  width: 14px;
}

.breadcrumb [aria-current] {
  color: #e5e9f0;
  font-weight: 600;
}

.article-cover {
  margin: 0 0 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.article-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-body {
  font-size: 1.04rem;
  line-height: 1.8;
}

.article-body h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.article-body a {
  color: var(--gold-pale);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-more {
  margin-top: clamp(56px, 7vw, 88px);
}

.article-more .title {
  margin-bottom: 22px;
}

@media (max-width: 960px) {
  .news-banners {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-hero__media {
    inset: 0;
    opacity: 0.5;
  }
}

@media (max-width: 720px) {
  .news-banners {
    grid-template-columns: 1fr;
  }

  .news-banner--featured {
    min-height: 280px;
  }
}

/* Hero overlay: the background scene is bright (light in the centre),
   so a uniform shade + a darker cloud behind the text keep it readable. */
.hero::before,
.hero.has-video::before {
  background:
    radial-gradient(ellipse 46% 36% at 50% 46%, rgba(6, 11, 24, 0.62), transparent 80%),
    linear-gradient(180deg, rgba(6, 11, 24, 0.55) 0%, rgba(6, 11, 24, 0.28) 22%, rgba(6, 11, 24, 0.32) 58%, rgba(7, 15, 31, 0.88) 84%, var(--black) 100%),
    rgba(0, 0, 0, 0.22);
}

.hero__media video {
  transition: opacity 1.4s ease;
}

/* Premium: framed mount tile + compact "More Mounts" art */
.premium__card--included .premium__art::before {
  inset: 6% 14%;
  background: radial-gradient(circle, rgba(220, 70, 150, 0.35), rgba(201, 164, 103, 0.12) 50%, transparent 72%);
  filter: blur(18px);
}

.premium__card--included .premium__art img {
  width: min(230px, 80%);
  max-height: none;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(176, 189, 208, 0.6);
  border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(10, 20, 44, 0.9), 0 0 0 5px rgba(176, 189, 208, 0.25), 0 18px 40px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(220, 70, 150, 0.25);
  filter: none;
}

.premium__unlock-art.is-contain {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(201, 164, 103, 0.18), transparent 70%), #0c1732;
}

.premium__unlock-art.is-contain img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
}

.premium__unlock-art.is-contain::after {
  background: linear-gradient(180deg, transparent 70%, rgba(7, 15, 31, 0.55));
}

/* Hero logo above the rune line */
.hero__brand {
  margin: 0;
  line-height: 0;
}

.hero__logo {
  display: block;
  width: clamp(280px, 32vw, 500px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.75));
}

.hero__runes {
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
}

@media (max-height: 820px) and (min-width: 721px) {
  .hero__logo {
    width: clamp(240px, 26vw, 380px);
  }
}

@media (max-width: 720px) {
  .hero__logo {
    width: min(300px, 78vw);
  }
}

/* Top bar: emblem + Newsletter shortcut */
.topbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar__link i {
  color: var(--gold-pale);
  font-size: 0.85rem;
}

/* Hand-drawn topbar icons (sealed letter, quill) */
.tb-ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--gold-pale);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.tb-ico__fill {
  fill: var(--gold-pale);
  stroke: none;
}

.topbar__link:hover .tb-ico {
  stroke: #f3dca8;
  filter: drop-shadow(0 0 5px rgba(240, 200, 130, 0.7));
  transform: translateY(-1px);
}

.topbar__link:hover .tb-ico__fill {
  fill: #f3dca8;
}

.topbar__link:hover {
  color: #fff;
}

/* "Classic 3.5 Remastered" now sits under the tagline */
.hero__tagline {
  margin-bottom: 12px;
}

.hero .hero__runes {
  gap: 12px;
  margin: 0 0 30px;
  color: var(--gold-pale);
  font-size: 0.74rem;
  letter-spacing: 0.36em;
}

.hero .hero__runes::before,
.hero .hero__runes::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.55rem;
  letter-spacing: 0;
}

/* Premium unlock tiles with transparent character art */
.premium__unlock-art.is-portrait {
  background:
    radial-gradient(ellipse 60% 70% at 50% 40%, rgba(201, 164, 103, 0.22), transparent 70%),
    linear-gradient(180deg, #0f1e41, #0b1630);
}

.premium__unlock-art.is-portrait img {
  object-fit: cover;
  object-position: center 18%;
}

.premium__unlock-art.is-portrait::after {
  background: linear-gradient(180deg, transparent 60%, rgba(7, 15, 31, 0.6));
}

/* Account modal: tabs, password toggle, sign-in row */
.modal {
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 183, 142, 0.35) transparent;
}

.modal::-webkit-scrollbar {
  width: 6px;
}

.modal::-webkit-scrollbar-thumb {
  background: rgba(201, 183, 142, 0.35);
  border-radius: 6px;
}

.modal__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.modal__tab {
  position: relative;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--text-dim);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.modal__tab:hover {
  color: #fff;
}

.modal__tab[aria-selected="true"] {
  color: #f4efe4;
}

.modal__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-pale), transparent);
}

.account-form[hidden] {
  display: none;
}

.field__password {
  position: relative;
}

.field__password input {
  padding-right: 44px;
}

.field__toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  color: var(--text-dim);
  transform: translateY(-50%);
}

.field__toggle:hover {
  color: var(--gold-pale);
}

.account-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 18px;
}

.check--inline {
  align-items: center;
  margin: 0;
}

.check--inline input {
  margin-top: 0;
}

.account-form__link {
  color: var(--gold-pale);
  font-size: 0.84rem;
}

.account-form__link:hover {
  color: #fff;
}

.account-form__row--end {
  justify-content: flex-end;
  margin-top: -6px;
}

.modal .check + .check {
  margin-top: -8px;
}

.reset-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(23, 40, 79, 0.6), rgba(11, 22, 47, 0.9));
}

.reset-card .notice {
  margin-bottom: 16px;
}

.account-form__hint {
  margin: 10px 0 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  text-align: center;
}

.notice .link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-pale);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}


/* Contact support modal */
.modal--wide {
  width: min(560px, calc(100vw - 32px));
}

.support-state {
  text-align: left;
}

p.support-state {
  margin: 8px 0 4px;
  color: var(--text-dim);
  text-align: center;
}

.support-gate {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.support-gate p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.support-gate__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(222, 186, 120, 0.45);
  border-radius: 50%;
  color: var(--gold-pale);
}

.support-gate__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.support-gate__actions .btn {
  justify-content: center;
  min-width: 0;
  padding-inline: 10px;
}

.support-account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(222, 186, 120, 0.3);
  background: linear-gradient(90deg, rgba(222, 186, 120, 0.08), transparent);
  color: var(--text);
  font-size: 0.86rem;
}

.support-account i {
  color: var(--gold-pale);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.field__opt {
  margin-left: 4px;
  color: var(--ash);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
}

.field select,
.field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 15, 32, 0.75);
  color: #fff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select {
  min-height: 44px;
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-pale) 50%), linear-gradient(135deg, var(--gold-pale) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  background: #0d1935;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-pale);
  box-shadow: 0 0 0 3px rgba(201, 183, 142, 0.15);
}

.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--bad);
}

.modal .field textarea::placeholder {
  color: var(--ash);
}

.field__count {
  text-align: right;
}

.support-privacy {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 0.76rem;
  text-align: center;
}

.topbar__link + .topbar__link {
  margin-left: 16px;
}

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .modal--wide {
    padding: 32px 20px 24px;
  }
}


/* Journey rewards: button on each slide + read-only rewards card */
.jw__rewards {
  margin-top: 16px;
}

.jw__rewards {
  padding: 0;
}

.jw__rewards::before,
.jw__rewards::after {
  display: none;
}

.jw__content.is-entering .jw__rewards {
  animation: fade-up 0.7s var(--ease) 0.22s both;
}

.modal.rw {
  display: none;
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border-color: rgba(222, 186, 120, 0.45);
  border-radius: 2px;
  background: linear-gradient(180deg, #111d39 0%, #0b162f 70%);
  text-align: left;
}

.modal.rw[open] {
  display: flex;
  flex-direction: column;
}

.rw .modal__close {
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid rgba(222, 186, 120, 0.45);
  border-radius: 0;
  color: var(--gold-pale);
}

.rw__head {
  flex-shrink: 0;
  margin: 0 32px;
  padding: 28px 56px 18px 0;
  border-bottom: 1px solid rgba(222, 186, 120, 0.28);
}

.rw__eyebrow {
  margin: 0 0 8px;
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.rw__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  color: #f4efe4;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 40%, #b2bbc9 55%, #dde3ec 70%, #bec7d5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rw__summary {
  margin: 10px 0 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.rw__partial {
  display: inline-block;
  margin-right: 2px;
  padding: 2px 8px;
  border: 1px solid rgba(222, 186, 120, 0.55);
  color: #f3dca8;
  font-weight: 600;
  background: rgba(120, 52, 40, 0.35);
}

.rw__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 32px 8px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(222, 186, 120, 0.4) transparent;
}

.rw__sub {
  margin: 0 0 12px;
  color: var(--gold-pale);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rw-stories {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.rw-story {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(222, 186, 120, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.14));
}

/* Roman numeral inside a gold diamond */
.rw-story__num {
  position: relative;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #f0cf86;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
}

.rw-story__num::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(222, 186, 120, 0.6);
  background: rgba(0, 0, 0, 0.35);
  transform: rotate(45deg);
}

.rw-story__num {
  isolation: isolate;
}

.rw-story__num::before {
  z-index: -1;
}

.rw-story__main {
  min-width: 0;
}

.rw-story__title {
  margin: 2px 0 6px;
  color: #f4efe4;
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rw-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 8px;
  color: #acbbd1;
  font-size: 0.78rem;
}

.rw-story__meta i {
  margin-right: 6px;
  color: var(--gold);
  font-size: 0.72rem;
}

.rw-story__text {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.6;
}

.rw-story__rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.rw-story__rewards li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 3px;
  border: 1px solid rgba(222, 186, 120, 0.22);
  background: rgba(0, 0, 0, 0.25);
  color: #f0cf86;
  font-size: 0.76rem;
  font-weight: 600;
}

.rw-story__rewards img {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(222, 186, 120, 0.4);
  background: #081023;
}

@media (max-width: 560px) {
  .rw-story {
    gap: 12px;
    padding: 14px;
  }

  .rw-story__num {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}

.rw__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rw-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 128px;
  padding: 16px 12px 14px;
  border: 1px solid rgba(222, 186, 120, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.12));
  color: var(--text);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.rw-item:hover,
.rw-item.is-active {
  border-color: rgba(222, 186, 120, 0.7);
  background: linear-gradient(180deg, rgba(222, 186, 120, 0.1), rgba(0, 0, 0, 0.12));
}

.rw-item:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 2px;
}

.rw-item__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rw-item__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(222, 186, 120, 0.55);
  background: #081023;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.rw-item__icon img {
  width: 48px;
  height: 48px;
}

.rw-item__qty {
  color: #f0cf86;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rw-item__name {
  color: #e3e8ef;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.rw-item__extra {
  margin-top: -4px;
  color: var(--text-dim);
  font-size: 0.74rem;
}

.rw__note {
  margin: 16px 0 0;
  padding: 12px 16px;
  border: 1px solid rgba(222, 186, 120, 0.4);
  background: rgba(120, 90, 40, 0.16);
  color: #eadfc7;
  font-size: 0.84rem;
  line-height: 1.55;
}

.rw__note strong {
  color: #f3dca8;
}

.rw__fine {
  margin: 16px 0 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(222, 186, 120, 0.2);
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.55;
}

.rw__foot {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  margin: 0 32px;
  padding: 12px 0 20px;
  color: var(--ash);
  font-size: 0.74rem;
}

/* tooltip */
.rw-tip {
  position: absolute;
  z-index: 5;
  width: 320px;
  padding: 14px 16px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(222, 186, 120, 0.45) transparent;
  overflow-y: auto;
  border: 1px solid rgba(222, 186, 120, 0.6);
  background: #0b1630;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.9);
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.5;
  pointer-events: auto;
}

.rw-tip[hidden] {
  display: none;
}

.rw-tip p {
  margin: 0;
}

.rw-tip__name {
  color: #f0cf86;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.rw-tip__extra {
  color: var(--text-dim);
  font-size: 0.76rem;
}

.rw-tip__desc {
  margin-top: 8px;
  color: #d6dce6;
  font-size: 0.79rem;
  line-height: 1.42;
}

.rw-tip__desc span {
  display: block;
}

.rw-tip__desc .rw-tip__gap {
  height: 6px;
}

/* long effect lists ("<Use Effect>" stats) in two compact columns */
.rw-tip__desc.is-long .rw-tip__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.rw-tip__xp {
  margin-top: 10px !important;
  color: #cfe3b6;
}

.rw-tip__total {
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px solid rgba(222, 186, 120, 0.3);
  color: #eadfc7;
}

.rw-tip__total strong {
  color: #f0cf86;
}

.rw-tip__from {
  color: var(--text-dim);
  font-size: 0.76rem;
}

.rw-tip__note {
  margin-top: 8px !important;
  color: #afbdd2;
  font-size: 0.76rem;
}

.rw-tip__rules {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.rw-tip__rules li {
  padding: 2px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-dim);
  font-size: 0.68rem;
}

@media (max-width: 639px) {
  .rw__head {
    margin: 0 18px;
    padding: 22px 48px 14px 0;
  }

  .rw .modal__close {
    top: 14px;
    right: 14px;
  }

  .rw__body {
    padding: 16px 18px 6px;
  }

  .rw__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rw-item {
    min-height: 112px;
    padding: 12px 8px;
  }

  .rw-item__top {
    flex-direction: column;
    gap: 6px;
  }

  .rw-item__name {
    font-size: 0.78rem;
  }

  .rw__foot {
    margin: 0 18px;
    padding-bottom: 16px;
  }

  /* tooltip docks to the bottom of the card on phones */
  .rw-tip {
    left: 10px !important;
    right: 10px;
    top: auto !important;
    bottom: 10px;
    width: auto;
    max-height: 58%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rw-item {
    transition: none;
  }
}


/* Conquer Aden: full siege / olympiad / grand boss details */
.conquest__detail {
  align-self: start;
  min-width: 0;
}

.schedule--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
}

.schedule--grid div {
  flex-direction: column;
  justify-content: flex-start;
  gap: 3px;
  padding: 11px 0;
}

.schedule--grid dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule--grid dd {
  font-size: 0.9rem;
  text-align: left;
}

.cq-castles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cq-castles li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(222, 186, 120, 0.45);
  background: linear-gradient(180deg, rgba(222, 186, 120, 0.12), rgba(222, 186, 120, 0.03));
  color: #f1e3c2;
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 600;
}

.cq-castles i {
  color: var(--gold-pale);
  font-size: 0.8rem;
}

.cq-steps {
  position: relative;
  margin: 22px 0 0;
  padding: 0 0 0 22px;
  list-style: none;
}

.cq-steps::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 5px;
  width: 1px;
  background: linear-gradient(180deg, rgba(222, 186, 120, 0.6), rgba(222, 186, 120, 0.15));
}

.cq-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2px 16px;
  padding: 0 0 14px;
}

.cq-steps li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -21px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold-pale);
  background: #0d1935;
  transform: rotate(45deg);
}

.cq-steps li:last-child {
  padding-bottom: 0;
}

.cq-steps li:last-child::before {
  background: var(--gold-pale);
  box-shadow: 0 0 12px rgba(222, 186, 120, 0.6);
}

.cq-steps__when {
  grid-row: span 2;
  padding-top: 1px;
  color: #b8d8fb;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cq-steps strong {
  color: #f4efe4;
  font-size: 0.92rem;
}

.cq-steps p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  line-height: 1.5;
}

.cq-bosses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.cq-bosses li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.12));
}

.cq-bosses__name {
  color: #f4efe4;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
}

.cq-bosses__time strong {
  display: block;
  color: #b8d8fb;
  font-size: 1.05rem;
}

.cq-bosses__time em {
  color: var(--text-dim);
  font-size: 0.74rem;
  font-style: normal;
}

.cq-instance {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(222, 186, 120, 0.4);
  background: linear-gradient(90deg, rgba(120, 52, 40, 0.22), rgba(120, 52, 40, 0.04));
}

.cq-instance > p {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
}

.cq-instance__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px !important;
}

.cq-instance__head strong {
  color: #f4efe4;
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.cq-instance__head span {
  padding: 2px 8px;
  border: 1px solid rgba(222, 186, 120, 0.6);
  color: #cfe5ff;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cq-instance .schedule {
  margin-top: 10px;
}

.cq-note {
  display: flex;
  gap: 10px;
  margin: 16px 0 0;
  color: #afbdd2;
  font-size: 0.82rem;
  line-height: 1.5;
}

.cq-note i {
  margin-top: 3px;
  color: var(--gold-pale);
}

.cq-instance .cq-note {
  margin-top: 12px;
}

.cq-tz {
  margin: 14px 0 0;
  color: var(--ash);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .schedule--grid {
    grid-template-columns: 1fr;
  }

  .cq-steps li {
    grid-template-columns: 1fr;
  }

  .cq-steps__when {
    grid-row: auto;
  }

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


/* Conquer Aden: live panel under the tabs (castle owners, Heroes, Grand Bosses) */
.conquest__intro {
  display: flex;
  flex-direction: column;
}

.cq-live {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 260px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(222, 186, 120, 0.3);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(222, 186, 120, 0.07), transparent 60%),
    rgba(8, 15, 32, 0.55);
}

.cq-live__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cq-live__title {
  margin: 0;
  color: #f4efe4;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
}

.cq-live__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-dim);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cq-live__badge.is-on {
  border-color: rgba(127, 174, 110, 0.5);
  color: #b8dca9;
}

.cq-live__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(127, 174, 110, 0.6);
  animation: cq-pulse 2s ease-out infinite;
}

@keyframes cq-pulse {
  to {
    box-shadow: 0 0 0 8px rgba(127, 174, 110, 0);
  }
}

.cq-live__foot {
  margin: auto 0 0;
  padding-top: 12px;
  color: var(--ash);
  font-size: 0.72rem;
}

/* castle owners */
.cq-owners {
  display: grid;
  gap: 10px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.cq-owners li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(222, 186, 120, 0.06), transparent);
}

.cq-owners__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(222, 186, 120, 0.5);
  color: #b8d8fb;
  font-size: 1.05rem;
}

.cq-owners li p {
  margin: 0;
}

.cq-owners__castle {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cq-owners__clan {
  margin-top: 2px !important;
  color: #b8d8fb;
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 700;
}

.cq-owners__clan.is-empty {
  color: #d6dce6;
  font-size: 0.98rem;
  font-weight: 600;
}

.cq-owners__meta {
  color: var(--text-dim);
  font-size: 0.76rem;
}

/* heroes */
.cq-heroes {
  max-height: 252px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(222, 186, 120, 0.4) transparent;
}

.cq-heroes table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.cq-heroes th {
  position: sticky;
  top: 0;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-strong);
  background: #0c1834;
  color: var(--text-dim);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.cq-heroes td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.cq-heroes td strong {
  color: #b8d8fb;
}

.cq-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 10px;
  text-align: center;
}

.cq-empty__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(222, 186, 120, 0.5);
  border-radius: 50%;
  color: #b8d8fb;
  font-size: 1.3rem;
}

.cq-empty p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.5;
}

.cq-empty strong {
  display: block;
  margin-bottom: 2px;
  color: #f4efe4;
  font-size: 0.95rem;
}

/* grand boss status */
.cq-bstatus {
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.cq-bstatus li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.cq-bstatus__name {
  margin-right: auto;
  color: #f4efe4;
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 600;
}

.cq-bstatus__timer {
  color: var(--text-dim);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.cq-bstatus .pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 64px;
  justify-content: center;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill--alive {
  border-color: rgba(127, 174, 110, 0.5) !important;
  background: rgba(127, 174, 110, 0.12);
  color: #b8dca9;
}

.pill--dead {
  border-color: rgba(181, 84, 74, 0.6) !important;
  background: rgba(181, 84, 74, 0.14);
  color: #f0b4ab;
}

.cq-bstatus .pill--gold {
  border-color: rgba(222, 186, 120, 0.55);
  color: #f3dca8;
}

.cq-bstatus .pill--muted {
  color: var(--text-dim);
}

@media (max-width: 960px) {
  .cq-live {
    flex: none;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cq-live__dot {
    animation: none;
  }
}


/* Account dialog (Sign In / Create Account / Forgot): wide two-panel layout */
.modal.modal--account {
  width: min(940px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border-color: rgba(222, 186, 120, 0.35);
  border-radius: 2px;
  text-align: left;
}

.modal--account .modal__close {
  z-index: 3;
  border: 1px solid rgba(222, 186, 120, 0.35);
  background: rgba(8, 15, 32, 0.6);
  color: #f4efe4;
}

.modal--account .modal__close:hover {
  background: rgba(8, 15, 32, 0.85);
}

.acct {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  max-height: calc(100dvh - 34px);
}

.acct__art {
  position: relative;
  display: flex;
  align-items: flex-end;
  order: 2;
  min-height: 560px;
  overflow: hidden;
  border-left: 1px solid rgba(222, 186, 120, 0.25);
}

.acct__bg {
  position: absolute;
  top: -42%;
  left: 0;
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: 68% 50%;
}

.acct__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 17, 36, 0.25) 0%, rgba(8, 17, 36, 0.55) 45%, rgba(8, 17, 36, 0.94) 100%),
    linear-gradient(270deg, transparent 60%, rgba(8, 17, 36, 0.5));
}

.acct__art-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 36px 34px;
}

.acct__logo {
  display: block;
  width: 170px;
  height: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7));
}

.acct__tagline {
  margin: 0 0 22px;
  color: #cfe5ff;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.acct__perks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acct__perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.acct__perks i {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(222, 186, 120, 0.5);
  background: rgba(8, 15, 32, 0.55);
  color: #b8d8fb;
  font-size: 0.78rem;
}

.acct__main {
  min-width: 0;
  padding: 40px 44px 30px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 183, 142, 0.35) transparent;
}

.modal--account .modal__title {
  margin: 0;
  font-size: 1.85rem;
}

.modal--account .modal__sub {
  margin: 6px 0 22px;
}

.modal--account .modal__tabs {
  margin-bottom: 24px;
}

.modal--account .modal__tab[aria-selected="true"]::after {
  left: 0;
  right: 0;
}

.modal--account .field-row {
  gap: 0 16px;
}

.modal--account .modal__foot {
  text-align: center;
}

/* password strength */
.pw-meter {
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.pw-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--bad);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.pw-meter[data-level="2"] span { background: #c9a467; }
.pw-meter[data-level="3"] span { background: #b8c46a; }
.pw-meter[data-level="4"] span { background: var(--ok); }

/* "check your inbox" panel */
.acct__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 6px;
  text-align: center;
}

.acct__done-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border: 1px solid rgba(222, 186, 120, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(222, 186, 120, 0.22), rgba(8, 15, 32, 0.9));
  color: #b8d8fb;
  font-size: 1.7rem;
  box-shadow: 0 0 40px rgba(222, 186, 120, 0.15);
}

.acct__done-text {
  max-width: 380px;
  margin: 10px 0 20px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.acct__done-text strong {
  color: #cfe5ff;
}

.acct__steps {
  width: 100%;
  max-width: 380px;
  margin: 0 0 18px;
  padding: 16px 18px 16px 38px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: left;
}

.acct__steps li + li {
  margin-top: 6px;
}

.acct__steps li::marker {
  color: var(--gold-pale);
  font-weight: 700;
}

.acct__done-help {
  max-width: 380px;
  margin: 0 0 16px;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.acct__done .form-status {
  width: 100%;
  max-width: 380px;
}

.acct__done .btn {
  max-width: 380px;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-pale);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 820px) {
  .acct {
    grid-template-columns: 1fr;
  }

  .acct__art {
    display: none;
  }

  .acct__main {
    padding: 36px 24px 24px;
    max-height: calc(100dvh - 34px);
  }
}

@media (max-width: 560px) {
  .modal--account .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .modal--account .modal__tab {
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .modal--account .modal__title {
    font-size: 1.55rem;
  }
}

/* Buttons at the end of an admin-written article */
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Bot check widget in the account forms */
/* Invisible unless Cloudflare needs the player to click (rare). */
.captcha {
  height: 0;
  overflow: hidden;
}
.captcha.is-visible {
  height: auto;
  margin: 4px 0 16px;
  min-height: 65px;
}


/* News page: empty / loading state */
.news-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  grid-column: 1 / -1;
  padding: 56px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  text-align: center;
}

.news-empty strong {
  color: #f4efe4;
  font-family: var(--font-title);
  font-size: 1.3rem;
}

.news-empty__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 6px;
  border: 1px solid rgba(222, 186, 120, 0.5);
  border-radius: 50%;
  color: #b8d8fb;
  font-size: 1.4rem;
}


/* Server guide (server.html) */
.guide h3 small {
  margin-left: 6px;
  color: var(--gold-pale);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide .schedule {
  margin-bottom: 18px;
}

.guide-table {
  margin: 0 0 18px;
  overflow-x: auto;
}

.guide-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.guide-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.guide-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.guide-races {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.guide-race {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.guide-race h3 {
  margin-top: 0;
}

.guide-race__classes {
  font-size: 0.86rem;
}

.guide-note {
  color: var(--text-dim);
  font-size: 0.86rem;
}

.guide-faq details {
  border-bottom: 1px solid var(--line);
}

.guide-faq summary {
  padding: 16px 28px 16px 0;
  position: relative;
  color: #f4efe4;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.guide-faq summary::-webkit-details-marker {
  display: none;
}

.guide-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  color: var(--gold-pale);
  font-size: 1.3rem;
}

.guide-faq details[open] summary::after {
  content: "–";
}

.guide-faq details p {
  margin: 0 0 18px;
}

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

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

@media (max-width: 720px) {
  .guide-races {
    grid-template-columns: 1fr;
  }
}

/* 18. Responsive ------------------------------------------------------------ */
@media (max-width: 1240px) {
  .header-status,
  .header-socials::before {
    display: none;
  }
}

@media (max-width: 1100px) {
  .header-socials {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --topbar-h: 0px;
    --navbar-h: 60px;
  }

  .topbar {
    display: none;
  }

  .navbar .brand {
    display: flex;
  }

  .nav-cta {
    min-width: 0;
    margin-left: auto;
    padding: 0 18px;
    font-size: 1rem;
  }

  .nav-cta small {
    display: none;
  }

  .nav-toggle {
    order: 3;
  }

  .hero__cards {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .hero-card {
    scroll-snap-align: start;
  }

  .nav,
  .header-actions .btn--ghost {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .status-bar__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .status-bar__item:first-child {
    grid-column: 1 / -1;
  }

  .split,
  .split--wide-media,
  .why-head,
  .races__layout {
    grid-template-columns: 1fr;
  }

  .race-stage {
    max-width: 260px;
    margin: 0 auto -20px;
  }


  .conquest__panel {
    grid-template-columns: 1fr;
  }

  .community {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps--4 {
    grid-template-columns: 1fr 1fr;
  }

  .steps--4 .step:nth-child(3) {
    border-left: 0;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    --hero-pos: 50% 30%;
  }

  .hero__content {
    padding-bottom: 48px;
  }

  .hero .btn-row .btn {
    flex: 1 1 100%;
  }

  .gem-btn__face,
  .hero__actions .gem-btn__face {
    min-width: 0;
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }

  .hero__runes {
    letter-spacing: 0.24em;
    font-size: 0.7rem;
  }

  .hero__content {
    padding-bottom: 120px;
  }

  .hero-card {
    height: 190px;
  }



  .status-bar__list {
    grid-template-columns: 1fr 1fr;
  }

  .status-bar__item {
    padding: 16px;
  }

  .status-bar__item:first-child {
    grid-column: 1 / -1;
  }

  .race-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-list {
    grid-template-columns: 1fr;
  }

  .rate-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rate-grid li:nth-child(n) {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .rate-grid li:nth-child(odd) {
    border-left: 0;
  }

  .rate-grid li:nth-child(-n + 2) {
    border-top: 0;
  }

  .hero__hud,
  .hero__frame {
    display: none;
  }



  .announce__link {
    display: none;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__form .btn {
    width: 100%;
  }

  .conquest__panel {
    padding: 28px 22px;
  }

  .race-panel__classes li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .steps,
  .steps--4 {
    grid-template-columns: 1fr;
  }

  .step + .step {
    border-left: 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .download-item {
    grid-template-columns: 1fr;
  }

  .download-item .btn-row {
    justify-content: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 1000px) and (min-width: 721px) {
  .newsletter__text,
  .hero__note {
    display: none;
  }

  .hero__wordmark {
    width: min(380px, 60vw);
  }
}

@media (max-height: 640px) and (min-width: 721px) {
  .hero__wordmark {
    width: min(300px, 40vw);
  }

  .hero__meta {
    display: none;
  }
}

/* Things only a computer can use (the launcher): hidden on phones and tablets */
@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  .desktop-only {
    display: none !important;
  }
}

/* Social cards (used on /join after signing up) ------------------------------ */
.follow__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.follow-card {
  --net: var(--gold-pale);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 220px;
  padding: 26px 24px 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(20, 34, 68, 0.85), rgba(9, 18, 40, 0.95));
  color: var(--text);
  text-decoration: none;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.follow-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 120%;
  background: radial-gradient(ellipse at 50% 100%, var(--net), transparent 60%);
  opacity: 0.07;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

/* Brand-coloured accent line along the top edge */
.follow-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--net), transparent 85%);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

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

/* Big faded network logo in the corner */
.follow-card__mark {
  position: absolute;
  right: -18px;
  bottom: -26px;
  color: var(--net);
  font-size: 8.5rem;
  line-height: 1;
  opacity: 0.06;
  transform: rotate(-12deg);
  transition: opacity 0.35s ease, transform 0.5s ease;
  pointer-events: none;
}

.follow-card:hover .follow-card__mark {
  opacity: 0.14;
  transform: rotate(-6deg) scale(1.06);
}

.follow-card[data-network="instagram"] { --net: #e1306c; }
.follow-card[data-network="x"] { --net: #d5d8dd; }
.follow-card[data-network="youtube"] { --net: #ff2a2a; }
.follow-card[data-network="tiktok"] { --net: #25f4ee; }
.follow-card[data-network="telegram"] { --net: #2aabee; }
.follow-card[data-network="facebook"] { --net: #1877f2; }
.follow-card[data-network="twitch"] { --net: #9146ff; }

.follow-card:hover,
.follow-card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--net) 55%, transparent);
  outline: none;
}

.follow-card:hover::before,
.follow-card:focus-visible::before {
  opacity: 0.22;
}

.follow-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(176, 189, 208, 0.35);
  border-radius: 50%;
  border-color: color-mix(in srgb, var(--net) 45%, transparent);
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--net) 22%, transparent), rgba(8, 15, 32, 0.9) 70%);
  color: var(--net);
  font-size: 1.45rem;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.follow-card:hover .follow-card__icon,
.follow-card:focus-visible .follow-card__icon {
  color: #fff;
  border-color: var(--net);
  box-shadow: 0 0 28px -4px var(--net);
}

.follow-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.follow-card__body strong {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #f4efe4;
}

.follow-card__handle {
  color: var(--gold-pale);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.follow-card__blurb {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

.follow-card__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--gold-pale);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.follow-card__cta i {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.follow-card:hover .follow-card__cta {
  color: #fff;
}

.follow-card:hover .follow-card__cta i {
  transform: translate(2px, -2px);
}

/* Compact row (e.g. the /join success screen) */
.follow__grid[data-compact] {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: min(640px, 100%);
}

.follow__grid[data-compact] .follow-card {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 12px 14px;
}

.follow__grid[data-compact] .follow-card__icon {
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
}

.follow__grid[data-compact] .follow-card__body {
  align-items: flex-start;
  text-align: left;
}

.follow__grid[data-compact] .follow-card__body strong {
  font-size: 0.95rem;
}

.follow__grid[data-compact] .follow-card__handle {
  font-size: 0.74rem;
}

.follow__grid[data-compact] .follow-card__cta {
  display: none;
}

@media (max-width: 1000px) {
  .follow__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
      .follow-card__mark {
    font-size: 6rem;
  }

  .follow__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .follow-card {
    min-height: 0;
    gap: 12px;
    padding: 18px 16px;
  }

  .follow-card__icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .follow-card__body strong {
    font-size: 1.05rem;
  }

  .follow-card__blurb {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .follow-card,
  .follow-card__cta i {
    transition: none;
  }
}

/* Social rail: vertical icons fixed on the right edge -------------------------- */
.social-rail {
  position: fixed;
  top: 50%;
  right: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  translate: 0 -50%;
}

.social-rail__line {
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent, rgba(176, 189, 208, 0.55), transparent);
}

.social-rail__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-rail__links a {
  --net: var(--gold-pale);
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(176, 189, 208, 0.45);
  border-radius: 50%;
  background: rgba(9, 17, 37, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold-pale);
  font-size: 1rem;
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.social-rail__links a[data-network="instagram"] { --net: #e1306c; }
.social-rail__links a[data-network="x"] { --net: #e4e6e8; }
.social-rail__links a[data-network="youtube"] { --net: #ff2a2a; }
.social-rail__links a[data-network="tiktok"] { --net: #25f4ee; }
.social-rail__links a[data-network="telegram"] { --net: #2aabee; }
.social-rail__links a[data-network="facebook"] { --net: #1877f2; }
.social-rail__links a[data-network="twitch"] { --net: #9146ff; }

.social-rail__links a:hover,
.social-rail__links a:focus-visible {
  color: #fff;
  border-color: var(--net);
  box-shadow: 0 0 22px -4px var(--net), inset 0 0 12px -6px var(--net);
  transform: scale(1.08);
  outline: none;
}

/* Name of the network slides out to the left on hover */
.social-rail__links a::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 5px 10px;
  border: 1px solid rgba(176, 189, 208, 0.3);
  background: rgba(9, 17, 37, 0.92);
  color: #e5e9f0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  translate: 6px -50%;
  pointer-events: none;
  transition: opacity 0.2s ease, translate 0.2s ease;
}

.social-rail__links a:hover::after,
.social-rail__links a:focus-visible::after {
  opacity: 1;
  translate: 0 -50%;
}

/* Only where there is room beside the content; phones use the menu and footer */
@media (max-width: 1399px), (hover: none) {
  .social-rail {
    display: none;
  }
}

body.modal-open .social-rail,
body.nav-open .social-rail {
  display: none;
}

/* ==========================================================================
   Metallic gem buttons (v2): polished gold / crimson with light streaks,
   a glossy top, crystal end caps and a shine that sweeps across on hover.
   ========================================================================== */
.gem-btn__face::before {
  background:
    radial-gradient(ellipse 60% 70% at 28% -10%, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(ellipse 40% 60% at 85% 120%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.06) 46%, transparent 50%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, var(--gem-top), var(--gem-mid) 55%, var(--gem-low));
  box-shadow: inset 0 -6px 12px -6px rgba(0, 0, 0, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}

/* Bright metal rim: a lighter edge on top, darker underneath */
.gem-btn__face {
  background: linear-gradient(180deg, #fff6dc 0%, var(--gem-edge) 35%, var(--gem-low) 100%);
  overflow: hidden;
}

.gem-btn--crimson .gem-btn__face {
  background: linear-gradient(180deg, #ffe1d6 0%, var(--gem-edge) 35%, #3a120f 100%);
}

/* Shine sweep */
.gem-btn__face::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -40%;
  width: 34%;
  z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-120%) skewX(-18deg);
  transition: none;
  pointer-events: none;
}

.gem-btn:hover .gem-btn__face::after,
.gem-btn:focus-visible .gem-btn__face::after {
  transform: translateX(520%) skewX(-18deg);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* No end caps beside the buttons */
.gem-btn::before,
.gem-btn::after {
  display: none;
}

.gem-btn {
  padding: 0;
}

.gem-btn:hover {
  filter: brightness(1.08) drop-shadow(0 10px 26px rgba(201, 164, 103, 0.45));
}

.gem-btn--crimson:hover {
  filter: brightness(1.1) drop-shadow(0 10px 26px rgba(170, 60, 45, 0.55));
}

.gem-btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

/* Header "Play Now": same polished metal + sweep */
.nav-cta {
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 30% -20%, rgba(255, 245, 220, 0.55), transparent 60%),
    linear-gradient(180deg, rgba(255, 240, 210, 0.35), transparent 45%),
    linear-gradient(135deg, #d4ae6f 0%, #a0703c 42%, #7e3a2c 100%);
}

.nav-cta::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -40%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
}

.nav-cta:hover::before,
.nav-cta.is-open::before {
  transform: translateX(560%) skewX(-18deg);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav-cta.is-open {
  filter: brightness(1.12);
}

/* "Play Now" menu that opens from the button */
.navbar {
  position: relative;
}

.play-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 120;
  display: grid;
  width: min(340px, calc(100vw - 24px));
  padding: 18px 10px 10px;
  border: 1px solid rgba(176, 189, 208, 0.35);
  border-top: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(214, 160, 90, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(13, 26, 56, 0.98), rgba(7, 15, 31, 0.98));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-10px) scaleY(0.96);
  transition: opacity 0.25s ease, transform 0.3s var(--ease);
}

.play-menu.is-open {
  opacity: 1;
  transform: none;
}

/* Glowing crystal where the menu leaves the button */
.play-menu__gem {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid #fff3d4;
  background: linear-gradient(135deg, #fffaf0, #c9a467 60%, #7e5530);
  box-shadow: 0 0 14px 3px rgba(240, 200, 130, 0.65);
  transform: translateX(-50%) rotate(45deg);
}

.play-menu__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px;
  color: #e5e9f0;
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 189, 208, 0.1);
  opacity: 0;
  transform: translateY(-4px);
  transition: background 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
}

.play-menu__item:last-child {
  border-bottom: 0;
}

.play-menu.is-open .play-menu__item {
  opacity: 1;
  transform: none;
}

.play-menu.is-open .play-menu__item:nth-of-type(2) { transition-delay: 0.04s; }
.play-menu.is-open .play-menu__item:nth-of-type(3) { transition-delay: 0.08s; }
.play-menu.is-open .play-menu__item:nth-of-type(4) { transition-delay: 0.12s; }

.play-menu__item:hover,
.play-menu__item:focus-visible {
  background: linear-gradient(90deg, rgba(201, 164, 103, 0.16), transparent);
  color: #fff;
  outline: none;
}

.play-menu__item[hidden] {
  display: none;
}

.play-menu__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(176, 189, 208, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 230, 180, 0.18), rgba(8, 15, 32, 0.9) 70%);
  color: var(--gold-pale);
  font-size: 1rem;
  transition: box-shadow 0.25s ease, color 0.25s ease;
}

.play-menu__item:hover .play-menu__icon {
  color: #fff;
  box-shadow: 0 0 18px -4px rgba(240, 200, 130, 0.8);
}

.play-menu__item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.play-menu__item small {
  display: block;
  margin-top: 2px;
  color: var(--text-dim);
  font-size: 0.76rem;
}

/* ==========================================================================
   Hero news cards (v2): crest ornament on top, centred title, glowing base
   ========================================================================== */
.hero-card {
  height: 240px;
  overflow: visible;
  clip-path: none;
  border-color: rgba(176, 189, 208, 0.3);
}

.hero-card > img {
  position: absolute;
  inset: 0;
}

.hero-card::before {
  display: none;
}

/* Inner frame + bottom glow line */
.hero-card::after {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 8%, rgba(240, 205, 140, 0.9) 50%, transparent 92%) center bottom / 100% 1px no-repeat,
    radial-gradient(ellipse 60% 22% at 50% 100%, rgba(230, 170, 90, 0.35), transparent 70%),
    linear-gradient(180deg, transparent 30%, rgba(7, 13, 28, 0.55) 60%, rgba(7, 13, 28, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 240, 210, 0.06);
}

.hero-card {
  overflow: hidden;
}

.hero-card__crest {
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 3;
  translate: -50% 0;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(255, 225, 170, 1)) drop-shadow(0 0 12px rgba(240, 180, 90, 0.8));
}

/* soft dark plate so the ornament reads on bright covers */
.hero-card__crest::before {
  content: "";
  position: absolute;
  inset: -6px -20px 0;
  z-index: -1;
  background: radial-gradient(ellipse 50% 70% at 50% 20%, rgba(7, 13, 28, 0.75), transparent 70%);
}

.hero-card__crest svg {
  display: block;
  width: 124px;
  height: 27px;
  fill: #fff6df;
}

.hero-card__crest .w {
  fill: none;
  stroke: #ffe7b5;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.hero-card:hover .hero-card__crest {
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 16px rgba(250, 190, 100, 1));
}

.hero-card__body {
  left: 16px;
  right: 16px;
  bottom: 18px;
  align-items: center;
  text-align: center;
}

.hero-card__body strong {
  font-family: var(--font-title);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-card__tag {
  border: 1px solid rgba(176, 189, 208, 0.3);
  background: rgba(8, 15, 32, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  letter-spacing: 0.06em;
}

.hero-card:hover {
  border-color: rgba(240, 205, 140, 0.8);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9), 0 0 30px -10px rgba(230, 170, 90, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .gem-btn:hover .gem-btn__face::after,
  .nav-cta:hover::before,
  .nav-cta.is-open::before {
    transition: none;
    transform: translateX(-120%) skewX(-18deg);
  }

  .play-menu,
  .play-menu__item {
    transition: none;
  }
}

/* Hero: the key facts in one quiet line */
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 14px;
  margin: -4px 0 26px;
  color: rgba(229, 233, 240, 0.88);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero__facts i {
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold-pale);
  background: rgba(201, 164, 103, 0.5);
  transform: rotate(45deg);
}

.hero__facts span {
  color: var(--gold-pale);
}

@media (max-width: 720px) {
  .hero__facts {
    gap: 4px 10px;
    margin-bottom: 20px;
    font-size: 0.8rem;
  }
}

/* Download window (opens when the launcher starts downloading) */
.modal.dl {
  width: min(560px, calc(100vw - 32px));
  padding: 34px 32px 26px;
  text-align: left;
}

.dl__eyebrow {
  margin: 0 0 6px;
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dl__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: #f4efe4;
}

.dl__lead {
  margin: 6px 0 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.dl__steps {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: dl;
}

.dl__steps li {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 46px;
  counter-increment: dl;
}

.dl__steps li::before {
  content: counter(dl);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(176, 189, 208, 0.5);
  border-radius: 50%;
  color: #b8d8fb;
  font-family: var(--font-title);
  font-weight: 700;
}

.dl__steps strong {
  color: #e5e9f0;
  font-size: 0.95rem;
}

.dl__steps span {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.dl__pack {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.dl__pack-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dl__pack-head strong {
  color: #e5e9f0;
  font-family: var(--font-title);
}

.dl__pack-head span,
.dl__pack p {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.dl__pack p {
  margin: 2px 0 10px;
}

.dl__mirrors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dl__mirror {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(176, 189, 208, 0.35);
  color: var(--gold-pale);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.dl__mirror:hover {
  border-color: var(--gold-pale);
  color: #fff;
}

.dl__mirror.is-primary {
  border-color: transparent;
  background: linear-gradient(180deg, #e9cf98, #b88d50 60%, #7e5530);
  color: #2b1709;
}

.dl__req {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--ash);
  font-size: 0.78rem;
}

/* ==========================================================================
   Why Legacy 2: "Built to last" (heroes art + six crafted cards)
   ========================================================================== */
.why {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 40% at 50% 18%, rgba(214, 140, 60, 0.12), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(120, 52, 40, 0.12), transparent 70%),
    var(--black);
}

/* The party sits behind the title and cards as a backdrop (no extra height) */
.why__art {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: min(1300px, 120%);
  height: min(720px, 80%);
  translate: -50% 0;
  pointer-events: none;
}

.why__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  opacity: 0.32;
  filter: saturate(0.85);
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 50% 35%, #000 35%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 75% at 50% 35%, #000 35%, transparent 80%);
}

.why__inner {
  position: relative;
}

.why .section-head {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(201, 164, 103, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(19, 33, 65, 0.85), rgba(9, 18, 40, 0.95));
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

/* gold line that grows along the top on hover */
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-pale), transparent);
  transform: scaleX(0.25);
  transform-origin: left;
  opacity: 0.7;
  transition: transform 0.6s var(--ease), opacity 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(176, 189, 208, 0.55);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(201, 164, 103, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(20, 35, 70, 0.9), rgba(9, 18, 40, 0.95));
}

.why-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}

.why-card__num {
  position: absolute;
  top: 18px;
  right: 22px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 164, 103, 0.45);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  transition: -webkit-text-stroke-color 0.3s ease;
}

.why-card:hover .why-card__num {
  -webkit-text-stroke-color: var(--gold-pale);
}

/* icon inside a gold diamond */
.why-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 4px 0 10px 4px;
  color: var(--gold-pale);
}

.why-card__icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(176, 189, 208, 0.55);
  background: radial-gradient(circle at 35% 30%, rgba(255, 230, 180, 0.14), rgba(8, 15, 32, 0.85) 70%);
  transform: rotate(45deg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card__icon svg {
  position: relative;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: filter 0.3s ease, color 0.3s ease;
}

.why-card__icon i {
  position: relative;
  font-size: 1.1rem;
}

.why-card:hover .why-card__icon {
  color: #f6dfa8;
}

.why-card:hover .why-card__icon::before {
  border-color: var(--gold-pale);
  box-shadow: 0 0 22px -4px rgba(240, 200, 130, 0.7);
}

.why-card:hover .why-card__icon svg {
  filter: drop-shadow(0 0 4px rgba(250, 210, 140, 0.8));
}

.why-card h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f4efe4;
}

.why-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .why-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .why__art {
    width: 150%;
    height: 420px;
  }

  .why-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    row-gap: 4px;
    padding: 20px 18px;
  }

  .why-card__icon {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .why-card__num {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-card,
  .why-card::before {
    transition: none;
  }
}

/* Server rates as two quiet pills at the top of the fair-play strip */
.rates-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 0 0 18px;
}

.rate-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid rgba(176, 189, 208, 0.28);
  border-radius: 999px;
  background: rgba(8, 15, 32, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.rate-pill strong {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e9cf98, #b88d50 60%, #7e5530);
  color: #2b1709;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.rate-pill__name {
  color: #e5e9f0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.rate-pill__list {
  color: var(--text-dim);
}

.rates-pills--left {
  justify-content: flex-start;
  margin: 4px 0 22px;
}

@media (max-width: 900px) {
  .rates-pills--left {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .rate-pill {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 16px;
    padding: 6px 12px 6px 6px;
  }

  .rate-pill__list {
    font-size: 0.72rem;
  }
}

/* Seam between "Built to last" and "The Server": the same full-width gold
   line as the fair-play strip, with a dark fade so the artwork eases in */
.seam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--black) 0%, rgba(11, 22, 47, 0.75) 35%, transparent 100%);
}

.seam::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 189, 208, 0.5) 30%, rgba(255, 246, 224, 0.8) 50%, rgba(176, 189, 208, 0.5) 70%, transparent);
}

/* ==========================================================================
   The Server (v2): one title, the "Classic 3.5" lockup, and three cinematic
   endgame cards that open the full details in a dialog
   ========================================================================== */
.srv {
  position: relative;
}

.srv__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

/* CLASSIC ── 3.5 ── REMASTERED */
.srv__mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
}

.srv__mark span {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-pale);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.srv__mark span:first-child::after,
.srv__mark span:last-child::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 189, 208, 0.7));
}

.srv__mark span:last-child::before {
  background: linear-gradient(90deg, rgba(176, 189, 208, 0.7), transparent);
}

.srv__mark strong {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 0.9;
  font-variant-numeric: lining-nums;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 38%, #aab6c7 58%, #efe6d2 78%, #b9a77f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7));
}

.srv__head .eyebrow {
  margin-bottom: 10px;
}

.srv__head .title {
  margin: 0 0 14px;
  text-wrap: balance;
}

.srv__lead {
  max-width: 620px;
  margin: 0 0 22px;
  color: rgba(214, 221, 232, 0.86);
  font-size: 1.05rem;
  line-height: 1.6;
}

.srv__head .rates-pills {
  margin: 0;
}

/* ── Endgame ── divider title */
.srv__wars-head {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1180px;
  margin: clamp(48px, 6vw, 76px) auto 26px;
}

.srv__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 189, 208, 0.45));
}

.srv__rule:last-child {
  background: linear-gradient(90deg, rgba(176, 189, 208, 0.45), transparent);
}

.srv__wars-head h3 {
  margin: 0;
  color: var(--gold-pale);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.srv__wars-head em {
  margin-left: 12px;
  color: var(--text-dim);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
}

.srv__wars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.war {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: clamp(360px, 32vw, 440px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #091126;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  transition: transform 0.45s var(--ease), border-color 0.3s ease;
}

.war__art {
  position: absolute;
  inset: 0;
}

.war__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.82);
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

/* dark grade from the bottom so the type always reads */
.war::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 15, 31, 0.15) 0%, rgba(7, 15, 31, 0.35) 40%, rgba(7, 15, 31, 0.96) 100%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(120, 52, 40, 0.25), transparent 70%);
}

/* gold line that runs along the top on hover */
.war::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, #f3dca8, transparent);
  transform: scaleX(0.2);
  transform-origin: left;
  opacity: 0.7;
  transition: transform 0.7s var(--ease), opacity 0.3s ease;
}

.war__icon {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--gold-pale);
}

.war__icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(176, 189, 208, 0.6);
  background: rgba(8, 15, 32, 0.6);
  transform: rotate(45deg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.war__icon svg {
  position: relative;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.war__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 28px 28px 26px;
}

.war__kicker {
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.war__stat {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 40%, #b4becd 62%, #f1e8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8));
}

.war__line {
  color: rgba(214, 221, 232, 0.78);
  font-size: 0.9rem;
}

.war__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #bfe3b0;
  font-size: 0.8rem;
}

.war__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(176, 189, 208, 0.18);
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.war__more i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(176, 189, 208, 0.5);
  border-radius: 50%;
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
}

.war:hover,
.war:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(240, 210, 150, 0.7);
  outline: none;
}

.war:hover .war__art img,
.war:focus-visible .war__art img {
  transform: scale(1.07);
  filter: saturate(1) brightness(0.95);
}

.war:hover::after,
.war:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.war:hover .war__icon::before {
  border-color: var(--gold-pale);
  box-shadow: 0 0 22px -4px rgba(240, 200, 130, 0.7);
}

.war:hover .war__more i {
  transform: rotate(90deg);
  background: var(--gold-pale);
  color: #0c1732;
}

.war:focus-visible {
  box-shadow: 0 0 0 2px var(--gold-pale);
}

.srv__guide {
  margin: 28px 0 0;
  text-align: center;
}

/* Details dialog */
.modal.war-dlg {
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.war-dlg[open] {
  display: flex;
  flex-direction: column;
}

.war-dlg__art {
  position: relative;
  flex-shrink: 0;
  height: 170px;
}

.war-dlg__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  filter: brightness(0.8);
}

.war-dlg__body {
  position: relative;
  margin-top: -56px;
  padding: 0 36px 30px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(222, 186, 120, 0.4) transparent;
}

.war-dlg .conquest__detail h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.war-dlg .cq-live {
  margin-top: 26px;
}

.war-dlg .modal__close {
  z-index: 3;
}

@media (max-width: 980px) {
  .srv__wars {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .war {
    height: 300px;
  }

  .srv__wars-head em {
    display: none;
  }
}

@media (max-width: 620px) {
  .srv__mark {
    gap: 10px;
  }

  .srv__mark span:first-child::after,
  .srv__mark span:last-child::before {
    width: 18px;
  }

  /* swipe between the three cards instead of stacking them */
  .srv__wars {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 12px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }

  .srv__wars::-webkit-scrollbar {
    display: none;
  }

  .war {
    height: 340px;
    scroll-snap-align: start;
  }

  .war:hover,
  .war:focus-visible {
    transform: none;
  }

  .war__body {
    padding: 22px 20px 20px;
  }

  .war__more {
    margin-top: 10px;
    padding-top: 10px;
  }

  .war-dlg__body {
    padding: 0 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .war,
  .war__art img,
  .war::after,
  .war__more i {
    transition: none;
  }
}

/* ==========================================================================
   Pre-register gift: wiggling gift in the email field, note, gift window
   ========================================================================== */
.launch__form .gift-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  left: 13px;
}

/* soft gold glow that breathes behind the gift */
.launch__form .gift-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 200, 130, 0.35), transparent 68%);
  animation: gift-glow 3.2s ease-in-out infinite;
}

@keyframes gift-glow {
  0%, 55%, 100% { opacity: 0.35; transform: scale(0.9); }
  70% { opacity: 1; transform: scale(1.15); }
}

.launch__form .gift-btn ~ input[type="email"],
.launch__form input[type="email"] {
  padding-left: 56px;
}

.gift-svg {
  position: relative;
  width: 28px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: #f0d39b;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(240, 200, 130, 0.55));
  animation: gift-wiggle 3.2s ease-in-out infinite;
  transform-origin: 50% 90%;
}

.gift-svg__lid {
  transform-origin: 50% 70%;
  animation: gift-lid 3.2s ease-in-out infinite;
}

.gift-svg__spark {
  stroke: #fff3d4;
  stroke-width: 1.6;
  opacity: 0;
  animation: gift-spark 3.2s ease-in-out infinite;
}

@keyframes gift-wiggle {
  0%, 62%, 100% { transform: rotate(0); }
  66% { transform: rotate(-12deg) scale(1.08); }
  70% { transform: rotate(10deg) scale(1.08); }
  74% { transform: rotate(-8deg) scale(1.05); }
  78% { transform: rotate(5deg); }
  82% { transform: rotate(0); }
}

@keyframes gift-lid {
  0%, 62%, 86%, 100% { transform: translateY(0); }
  70% { transform: translateY(-4px) rotate(-6deg); }
  76% { transform: translateY(-2px) rotate(4deg); }
}

@keyframes gift-spark {
  0%, 64%, 92%, 100% { opacity: 0; }
  72%, 84% { opacity: 1; }
}

.gift-btn:hover .gift-svg,
.gift-btn:focus-visible .gift-svg {
  stroke: #fff;
  filter: drop-shadow(0 0 9px rgba(250, 210, 140, 0.9));
}

.gift-btn:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 2px;
  border-radius: 6px;
}

/* note under the form */
.gift-note {
  max-width: 560px;
  margin: 10px auto 0;
  color: rgba(214, 221, 232, 0.75);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: center;
}

.gift-note__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #f0cf86;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(240, 207, 134, 0.4);
  text-underline-offset: 3px;
}

.gift-note__link:hover {
  color: #fff;
}

.gift-note__link i {
  font-size: 0.75em;
}

/* gift window */
.modal.gift-dlg {
  width: min(500px, calc(100vw - 32px));
  padding: 34px 30px 26px;
}

.gift-dlg__eyebrow {
  margin: 0 0 14px;
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.gift-dlg__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: #f4efe4;
}

.gift-sealed {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  margin: 4px auto 16px;
  border: 1px solid rgba(176, 189, 208, 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(240, 200, 130, 0.22), rgba(8, 15, 32, 0.9) 70%);
  box-shadow: 0 0 40px -8px rgba(240, 200, 130, 0.5);
}

.gift-sealed .gift-svg {
  width: 56px;
  height: 56px;
  stroke-width: 1.6;
}

.gift-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.gift-item__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(222, 186, 120, 0.6);
  background: #081023;
  box-shadow: 0 0 24px -6px rgba(240, 200, 130, 0.6);
}

.gift-item__qty {
  margin: 4px 0 0;
  color: #f0cf86;
  font-weight: 700;
}

.gift-item__desc {
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.gift-item__rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.gift-item__rules li {
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--ash);
  font-size: 0.72rem;
}

.gift-steps {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: gs;
  text-align: left;
}

.gift-steps li {
  position: relative;
  padding-left: 32px;
  color: rgba(214, 221, 232, 0.85);
  font-size: 0.86rem;
  counter-increment: gs;
}

.gift-steps li::before {
  content: counter(gs);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(176, 189, 208, 0.5);
  border-radius: 50%;
  color: #f0cf86;
  font-size: 0.72rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .launch__form .gift-btn {
    top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gift-svg,
  .gift-svg__lid,
  .gift-svg__spark,
  .launch__form .gift-btn::before {
    animation: none;
  }
}

/* Gift badge to the left of the email form: colour, glow and a wiggle */
.gift-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(720px, 100%);
}

.gift-row .launch__form {
  flex: 1;
  min-width: 0;
}

.gift-badge {
  position: relative;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 2px solid #e9c77e;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, #5a1d14 0%, #2a0c08 60%, #091227 100%);
  box-shadow: 0 0 0 4px rgba(233, 199, 126, 0.12), 0 0 30px -2px rgba(216, 64, 47, 0.75), 0 0 60px -10px rgba(240, 200, 130, 0.6);
  cursor: pointer;
  animation: gift-pulse 3.2s ease-in-out infinite;
}

/* rotating sparkle ring */
.gift-badge::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 230, 170, 0.9) 82%, transparent 92%);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%, #000 66%, transparent 68%);
  mask: radial-gradient(circle, transparent 60%, #000 62%, #000 66%, transparent 68%);
  animation: spin 3.6s linear infinite;
}

.gift-badge .gift-svg {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 8px rgba(255, 200, 120, 0.45));
}

.gift-svg--color .gift-svg__spark {
  fill: none;
  stroke: #fff3d4;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.gift-badge__tag {
  position: absolute;
  bottom: -10px;
  left: 50%;
  translate: -50% 0;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6dda0, #c99a4f);
  color: #3a1d08;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

@keyframes gift-pulse {
  0%, 55%, 100% { box-shadow: 0 0 0 4px rgba(233, 199, 126, 0.12), 0 0 26px -4px rgba(216, 64, 47, 0.6), 0 0 50px -12px rgba(240, 200, 130, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(233, 199, 126, 0.2), 0 0 40px 0 rgba(216, 64, 47, 0.9), 0 0 80px -6px rgba(240, 200, 130, 0.8); }
}

.gift-badge:hover,
.gift-badge:focus-visible {
  transform: scale(1.06);
  outline: none;
}

.gift-badge:focus-visible {
  box-shadow: 0 0 0 3px var(--gold-pale);
}

.gift-note strong {
  color: #f0cf86;
}

.gift-dlg__fine {
  margin: 14px 0 0;
  color: var(--ash);
  font-size: 0.76rem;
}

.gift-dlg__cta {
  margin-top: 18px;
}

.join__claim {
  margin-top: 16px;
}

@media (max-width: 720px) {
  .gift-row {
    flex-direction: column;
    gap: 22px;
  }

  .gift-badge {
    width: 70px;
    height: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gift-badge,
  .gift-badge::before {
    animation: none;
  }
}

/* Full-width gold divider lines (same as the fair-play strip) */
.edge-line {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(176, 189, 208, 0.5) 30%, rgba(255, 246, 224, 0.8) 50%, rgba(176, 189, 208, 0.5) 70%, transparent);
}

.edge-line--top {
  top: 0;
}

.edge-line--bottom {
  bottom: 0;
}

/* Gift window: contents of the box and the in-game tooltip */
.gift-dlg__sub {
  margin: 20px 0 8px;
  color: var(--gold-pale);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-align: left;
  text-transform: uppercase;
}

.gift-contents {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.gift-contents li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(222, 186, 120, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.14));
}

.gift-content__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(222, 186, 120, 0.5);
  background: #081023;
}

.gift-content__icon img {
  width: 36px;
  height: 36px;
}

.gift-content__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.gift-content__text strong {
  color: #e3e8ef;
  font-size: 0.88rem;
}

.gift-content__text small {
  color: var(--text-dim);
  font-size: 0.74rem;
}

.gift-content__qty {
  color: #f0cf86;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
}

/* the in-game tooltip, word for word */
.gift-tooltip {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(222, 186, 120, 0.35);
  background: rgba(7, 13, 28, 0.85);
  color: #c3cbd8;
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: left;
}

.gift-dlg .gift-item__qty {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 500;
}

/* ==========================================================================
   The Legacy 2 client: Interlude + High Five + Classic = Legacy 2
   ========================================================================== */
.fuse {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 50% 38% at 50% 62%, rgba(214, 160, 80, 0.13), transparent 70%),
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(120, 52, 40, 0.12), transparent 70%),
    var(--ink);
}

.fuse__row {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  align-items: stretch;
  gap: 0 clamp(8px, 1.6vw, 20px);
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.fuse__part {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 33, 65, 0.7), rgba(9, 17, 37, 0.9));
  text-align: center;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: border-color 0.3s ease, transform 0.35s var(--ease);
}

.fuse__part:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

/* High Five is the base: a touch brighter */
.fuse__part--core {
  border-color: var(--line-strong);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(90, 170, 230, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(20, 34, 68, 0.8), rgba(9, 17, 37, 0.92));
}

.fuse__logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 120px;
  margin-bottom: 8px;
}

.fuse__logo img {
  width: auto;
  height: auto;
  max-width: min(100%, 230px);
  max-height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6));
}

.fuse__part strong {
  color: var(--parchment);
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.fuse__part span:last-child {
  max-width: 30ch;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.55;
}

.fuse__op,
.fuse__eq {
  align-self: center;
  color: var(--gold-pale);
  font-family: var(--font-ui);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 0 18px rgba(240, 200, 130, 0.45);
}

.fuse__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(20px, 3vw, 32px);
  text-align: center;
}

.fuse__eq {
  margin-bottom: 6px;
  font-size: clamp(2.2rem, 3.4vw, 3rem);
}

.fuse__dl-text {
  flex: 1;
  min-width: 0;
}

.fuse__mark {
  width: min(460px, 82vw);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(240, 200, 130, 0.22)) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.7));
}

.fuse__tag {
  margin: 6px 0 0;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-style: italic;
}

.fuse__dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  max-width: 980px;
  margin: clamp(36px, 5vw, 52px) auto 0;
  padding: 26px 30px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(18, 31, 61, 0.75) 20%, rgba(18, 31, 61, 0.75) 80%, transparent);
}

.fuse__dl h3 {
  margin: 0 0 6px;
  color: var(--parchment);
  font-family: var(--font-title);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.fuse__dl p {
  max-width: 58ch;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.fuse__dl-actions {
  display: flex;
  flex: none;
  gap: 12px;
}

@media (max-width: 1080px) {
  .fuse__dl {
    flex-direction: column;
    text-align: center;
  }

  .fuse__dl p {
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .fuse__row {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 440px;
    margin-inline: auto;
  }

  .fuse__op {
    justify-self: center;
  }

  .fuse__logo {
    height: 92px;
  }

  .fuse__logo img {
    max-height: 88px;
  }

  .fuse__dl {
    flex-direction: column;
    text-align: center;
    padding: 24px 8px;
  }

  .fuse__dl p {
    margin-inline: auto;
  }
}

/* High Five carries a wide glow: give it a little more room */
.fuse__part--core .fuse__logo img {
  max-height: 118px;
  max-width: min(100%, 250px);
}

@media (max-width: 900px) {
  .fuse__part--core .fuse__logo img {
    max-height: 96px;
  }
}

/* "High Five · Interlude · Classic" stays on one line on phones */
@media (max-width: 520px) {
  .hero .hero__runes {
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }
}

/* Hero: "Hybrid client | Interlude + High Five + Classic" (links to the client section) */
.hero__hybrid {
  display: inline-flex;
  align-items: stretch;
  margin: 6px auto 16px;
  border: 1px solid rgba(176, 189, 208, 0.35);
  background: rgba(8, 15, 32, 0.45);
  backdrop-filter: blur(4px);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.hero__hybrid-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: linear-gradient(180deg, #ecd39a, #b58c4c);
  color: #0c1731;
  font-weight: 700;
}

.hero__hybrid-mix {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  color: var(--parchment);
}

.hero__hybrid:hover,
.hero__hybrid:focus-visible {
  border-color: rgba(236, 211, 154, 0.75);
  background: rgba(8, 15, 32, 0.65);
}

@media (max-width: 520px) {
  .hero__hybrid {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .hero__hybrid-tag {
    padding: 5px 8px;
  }

  .hero__hybrid-mix {
    padding: 5px 9px;
  }
}

/* Part titles are h3 (keywords) with the same look as before */
.fuse__part h3 {
  margin: 0;
  color: var(--parchment);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Calm hero: quieter chip, lighter facts, more air between the groups
   ========================================================================== */
.hero .hero__hybrid {
  margin: 14px auto 16px;
  border-color: rgba(176, 189, 208, 0.22);
  background: rgba(8, 15, 32, 0.28);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
}

.hero .hero__hybrid-tag {
  padding: 5px 12px;
  border-right: 1px solid rgba(176, 189, 208, 0.22);
  background: none;
  color: #a9cdf6;
  font-weight: 600;
}

.hero .hero__hybrid-mix {
  padding: 5px 12px;
  color: rgba(209, 217, 228, 0.72);
}

.hero .hero__hybrid:hover,
.hero .hero__hybrid:focus-visible {
  border-color: rgba(230, 201, 138, 0.55);
  background: rgba(8, 15, 32, 0.45);
}

.hero .hero__facts {
  gap: 6px 12px;
  margin: 0 0 34px;
  color: rgba(229, 233, 240, 0.66);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.hero .hero__facts i {
  width: 3px;
  height: 3px;
  border: 0;
  background: rgba(176, 189, 208, 0.55);
}

.hero .hero__disclaimer {
  max-width: none;
  margin-top: 22px;
  opacity: 0.8;
  font-size: 0.7rem;
}

@media (max-width: 520px) {
  .hero .hero__hybrid {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .hero .hero__hybrid-tag,
  .hero .hero__hybrid-mix {
    padding: 5px 8px;
  }

  .hero .hero__facts {
    margin-bottom: 24px;
    font-size: 0.74rem;
  }
}

/* Phones: three facts on one line (x1 is in the Server section) */
@media (max-width: 520px) {
  .hero .hero__facts .hero__fact-x1 {
    display: none;
  }
}

/* Share row: more networks, wraps neatly on small screens */
.share {
  flex-wrap: wrap;
}

.share__btn[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .share {
    gap: 6px;
  }

  .share__btn {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Server Features page (server.html)
   ========================================================================== */
/* Cinzel draws "x1" like "XI": the rate uses the UI font */
.feat-hero__rate {
  color: #a9cdf6;
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: none;
}

.feat-hero__sub {
  margin: 6px 0 0;
  color: var(--gold-pale);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Sticky category menu */
.feat-nav {
  position: sticky;
  top: calc(var(--header-h) + var(--announce-h));
  z-index: 20;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 15, 32, 0.88);
  backdrop-filter: blur(8px);
}

.feat-nav ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.feat-nav ul::-webkit-scrollbar {
  display: none;
}

.feat-nav a {
  display: block;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  color: var(--parchment);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.feat-nav a:hover,
.feat-nav a.is-active {
  border-color: #e6c98a;
  background: linear-gradient(180deg, #ecd39a, #b58c4c);
  color: #0c1731;
}

.feat-body {
  padding-top: clamp(28px, 4vw, 44px);
}

.feat-wrap {
  display: grid;
  gap: 22px;
  max-width: 980px;
}

.feat-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(201, 164, 103, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(18, 31, 61, 0.9), rgba(9, 17, 38, 0.96));
  scroll-margin-top: calc(var(--header-h) + var(--announce-h) + 80px);
}

.feat-card > h2 {
  margin: 0 0 12px;
  color: #eef3fb;
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.feat-card h3 {
  margin-top: 22px;
}

.feat-card__art {
  margin: calc(-1 * clamp(22px, 3.4vw, 36px)) calc(-1 * clamp(22px, 3.4vw, 36px)) 22px;
  height: clamp(150px, 22vw, 230px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.feat-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.feat-time {
  margin: -4px 0 14px;
  color: #a9cdf6;
  font-size: 0.85rem;
}

.feat-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin: 18px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.feat-facts div {
  padding: 12px 14px;
  background: rgba(9, 17, 37, 0.95);
}

.feat-facts dt {
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feat-facts dd {
  margin: 4px 0 0;
  color: #e3e8ef;
  font-weight: 600;
}

.feat-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 1.2em;
}

.feat-list li::marker {
  color: #a9cdf6;
}

.feat-hybrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 6px;
  padding: 0;
  list-style: none;
}

.feat-hybrid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: rgba(8, 15, 32, 0.6);
  text-align: center;
}

.feat-hybrid img {
  width: auto;
  max-width: 100%;
  height: 74px;
  object-fit: contain;
}

.feat-hybrid h3 {
  margin: 12px 0 6px;
  font-size: 1rem;
}

.feat-hybrid p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .feat-hybrid {
    grid-template-columns: 1fr;
  }
}

.feat-card .feat-hybrid {
  margin-left: 0;
  padding-left: 0;
}

.feat-card .feat-hybrid li {
  margin: 0;
}

/* Features menu: a sidebar that stays in view on desktop,
   a sticky horizontal bar on tablets and phones */
.feat-nav__title {
  display: none;
}

@media (min-width: 1024px) {
  .feat-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }

  .feat-layout .feat-wrap {
    max-width: none;
  }

  .feat-layout .feat-nav {
    top: calc(var(--header-h) + var(--announce-h) + 24px);
    padding: 18px 14px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(18, 31, 61, 0.92), rgba(9, 17, 38, 0.96));
    backdrop-filter: none;
  }

  .feat-nav__title {
    display: block;
    margin: 0 0 12px 10px;
    color: #a9cdf6;
    font-family: var(--font-title);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .feat-layout .feat-nav ul {
    flex-direction: column;
    gap: 2px;
    padding: 0;
    overflow: visible;
  }

  .feat-layout .feat-nav a {
    padding: 9px 12px;
    border: 0;
    border-left: 2px solid transparent;
    color: var(--text);
    font-size: 0.88rem;
  }

  .feat-layout .feat-nav a:hover {
    border-left-color: rgba(230, 201, 138, 0.5);
    background: rgba(230, 201, 138, 0.06);
    color: #eef3fb;
  }

  .feat-layout .feat-nav a.is-active {
    border-left-color: #e6c98a;
    background: linear-gradient(90deg, rgba(230, 201, 138, 0.18), transparent);
    color: #eef3fb;
  }

  .feat-card {
    scroll-margin-top: calc(var(--header-h) + var(--announce-h) + 24px);
  }
}

@media (max-width: 1023px) {
  .feat-layout .feat-nav {
    margin: 0 calc(-1 * var(--gutter)) 18px;
    padding: 0 var(--gutter);
  }
}

/* Fact grids: lines on the cells, so an incomplete last row stays dark */
.feat-facts {
  gap: 0;
  border-width: 1px 0 0 1px;
  background: transparent;
}

.feat-facts div {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Bar mode: dark text on the gold active / hover pill */
@media (max-width: 1023px) {
  .feat-layout .feat-nav a:hover,
  .feat-layout .feat-nav a.is-active {
    color: #0c1731;
  }
}

/* Progression stages */
.feat-card .feat-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.feat-card .feat-stages li {
  position: relative;
  margin: 0;
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-top: 2px solid #e6c98a;
  background: rgba(8, 15, 32, 0.6);
}

.feat-card .feat-stages li:first-child {
  background: linear-gradient(180deg, rgba(230, 201, 138, 0.1), rgba(8, 15, 32, 0.6));
}

.feat-stages__tag {
  color: #a9cdf6;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feat-card .feat-stages h3 {
  margin: 6px 0 6px;
  color: #eef3fb;
  font-family: var(--font-title);
  font-size: 1.15rem;
}

.feat-card .feat-stages p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .feat-card .feat-stages {
    grid-template-columns: 1fr;
  }
}

/* Home: link from the Server section to the full features page */
.srv__more {
  display: inline-flex;
  margin-top: 14px;
}

/* Taller artwork when the subject sits low in the picture (Journeys) */
.feat-card .feat-card__art--tall {
  height: clamp(220px, 30vw, 340px);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
  mask-image: linear-gradient(180deg, #000 72%, transparent);
}

/* ==========================================================================
   Server Features: native game icons with tooltips
   ========================================================================== */
.gi {
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(233, 199, 126, 0.45);
  background: #081023;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7);
  cursor: help;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gi img {
  display: block;
  width: 40px;
  height: 40px;
}

.gi:hover,
.gi:focus-visible {
  outline: none;
  border-color: #e6c98a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7), 0 0 16px -4px rgba(240, 200, 130, 0.7);
  transform: translateY(-1px);
}

.gi--lg {
  width: 64px;
  height: 64px;
}

.gi--lg img {
  width: 56px;
  height: 56px;
}

.gi__q {
  position: absolute;
  right: 2px;
  bottom: 1px;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 2px #000, 0 0 3px #000, 1px 1px 0 #000;
  pointer-events: none;
}

.gi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.feat-label {
  margin: 18px 0 0;
  color: #a9cdf6;
  font-size: 0.72rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gi-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.guide-table--icons td {
  vertical-align: middle;
}

.feat-card .gi-lines {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.feat-card .gi-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.gi-line > span:last-child {
  display: grid;
  line-height: 1.35;
}

.gi-line small {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.gi-row--mounts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}

.mount {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  background: rgba(8, 15, 32, 0.5);
  text-align: center;
}

.mount small {
  color: var(--text);
  font-size: 0.74rem;
  line-height: 1.25;
}

.mount em {
  color: #a9cdf6;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
}

.feat-cycle {
  padding: 10px 14px;
  border-left: 2px solid #e6c98a;
  background: rgba(230, 201, 138, 0.06);
}

.feat-time-tag,
.feat-soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border: 1px solid rgba(230, 201, 138, 0.5);
  color: #a9cdf6;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* The tooltip itself */
.gi-tip {
  position: fixed;
  z-index: 300;
  display: grid;
  width: max-content;
  max-width: min(320px, calc(100vw - 16px));
  padding: 10px 12px;
  border: 1px solid rgba(233, 199, 126, 0.5);
  background: rgba(7, 13, 28, 0.97);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.9);
  color: #c4ccd8;
  font-size: 0.8rem;
  line-height: 1.45;
  pointer-events: none;
}

.gi-tip[hidden] {
  display: none;
}

.gi-tip__name {
  margin: 0 0 4px;
  color: #f0cf86;
  font-weight: 700;
}

.gi-tip__gap {
  height: 6px;
}

/* Elemental Spirits gallery (in-game spirit portraits) */
.feat-card .spirits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.feat-card .spirit {
  --el: #e6c98a;
  display: grid;
  justify-items: center;
  margin: 0;
  padding: 0 0 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 2px solid var(--el);
  background: #081023;
  text-align: center;
}

.spirit--fire { --el: #e0613f; }
.spirit--water { --el: #5fb4e6; }
.spirit--wind { --el: #9fd8c4; }
.spirit--earth { --el: #c9a46a; }

.spirit img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 486 / 572;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.spirit:hover img {
  transform: scale(1.04);
}

.spirit strong {
  margin-top: 10px;
  color: #eef3fb;
  font-family: var(--font-title);
  font-size: 1rem;
}

.spirit small {
  color: var(--el);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .feat-card .spirits {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* "Solo progression" under the slider's "The Journey" label */
.jw__label small {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  translate: -50% 0;
  color: #a9cdf6;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}


/* Topbar: small painted icons for Newsletter (gently wiggles) and Contact */
.tb-img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.topbar__link:hover .tb-img {
  filter: drop-shadow(0 0 5px rgba(240, 200, 130, 0.75));
  transform: scale(1.08);
}

.tb-img--mail {
  transform-origin: 50% 70%;
  animation: tb-mail-wiggle 3.2s ease-in-out infinite;
}

.topbar__link:hover .tb-img--mail {
  animation-play-state: paused;
}

@keyframes tb-mail-wiggle {
  0%, 62%, 100% { transform: rotate(0deg) translateY(0); }
  66% { transform: rotate(-12deg) translateY(-1px); }
  72% { transform: rotate(10deg) translateY(-1px); }
  78% { transform: rotate(-7deg); }
  84% { transform: rotate(4deg); }
  90% { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .tb-img--mail { animation: none; }
}

/* ==========================================================================
   Hybrid client, compact: chronicles on the left, Legacy 2 on the right
   ========================================================================== */
.fuse--compact {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.fuse2 {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.fuse2__parts {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fuse2__part {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(19, 33, 65, 0.75), rgba(9, 17, 37, 0.5));
  transition: border-color 0.3s ease, transform 0.35s var(--ease);
}

.fuse2__part:hover {
  border-color: var(--line-strong);
  transform: translateX(4px);
}

.fuse2__part.is-core {
  border-color: var(--line-strong);
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(90, 170, 230, 0.1), transparent 70%),
    linear-gradient(90deg, rgba(20, 34, 68, 0.85), rgba(9, 17, 37, 0.5));
}

.fuse2__logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 128px;
  height: 64px;
}

.fuse2__logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 60px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
}

.fuse2__part.is-core .fuse2__logo img {
  max-height: 64px;
}

.fuse2__part h3 {
  margin: 0 0 2px;
  color: var(--parchment);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.fuse2__part p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.45;
}

.fuse2__plus {
  justify-self: start;
  width: 128px;
  margin-left: 16px;
  color: var(--gold-pale);
  font-size: 1.1rem;
  line-height: 1;
  text-align: center;
  opacity: 0.8;
}

.fuse2__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fuse2__mark {
  width: min(380px, 80%);
  height: auto;
  margin: 14px 0 4px -10px;
  filter: drop-shadow(0 0 26px rgba(240, 200, 130, 0.2)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
}

.fuse2__title {
  margin: 0 0 10px;
  color: #eef3fb;
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.fuse2__lead {
  max-width: 46ch;
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.fuse2__note {
  display: flex;
  gap: 10px;
  max-width: 50ch;
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.5;
}

.fuse2__note i {
  margin-top: 3px;
  color: var(--gold-pale);
}

.fuse2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .fuse2 {
    grid-template-columns: 1fr;
  }

  .fuse2__main {
    order: -1;
    align-items: center;
    text-align: center;
  }

  .fuse2__mark {
    margin-left: 0;
  }

  .fuse2__note {
    text-align: left;
  }

  .fuse2__actions {
    justify-content: center;
  }

  .fuse2__parts {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .fuse2__part {
    gap: 12px;
    padding: 10px 12px;
  }

  .fuse2__logo,
  .fuse2__plus {
    width: 92px;
  }

  .fuse2__logo {
    height: 52px;
  }

  .fuse2__logo img,
  .fuse2__part.is-core .fuse2__logo img {
    max-height: 50px;
  }
}

/* "Continue with Google" in the account window */
.oauth {
  margin-bottom: 16px;
}

.oauth[hidden] {
  display: none;
}

.oauth__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #d8dce2;
  border-radius: 4px;
  background: #fff;
  color: #142244;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.oauth__btn:hover,
.oauth__btn:focus-visible {
  background: #f7f8f8;
  box-shadow: 0 0 0 3px rgba(240, 200, 130, 0.35);
  outline: none;
}

.oauth__btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.oauth__btn svg {
  width: 20px;
  height: 20px;
}

.oauth__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oauth__or::before,
.oauth__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.oauth__terms {
  margin: 8px 0 0;
  color: var(--text-dim);
  font-size: 0.74rem;
  text-align: center;
}

.oauth__terms a {
  color: var(--gold-pale);
}

/* trailer window (home page, first visit) */
.modal.trailer-dlg {
  width: min(960px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: #070f1f;
}

.trailer-dlg .modal__close {
  z-index: 3;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
}

.trailer-dlg__video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.trailer-dlg__video iframe,
.trailer-dlg__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-dlg__poster {
  padding: 0;
  background: #000;
  cursor: pointer;
}

.trailer-dlg__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.trailer-dlg__poster:hover img {
  filter: brightness(1.08);
}

.trailer-dlg__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border: 2px solid rgba(255, 236, 196, 0.9);
  border-radius: 50%;
  background: rgba(7, 14, 29, 0.55);
  color: #fff3d9;
  font-size: 1.7rem;
  box-shadow: 0 0 0 8px rgba(236, 211, 154, 0.12), 0 0 40px rgba(236, 211, 154, 0.45);
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trailer-dlg__play svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.trailer-dlg__poster:hover .trailer-dlg__play {
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(236, 211, 154, 0.18), 0 0 60px rgba(236, 211, 154, 0.6);
}

.trailer-dlg__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid rgba(176, 189, 208, 0.18);
  background: linear-gradient(180deg, #0c1732, #080f20);
}

.trailer-dlg__text {
  display: grid;
  gap: 3px;
  margin: 0;
}

.trailer-dlg__text strong {
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4efe4;
}

.trailer-dlg__text span {
  font-size: 0.85rem;
  color: var(--text-dim, #a9b1be);
}

.trailer-dlg__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trailer-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.trailer-btn i {
  font-size: 1rem;
}

.trailer-btn--gold {
  color: #0c1833;
  background: linear-gradient(180deg, #fbecc4 0%, #ecd39a 45%, #b58c4c 100%);
  box-shadow: 0 0 0 1px rgba(255, 236, 196, 0.5) inset, 0 8px 24px -6px rgba(236, 190, 110, 0.6);
  animation: trailer-glow 2.4s ease-in-out infinite;
}

.trailer-btn--gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

@keyframes trailer-glow {
  50% { box-shadow: 0 0 0 1px rgba(255, 236, 196, 0.6) inset, 0 8px 34px -4px rgba(236, 190, 110, 0.85); }
}

.trailer-btn--discord {
  color: #fff;
  background: #5865f2;
  box-shadow: 0 8px 24px -8px rgba(88, 101, 242, 0.7);
}

.trailer-btn--discord:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.trailer-btn--discord.is-off {
  cursor: not-allowed;
  opacity: 0.55;
  filter: saturate(0.7);
  box-shadow: none;
  transform: none;
}

.trailer-btn--discord em {
  position: absolute;
  top: -9px;
  right: -8px;
  padding: 2px 7px;
  border-radius: 10px;
  background: #ecd39a;
  color: #0c1833;
  font-size: 0.6rem;
  font-style: normal;
  letter-spacing: 0.1em;
}

@media (max-width: 720px) {
  .trailer-dlg__bar {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .trailer-dlg__actions {
    display: grid;
  }
  .trailer-btn {
    justify-content: center;
  }
  .trailer-dlg__play {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }
  .trailer-dlg__play svg {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trailer-btn--gold { animation: none; }
}

.trailer-dlg__info {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.gift-badge.trailer-dlg__gift {
  width: 40px;
  height: 40px;
  border-width: 1.5px;
  margin-bottom: 4px;
}

.trailer-dlg__gift::before {
  inset: -6px;
}

.trailer-dlg__gift .gift-svg {
  width: 24px;
  height: 24px;
}

.trailer-dlg__gift .gift-badge__tag {
  bottom: -8px;
  padding: 0 5px;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

@media (min-width: 721px) {
  .trailer-dlg__actions {
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
}

/* hero: "Watch the Trailer" line under the disclaimer */
.hero__trailer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(520px, 100%);
  margin: 18px auto 0;
  color: #f0e4c8;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.hero__trailer::before,
.hero__trailer::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 211, 154, 0.7));
}

.hero__trailer::after {
  background: linear-gradient(90deg, rgba(236, 211, 154, 0.7), transparent);
}

.hero__trailer-play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(236, 211, 154, 0.85);
  border-radius: 50%;
  background: rgba(7, 14, 29, 0.45);
  color: #fff3d9;
  font-size: 0.7rem;
  box-shadow: 0 0 18px rgba(236, 211, 154, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__trailer-play svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero__trailer:hover {
  color: #fff;
}

.hero__trailer:hover .hero__trailer-play {
  transform: scale(1.1);
  box-shadow: 0 0 26px rgba(236, 211, 154, 0.65);
}

@media (max-width: 520px) {
  .hero__trailer {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }
}


/* ==========================================================================
   Royal navy theme (Oct 2026). The site itself is blue (backgrounds, panels,
   lines, glows); gold stays for the main buttons and fine details. Only the
   Grand Opening art gets a light cool grade.
   ========================================================================== */
body {
  background-color: var(--ink);
}

/* second button: glossy electric-cyan glass (was crimson) */
.gem-btn--crimson {
  --gem-edge: #c6f1ff;
  --gem-top: #86dcf7;
  --gem-mid: #2196c8;
  --gem-low: #0a3f68;
  --gem-text: #fff;
}

.gem-btn--crimson .gem-btn__face {
  background: linear-gradient(180deg, #effcff 0%, var(--gem-edge) 30%, #3fb4e0 60%, #062a4a 100%);
  text-shadow: 0 1px 2px rgba(2, 24, 48, 0.85), 0 0 12px rgba(120, 220, 255, 0.35);
}

/* glass: strong reflection on the upper half, deep colour below */
.gem-btn--crimson .gem-btn__face::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 46%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 50% 115%, rgba(120, 230, 255, 0.55), transparent 70%),
    linear-gradient(180deg, var(--gem-top), var(--gem-mid) 52%, var(--gem-low));
  box-shadow: inset 0 -6px 12px -6px rgba(0, 20, 50, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.gem-btn--crimson {
  filter: drop-shadow(0 0 14px rgba(60, 190, 255, 0.35));
}

.gem-btn--crimson:hover {
  filter: brightness(1.1) drop-shadow(0 0 22px rgba(80, 210, 255, 0.65)) drop-shadow(0 10px 26px rgba(20, 120, 200, 0.5));
}

/* header "Play Now": gold like the main buttons (was copper) */
.nav-cta {
  color: #24170a;
  text-shadow: 0 1px 0 rgba(255, 245, 220, 0.45);
  background:
    radial-gradient(ellipse 70% 80% at 30% -20%, rgba(255, 250, 230, 0.6), transparent 60%),
    linear-gradient(180deg, rgba(255, 245, 220, 0.35), transparent 45%),
    linear-gradient(135deg, #f3dca2 0%, #d1a75e 45%, #9a7034 100%);
}

.btn--primary {
  color: #24170a;
  background: linear-gradient(180deg, #f6e2ad 0%, #d6ae66 50%, #a87c3c 100%);
  border-color: rgba(255, 236, 196, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, 0.5), 0 10px 30px -12px rgba(214, 170, 90, 0.7);
}

.btn--primary:hover {
  color: #24170a;
  border-color: #fbecc4;
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, 0.6), 0 12px 36px -10px rgba(236, 200, 120, 0.75);
}

/* blue light in the sections (the old warm glows, in electric blue) */
.fuse {
  background:
    radial-gradient(ellipse 50% 38% at 50% 62%, rgba(47, 134, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(110, 170, 255, 0.12), transparent 70%),
    var(--ink);
}

.pledge {
  background:
    radial-gradient(ellipse 60% 140% at 50% 50%, rgba(47, 134, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #0f1f45, #0a1632);
}

.premium {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(47, 134, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(120, 90, 255, 0.10), transparent 70%),
    var(--black);
}

.races {
  background:
    radial-gradient(ellipse 45% 60% at 22% 50%, rgba(47, 134, 255, 0.15), transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 40%, rgba(120, 90, 255, 0.10), transparent 70%),
    var(--ink);
}

/* page heroes on the sapphire art: show it, it is designed for the title */
.page-hero__bg[src*="sapphire-hero"] {
  opacity: 1;
  object-position: center 30%;
}

.page-hero:has(.page-hero__bg[src*="sapphire-hero"])::after {
  background: linear-gradient(180deg, rgba(8, 15, 32, 0.1), rgba(8, 15, 32, 0.25) 55%, #0b162f 100%);
}

::selection {
  background: #2f86ff;
  color: #fff;
}

/* ==========================================================================
   Sapphire metal (premium pass): brushed-metal panels with a chrome rim, a
   light-from-above sheen, glass header and a fine grain. Gold stays on the
   buttons. Chrome rims use the padding-box / border-box background trick so
   they follow rounded corners.
   ========================================================================== */
:root {
  --chrome: linear-gradient(160deg, rgba(240, 246, 255, 0.85) 0%, rgba(110, 150, 225, 0.3) 26%, rgba(30, 60, 125, 0.5) 50%, rgba(200, 222, 255, 0.75) 76%, rgba(70, 104, 178, 0.4) 100%);
  --sapphire: linear-gradient(180deg, #1a3369 0%, #0f1f45 45%, #08132b 100%);
  --sheen: linear-gradient(105deg, transparent 38%, rgba(220, 235, 255, 0.09) 50%, transparent 62%);
}

.fuse2__part,
.premium__card,
.premium__checkout {
  border: 1px solid transparent;
  background:
    var(--sheen) 160% 0 / 250% 100% no-repeat padding-box,
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(140, 185, 255, 0.2), transparent 70%) padding-box,
    var(--sapphire) padding-box,
    var(--chrome) border-box;
  box-shadow:
    inset 0 1px 0 rgba(235, 244, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 24px 50px -28px rgba(0, 0, 0, 0.9),
    0 0 40px -18px rgba(47, 134, 255, 0.25);
  transition: background-position 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, transform 0.4s ease;
}

.fuse2__part:hover,
.premium__card:hover,
.premium__checkout:hover {
  background-position: -60% 0, 0 0, 0 0, 0 0;
  box-shadow:
    inset 0 1px 0 rgba(235, 244, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 28px 60px -28px rgba(0, 0, 0, 0.9),
    0 0 50px -14px rgba(47, 134, 255, 0.4);
}

/* image cards: chrome rim around the artwork */
.war,
.hero-card {
  border: 1px solid transparent;
  background: linear-gradient(#091126, #091126) padding-box, var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.12), 0 30px 60px -25px rgba(0, 0, 0, 0.9), 0 0 40px -20px rgba(47, 134, 255, 0.3);
}

.premium__unlock-art {
  border-color: rgba(150, 185, 245, 0.35);
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.12);
}

/* steps: a polished chrome line on top */
.step {
  border-top: 0;
  background: linear-gradient(90deg, rgba(150, 185, 245, 0.15), rgba(225, 236, 255, 0.75) 30%, rgba(120, 165, 240, 0.35) 70%, transparent) top / 100% 1px no-repeat;
}

/* glass header with a chrome edge */
.topbar {
  background: linear-gradient(180deg, rgba(6, 12, 28, 0.9), rgba(8, 16, 36, 0.7));
  border-bottom: 1px solid rgba(150, 185, 245, 0.1);
}

.navbar {
  background:
    linear-gradient(90deg, transparent, rgba(190, 215, 255, 0.45) 30%, rgba(240, 246, 255, 0.7) 50%, rgba(190, 215, 255, 0.45) 70%, transparent) bottom / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(14, 28, 62, 0.78), rgba(9, 18, 40, 0.6));
  border-bottom-color: transparent;
  box-shadow: 0 10px 30px -20px rgba(47, 134, 255, 0.35);
}

/* social rail: the icons themselves are polished silver (AION2 style),
   no ring behind them; on hover the metal brightens with the network colour */
.social-rail__links a,
.social-rail__links a:hover,
.social-rail__links a:focus-visible {
  border: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.social-rail__links a i {
  font-size: 1.45rem;
  background: linear-gradient(180deg, #ffffff 0%, #e6ecf6 30%, #8f9cb2 52%, #eef2f9 70%, #a7b3c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.75));
  transition: filter 0.25s ease;
}

.social-rail__links a:hover i,
.social-rail__links a:focus-visible i {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5)) drop-shadow(0 0 10px var(--net)) brightness(1.15);
}


/* metallic small text: same metal as the big titles, with a softer middle
   band so thin letters stay readable. Shadows use drop-shadow because a
   text-shadow would show through the transparent letters. */
:root {
  --metal-silver-sm: linear-gradient(180deg, #ffffff 0%, #e4eaf4 42%, #a3b3cb 58%, #eef2f9 100%);
  --metal-gold-sm: linear-gradient(180deg, #fff3d0 0%, #ecd39a 44%, #b98f4e 60%, #f5dfae 100%);
  --metal-ice-sm: linear-gradient(180deg, #ffffff 0%, #dcefff 42%, #86b9f0 60%, #eaf5ff 100%);
}

.hero__tagline,
.hero .hero__hybrid-mix,
.hero .hero__facts,
.eyebrow__num {
  background: var(--metal-silver-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.75));
}

.hero .hero__hybrid-tag,
.hero .hero__facts span,
.eyebrow {
  background: var(--metal-ice-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.hero .hero__facts span {
  filter: none;
}

.eyebrow {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}

/* the label box is taller than its letters: fit the metal to the letters */
.eyebrow,
.eyebrow__num {
  background-size: 100% 1.25em;
  background-position: 0 50%;
  background-repeat: no-repeat;
}

.mobile-nav__socials .eyebrow {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--ash, rgba(176, 189, 208, 0.55));
  filter: none;
}


/* ---------- Server Features page: sapphire metal ---------- */
.feat-card {
  border: 1px solid transparent;
  background:
    radial-gradient(ellipse 70% 35% at 50% 0%, rgba(140, 185, 255, 0.14), transparent 70%) padding-box,
    var(--sapphire) padding-box,
    var(--chrome) border-box;
  box-shadow:
    inset 0 1px 0 rgba(235, 244, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 30px 60px -34px rgba(0, 0, 0, 0.95),
    0 0 50px -24px rgba(47, 134, 255, 0.3);
}

.feat-card > h2 {
  background: var(--metal-silver-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7));
}

/* the cover art keeps its own colours, with a crisp edge into the metal */
.feat-card__art img {
  filter: saturate(1.08) contrast(1.05);
}

/* sidebar: sapphire glass with a chrome rim, electric-blue active item */
.feat-layout .feat-nav {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(26, 51, 105, 0.94), rgba(10, 21, 46, 0.97)) padding-box,
    var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.14), 0 24px 50px -28px rgba(0, 0, 0, 0.9);
}

.feat-nav__title {
  background: var(--metal-ice-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.feat-layout .feat-nav a:hover {
  background: linear-gradient(90deg, rgba(120, 170, 255, 0.14), transparent);
  color: #fff;
}

.feat-layout .feat-nav a.is-active {
  border-left-color: #8fd0ff;
  background: linear-gradient(90deg, rgba(47, 134, 255, 0.32), rgba(47, 134, 255, 0.06) 70%, transparent);
  color: #fff;
  box-shadow: inset 2px 0 12px -4px rgba(143, 208, 255, 0.8);
}

/* facts grid: polished cells with chrome hairlines */
.feat-facts {
  border: 1px solid transparent;
  background: linear-gradient(rgba(11, 22, 48, 0.9), rgba(11, 22, 48, 0.9)) padding-box, var(--chrome) border-box;
  border-radius: 6px;
  overflow: hidden;
}

.feat-facts div {
  background: linear-gradient(180deg, rgba(30, 58, 118, 0.5), rgba(12, 24, 52, 0.6));
  border-bottom-color: rgba(150, 185, 245, 0.16);
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.06);
}

.feat-facts dt {
  background: var(--metal-ice-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.feat-facts dd {
  color: #f2f6fc;
}

/* tables */
.feat-card table th {
  color: #8fd0ff;
  border-bottom: 1px solid rgba(150, 185, 245, 0.35);
}

.feat-card table tbody tr {
  transition: background 0.25s ease;
}

.feat-card table tbody tr:hover {
  background: linear-gradient(90deg, rgba(47, 134, 255, 0.12), transparent);
}

/* small ghost buttons (Rewards etc.): cyan glass outline */
.btn--ghost {
  border-color: rgba(143, 208, 255, 0.55);
  background: linear-gradient(180deg, rgba(120, 210, 255, 0.18), rgba(20, 90, 150, 0.18) 50%, rgba(8, 30, 60, 0.4));
  color: #e9f7ff;
  box-shadow: inset 0 1px 0 rgba(230, 248, 255, 0.35), 0 0 16px -8px rgba(80, 200, 255, 0.6);
}

.btn--ghost:hover {
  border-color: #bff0ff;
  background: linear-gradient(180deg, rgba(140, 220, 255, 0.32), rgba(30, 120, 190, 0.3) 50%, rgba(8, 30, 60, 0.5));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(230, 248, 255, 0.5), 0 0 22px -6px rgba(80, 210, 255, 0.85);
}

/* stage cards, hybrid tiles, spirits */
.feat-hybrid li,
.feat-card .feat-stages li,
.feat-card .spirit {
  background: linear-gradient(180deg, rgba(30, 58, 118, 0.55), rgba(10, 20, 44, 0.75));
  border-color: rgba(150, 185, 245, 0.28);
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.1);
}

.feat-card .feat-stages li:first-child {
  background: linear-gradient(180deg, rgba(236, 211, 154, 0.12), rgba(10, 20, 44, 0.75));
}

.feat-cycle {
  border-left-color: #8fd0ff;
  background: linear-gradient(90deg, rgba(47, 134, 255, 0.14), transparent);
}

.gi {
  background: linear-gradient(180deg, #13264f, #070f22);
}

.gi-tip {
  border-color: rgba(150, 190, 250, 0.5);
  background: linear-gradient(180deg, rgba(20, 40, 84, 0.98), rgba(7, 14, 30, 0.98));
}

/* news banners: chrome rim around the artwork */
.news-banner {
  border: 1px solid transparent;
  background: linear-gradient(#0d1937, #0d1937) padding-box, var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.12), 0 24px 50px -28px rgba(0, 0, 0, 0.9), 0 0 40px -22px rgba(47, 134, 255, 0.3);
}

/* rankings table */
.table-wrap {
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--sapphire) padding-box, var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.12), 0 24px 50px -30px rgba(0, 0, 0, 0.9);
}

/* chapter numbers above each Server Features section, like an art book */
.feat-layout {
  counter-reset: feat;
}

.feat-layout .feat-card {
  counter-increment: feat;
}

.feat-layout .feat-card > h2::before {
  content: counter(feat, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  background: var(--metal-ice-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feat-layout .feat-card > h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(236, 211, 154, 0.9), rgba(143, 208, 255, 0.4), transparent);
}

/* new logo (LEGACY II, ~4:1) and the tall II emblem: sizes tuned per spot */
.brand img[src*="legacy2-logo"] {
  width: 124px;
  height: auto;
}

.topbar__logo img {
  width: auto;
  height: 22px;
}

.hero__logo {
  width: clamp(340px, 44vw, 680px);
}

.fuse2__mark {
  width: min(520px, 92%);
}

.footer-brand img {
  width: 210px;
}

.acct__logo {
  width: 210px;
}

.join__logo {
  width: min(620px, 86vw);
  height: auto;
}

.modal__emblem {
  width: auto;
  height: 48px;
}

.launch__crest img {
  width: auto;
  height: 58px;
}

@media (max-height: 820px) and (min-width: 721px) {
  .hero__logo {
    width: clamp(300px, 36vw, 560px);
  }
}

@media (max-width: 720px) {
  .hero__logo {
    width: min(340px, 88vw);
  }
  .brand img[src*="legacy2-logo"] {
    width: 112px;
  }
}

/* Journeys: the artwork / video shows clean. Only a soft scrim behind the
   text and a short fade at the very top and bottom. Gold round arrows. */
.jw::after {
  background:
    radial-gradient(ellipse 34% 30% at 50% 52%, rgba(5, 10, 24, 0.38), transparent 72%),
    linear-gradient(180deg, var(--ink) 0%, transparent 9%, transparent 84%, rgba(8, 15, 32, 0.85) 100%);
}

.jw__arrow,
.jw__arrow:hover {
  width: 62px;
  height: 62px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(40, 60, 110, 0.55), rgba(6, 12, 28, 0.75)) padding-box,
    linear-gradient(160deg, #fff1c8, #d6ae66 45%, #8a6328 70%, #f3dca8) border-box;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.8), 0 0 18px -4px rgba(236, 200, 120, 0.45);
  filter: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jw__arrow svg {
  width: 26px;
  height: 26px;
  stroke: #f3dca8;
  stroke-width: 2.6;
}

.jw__arrow:hover {
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.85), 0 0 26px -2px rgba(240, 205, 130, 0.75);
}

.jw__arrow--prev:hover {
  transform: translateX(-3px);
}

.jw__arrow--next:hover {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .jw__arrow,
  .jw__arrow:hover {
    width: 46px;
    height: 46px;
  }
  .jw__arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* pre-register gift: only until launch */
.gift-note__until {
  display: table;
  margin: 0 auto 8px;
  padding: 3px 12px;
  border: 1px solid rgba(236, 211, 154, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(236, 211, 154, 0.16), rgba(181, 140, 76, 0.08));
  color: #f6e2b0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Quick Start (Begin your legacy): sign-up card + three steps */
.qs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
  text-align: left;
}

.qs__card {
  position: relative;
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(140, 185, 255, 0.18), transparent 70%) padding-box,
    linear-gradient(180deg, rgba(26, 51, 105, 0.92), rgba(8, 18, 40, 0.94)) padding-box,
    var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.16), 0 30px 60px -28px rgba(0, 0, 0, 0.95), 0 0 60px -20px rgba(47, 134, 255, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.qs__kicker {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: var(--metal-ice-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qs__title {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  background: var(--metal-silver-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qs__text {
  margin: 0 0 22px;
  color: #dfe7f3;
  font-weight: 500;
}

.qs__google-btn {
  width: 100%;
}

.qs .oauth__or {
  margin: 14px 0;
}

.qs__cta {
  display: flex;
  width: 100%;
}

.qs__cta .gem-btn__face {
  width: 100%;
  justify-content: center;
}

.qs__gift {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(236, 211, 154, 0.35);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(236, 211, 154, 0.12), rgba(236, 211, 154, 0.02));
}

.gift-badge.qs__gift-badge {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  margin-bottom: 6px;
}

.qs__gift-badge .gift-svg {
  width: 30px;
  height: 30px;
}

.qs__gift p {
  margin: 0;
  color: #e9eef7;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.qs__gift strong {
  color: #f6e2b0;
}

.qs__until {
  display: block;
  color: #f6e2b0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.qs__fine {
  margin: 16px 0 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.qs__steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qs__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(150, 185, 245, 0.22);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(20, 40, 84, 0.55), rgba(8, 16, 36, 0.35));
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.08);
}

.qs__num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  background: var(--metal-silver-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.qs__step h3 {
  margin: 2px 0 6px;
  color: #f2f6fc;
  font-family: var(--font-title);
  font-size: 1.15rem;
}

.qs__step p {
  margin: 0 0 12px;
  color: #cfd8e6;
  font-weight: 500;
}

.qs__step p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .qs {
    grid-template-columns: 1fr;
  }
}

/* fuller, brighter body text (the old 400 weight read thin and grey) */
body {
  font-weight: 500;
}

strong,
b {
  font-weight: 700;
}

.nav__link,
.topbar__link,
.mobile-nav__list a {
  font-weight: 600;
}

.section-head p,
.lead,
.prose p,
.feat-card p {
  color: #e3e9f3;
}

/* The Server: same dark base as the section above (no lighter band under
   the seam line) and neutral, edge-only shading so the art stays clean */
.conquest {
  background: var(--ink);
}

.seam {
  height: 90px;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(8, 15, 32, 0.55) 45%, transparent 100%);
}

.conquest__band::after {
  background:
    radial-gradient(ellipse 34% 46% at 50% 40%, rgba(5, 10, 24, 0.45), transparent 75%),
    linear-gradient(180deg, var(--ink) 0%, transparent 14%, transparent 60%, rgba(8, 15, 32, 0.78) 86%, var(--ink) 100%);
}

.conquest__band img[src*="server-storm"] {
  top: 0;
  height: 100%;
  object-position: center 40%;
}

/* ---------- Primary CTA: vivid amber gold (reads instantly on navy) ---------- */
.gem-btn {
  --gem-edge: #ffe3a8;
  --gem-top: #ffc76e;
  --gem-mid: #d9781f;
  --gem-low: #7a300b;
  --gem-text: #fff;
}

.gem-btn .gem-btn__face {
  background: linear-gradient(180deg, #fff3d2 0%, var(--gem-edge) 32%, #5a2306 100%);
  text-shadow: 0 1px 0 rgba(90, 30, 0, 0.9), 0 2px 8px rgba(60, 20, 0, 0.55);
}

.gem-btn .gem-btn__face::before {
  background:
    radial-gradient(ellipse 60% 70% at 28% -10%, rgba(255, 255, 255, 0.6), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.06) 46%, transparent 50%),
    radial-gradient(128% 100% at 50% 0%, #ffc470 3%, #a8430f 58%, #ff8a1c 100%);
}

.gem-btn:not(.gem-btn--crimson) {
  filter: drop-shadow(0 0 18px rgba(255, 150, 40, 0.35));
}

.gem-btn:not(.gem-btn--crimson):hover {
  filter: brightness(1.08) drop-shadow(0 0 26px rgba(255, 160, 50, 0.65)) drop-shadow(0 10px 24px rgba(120, 40, 0, 0.5));
}

/* the cyan glass second button keeps its own colours */
.gem-btn--crimson {
  --gem-edge: #c6f1ff;
  --gem-top: #86dcf7;
  --gem-mid: #2196c8;
  --gem-low: #0a3f68;
  --gem-text: #fff;
}

.gem-btn--crimson .gem-btn__face::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 46%, transparent 50%),
    radial-gradient(ellipse 70% 60% at 50% 115%, rgba(120, 230, 255, 0.55), transparent 70%),
    linear-gradient(180deg, var(--gem-top), var(--gem-mid) 52%, var(--gem-low));
}

.gem-btn--crimson .gem-btn__face {
  background: linear-gradient(180deg, #effcff 0%, var(--gem-edge) 30%, #3fb4e0 60%, #062a4a 100%);
}

.nav-cta {
  color: #fff;
  text-shadow: 0 1px 0 rgba(90, 30, 0, 0.9), 0 2px 8px rgba(60, 20, 0, 0.5);
  background:
    radial-gradient(ellipse 70% 80% at 30% -20%, rgba(255, 250, 230, 0.55), transparent 60%),
    linear-gradient(180deg, rgba(255, 245, 220, 0.28), transparent 45%),
    radial-gradient(128% 100% at 50% 0%, #ffc470 3%, #a8430f 58%, #ff8a1c 100%);
}

.nav-cta small {
  color: rgba(255, 240, 215, 0.9);
}

.btn--primary,
.btn--primary:hover {
  color: #fff;
  text-shadow: 0 1px 0 rgba(90, 30, 0, 0.8);
  background: radial-gradient(128% 100% at 50% 0%, #ffc470 3%, #a8430f 58%, #ff8a1c 100%);
  border-color: rgba(255, 210, 150, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 245, 220, 0.5), 0 10px 30px -12px rgba(255, 130, 30, 0.7);
}

.trailer-btn--gold {
  color: #fff;
  text-shadow: 0 1px 0 rgba(90, 30, 0, 0.8);
  background: radial-gradient(128% 100% at 50% 0%, #ffc470 3%, #a8430f 58%, #ff8a1c 100%);
  box-shadow: 0 0 0 1px rgba(255, 220, 160, 0.5) inset, 0 8px 24px -6px rgba(255, 140, 40, 0.7);
}

@keyframes trailer-glow {
  50% { box-shadow: 0 0 0 1px rgba(255, 220, 160, 0.6) inset, 0 8px 34px -4px rgba(255, 150, 50, 0.95); }
}

/* bigger hero CTA */
.gem-btn--xl .gem-btn__face {
  min-width: 320px;
  min-height: 62px;
  font-size: 1.22rem;
}

@media (max-width: 720px) {
  .gem-btn--xl .gem-btn__face {
    min-width: 0;
    min-height: 56px;
  }
}

/* ---------- Cleaner hero: lighter shading, more room ---------- */
.hero::before {
  background:
    radial-gradient(ellipse 46% 42% at 50% 44%, rgba(5, 10, 24, 0.78), rgba(5, 10, 24, 0.42) 55%, transparent 82%),
    linear-gradient(180deg, rgba(6, 12, 25, 0.45) 0%, transparent 16%, transparent 58%, rgba(7, 15, 31, 0.8) 84%, var(--ink) 100%);
}

.hero__media::after {
  background: linear-gradient(180deg, rgba(8, 16, 38, 0.1), transparent 40%, rgba(5, 8, 16, 0.35));
}

.hero .hero__hybrid {
  margin-top: 6px;
  margin-bottom: 34px;
}

/* logo sits a little lower, closer to the visual centre of the art */
@media (min-width: 721px) {
  .hero__content {
    padding-top: calc(var(--header-h) + 11vh);
  }
}

@media (max-width: 720px) {
  .hero::before {
    background:
      radial-gradient(ellipse 80% 40% at 50% 38%, rgba(5, 10, 24, 0.7), rgba(5, 10, 24, 0.35) 60%, transparent 85%),
      linear-gradient(180deg, rgba(5, 10, 24, 0.55) 0%, rgba(5, 10, 24, 0.25) 45%, rgba(7, 15, 31, 0.8) 85%, var(--ink) 100%);
  }
}

/* Client section: chronicle cards in the style of big server selectors -
   rounded glass, a tint per chronicle, bold title, badge and chevron */
.fuse2__part {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.fuse2__card {
  width: 100%;
  box-sizing: border-box;
}

.fuse2__card {
  --tint: 80, 150, 255;
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(var(--tint), 0.45);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(ellipse 70% 120% at 0% 50%, rgba(var(--tint), 0.32), transparent 70%),
    linear-gradient(90deg, rgba(var(--tint), 0.18), rgba(8, 16, 36, 0.85) 75%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 34px -18px rgba(0, 0, 0, 0.9), 0 0 30px -14px rgba(var(--tint), 0.6);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fuse2__card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--tint), 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 40px -18px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(var(--tint), 0.85);
}

.fuse2__part--interlude .fuse2__card { --tint: 255, 150, 50; }
.fuse2__part--highfive .fuse2__card { --tint: 60, 210, 240; }
.fuse2__part--classic .fuse2__card { --tint: 120, 160, 240; }

.fuse2__card .fuse2__logo {
  width: 120px;
  height: 60px;
}

.fuse2__body h3 {
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.fuse2__sub {
  color: #e6edf7;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.fuse2__sub i {
  margin-left: 4px;
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.fuse2__card:hover .fuse2__sub i {
  transform: translateX(3px);
}

.fuse2__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(4, 10, 24, 0.55);
  color: #f2f6fc;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.fuse2__badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--tint));
  box-shadow: 0 0 8px rgb(var(--tint));
}

.fuse2__part.is-core .fuse2__badge i {
  animation: fuse2-pulse 1.8s ease-in-out infinite;
}

@keyframes fuse2-pulse {
  50% { box-shadow: 0 0 14px 3px rgb(var(--tint)); }
}

@media (max-width: 520px) {
  .fuse2__card {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .fuse2__card .fuse2__logo {
    width: 84px;
    height: 46px;
  }
  .fuse2__badge {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fuse2__part.is-core .fuse2__badge i { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fuse2__part,
  .premium__card,
  .premium__checkout {
    transition: none;
  }
}

/* Buttons: no glow at rest, a small soft glow in their own colour on hover */
.gem-btn,
.gem-btn:not(.gem-btn--crimson),
.gem-btn--crimson {
  filter: none;
}

.gem-btn:not(.gem-btn--crimson):hover,
.gem-btn:not(.gem-btn--crimson):focus-visible {
  filter: brightness(1.06) drop-shadow(0 0 8px rgba(255, 150, 50, 0.45));
}

.gem-btn--crimson:hover,
.gem-btn--crimson:focus-visible {
  filter: brightness(1.06) drop-shadow(0 0 8px rgba(80, 200, 255, 0.45));
}

.nav-cta,
.btn--primary,
.trailer-btn--gold {
  box-shadow: none;
}

.trailer-btn--gold {
  animation: none;
}

.nav-cta:hover,
.btn--primary:hover,
.trailer-btn--gold:hover {
  box-shadow: 0 0 10px -2px rgba(255, 150, 50, 0.5);
}

/* ==========================================================================
   Rounded shape language (Oct 2026): no cut / pointed corners anywhere.
   --r-sm buttons, inputs, tags · --r cards · --r-lg big panels and windows
   ========================================================================== */
:root {
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
}

/* buttons */
.gem-btn__face,
.gem-btn .gem-btn__face {
  clip-path: none;
  border-radius: var(--r-sm);
}

.gem-btn__face::before,
.gem-btn .gem-btn__face::before {
  clip-path: none;
  inset: 1.5px;
  border-radius: calc(var(--r-sm) - 1.5px);
}

.gem-btn__face {
  padding: 0 34px;
}

.btn,
.btn--primary,
.btn--ghost,
.trailer-btn,
.oauth__btn,
.share__btn,
.race-tab,
.conquest__tab,
.notice,
.announce__link,
.toast,
.remaster__tag,
.launch__cd div,
.pill,
.feat-nav a {
  clip-path: none;
  border-radius: var(--r-sm);
}

.nav-cta {
  clip-path: none;
  border-radius: 0 0 var(--r) var(--r);
}

.site-header .header-socials a {
  clip-path: none;
  border-radius: 50%;
}

/* inputs */
.field input,
.field select,
.field textarea,
input[type="email"],
input[type="text"],
input[type="password"],
textarea,
select,
.launch__form input[type="email"] {
  clip-path: none;
  border-radius: var(--r-sm);
}

/* cards */
.hero-card,
.war,
.why-card,
.follow-card,
.fuse__part,
.step,
.qs__step,
.feat-facts,
.feat-hybrid li,
.feat-card .feat-stages li,
.feat-card .spirit,
.premium__unlock-art,
.gi,
.news-banner,
.rate-grid {
  clip-path: none;
  border-radius: var(--r);
  overflow: hidden;
}

.step {
  overflow: visible;
}

/* big panels and windows */
.feat-card,
.feat-layout .feat-nav,
.conquest__panel,
.community,
.table-wrap,
.newsletter__form,
.launch__form,
.qs__card,
.premium__card,
.premium__checkout {
  clip-path: none;
  border-radius: var(--r-lg);
}

.feat-card {
  overflow: hidden;
}

.modal,
.modal.rw,
.modal.modal--account,
.modal.gift-dlg,
.modal.trailer-dlg {
  clip-path: none;
  border-radius: var(--r-lg);
}

.rw .modal__close {
  border-radius: 50%;
}

.hero-card__tag,
.news-card__tag,
.feat-time-tag,
.feat-soon {
  border-radius: 999px;
}

.launch__corner {
  display: none;
}

/* Premium -> Journeys: metallic seam line instead of the dark fade */
.jw::after {
  background:
    radial-gradient(ellipse 34% 30% at 50% 52%, rgba(5, 10, 24, 0.38), transparent 72%),
    linear-gradient(180deg, transparent 84%, rgba(8, 15, 32, 0.85) 100%);
}

.jw .edge-line--top,
.edge-line--bright {
  z-index: 3;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(190, 210, 240, 0.85) 25%, #ffffff 50%, rgba(190, 210, 240, 0.85) 75%, transparent);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.55), 0 0 10px rgba(190, 215, 255, 0.45);
}

.premium {
  position: relative;
}

/* Grand Opening: blue storm elf artwork, clean colours, scrim only behind text */
.launch__bg img[src*="launch-storm"] {
  opacity: 1;
  filter: none;
  object-position: center 22%;
}

.launch__bg:has(img[src*="launch-storm"])::after {
  background:
    radial-gradient(ellipse 32% 44% at 50% 62%, rgba(4, 10, 26, 0.8), rgba(4, 10, 26, 0.45) 60%, transparent 88%),
    linear-gradient(180deg, var(--ink) 0%, rgba(8, 15, 32, 0.15) 14%, transparent 40%, rgba(8, 15, 32, 0.35) 75%, var(--ink) 100%);
}

.hero__media img[src*="launch-elf"],
.hero__media picture:has(source[srcset*="launch-elf"]) img {
  object-position: center 4%;
}

/* chronicle cards: no glow/shadow around them at rest, small glow on hover */
.fuse2__card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.fuse2__card:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 12px -4px rgba(var(--tint), 0.6);
}

/* hero with the storm elf: keep the whole head clear above the logo */
.hero:has(img[src*="launch-elf"]) .hero__media-inner,
.hero:has(source[srcset*="launch-elf"]) .hero__media-inner {
  top: 0;
}

@media (min-width: 721px) {
  .hero:has(source[srcset*="launch-elf"]) .hero__content {
    padding-top: calc(var(--header-h) + 30vh);
  }
  .hero:has(source[srcset*="launch-elf"]) .hero__logo {
    width: clamp(320px, 36vw, 560px);
  }
}

@media (max-width: 720px) {
  .hero:has(img[src*="launch-elf"]) .hero__content {
    padding-top: calc(var(--header-h) + 34vh);
  }
  .hero__media img[src*="launch-elf"] {
    object-position: center top;
  }
}

/* Grand Opening: darker overlay so the art reads as a calm continuation of
   the hero and the email CTA stands out */
.launch__bg:has(img[src*="launch-storm"])::after {
  background:
    radial-gradient(ellipse 40% 50% at 50% 60%, rgba(4, 9, 22, 0.55), transparent 80%),
    linear-gradient(180deg, var(--ink) 0%, rgba(6, 12, 28, 0.62) 18%, rgba(6, 12, 28, 0.58) 60%, rgba(6, 12, 28, 0.78) 85%, var(--ink) 100%);
}

/* Grand Opening: much darker, the art is only a faint texture behind the CTA */
.launch__bg img[src*="launch-storm"] {
  opacity: 0.35;
}

.launch__bg:has(img[src*="launch-storm"])::after {
  background:
    radial-gradient(ellipse 42% 52% at 50% 58%, rgba(4, 9, 22, 0.6), transparent 82%),
    linear-gradient(180deg, var(--ink) 0%, rgba(6, 12, 28, 0.55) 20%, rgba(6, 12, 28, 0.5) 65%, var(--ink) 100%);
}

/* topbar account links: bold, and a divider only between visible links
   (the first visible one sat right after the socials divider) */
.topbar__links a {
  font-weight: 700;
}

.topbar__links a + a {
  border-left: 0;
}

.topbar__links a:not([hidden]) ~ a:not([hidden]) {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

/* Journeys: small labels readable over bright video */
.jw__label span,
.jw__kicker,
.jw__label small {
  -webkit-text-fill-color: currentColor;
  background: none;
  filter: none;
}

.jw__label span {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.85);
}

.jw__label small {
  color: #dcefff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.85);
}

.jw__kicker {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 0, 0, 0.9);
}

.jw__access {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(4, 10, 24, 0.7);
  color: #fff;
}

/* a soft dark band behind the label + title block */
.jw__content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(900px, 96vw);
  height: 120%;
  translate: -50% -50%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(4, 9, 22, 0.55), transparent 75%);
  pointer-events: none;
}

.jw__label {
  z-index: 2;
}

.jw__label::after,
.jw__label::before {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.9));
}

/* glass pills behind the small Journey labels (works on any video frame) */
.jw__label span {
  padding: 6px 16px 18px;
  border-radius: 12px;
  background: rgba(4, 10, 24, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.jw__label small {
  top: calc(100% - 20px);
}

.jw__kicker {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(4, 10, 24, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.jw__kicker [data-jw-kicker],
.jw__kicker span {
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
}

/* Journeys: no boxes behind the labels, just strong white text */
.jw__label span,
.jw__kicker {
  padding: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.jw__label small {
  top: calc(100% + 6px);
}

.jw__content::before {
  display: none;
}

/* ---- Timeline tabs with a progress bar (fills with the video) ---- */
.jw__dots {
  left: 50%;
  bottom: 40px;
  width: min(1100px, calc(100% - 48px));
  gap: 18px;
  align-items: stretch;
}

.jw__dots::before {
  display: none;
}

.jw__dot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: auto;
  height: auto;
  padding: 0;
  text-align: left;
}

.jw__dot > span,
.jw__dot[aria-selected="true"]::before {
  display: none;
}

.jw__bar {
  position: relative;
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}

.jw__fill {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 3px;
  background: linear-gradient(90deg, #7cc8ff, #ffffff);
  box-shadow: 0 0 10px rgba(124, 200, 255, 0.8);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s linear;
}

.jw__dot-name {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.jw__dot-title {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  transition: color 0.25s ease;
}

.jw__dot[aria-selected="true"] .jw__dot-name {
  color: #9fd6ff;
}

.jw__dot[aria-selected="true"] .jw__dot-title,
.jw__dot:hover .jw__dot-title {
  color: #ffffff;
}

/* ---- Cinematic finish over the gameplay video ---- */
.jw__layer video,
.jw__layer img {
  filter: saturate(1.12) contrast(1.06);
}

.jw__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 50% 45%, transparent 55%, rgba(3, 7, 18, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 30, 70, 0.18), rgba(5, 12, 30, 0.1) 50%, rgba(3, 7, 18, 0.55) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='3' height='1' fill='%23000' fill-opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: normal;
}

/* the bottom of the frame also hosts the timeline */
.jw::after {
  background:
    radial-gradient(ellipse 34% 30% at 50% 50%, rgba(5, 10, 24, 0.3), transparent 72%),
    linear-gradient(180deg, transparent 78%, rgba(6, 12, 28, 0.88) 100%);
}

@media (max-width: 720px) {
  .jw__dots {
    gap: 10px;
    bottom: 26px;
  }
  .jw__dot-title {
    display: none;
  }
}

@media (max-width: 720px) {
  .jw__dots {
    width: calc(100% - 132px);
    bottom: 40px;
  }
  .jw__dot-name {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }
  .jw__arrow {
    bottom: 26px;
  }
}

/* Journeys: no description line; arrows sit beside the title as liquid glass */
.jw__text {
  display: none;
}

.jw__titlerow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 36px);
  max-width: 100%;
}

.jw__titlerow .jw__title {
  margin-bottom: 0;
}

.jw__titlerow + * ,
.jw__meta {
  margin-top: 22px;
}

.jw__titlerow .jw__arrow,
.jw__titlerow .jw__arrow:hover {
  position: static;
  flex-shrink: 0;
  translate: none;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.12));
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    inset 0 -8px 16px rgba(255, 255, 255, 0.06),
    0 10px 26px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.jw__titlerow .jw__arrow svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  stroke-width: 2.6;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.jw__titlerow .jw__arrow:hover {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0.18));
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    0 0 18px -4px rgba(170, 215, 255, 0.7),
    0 10px 26px -10px rgba(0, 0, 0, 0.7);
}

.jw__titlerow .jw__arrow--prev:hover {
  transform: translateX(-3px);
}

.jw__titlerow .jw__arrow--next:hover {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  .jw__titlerow {
    gap: 8px;
  }
  .jw__titlerow .jw__arrow,
  .jw__titlerow .jw__arrow:hover {
    width: 40px;
    height: 40px;
  }
  .jw__titlerow .jw__arrow svg {
    width: 18px;
    height: 18px;
  }
  .jw__dots {
    width: calc(100% - 32px);
  }
}

/* Journey title always on one line, sized to fit beside the arrows */
.jw__titlerow .jw__title {
  white-space: nowrap;
  font-size: clamp(1.6rem, 5vw, 4.6rem);
}

@media (max-width: 720px) {
  .jw__titlerow .jw__title {
    font-size: clamp(1.35rem, 7vw, 2.2rem);
  }
}

/* chronicle cards: static, border only (no shadow, no glow, no hover lift) */
.fuse2__card,
.fuse2__card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(var(--tint), 0.55);
}

.fuse2__card .fuse2__logo img {
  filter: none;
}

/* a dwarf of each era: body inside the card, head and weapon rise above it */
.fuse2__card {
  overflow: visible;
  padding-right: 150px;
}

.fuse2__hero {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: 132px;
  height: 100%;
  pointer-events: none;
  clip-path: inset(-200px -60px 0 -60px);
}

.fuse2__hero img {
  position: absolute;
  left: 50%;
  bottom: -38%;
  height: 165%;
  width: auto;
  max-width: none;
  translate: -50% 0;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
}

.fuse2__part--interlude .fuse2__hero img {
  height: 150%;
  bottom: -20%;
}

@media (max-width: 520px) {
  .fuse2__card {
    padding-right: 96px;
  }
  .fuse2__hero {
    width: 88px;
    right: 6px;
  }
}

@media (max-width: 720px) {
  .fuse2__hero img,
  .fuse2__part--interlude .fuse2__hero img {
    height: 130px;
    bottom: -26px;
  }
  .fuse2__hero {
    width: 92px;
    right: 4px;
  }
  .fuse2__card {
    padding-right: 92px;
  }
  .fuse2__body h3 {
    font-size: 1.1rem;
  }
  .fuse2__sub {
    font-size: 0.78rem;
  }
}

/* dwarves sit lower: mostly inside the card, only the head rises a little */
.fuse2__hero img {
  height: 138%;
  bottom: -24%;
}

.fuse2__part--interlude .fuse2__hero img {
  height: 128%;
  bottom: -12%;
}

@media (max-width: 720px) {
  .fuse2__hero img,
  .fuse2__part--interlude .fuse2__hero img {
    height: 128px;
    bottom: -20px;
  }
}

/* dwarves on the left (facing the text), chronicle logos on the right as a badge */
.fuse2__card {
  grid-template-columns: minmax(0, 1fr) 110px;
  padding: 16px 18px 16px 150px;
}

.fuse2__card .fuse2__body {
  grid-column: 1;
  grid-row: 1;
}

.fuse2__card .fuse2__logo {
  grid-column: 2;
  grid-row: 1;
  width: 110px;
  height: 54px;
  justify-self: end;
}

.fuse2__hero {
  right: auto;
  left: 14px;
}

.fuse2__part--interlude .fuse2__hero img,
.fuse2__part--highfive .fuse2__hero img {
  transform: scaleX(-1);
}

@media (max-width: 720px) {
  .fuse2__card {
    grid-template-columns: minmax(0, 1fr) 70px;
    padding: 14px 12px 14px 100px;
  }
  .fuse2__card .fuse2__logo {
    width: 70px;
    height: 40px;
  }
  .fuse2__hero {
    left: 4px;
    right: auto;
  }
}

@media (max-width: 720px) {
  .fuse2__part--interlude .fuse2__hero img {
    height: 108px;
    bottom: -12px;
  }
}

/* "+" between the cards: centred and above the dwarves' heads */
.fuse2__plus {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: auto;
  margin-left: 0;
  color: #dcefff;
  font-weight: 700;
  opacity: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Interlude dwarf back to its own direction (it faces right there) */
.fuse2__part--interlude .fuse2__hero img {
  transform: none;
}

/* new Classic logo is a wide crest: give it a little more room */
.fuse2__part--classic .fuse2__logo {
  width: 124px;
  height: 58px;
}

/* Interlude dwarf: the cut end of his weapon meets the card's left edge,
   so the blade looks like it continues behind the frame */
.fuse2__part--interlude .fuse2__hero {
  left: 0;
  clip-path: inset(-200px -80px 0 0 round 0 0 0 var(--r));
}

.fuse2__part--interlude .fuse2__hero img {
  left: 0;
  translate: 0 0;
}

@media (max-width: 720px) {
  .fuse2__part--interlude .fuse2__hero {
    left: 0;
  }
}

.fuse2__part--interlude .fuse2__hero img {
  height: 118%;
  bottom: -8%;
}

/* ---- Plain sapphire backgrounds (same as section 01) ---- */
.hero__media,
.launch__bg {
  background:
    radial-gradient(ellipse 50% 45% at 50% 55%, rgba(47, 134, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(110, 170, 255, 0.12), transparent 70%),
    var(--ink);
}

.launch__bg::after,
.launch__bg:has(img)::after {
  background: linear-gradient(180deg, var(--ink) 0%, transparent 18%, transparent 82%, var(--ink) 100%);
}

/* Hero: the storm elf cut out, centred, with room above his head */
.hero__media img[src*="elf-cutout"],
.hero__media picture:has(source[srcset*="elf-cutout"]) img {
  top: auto;
  bottom: 0;
  height: 86%;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}

.hero:has(source[srcset*="elf-cutout"]) .hero__content {
  padding-top: calc(var(--header-h) + 34vh);
}

@media (max-width: 720px) {
  .hero__media img[src*="elf-cutout"] {
    height: 62%;
    top: calc(var(--header-h) + 10px);
    bottom: auto;
    width: 160%;
    left: -30%;
    object-position: center top;
  }
  .hero:has(img[src*="elf-cutout"]) .hero__content {
    padding-top: calc(var(--header-h) + 36vh);
  }
}

.hero__media img[src*="elf-cutout"],
.hero__media picture:has(source[srcset*="elf-cutout"]) img {
  height: 78%;
}

@media (max-width: 720px) {
  .hero__media picture:has(source[srcset*="elf-cutout"]) img,
  .hero__media img[src*="elf-cutout"] {
    top: calc(var(--header-h) + 24px);
    bottom: auto;
    left: -35%;
    width: 170%;
    height: 56%;
    object-position: center top;
  }
}

@media (max-width: 720px) {
  .hero__media picture:has(source[srcset*="elf-cutout"]) img,
  .hero__media img[src*="elf-cutout"] {
    inset: auto;
    top: calc(var(--header-h) + 40px);
    left: 50%;
    translate: -50% 0;
    width: 150%;
    max-width: none;
    height: auto;
    aspect-ratio: 1406 / 941;
    object-fit: contain;
    transform: none;
  }
}

@media (max-width: 720px) {
  .hero__media picture:has(source[srcset*="elf-cutout"]) img,
  .hero__media img[src*="elf-cutout"] {
    top: 96px;
  }
}

/* hero elf back up: head just under the menu, as before */
@media (min-width: 721px) {
  .hero__media img[src*="elf-cutout"],
  .hero__media picture:has(source[srcset*="elf-cutout"]) img {
    height: 90%;
  }
}

@media (max-width: 720px) {
  .hero__media picture:has(source[srcset*="elf-cutout"]) img,
  .hero__media img[src*="elf-cutout"] {
    top: 64px;
  }
}

.hero__embers {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}

/* Phones: compact hero - elf centred, logo on his chest, no empty band */
@media (max-width: 720px) {
  .hero:has(img[src*="elf-cutout"]) {
    min-height: 0;
  }
  .hero__media picture:has(source[srcset*="elf-cutout"]) img,
  .hero__media img[src*="elf-cutout"] {
    top: 60px;
    left: 50%;
    width: 138%;
    translate: -46% 0;
  }
  .hero:has(img[src*="elf-cutout"]) .hero__content {
    flex: none;
    padding-top: calc(60px + 52vw);
    padding-bottom: 36px;
  }
  .hero:has(img[src*="elf-cutout"]) .hero__logo {
    width: min(300px, 80vw);
  }
  .hero:has(img[src*="elf-cutout"]) .hero__hybrid {
    margin-bottom: 22px;
  }
}

/* ---------- Grand Opening: title + one sapphire CTA card ---------- */
.launch__rays {
  display: none;
}

.launch__crest {
  margin-bottom: 18px;
}

.launch__crest::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 150, 255, 0.28), transparent 65%);
  pointer-events: none;
}

.go-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  width: min(820px, 100%);
  margin: 30px auto 0;
  padding: 26px 30px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(140, 185, 255, 0.16), transparent 70%) padding-box,
    linear-gradient(180deg, rgba(26, 51, 105, 0.9), rgba(8, 18, 40, 0.94)) padding-box,
    var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.16);
  text-align: left;
}

.go-card__gift {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-right: 26px;
  border-right: 1px solid rgba(150, 185, 245, 0.2);
  text-align: center;
}

.gift-badge.go-card__badge {
  width: 86px;
  height: 86px;
  margin-bottom: 10px;
}

.go-card__badge .gift-svg {
  width: 50px;
  height: 50px;
}

.go-card__gift-name {
  margin: 0;
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
}

.go-card__until {
  margin: 0;
  color: #f6e2b0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.go-card__see {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: #a9cdf6;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.go-card__see:hover {
  color: #fff;
}

.go-card__title {
  margin: 0 0 14px;
  color: #f2f6fc;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.go-card__form {
  width: 100%;
  margin: 0;
}

.go-card__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px 18px;
  margin: 14px 0 0;
}

.go-card__perks li {
  font-size: 0.82rem;
}

.launch .newsletter__status:empty {
  display: none;
}

@media (max-width: 720px) {
  .go-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
    text-align: center;
  }
  .go-card__gift {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(150, 185, 245, 0.2);
  }
  .go-card__perks {
    justify-content: center;
  }
}

.launch__crest::before {
  inset: -40px;
  border: 0;
  background: radial-gradient(circle, rgba(70, 150, 255, 0.22) 0%, rgba(70, 150, 255, 0.08) 45%, transparent 70%);
  box-shadow: none;
  filter: blur(6px);
}

@media (max-width: 720px) {
  .go-card__perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(150, 185, 245, 0.16);
  }
  .go-card__perks li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: center;
  }
  .go-card__perks .launch__reward-icon {
    margin: 0;
  }
}

/* Begin your legacy: plain sapphire background (no video) */
.cta-band {
  background:
    radial-gradient(ellipse 50% 45% at 50% 55%, rgba(47, 134, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(110, 170, 255, 0.12), transparent 70%),
    var(--ink);
}

.cta-band::before,
.cta-band::after {
  background: none;
}

.page-hero__bg[src*="feat-gate"] {
  opacity: 1;
  object-position: center 55%;
}

.page-hero:has(.page-hero__bg[src*="feat-gate"])::after {
  background: linear-gradient(180deg, rgba(8, 15, 32, 0.25), rgba(8, 15, 32, 0.45) 55%, #0b162f 100%);
}

.page-hero__bg[src*="rankings-cover"] {
  opacity: 1;
  object-position: center 45%;
}

.page-hero:has(.page-hero__bg[src*="rankings-cover"]) {
  /* compact cover: the tables are what matters on this page */
  padding: calc(var(--header-h) + var(--announce-h) + clamp(28px, 4vw, 48px)) 0 clamp(26px, 3.5vw, 40px);
}

.page-hero:has(.page-hero__bg[src*="rankings-cover"]) .divider {
  display: none;
}

.page-hero:has(.page-hero__bg[src*="rankings-cover"]) .lead {
  margin-top: 10px;
}

.page-hero:has(.page-hero__bg[src*="rankings-cover"])::after {
  background: linear-gradient(180deg, rgba(8, 15, 32, 0.1), rgba(8, 15, 32, 0.15) 60%, #0b162f 100%);
}

/* ---------- mobile polish: journeys, wrapped labels, fair-play pledge ---------- */
@media (max-width: 720px) {
  /* Journeys: a taller stage so the gameplay video reads well on phones */
  .jw {
    min-height: max(680px, 86svh);
  }

  .jw__dot-name {
    font-size: 0.72rem;
  }

  /* long labels wrap to two lines: metal over the whole label, not one band */
  .eyebrow,
  .eyebrow__num {
    background-size: 100% 100%;
  }

  .eyebrow {
    line-height: 1.5;
    text-align: center;
  }

  /* pledge: a tidy 2 x 2 grid of small cards */
  .pledge__inner {
    gap: 18px;
  }

  .pledge__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .pledge__list li {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 104px;
    padding: 16px 10px 14px;
    border: 1px solid rgba(140, 180, 240, 0.18);
    border-radius: var(--r);
    background: linear-gradient(180deg, rgba(26, 48, 96, 0.55), rgba(10, 20, 44, 0.75));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    line-height: 1.25;
    text-align: center;
  }

  .pledge__icon {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .pledge__support {
    text-align: center;
  }
}

/* ---------- Begin your legacy: Quick Start + desktop launcher ---------- */
.qs {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
}

.qs__app {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qs__app-img {
  width: 108%;
  max-width: none;
  height: auto;
  margin: -4% -4% 10px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

.qs__app-title {
  margin: 0 0 8px;
  color: #f2f6fc;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
}

.qs__app-text {
  max-width: 46ch;
  margin: 0 0 22px;
  color: #cfd8e6;
  font-weight: 500;
}

.qs__app-btn .gem-btn__face {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qs__app-note {
  display: none;
  margin: 0;
  color: #a9cdf6;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .qs {
    grid-template-columns: 1fr;
  }

  .qs__app-img {
    width: 100%;
    margin: 0 0 8px;
  }
}

@media (max-width: 720px), (hover: none) and (pointer: coarse) {
  .qs__app-note {
    display: block;
  }
}

/* war cards: metallic "Details" label and a crystal + button */
.war__more-txt,
.war__more i span {
  background: var(--metal-silver-sm);
  background-size: 100% 1.25em;
  background-position: 0 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.75));
}

.war__more i {
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  background:
    linear-gradient(180deg, rgba(235, 244, 255, 0.28) 0%, rgba(150, 190, 255, 0.08) 48%, rgba(20, 45, 100, 0.55) 52%, rgba(60, 120, 230, 0.35) 100%) padding-box,
    var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 12px -3px rgba(47, 134, 255, 0.55);
  font-weight: 700;
}

.war:hover .war__more i,
.war:focus-visible .war__more i {
  background:
    linear-gradient(180deg, rgba(245, 250, 255, 0.45) 0%, rgba(170, 210, 255, 0.18) 48%, rgba(30, 70, 150, 0.6) 52%, rgba(90, 160, 255, 0.5) 100%) padding-box,
    var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 18px -2px rgba(90, 170, 255, 0.8);
  color: inherit;
}

/* ---------- Server Features: Achievements ---------- */
.gi--medal {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: none;
}

.gi--medal img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.gi--medal:hover,
.gi--medal:focus-visible {
  border-color: transparent;
  box-shadow: 0 0 18px -2px rgba(90, 170, 255, 0.75);
}

.gi--medal-sm,
.gi--medal-sm img {
  width: 40px;
  height: 40px;
}

.ach-sizes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}

.ach-sizes span {
  display: grid;
  gap: 2px;
  padding: 12px 10px;
  border: 1px solid rgba(140, 180, 240, 0.2);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, rgba(26, 51, 105, 0.5), rgba(8, 18, 40, 0.6));
  color: var(--text-dim);
  font-size: 0.8rem;
  text-align: center;
}

.ach-sizes strong {
  color: #eaf2ff;
  font-family: var(--font-title);
  font-size: 1.05rem;
}

.ach-cats {
  display: grid;
  gap: 8px;
  margin: 12px 0 8px;
}

.ach-cats .feat-more {
  border: 1px solid rgba(140, 180, 240, 0.2);
  border-radius: var(--r);
  background: linear-gradient(90deg, rgba(20, 40, 84, 0.5), rgba(8, 16, 36, 0.35));
}

.ach-cats .feat-more[open] {
  border-color: rgba(160, 200, 255, 0.4);
}

.ach-cats summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  cursor: pointer;
  list-style: none;
}

.ach-cats summary::-webkit-details-marker {
  display: none;
}

.ach-cats summary::after {
  content: "+";
  display: grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #eef4ff;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(235, 244, 255, 0.28) 0%, rgba(150, 190, 255, 0.08) 48%, rgba(20, 45, 100, 0.55) 52%, rgba(60, 120, 230, 0.35) 100%) padding-box,
    var(--chrome) border-box;
  transition: transform 0.3s var(--ease);
}

.ach-cats .feat-more[open] summary::after {
  transform: rotate(45deg);
}

.ach-cat__sum {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  column-gap: 12px;
}

.ach-cat__sum img {
  grid-row: span 2;
  width: 40px;
  height: 40px;
}

.ach-cat__sum strong {
  color: #f2f6fc;
  font-family: var(--font-title);
  font-size: 1rem;
}

.ach-cat__sum small {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.ach-cats .feat-more__body {
  padding: 4px 16px 16px;
}

.ach-list small {
  font-size: 0.82rem;
}

.ach-title {
  margin-left: 6px;
  color: #ffd98a;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
}

.ach-reward {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ach-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid rgba(140, 180, 240, 0.3);
  border-radius: var(--r-sm);
  background: rgba(20, 40, 84, 0.55);
  color: #dbe7f8;
  font-size: 0.8rem;
}

.ach-chip--title {
  border-color: rgba(255, 210, 130, 0.45);
  color: #ffd98a;
}

.ach-credits {
  font-size: 0.78rem;
}

@media (max-width: 560px) {
  .ach-sizes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* crystal + buttons: draw the cross with two bars so it sits exactly in the centre
   (the "+" glyph sat off-centre because of the font's metrics) */
.war__more i span {
  display: block;
  width: 10px;
  height: 10px;
  font-size: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background:
    linear-gradient(180deg, #ffffff, #c9d6ea) center / 100% 2px no-repeat,
    linear-gradient(180deg, #ffffff, #c9d6ea) center / 2px 100% no-repeat;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}

.ach-cats summary::after {
  content: "";
  background:
    linear-gradient(#f4f8ff, #f4f8ff) center / 10px 2px no-repeat,
    linear-gradient(#f4f8ff, #f4f8ff) center / 2px 10px no-repeat,
    linear-gradient(180deg, rgba(235, 244, 255, 0.28) 0%, rgba(150, 190, 255, 0.08) 48%, rgba(20, 45, 100, 0.55) 52%, rgba(60, 120, 230, 0.35) 100%) padding-box,
    var(--chrome) border-box;
}

.ach-reward__chest .gi {
  border-color: rgba(160, 200, 255, 0.55);
}

.ach-reward__arrow {
  color: rgba(169, 205, 246, 0.6);
  font-size: 1.2rem;
  line-height: 1;
}

/* home page scroll-spy: the link of the section in view looks selected */
.nav__link.is-current {
  color: var(--gold-pale);
}

/* Supporter Rewards: the mounts group fills its card like the two portraits */
.premium__unlock-art.is-contain img {
  width: 106%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: 50% 55%;
}

/* ---------- The Server: Interlude · High Five · Classic in three words ---------- */
.srv__trio {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 18px auto 22px;
  padding: 0;
  list-style: none;
}

.srv__trio-item {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 4px clamp(18px, 3vw, 40px);
}

.srv__trio-item + .srv__trio-item {
  border-left: 1px solid rgba(160, 200, 255, 0.28);
}

.srv__trio-item span {
  color: #b9c9e2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.srv__trio-item strong {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

/* each chronicle in its own colour, like its logo */
.srv__trio-item--il strong {
  background-image: linear-gradient(180deg, #fff3d0 0%, #ffd27a 45%, #d98b2b 70%, #ffe3a6 100%);
}

.srv__trio-item--h5 strong {
  background-image: linear-gradient(180deg, #ffffff 0%, #9ae8ff 40%, #2fb4ff 65%, #c9f3ff 100%);
}

.srv__trio-item--cl strong {
  background-image: linear-gradient(180deg, #ffffff 0%, #e2d4ff 40%, #a98bf0 65%, #efe6ff 100%);
}

@media (max-width: 560px) {
  /* phones: one chronicle per line */
  .srv__trio {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .srv__trio-item {
    padding: 0;
  }

  .srv__trio-item + .srv__trio-item {
    border-left: 0;
  }

  .srv__trio-item strong {
    font-size: 1.7rem;
    white-space: nowrap;
  }
}

/* ---------- Server Features: the Server Concept story ---------- */
.feat-story__hook {
  margin: 6px 0 14px;
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  background: var(--metal-ice-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.feat-story strong[class^="feat-story__"] {
  font-weight: 700;
}

.feat-story__il {
  color: #ffd27a;
}

.feat-story__h5 {
  color: #8fdcff;
}

.feat-story__cl {
  color: #d4c2ff;
}

.feat-story h3 {
  margin-top: 22px;
}

.feat-story__end {
  margin-top: 18px;
  color: #eaf2ff;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Server Concept: five essentials in one row on wide screens */
@media (min-width: 1100px) {
  .feat-facts--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Server Concept story: chapter titles in the site's metallic title style */
.feat-story h3 {
  display: grid;
  gap: 4px;
  margin: 26px 0 8px;
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--metal-silver-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

.feat-story h3 small {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  background: var(--metal-ice-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Server Concept: the three chronicles link to their part of the Hybrid card */
.feat-story a[class^="feat-story__"] {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: currentColor;
}

.feat-story a[class^="feat-story__"]:hover {
  filter: brightness(1.2);
}

/* Server Features: Stages (Stage 1 active, the rest to come) */
.feat-stage-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feat-stage-cards li {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 150px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(140, 180, 240, 0.2);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(20, 40, 84, 0.45), rgba(8, 16, 36, 0.55));
  opacity: 0.75;
}

.feat-stage-cards li.is-active {
  border-color: rgba(160, 205, 255, 0.55);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(80, 160, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(26, 51, 105, 0.7), rgba(8, 18, 40, 0.75));
  box-shadow: 0 0 24px -8px rgba(47, 134, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.feat-stage-cards__tag {
  justify-self: start;
  padding: 3px 10px;
  border: 1px solid rgba(140, 180, 240, 0.3);
  border-radius: 999px;
  color: #a9cdf6;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.is-active .feat-stage-cards__tag {
  border-color: rgba(127, 174, 110, 0.6);
  color: #9fd38c;
}

.feat-stage-cards strong {
  margin-top: 6px;
  font-family: var(--font-title);
  font-size: 1.4rem;
  text-transform: uppercase;
  background: var(--metal-silver-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.feat-stage-cards small {
  color: var(--text-dim);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .feat-stage-cards {
    grid-template-columns: 1fr;
  }

  .feat-stage-cards li {
    min-height: 0;
  }
}

.feat-card .feat-stage-cards {
  margin-left: 0;
  padding-left: 0;
}

.feat-card .feat-stage-cards li {
  margin: 0;
  padding-left: 18px;
}

.feat-card .feat-stage-cards li::before {
  content: none;
  display: none;
}

/* Server Features menu: Progression opens its next stages while you read it */
.feat-nav__sub {
  display: none;
}

@media (min-width: 1024px) {
  .feat-layout .feat-nav .feat-nav__group.is-open > .feat-nav__sub {
    display: flex;
    margin: 2px 0 4px 12px;
    padding-left: 8px;
    border-left: 1px solid rgba(160, 200, 255, 0.25);
  }

  .feat-layout .feat-nav .feat-nav__sub a {
    padding: 6px 10px;
    font-size: 0.8rem;
    color: var(--text-dim);
  }

  .feat-layout .feat-nav .feat-nav__sub a.is-active,
  .feat-layout .feat-nav .feat-nav__sub a:hover {
    color: #eef3fb;
  }
}

/* Server Features: every topic title inside a card in the premium metallic style
   (same as the Server Concept chapters) so each topic stands apart */
.feat-card.prose > h3 {
  margin: 30px 0 10px;
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--metal-silver-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

.feat-card.prose > h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #8fd0ff, transparent);
}

/* Hybrid tiles: their titles in the same metallic title style, a size smaller */
.feat-card .feat-hybrid h3 {
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--metal-silver-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

/* ---------- Server Features menu: categories that open and close ---------- */
.feat-nav__cat-btn {
  display: none;
}

@media (min-width: 1024px) {
  /* never taller than the screen: if it ever is, the menu scrolls on its own */
  .feat-layout .feat-nav {
    max-height: calc(100vh - var(--header-h) - var(--announce-h) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(140, 180, 240, 0.4) transparent;
  }

  .feat-layout .feat-nav .feat-nav__groups {
    gap: 4px;
  }

  .feat-nav__cat-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: var(--r-sm);
    background: none;
    color: #a9cdf6;
    font: 700 0.72rem var(--font-ui);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .feat-nav__cat-btn:hover {
    background: rgba(140, 180, 240, 0.08);
    color: #eaf2ff;
  }

  .feat-nav__cat-btn i {
    font-size: 0.65rem;
    transition: transform 0.25s var(--ease);
  }

  .feat-nav__cat.is-open > .feat-nav__cat-btn {
    color: #eaf2ff;
  }

  .feat-nav__cat.is-open > .feat-nav__cat-btn i {
    transform: rotate(180deg);
  }

  .feat-layout .feat-nav .feat-nav__items {
    display: none;
    margin: 0 0 6px 6px;
  }

  .feat-layout .feat-nav .feat-nav__cat.is-open > .feat-nav__items {
    display: flex;
  }
}

.feat-nav__toggle {
  display: none;
}

/* phones and tablets: a drop-down menu under one button showing the current section */
@media (max-width: 1023px) {
  .feat-layout .feat-nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .feat-nav__toggle {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(140, 180, 240, 0.3);
    border-radius: var(--r-sm);
    background: linear-gradient(180deg, rgba(26, 51, 105, 0.85), rgba(10, 20, 44, 0.9));
    color: #eaf2ff;
    text-align: left;
    cursor: pointer;
  }

  .feat-nav__toggle span {
    color: #a9cdf6;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .feat-nav__toggle strong {
    grid-column: 1;
    font-family: var(--font-title);
    font-size: 1rem;
  }

  .feat-nav__toggle i {
    grid-column: 2;
    grid-row: 1 / span 2;
    transition: transform 0.25s var(--ease);
  }

  .feat-nav.is-menu-open .feat-nav__toggle i {
    transform: rotate(180deg);
  }

  /* the panel */
  .feat-nav .feat-nav__groups {
    display: none;
  }

  .feat-nav.is-menu-open .feat-nav__groups {
    display: block;
    max-height: 62vh;
    margin-top: 8px;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(140, 180, 240, 0.22);
    border-radius: var(--r);
    background: #0b162f;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  }

  .feat-nav .feat-nav__cat-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 10px;
    border: 0;
    background: none;
    color: #a9cdf6;
    font: 700 0.74rem var(--font-ui);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .feat-nav__cat.is-open > .feat-nav__cat-btn {
    color: #eaf2ff;
  }

  .feat-nav__cat.is-open > .feat-nav__cat-btn i {
    transform: rotate(180deg);
  }

  .feat-nav .feat-nav__items,
  .feat-nav .feat-nav__sub {
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 6px 8px;
    padding: 0;
    overflow: visible;
  }

  .feat-nav .feat-nav__cat.is-open > .feat-nav__items,
  .feat-nav .feat-nav__group.is-open > .feat-nav__sub {
    display: flex;
  }

  .feat-layout .feat-nav .feat-nav__items a,
  .feat-layout .feat-nav .feat-nav__sub a {
    padding: 10px 12px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: none;
    color: var(--text);
    font-size: 0.9rem;
    white-space: normal;
  }

  .feat-layout .feat-nav .feat-nav__sub a {
    font-size: 0.82rem;
    color: var(--text-dim);
  }

  .feat-layout .feat-nav .feat-nav__items a.is-active {
    border-left-color: #8fd0ff;
    background: linear-gradient(90deg, rgba(143, 208, 255, 0.16), transparent);
    color: #eef3fb;
  }
}

/* menu category names in metal: ice-blue when closed, bright silver when open */
.feat-nav__cat-name {
  background: var(--metal-ice-sm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7));
}

.feat-nav__cat.is-open > .feat-nav__cat-btn .feat-nav__cat-name,
.feat-nav__cat-btn:hover .feat-nav__cat-name {
  background: var(--metal-silver-sm);
  -webkit-background-clip: text;
  background-clip: text;
}

.feat-nav__cat-btn i {
  color: #a9cdf6;
}

/* no box after a mouse click, only for keyboard focus */
.feat-nav__cat-btn:focus:not(:focus-visible) {
  outline: none;
}

/* Server Concept: the only shortcut in the story, bold turquoise */
.feat-story .feat-story__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
  color: #3ee6d4;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.feat-story .feat-story__link i {
  font-size: 0.8em;
  transition: transform 0.2s var(--ease);
}

.feat-story .feat-story__link:hover {
  color: #8ff5ea;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feat-story .feat-story__link:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   Partners page (partners.html): Refer a Friend + Streamer Partner Program
   ========================================================================== */
.nav__link.nav__link--gold,
.mobile-nav__list a.mobile-nav__gold {
  background: linear-gradient(180deg, #fff0c8 0%, #ffc470 38%, #ff9a2e 62%, #ffd79a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
  filter: drop-shadow(0 1px 1px rgba(60, 20, 0, 0.6));
}

.nav__link.nav__link--gold:hover,
.nav__link.nav__link--gold[aria-current="page"],
.mobile-nav__list a.mobile-nav__gold:hover {
  filter: drop-shadow(0 0 8px rgba(255, 160, 60, 0.55)) brightness(1.08);
}

.pt-page {
  background: var(--ink);
}

.pt-hero {
  padding: calc(var(--header-h) + var(--announce-h) + clamp(30px, 4.5vw, 56px)) 0 clamp(30px, 4vw, 48px);
}

.pt-hero .page-hero__bg {
  opacity: 0.5;
  object-position: center 40%;
}

.pt-hero .lead {
  max-width: 640px;
  margin-inline: auto;
}

.pt-sec {
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0;
}

.pt-sec--streamer {
  background:
    radial-gradient(60% 70% at 20% 40%, rgba(39, 117, 202, 0.18), transparent 70%),
    linear-gradient(180deg, #0a1430, var(--ink));
}

.pt-sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.pt-sec__grid--flip {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.pt-title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.05;
}

.pt-title__accent {
  background: linear-gradient(180deg, #fff0c8 0%, #ffc470 40%, #ff8a1c 75%, #ffd38a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pt-title__accent--usdc {
  background: linear-gradient(180deg, #ffffff 0%, #b9dcff 35%, #3d8bea 65%, #d7ecff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.pt-copy .lead {
  margin: 0 0 26px;
}

.pt-copy .lead strong {
  color: #fff;
}

.pt-usdc-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.pt-usdc-text img {
  width: 20px;
  height: 20px;
}

.pt-perks__icon--usdc img {
  width: 28px;
  height: 28px;
}

.pt-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pt-perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(143, 190, 255, 0.16);
  border-radius: var(--r, 14px);
  background: linear-gradient(180deg, rgba(20, 38, 78, 0.55), rgba(10, 20, 44, 0.55));
}

.pt-perks li > span:last-child {
  display: block;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pt-perks li strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 0.96rem;
}

.pt-perks__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(190, 215, 255, 0.35);
  border-radius: 12px;
  background: radial-gradient(120% 120% at 30% 0%, rgba(80, 140, 230, 0.35), rgba(12, 24, 54, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pt-perks__icon i {
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7));
}

.pt-perks__icon i::before {
  background: linear-gradient(180deg, #ffffff 0%, #e4eaf4 35%, #8f9cb2 55%, #eef2f9 75%, #a7b3c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pt-perks__icon--usdc {
  border-color: rgba(120, 180, 255, 0.6);
  background: radial-gradient(120% 120% at 30% 0%, rgba(39, 117, 202, 0.55), rgba(10, 24, 60, 0.95));
}

.pt-perks--usdc li:nth-child(3) {
  border-color: rgba(90, 160, 255, 0.5);
  background: linear-gradient(180deg, rgba(39, 117, 202, 0.22), rgba(10, 22, 52, 0.6));
}

.pt-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 26px;
}

.pt-platforms span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(143, 190, 255, 0.2);
  border-radius: 999px;
  background: rgba(10, 20, 44, 0.6);
  color: #dfe8f5;
  font-size: 0.82rem;
}

.pt-platforms i {
  color: #b8d8fb;
}

.pt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

.pt-actions__note {
  max-width: 300px;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.86rem;
}

.pt-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.pt-art__glow {
  position: absolute;
  inset: 8% 6% 14%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 170, 70, 0.28), rgba(80, 140, 230, 0.16) 55%, transparent);
  filter: blur(8px);
}

.pt-art__glow--usdc {
  background: radial-gradient(closest-side, rgba(39, 117, 202, 0.45), rgba(80, 140, 230, 0.14) 60%, transparent);
}

.pt-art__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 640px;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

.pt-chip {
  position: absolute;
  bottom: 12%;
  left: 4%;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 18px 12px 12px;
  border: 1px solid rgba(255, 210, 150, 0.55);
  border-radius: var(--r, 14px);
  background: linear-gradient(180deg, rgba(30, 24, 18, 0.88), rgba(12, 14, 26, 0.92));
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9), 0 0 24px -8px rgba(255, 150, 50, 0.45);
  backdrop-filter: blur(6px);
}

.pt-chip img {
  width: 40px;
  height: 40px;
}

.pt-chip span {
  display: grid;
  gap: 2px;
}

.pt-chip strong {
  color: #ffd38a;
  font-size: 1.05rem;
}

.pt-chip small {
  color: #d5dcea;
  font-size: 0.78rem;
}

.pt-chip--usdc {
  right: 4%;
  left: auto;
  border-color: rgba(120, 180, 255, 0.6);
  background: linear-gradient(180deg, rgba(14, 34, 72, 0.9), rgba(8, 14, 30, 0.94));
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.9), 0 0 24px -8px rgba(39, 117, 202, 0.7);
}

.pt-chip--usdc strong {
  color: #cfe6ff;
}

.pt-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(48px, 6vw, 72px) 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.pt-steps li {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid rgba(143, 190, 255, 0.18);
  border-radius: var(--r, 14px);
  background: rgba(10, 20, 44, 0.65);
  color: var(--text-dim);
  font-size: 0.9rem;
}

.pt-steps strong {
  color: #fff;
  font-size: 1.05rem;
}

.pt-steps__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: radial-gradient(128% 100% at 50% 0%, #ffc470 3%, #a8430f 58%, #ff8a1c 100%);
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(90, 30, 0, 0.8);
}

.pt-fine {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.82rem;
  text-align: center;
}

.pt-fine a {
  color: #b8d8fb;
  text-decoration: underline;
}

/* application window */
.pt-dialog .pt-form {
  text-align: left;
}

.pt-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.pt-channels legend {
  margin-bottom: 8px;
  padding: 0;
  color: #dfe8f5;
  font-size: 0.86rem;
  font-weight: 600;
}

.pt-channels legend small,
.pt-form label small {
  color: var(--text-dim);
  font-weight: 400;
}

.pt-channel {
  display: grid;
  gap: 5px;
}

.pt-channel label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dfe8f5;
  font-size: 0.82rem;
}

.pt-channel label i {
  width: 16px;
  color: #b8d8fb;
  text-align: center;
}

@media (max-width: 900px) {
  .pt-sec__grid,
  .pt-sec__grid--flip {
    grid-template-columns: 1fr;
  }

  .pt-art {
    order: 2;
    min-height: 0;
  }

  .pt-art__img {
    max-height: 440px;
  }

  .pt-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pt-perks,
  .pt-channels {
    grid-template-columns: 1fr;
  }

  .pt-chip {
    bottom: 6%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 24px);
  }

  .pt-actions .gem-btn {
    width: 100%;
  }
}

.pt-channels .field {
  margin: 0;
}

.pt-channel label {
  margin-bottom: 0;
}

/* Partners window: a single button sits in the middle */
.pt-dialog [data-pt-state="info"] .support-gate__actions {
  display: flex;
  justify-content: center;
}

.pt-dialog [data-pt-state="info"] .support-gate__actions .btn {
  padding-inline: 28px;
}

/* Partners: the wallet chip next to the Dark Elf catches the eye */
.pt-chip--wallet {
  padding: 14px 22px 14px 14px;
}

.pt-chip--wallet img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 12px rgba(39, 117, 202, 0.7));
}

.pt-chip__tag {
  color: #8fbef5 !important;
  font-size: 0.66rem !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pt-chip .pt-chip__big {
  background: linear-gradient(180deg, #ffffff 0%, #cfe6ff 45%, #6fb0ff 75%, #e6f4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}

/* small "NEW" tag on the gold Partners link (top right corner) */
.nav__link--gold,
.mobile-nav__gold {
  position: relative;
}

.nav__tag {
  position: absolute;
  top: calc(50% - 22px);
  right: 2px;
  padding: 2px 5px 1px;
  border-radius: 5px;
  background: linear-gradient(180deg, #ff5a6e, #e01e4a);
  box-shadow: 0 2px 6px -1px rgba(224, 30, 74, 0.6);
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-family: var(--font-ui);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  pointer-events: none;
}

.mobile-nav__gold .nav__tag {
  position: relative;
  top: -8px;
  right: auto;
  margin-left: 6px;
  vertical-align: middle;
}

/* Top bar: News & Updates (took the place of Contact), silver icon + "N" badge */
.tb-fa {
  font-size: 0.95rem;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.tb-fa::before {
  background: linear-gradient(180deg, #ffffff 0%, #e4eaf4 35%, #8f9cb2 55%, #eef2f9 75%, #a7b3c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.topbar__link:hover .tb-fa {
  filter: drop-shadow(0 0 5px rgba(240, 200, 130, 0.75));
  transform: scale(1.08);
}

.topbar__link--news .nav__new {
  align-self: flex-start;
  margin: -4px 0 0 -4px;
}

/* Header socials (top right): metallic like the side rail, in a liquid metal ring */
.site-header .header-socials {
  align-items: center;
  align-self: center;
}

.site-header .header-socials a {
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  background:
    radial-gradient(circle at 50% 30%, rgba(80, 130, 220, 0.3), rgba(6, 12, 28, 0.92)) padding-box,
    linear-gradient(160deg, #eaf2ff, #7f9cc9 40%, #22365e 65%, #c9daf5) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 3px 8px -3px rgba(0, 0, 0, 0.8);
}

.site-header .header-socials a i {
  font-size: 0.7rem;
  background: linear-gradient(180deg, #ffffff 0%, #e6ecf6 30%, #8f9cb2 52%, #eef2f9 70%, #a7b3c6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.7));
  transition: filter 0.25s ease;
}

.site-header .header-socials a[data-network="instagram"] { --net: #e1306c; }
.site-header .header-socials a[data-network="x"] { --net: #e4e6e8; }
.site-header .header-socials a[data-network="youtube"] { --net: #ff2a2a; }
.site-header .header-socials a[data-network="tiktok"] { --net: #25f4ee; }
.site-header .header-socials a[data-network="telegram"] { --net: #2aabee; }

.site-header .header-socials a:hover,
.site-header .header-socials a:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 10px -2px var(--net, #8fd0ff);
}

.site-header .header-socials a:hover i,
.site-header .header-socials a:focus-visible i {
  filter: drop-shadow(0 0 6px var(--net, #8fd0ff)) brightness(1.15);
}

/* ==========================================================================
   After level 65: the Legacy Activities (home page)
   Three crystal hero cards: the character stands inside the card, rises above
   its top edge and is cut by its bottom edge. The chosen card opens its panel.
   ========================================================================== */
.acts {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 45%, rgba(47, 134, 255, 0.08), transparent 70%),
    var(--black);
}

.acts .section-head {
  max-width: 820px;
  margin-bottom: clamp(70px, 8vw, 110px);
}

.acts__stage {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
}

.acts__hero {
  position: relative;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  height: clamp(250px, 22vw, 300px);
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: right;
  cursor: pointer;
  transition: flex-grow 0.55s var(--ease), opacity 0.45s ease, transform 0.45s var(--ease);
}

/* the card itself: chrome rim, the event's own scenery, dark grade */
.acts__card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--r, 14px);
  background: linear-gradient(#091126, #091126) padding-box, var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.12), 0 30px 60px -25px rgba(0, 0, 0, 0.9), 0 0 40px -20px rgba(47, 134, 255, 0.3);
}

.acts__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.8) blur(1px);
  transform: scale(1.06);
  transition: opacity 0.5s ease, transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.acts__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 17, 38, 0.2) 0%, rgba(9, 17, 38, 0.55) 45%, rgba(9, 17, 38, 0.92) 100%),
    linear-gradient(180deg, transparent 50%, rgba(7, 15, 31, 0.85) 100%);
}

/* the character: free above the card, cut by its bottom edge */
.acts__fig {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  clip-path: inset(-80% -40% 0 -40% round 0 0 var(--r, 14px) var(--r, 14px));
}

.acts__fig img {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.7));
  transition: transform 0.6s var(--ease);
  transform-origin: 30% 100%;
}

.acts__hero--hunt .acts__fig img {
  left: -16%;
  bottom: -4%;
  height: 118%;
}

.acts__hero--pvp .acts__fig img {
  left: -4%;
  bottom: -44%;
  height: 150%;
}

.acts__hero--dungeon .acts__fig img {
  left: -38%;
  bottom: -6%;
  height: 124%;
}

.acts__hero:hover .acts__fig img,
.acts__hero:focus-visible .acts__fig img,
.acts__hero.is-active .acts__fig img {
  transform: translateY(-6px) scale(1.03);
}

.acts__hero:hover .acts__card img,
.acts__hero.is-active .acts__card img {
  opacity: 0.6;
  transform: scale(1.12);
}

/* the type on the right of the card */
.acts__plate {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  justify-content: flex-end;
  width: 54%;
  margin-left: auto;
  padding: 24px 22px 22px 0;
}

.acts__kicker {
  color: var(--gold-pale);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.acts__name {
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 40%, #b4becd 62%, #f1e8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8));
}

.acts__desc {
  color: rgba(214, 221, 232, 0.8);
  font-size: 0.86rem;
  line-height: 1.5;
}

.acts__open {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(176, 189, 208, 0.18);
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.acts__open i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(176, 189, 208, 0.5);
  border-radius: 50%;
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
}

.acts__hero:hover .acts__open i,
.acts__hero.is-active .acts__open i {
  background: var(--gold-pale);
  color: #0c1732;
}

.acts__hero.is-active .acts__open i {
  transform: rotate(45deg);
}

.acts__hero:focus-visible {
  outline: none;
}

.acts__hero:focus-visible .acts__card {
  box-shadow: 0 0 0 2px var(--gold-pale);
}

/* one chosen: it grows, the others step back */
.acts__stage.has-active .acts__hero {
  flex-grow: 0.8;
  opacity: 0.5;
  transform: scale(0.95);
}

.acts__stage.has-active .acts__hero.is-active {
  flex-grow: 1.35;
  opacity: 1;
  transform: none;
}

.acts__stage.has-active .acts__hero:hover {
  opacity: 0.85;
}

/* the panel folds out under the cards */
.acts__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s var(--ease), opacity 0.4s ease, margin-top 0.55s var(--ease);
}

.acts__panel.is-open {
  grid-template-rows: 1fr;
  margin-top: clamp(26px, 3vw, 38px);
  opacity: 1;
}

.acts__inner {
  min-height: 0;
  overflow: hidden;
}

.acts__inner > * + * {
  margin-top: 20px;
}

.acts__intro {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: center;
}

.acts__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 6px;
}

/* crystal cards: the picture fills the card, type sits on a dark grade */
.act-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--r, 14px);
  background: linear-gradient(#091126, #091126) padding-box, var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.12), 0 30px 60px -25px rgba(0, 0, 0, 0.9), 0 0 40px -20px rgba(47, 134, 255, 0.3);
  transition: transform 0.45s var(--ease);
}

.act-card__art {
  position: absolute;
  inset: 0;
}

.act-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.9) brightness(0.85);
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.act-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 31, 0.05) 0%, rgba(7, 15, 31, 0.3) 35%, rgba(7, 15, 31, 0.97) 78%);
}

.act-card__tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 4px 11px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.1));
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.act-card__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 20px 18px 18px;
}

.act-card__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(180deg, #ffffff 0%, #f5efe2 40%, #b4becd 62%, #f1e8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.act-card__text {
  margin: 0;
  color: rgba(214, 221, 232, 0.8);
  font-size: 0.84rem;
  line-height: 1.5;
}

.act-card__facts {
  display: grid;
  gap: 5px;
  margin: 2px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(176, 189, 208, 0.18);
}

.act-card__facts div {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.82rem;
}

.act-card__facts dt {
  color: var(--gold-pale);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.9;
  text-transform: uppercase;
}

.act-card__facts dd {
  margin: 0;
  color: #eef3fb;
  font-weight: 600;
  text-align: right;
}

.act-card__win {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid rgba(176, 189, 208, 0.18);
  list-style: none;
}

.act-card__win li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.act-card:hover {
  transform: translateY(-5px);
}

.act-card:hover .act-card__art img {
  transform: scale(1.07);
  filter: saturate(1) brightness(0.95);
}

/* item icons in the same crystal slot as the dashboard */
.act-card__win img,
.acts__icons img,
.acts__note img {
  display: block;
  flex: none;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 30%, rgba(80, 130, 220, 0.35), rgba(6, 12, 28, 0.9)) padding-box,
    linear-gradient(160deg, #eaf2ff, #7f9cc9 40%, #22365e 65%, #c9daf5) border-box;
}

.act-card__win img {
  width: 34px;
  height: 34px;
}

/* reward strip and schedule: crystal panels */
.acts__loot,
.acts__sched-wrap {
  border: 1px solid transparent;
  border-radius: var(--r, 14px);
  background: linear-gradient(180deg, rgba(14, 27, 59, 0.9), #091126) padding-box, var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.12), 0 24px 50px -28px rgba(0, 0, 0, 0.9);
}

.acts__loot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
}

.acts__loot-title {
  flex: 1 1 320px;
  margin: 0;
  color: rgba(214, 221, 232, 0.78);
  font-size: 0.9rem;
  line-height: 1.55;
}

.acts__loot-title strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.acts__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acts__icons li {
  cursor: help;
}

.acts__icons img {
  width: 42px;
  height: 42px;
}

.acts__sched-wrap {
  overflow-x: auto;
}

.acts__sched {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: center;
}

.acts__sched caption {
  padding: 16px 20px 6px;
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-align: left;
  text-transform: uppercase;
}

.acts__sched th,
.acts__sched td {
  padding: 11px 14px;
  border-top: 1px solid rgba(176, 189, 208, 0.14);
}

.acts__sched thead th {
  border-top: 0;
  color: #eef3fb;
  font-family: var(--font-title);
  font-size: 0.9rem;
}

.acts__sched tbody th {
  color: rgba(214, 221, 232, 0.7);
  font-weight: 600;
  text-align: left;
}

.acts__sched td {
  color: #eef3fb;
  font-variant-numeric: tabular-nums;
}

.acts__note {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  color: rgba(214, 221, 232, 0.78);
  font-size: 0.9rem;
  text-align: center;
}

.acts__note img {
  width: 28px;
  height: 28px;
}

.acts__note strong {
  color: var(--gold-pale);
}

@media (max-width: 980px) {
  .acts__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* tablets and phones: the three hero cards stack, each a full row */
@media (max-width: 860px) {
  .acts .section-head {
    margin-bottom: 40px;
  }

  .acts__stage {
    flex-direction: column;
    gap: clamp(56px, 12vw, 80px);
  }

  .acts__hero {
    flex: none;
    height: clamp(200px, 46vw, 260px);
  }

  .acts__stage.has-active .acts__hero,
  .acts__stage.has-active .acts__hero.is-active {
    transform: none;
  }

  .acts__plate {
    width: 56%;
  }
}

@media (max-width: 460px) {
  .acts__cards {
    grid-template-columns: 1fr;
  }

  .acts__desc {
    display: none;
  }

  .acts__plate {
    padding: 18px 16px 16px 0;
  }

  .act-card {
    min-height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acts__hero,
  .acts__panel,
  .acts__fig img,
  .acts__card img,
  .act-card,
  .act-card__art img {
    transition: none;
  }
}

/* type at the top right, weapons pass below it */
.acts__plate {
  justify-content: flex-start;
  width: 50%;
  padding-top: 26px;
}

.acts__desc {
  max-width: 24ch;
}

.acts__hero--hunt .acts__fig img {
  left: -18%;
  bottom: -6%;
  height: 112%;
}

.acts__hero--pvp .acts__fig img {
  left: -6%;
  bottom: -46%;
  height: 150%;
}

.acts__hero--dungeon .acts__fig img {
  left: -14%;
  bottom: -4%;
  height: 120%;
}

/* balance: slimmer type column, smaller figures so the weapons pass under the type */
.acts__hero {
  height: clamp(260px, 23vw, 310px);
}

.acts__plate {
  width: 52%;
  padding: 24px 20px 20px 0;
}

.acts__name {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
}

.acts__desc {
  max-width: 22ch;
  font-size: 0.84rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.acts__open {
  position: absolute;
  right: 20px;
  bottom: 18px;
}

.acts__hero--hunt .acts__fig img {
  left: -20%;
  bottom: -12%;
  height: 108%;
}

.acts__hero--pvp .acts__fig img {
  left: -8%;
  bottom: -48%;
  height: 148%;
}

.acts__hero--dungeon .acts__fig img {
  left: -30%;
  bottom: -6%;
  height: 104%;
}

.acts__hero--dungeon .acts__fig img {
  left: -38%;
  bottom: -10%;
}

/* characters rise above the card, but never spill into the next card */
.acts__fig {
  clip-path: inset(-80% 0 0 0 round 0 0 var(--r, 14px) var(--r, 14px));
}

.acts__hero--dungeon .acts__fig img {
  left: -24%;
  bottom: -12%;
  height: 100%;
}

.acts__hero--pvp .acts__fig img {
  left: 3%;
}

.acts__hero--hunt .acts__fig img {
  left: -12%;
}

@media (max-width: 860px) {
  .acts__stage {
    gap: 22px;
  }
}

/* PvP: the elf sorceress, cut at the hips by the card */
.acts__hero--pvp .acts__fig img {
  left: -30%;
  bottom: 0;
  height: 122%;
}

/* "Explore +": the same crystal button and drawn plus as the Endgame "Details +" */
.acts__open i {
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(235, 244, 255, 0.28) 0%, rgba(150, 190, 255, 0.08) 48%, rgba(20, 45, 100, 0.55) 52%, rgba(60, 120, 230, 0.35) 100%) padding-box,
    var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 12px -3px rgba(47, 134, 255, 0.55);
  color: inherit;
}

.acts__open i span {
  display: block;
  width: 10px;
  height: 10px;
  font-size: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background:
    linear-gradient(180deg, #ffffff, #c9d6ea) center / 100% 2px no-repeat,
    linear-gradient(180deg, #ffffff, #c9d6ea) center / 2px 100% no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}

.acts__hero:hover .acts__open i,
.acts__hero:focus-visible .acts__open i,
.acts__hero.is-active .acts__open i {
  background:
    linear-gradient(180deg, rgba(245, 250, 255, 0.45) 0%, rgba(170, 210, 255, 0.18) 48%, rgba(30, 70, 150, 0.6) 52%, rgba(90, 160, 255, 0.5) 100%) padding-box,
    var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 18px -2px rgba(90, 170, 255, 0.8);
  color: inherit;
}

.acts__hero--pvp .acts__fig img {
  left: -38%;
  height: 118%;
}

/* offsets follow the figure's own width, so a growing card does not slide it out */
.acts__hero--hunt .acts__fig img {
  left: 0;
  translate: -9% 0;
}

.acts__hero--pvp .acts__fig img {
  left: 0;
  translate: -32% 0;
}

.acts__hero--dungeon .acts__fig img {
  left: 0;
  translate: -19% 0;
}

/* the elf a little smaller, in scale with the Kamael and the knight */
.acts__hero--pvp .acts__fig img {
  height: 104%;
  translate: -26% 0;
}

/* hover: figures cut by the card grow from the bottom edge instead of lifting off it */
.acts__fig img {
  transform-origin: 50% 100%;
}

.acts__hero:hover .acts__fig img,
.acts__hero:focus-visible .acts__fig img,
.acts__hero.is-active .acts__fig img {
  transform: scale(1.03);
}

.acts__hero--pvp .acts__fig img {
  bottom: -5%;
}

/* Server Features: the Legacy Activities cards of a section, as a crystal picture strip */
.feat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.feat-strip li {
  position: relative;
  overflow: hidden;
  aspect-ratio: 240 / 196;
  border: 1px solid transparent;
  border-radius: var(--r-sm, 10px);
  background: linear-gradient(#091126, #091126) padding-box, var(--chrome) border-box;
  box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.12), 0 16px 30px -18px rgba(0, 0, 0, 0.9);
}

.feat-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0.5px) saturate(1.05) brightness(0.9);
}

.feat-strip li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 26%, transparent 42%),
    linear-gradient(180deg, transparent 55%, rgba(7, 15, 31, 0.9) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feat-strip span {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  z-index: 2;
  color: #eef3fb;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 680px) {
  .feat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Premium rewards: Journey III & IV share one card, side by side */
.premium__unlock-art.is-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.premium__unlock-art.is-split img {
  min-width: 0;
}

.premium__unlock-art.is-split img + img {
  border-left: 1px solid rgba(200, 222, 255, 0.35);
}

/* Kill Effects: three effect icons side by side, split by thin lines like the Journeys card */
.premium__unlock-art.is-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(180deg, #0f1e41, #0b1630);
}

.premium__icon {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  background: radial-gradient(circle at 50% 45%, rgba(47, 134, 255, 0.22), transparent 62%);
}

.premium__icon + .premium__icon {
  border-left: 1px solid rgba(200, 222, 255, 0.35);
}

.premium__icon:nth-child(1) { background: radial-gradient(circle at 50% 45%, rgba(240, 80, 110, 0.26), transparent 62%); }
.premium__icon:nth-child(2) { background: radial-gradient(circle at 50% 45%, rgba(110, 190, 255, 0.28), transparent 62%); }
.premium__icon:nth-child(3) { background: radial-gradient(circle at 50% 45%, rgba(120, 220, 140, 0.24), transparent 62%); }

.premium__icon img {
  display: block;
  width: min(76px, 88%);
  height: auto;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 30%, rgba(80, 130, 220, 0.35), rgba(6, 12, 28, 0.9)) padding-box,
    linear-gradient(160deg, #eaf2ff, #7f9cc9 40%, #22365e 65%, #c9daf5) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 22px -8px rgba(0, 0, 0, 0.85);
  transition: transform 0.6s var(--ease);
}

.premium__unlock:hover .premium__icon img {
  transform: scale(1.08);
}

.premium__unlock-art.is-icons::after {
  background: linear-gradient(180deg, transparent 65%, rgba(7, 15, 31, 0.55));
}

/* PvP cards: the picture sits higher, so the arena shows above the text instead of only sky */
.act-card--pvp .act-card__art {
  bottom: auto;
  height: 74%;
}

.act-card--pvp .act-card__art img {
  object-position: center 62%;
}

.act-card--pvp .act-card__art::after {
  background: linear-gradient(180deg, rgba(7, 15, 31, 0) 0%, rgba(7, 15, 31, 0.15) 45%, #091126 100%);
}

/* the zoomed picture stays inside its area (no stripes under the fade) */
.act-card--pvp .act-card__art {
  overflow: hidden;
}

/* Premium rewards: a wide cut-out group (the mounts) standing in the card */
.premium__unlock-art.is-wide {
  background:
    radial-gradient(ellipse 70% 55% at 50% 62%, rgba(47, 134, 255, 0.2), transparent 70%),
    linear-gradient(180deg, #0f1e41, #0b1630);
}

.premium__unlock-art.is-wide img {
  position: absolute;
  bottom: 2%;
  left: 50%;
  width: 160%;
  max-width: none;
  height: auto;
  object-fit: contain;
  translate: -50% 0;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.6));
}

.premium__unlock:hover .premium__unlock-art.is-wide img {
  transform: scale(1.05);
}

/* ==========================================================================
   Every item slot on the site: the same liquid crystal frame as the dashboard
   (server features icons, mounts and kill effects, gift and Journey rewards)
   ========================================================================== */
.gi:not(.gi--medal),
.gift-item__icon,
.gift-content__icon,
.rw-item__icon,
.rw-story__rewards img {
  border: 1px solid transparent;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 30%, rgba(80, 130, 220, 0.35), rgba(6, 12, 28, 0.9)) padding-box,
    linear-gradient(160deg, #eaf2ff, #7f9cc9 40%, #22365e 65%, #c9daf5) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 14px -6px rgba(0, 0, 0, 0.8);
}

.rw-story__rewards img {
  border-radius: 7px;
}

.gi:not(.gi--medal):hover,
.gi:not(.gi--medal):focus-visible {
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 3px rgba(150, 190, 255, 0.18), 0 0 18px -4px rgba(120, 170, 255, 0.7);
}

/* mount and kill effect tiles: glass panels with a chrome rim */
.mount {
  border: 1px solid transparent;
  border-radius: var(--r-sm, 10px);
  background:
    linear-gradient(180deg, rgba(20, 38, 80, 0.75), rgba(8, 16, 36, 0.85)) padding-box,
    linear-gradient(160deg, rgba(234, 242, 255, 0.45), rgba(127, 156, 201, 0.18) 40%, rgba(34, 54, 94, 0.4) 65%, rgba(201, 218, 245, 0.4)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Journey reward cards and the gift list rows follow the same blue glass */
.rw-item {
  border-color: rgba(150, 190, 255, 0.22);
  border-radius: var(--r-sm, 10px);
}

.rw-item:hover,
.rw-item.is-active {
  border-color: rgba(150, 190, 255, 0.6);
  background: linear-gradient(180deg, rgba(47, 134, 255, 0.1), rgba(0, 0, 0, 0.12));
}

.rw-story__rewards li {
  border-color: rgba(150, 190, 255, 0.22);
  border-radius: 9px;
}

/* ---------- Server Features menu, quieter: a light glass panel, numbered chapters
   and a thin rail where the current topic lights up (no boxes) ---------- */
@media (min-width: 1024px) {
  .feat-layout .feat-nav {
    padding: 22px 16px 18px;
    border: 1px solid rgba(160, 196, 245, 0.14);
    background: linear-gradient(180deg, rgba(20, 38, 80, 0.55), rgba(9, 18, 40, 0.6));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(235, 244, 255, 0.08), 0 24px 50px -30px rgba(0, 0, 0, 0.8);
    counter-reset: featcat;
  }

  .feat-layout .feat-nav .feat-nav__title {
    margin: 0 4px 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(160, 196, 245, 0.12);
    font: 600 0.68rem var(--font-ui);
    letter-spacing: 0.26em;
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: var(--gold-pale, #e9d9b0);
    color: var(--gold-pale, #e9d9b0);
    opacity: 0.75;
  }

  .feat-layout .feat-nav .feat-nav__groups {
    gap: 0;
  }

  .feat-layout .feat-nav .feat-nav__cat {
    counter-increment: featcat;
  }

  .feat-layout .feat-nav .feat-nav__cat-btn {
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 4px;
    border-radius: 0;
    font-size: 0.66rem;
    letter-spacing: 0.13em;
    text-align: left;
    white-space: nowrap;
  }

  .feat-layout .feat-nav .feat-nav__cat-btn::before {
    content: counter(featcat, decimal-leading-zero);
    min-width: 16px;
    color: rgba(169, 205, 246, 0.45);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .feat-layout .feat-nav .feat-nav__cat-btn i {
    margin-left: auto;
    font-size: 0.56rem;
    opacity: 0.45;
  }

  .feat-layout .feat-nav .feat-nav__cat-btn:hover {
    background: none;
  }

  .feat-layout .feat-nav .feat-nav__cat-btn:hover i,
  .feat-layout .feat-nav .feat-nav__cat.is-open > .feat-nav__cat-btn i {
    opacity: 0.85;
  }

  .feat-layout .feat-nav .feat-nav__cat.is-open > .feat-nav__cat-btn::before {
    color: #8fd0ff;
  }

  /* the topics hang on a thin rail under their chapter */
  .feat-layout .feat-nav .feat-nav__items {
    gap: 0;
    margin: 0 0 8px 11px;
    padding: 2px 0;
    border-left: 1px solid rgba(160, 196, 245, 0.16);
  }

  .feat-layout .feat-nav .feat-nav__items a {
    margin-left: -1px;
    padding: 7px 12px 7px 16px;
    border: 0;
    border-left: 1px solid transparent;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: rgba(214, 226, 245, 0.62);
    font-size: 0.86rem;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .feat-layout .feat-nav .feat-nav__items a:hover {
    background: none;
    color: #eef3fb;
    border-left-color: rgba(160, 196, 245, 0.45);
  }

  .feat-layout .feat-nav .feat-nav__items a.is-active {
    background: none;
    box-shadow: none;
    color: #fff;
    border-left: 1px solid #8fd0ff;
    text-shadow: 0 0 14px rgba(143, 208, 255, 0.45);
    filter: drop-shadow(-1px 0 4px rgba(143, 208, 255, 0.7));
  }

  .feat-layout .feat-nav .feat-nav__sub {
    margin: 0 0 2px 16px;
    padding-left: 0;
    border-left: 0;
  }

  .feat-layout .feat-nav .feat-nav__sub a {
    padding: 4px 0;
    border: 0;
    font-size: 0.78rem;
  }

  .feat-layout .feat-nav .feat-nav__sub a::before {
    content: "- ";
    opacity: 0.5;
  }

  .feat-layout .feat-nav .feat-nav__sub a.is-active,
  .feat-layout .feat-nav .feat-nav__sub a:hover {
    border: 0;
    filter: none;
  }
}

/* phones and tablets: one slim crystal bar, no box around it */
@media (max-width: 1023px) {
  .feat-layout .feat-nav {
    margin-bottom: 10px;
    padding: 8px 16px 14px;
    border: 0;
    background: linear-gradient(180deg, rgba(7, 14, 30, 0.96) 55%, rgba(7, 14, 30, 0));
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .feat-layout .feat-nav .feat-nav__toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background:
      linear-gradient(180deg, rgba(16, 32, 70, 0.92), rgba(8, 17, 38, 0.94)) padding-box,
      linear-gradient(160deg, rgba(234, 242, 255, 0.55), rgba(127, 156, 201, 0.25) 40%, rgba(34, 54, 94, 0.4) 65%, rgba(201, 218, 245, 0.45)) border-box;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px -14px rgba(0, 0, 0, 0.9);
  }

  .feat-layout .feat-nav .feat-nav__toggle span {
    flex: none;
    padding-right: 12px;
    border-right: 1px solid rgba(160, 196, 245, 0.2);
    color: rgba(169, 205, 246, 0.7);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
  }

  .feat-layout .feat-nav .feat-nav__toggle strong {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
    font-weight: 600;
  }

  .feat-layout .feat-nav .feat-nav__toggle i {
    flex: none;
    font-size: 0.7rem;
    color: #a9cdf6;
  }

  .feat-layout .feat-nav.is-menu-open .feat-nav__groups {
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(160, 196, 245, 0.16);
    border-radius: var(--r);
    background: rgba(8, 17, 38, 0.97);
  }

  .feat-layout .feat-nav .feat-nav__cat + .feat-nav__cat {
    border-top: 1px solid rgba(160, 196, 245, 0.08);
  }

  .feat-layout .feat-nav .feat-nav__items {
    margin-left: 10px;
    border-left: 1px solid rgba(160, 196, 245, 0.16);
  }

  .feat-layout .feat-nav .feat-nav__items a {
    margin-left: -1px;
    border-left: 1px solid transparent;
    color: rgba(214, 226, 245, 0.7);
  }

  .feat-layout .feat-nav .feat-nav__items a.is-active {
    border: 0;
    border-left: 1px solid #8fd0ff;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #fff;
  }
}

/* Premium rewards: a quiet "Learn more" under each card, to its part of Server Features */
.premium__unlock .premium__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 2px 2px;
  color: #a9cdf6;
  font: 600 0.7rem var(--font-ui);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s ease;
}

.premium__unlock .premium__more::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 205, 246, 0.7));
  transition: width 0.3s var(--ease);
}

.premium__unlock .premium__more i {
  font-size: 0.66rem;
  transition: transform 0.3s var(--ease);
}

.premium__unlock .premium__more:hover,
.premium__unlock .premium__more:focus-visible {
  color: #eaf2ff;
}

.premium__unlock .premium__more:hover::before {
  width: 34px;
}

.premium__unlock .premium__more:hover i {
  transform: translateX(4px);
}

.premium__unlock > span {
  flex: none;
}

/* Server Features: the mounts and Kill Effects lists can be opened by link */
#premium-mounts,
#premium-kill-effects {
  scroll-margin-top: calc(var(--header-h) + var(--announce-h) + 80px);
}

/* ---------- Castle owners: cards like the in-game Castle Information window (assets/img/castles) ---------- */
.cq-castles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.cq-castles li.cq-castle {
  position: relative;
  display: flex;
  flex: 1 1 340px;
  gap: 20px;
  box-sizing: border-box;
  max-width: 480px;
  min-height: 270px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03) 45%, rgba(222, 186, 120, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 18px 36px -18px rgba(0, 0, 0, 0.75);
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.cq-castle__flag {
  flex: 0 0 auto;
  align-self: flex-start;
  width: 96px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
}

.cq-castle__info {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

.cq-castle__mark {
  display: block;
  width: 22px;
  height: auto;
  filter: brightness(1.35);
}

.cq-castle__name {
  margin: 0 0 12px;
  color: #e6c98a;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
}

.cq-castle dl {
  display: grid;
  gap: 8px;
  margin: 0;
  text-align: left;
}

.cq-castle dt {
  color: var(--text-dim);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cq-castle dd {
  margin: 1px 0 0;
  overflow-wrap: anywhere;
  color: #f1ece0;
  font-size: 0.92rem;
  font-weight: 600;
}

.cq-castle__note {
  margin: 12px 0 0;
  color: var(--text-dim);
  font-size: 0.74rem;
  line-height: 1.35;
}

@media (max-width: 480px) {
  .cq-castles li.cq-castle {
    gap: 12px;
    padding: 18px 16px;
  }

  .cq-castle__flag {
    width: 64px;
  }
}

/* Home > The Server: the gold CTA sits under the rate pills, and the pill
   values use the same amber gold as the buttons */
.srv__guide--top {
  margin: 22px 0 0;
}

.rate-pill strong {
  border: 1px solid #ffe3a8;
  background:
    radial-gradient(ellipse 60% 70% at 28% -10%, rgba(255, 255, 255, 0.55), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.05) 46%, transparent 50%),
    radial-gradient(128% 100% at 50% 0%, #ffc470 3%, #a8430f 58%, #ff8a1c 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(90, 30, 0, 0.9), 0 1px 6px rgba(60, 20, 0, 0.5);
  box-shadow: 0 0 12px rgba(255, 150, 40, 0.3);
}

/* Home > The Server: liquid glass rate pills (same glass as the dashboard button),
   so the gold CTA under them stays the one bright thing in the block */
.rate-pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 46%, rgba(255, 255, 255, 0.07) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 8px 18px -12px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
}

.rate-pill strong {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.04) 46%, rgba(255, 255, 255, 0.11) 100%);
  color: #f1ece0;
  text-shadow: 0 1px 2px rgba(0, 10, 30, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(255, 255, 255, 0.07);
}

/* ==========================================================================
   Home hero: server list (top left), replaces the Grand Opening section
   ========================================================================== */
.realms {
  position: absolute;
  top: calc(var(--header-h) + var(--announce-h) + 28px);
  left: clamp(20px, 3vw, 48px);
  z-index: 4;
  display: grid;
  gap: 10px;
  width: 340px;
  text-align: left;
}

.realm {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px 14px 12px;
  border: 1px solid rgba(143, 208, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14, 28, 58, 0.82), rgba(7, 14, 30, 0.78));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.realm--main {
  border-color: rgba(255, 199, 110, 0.45);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(217, 120, 31, 0.28), transparent 60%),
    linear-gradient(135deg, rgba(40, 22, 14, 0.85), rgba(10, 14, 30, 0.82));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 26px rgba(255, 150, 40, 0.12), inset 0 1px 0 rgba(255, 227, 168, 0.12);
}

.realm__flag {
  position: absolute;
  top: -10px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  background: linear-gradient(180deg, #ffc470, #d9781f 60%, #a8430f);
  color: #fff;
  font: 700 0.62rem var(--font-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(90, 30, 0, 0.8);
  box-shadow: 0 4px 12px rgba(255, 120, 20, 0.35);
}

.realm__badge {
  display: grid;
  flex: none;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: 4px;
  border: 1px solid rgba(255, 227, 168, 0.5);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 199, 110, 0.25), rgba(8, 15, 32, 0.9) 70%);
  transform: rotate(45deg) scale(0.82);
}

.realm__badge img {
  width: 26px;
  height: auto;
  transform: rotate(-45deg) scale(1.2);
}

.realm__badge--rvb {
  border-color: rgba(176, 189, 208, 0.4);
  background: linear-gradient(135deg, rgba(200, 50, 50, 0.55) 0 50%, rgba(50, 110, 220, 0.55) 50% 100%);
  color: #fff;
  font-size: 1.15rem;
}

.realm__badge--rvb i {
  transform: rotate(-45deg);
}

.realm__body {
  flex: 1;
  min-width: 0;
}

.realm__top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.realm__name {
  margin: 0;
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.realm__name em {
  color: #ffc76e;
  font-style: normal;
}

.realm__status {
  display: inline-flex;
  flex: none;
  gap: 6px;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.3);
  color: #f3e6cc;
  font: 600 0.68rem var(--font-ui);
  letter-spacing: 0.06em;
}

.realm__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb347;
  box-shadow: 0 0 8px #ff9a2a;
}

.realm__status--soon {
  color: #b9c6dc;
}

.realm__status--soon i {
  background: #7d8aa3;
  box-shadow: none;
}

.realm__tag {
  margin: 4px 0 0;
  color: #b9c6dc;
  font-size: 0.76rem;
}

.realm__gifts {
  display: flex;
  gap: 6px;
  margin: 10px 0 8px;
  padding: 6px;
  border: 1px solid rgba(255, 199, 110, 0.25);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.realm__gifts:hover {
  border-color: rgba(255, 199, 110, 0.6);
}

.realm__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(233, 199, 126, 0.4);
  border-radius: 6px;
  background: #081023;
}

.realm__item img {
  width: 32px;
  height: 32px;
}

.realm__item--box {
  border-color: rgba(255, 199, 110, 0.75);
  box-shadow: 0 0 10px rgba(255, 150, 40, 0.35);
}

.realm__item b {
  position: absolute;
  right: 2px;
  bottom: 0;
  color: #fff;
  font: 700 0.62rem var(--font-ui);
  text-shadow: 0 0 3px #000, 0 0 3px #000;
}

.realm__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #ffd79a;
  font: 700 0.7rem var(--font-ui);
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.realm__link i {
  font-size: 0.62rem;
  transition: transform 0.25s ease;
}

.realm__link:hover {
  color: #fff;
}

.realm__link:hover i {
  transform: translateX(3px);
}

.realm--soon {
  opacity: 0.85;
}

@media (max-width: 1023px) {
  .realms {
    position: relative;
    top: auto;
    left: auto;
    width: min(420px, calc(100% - 32px));
    margin: 14px auto 26px;
  }

  .hero__content {
    padding-bottom: 18px;
  }

  .hero {
    flex-direction: column;
    justify-content: flex-end;
  }
}

/* server list: liquid glass cards, crystal item slots, red flag */
.realm,
.realm--main {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 46%, rgba(255, 255, 255, 0.08) 100%),
    rgba(8, 16, 36, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -10px 22px rgba(255, 255, 255, 0.04),
    0 18px 36px -14px rgba(0, 0, 0, 0.75);
}

.realm--main {
  border-color: rgba(255, 255, 255, 0.3);
}

.realm--soon {
  opacity: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 46%, rgba(255, 255, 255, 0.05) 100%),
    rgba(8, 16, 36, 0.38);
}

.realm--soon .realm__name {
  color: #d5dcea;
}

.realm__flag {
  background: linear-gradient(180deg, #ff5d6c, #e0213a 55%, #a3101f);
  text-shadow: 0 1px 0 rgba(80, 0, 10, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 14px rgba(230, 30, 60, 0.4);
}

.realm__badge,
.realm__badge--rvb {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.1));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 8px 18px -10px rgba(0, 0, 0, 0.8);
}

.realm__status {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #f1ece0;
}

.realm__status i {
  background: #8fd0ff;
  box-shadow: 0 0 8px rgba(143, 208, 255, 0.9);
}

.realm__name em {
  color: #8fd0ff;
}

.realm__gifts {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 10, 24, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.realm__gifts:hover {
  border-color: rgba(143, 208, 255, 0.5);
}

.realm__item,
.realm__item--box {
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 30%, rgba(80, 130, 220, 0.35), rgba(6, 12, 28, 0.9)) padding-box,
    linear-gradient(160deg, #eaf2ff, #7f9cc9 40%, #22365e 65%, #c9daf5) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 14px -6px rgba(0, 0, 0, 0.8);
}

.realm__link {
  color: #cfe3ff;
}

.realm__status--soon i {
  background: #7d8aa3;
  box-shadow: none;
}

.realm__icon {
  flex: none;
  width: 56px;
  height: 56px;
  margin-top: 2px;
}

.realm__icon img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}

.realm--main .realm__icon img {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 10px rgba(60, 130, 255, 0.35));
}

/* server list: slimmer */
.realms {
  gap: 8px;
  width: 300px;
}

.realm {
  gap: 11px;
  align-items: center;
  padding: 9px 12px 9px 9px;
  border-radius: 12px;
}

.realm--main {
  align-items: flex-start;
  padding-top: 13px;
}

.realm__icon {
  width: 42px;
  height: 42px;
  margin-top: 0;
}

.realm__name {
  font-size: 0.98rem;
}

.realm__status {
  padding: 2px 7px;
  font-size: 0.62rem;
}

.realm__tag {
  margin-top: 1px;
  font-size: 0.7rem;
}

.realm__row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
}

.realm__gifts {
  gap: 4px;
  margin: 0;
  padding: 3px;
  border-radius: 8px;
}

.realm__item {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.realm__item img {
  width: 24px;
  height: 24px;
}

.realm__item b {
  font-size: 0.56rem;
}

.realm__link {
  gap: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.realm__flag {
  top: -8px;
  padding: 2px 8px;
  font-size: 0.56rem;
}

@media (max-width: 1023px) {
  .realms {
    width: min(380px, calc(100% - 32px));
  }
}

/* Newsletter window (the Grand Opening section moved here) */
.modal.nl-dlg {
  width: min(760px, calc(100vw - 32px));
  padding: 40px 28px 28px;
}

.nl-dlg .launch__title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.nl-dlg .launch__date {
  margin: 6px 0 22px;
}

.nl-dlg .go-card {
  margin: 0;
}

.nl-dlg .newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nl-dlg .go-card__form {
  flex-wrap: wrap;
}

.nl-dlg .go-card__form input[type="email"] {
  flex: 1 1 100%;
  padding-left: 40px;
}

.nl-dlg .go-card__form .gem-btn {
  flex: 1 1 100%;
}

.nl-dlg .go-card__form .gem-btn__face {
  width: 100%;
}

.nl-dlg .newsletter__status:empty {
  display: none;
}

/* The news cards overlap the bottom of the hero by 110px. The Grand Opening
   section used to sit under them; now the fair-play strip does, so it starts
   below the cards. */
.hero ~ .pledge {
  padding-top: 110px;
}

/* Premium > More Mounts on phones: the whole mount group fits the card
   instead of a 160% close-up that cut off heads and sides */
@media (max-width: 720px) {
  .premium__unlock-art.is-wide {
    height: auto;
    aspect-ratio: 1.95;
  }

  .premium__unlock-art.is-wide img {
    bottom: 3%;
    width: 124%;
  }
}

/* ==========================================================================
   Forum (/forum): spaces left, threads in the middle, account and rules right
   ========================================================================== */
.fm-hero .page-hero__bg { object-position: center 40%; }

.fm__wrap {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.fm__side,
.fm__rail {
  position: sticky;
  top: calc(var(--header-h) + var(--announce-h) + 16px);
  display: grid;
  gap: 14px;
}

.fm__label,
.fm-label {
  margin: 0 0 6px;
  color: var(--text-dim);
  font: 600 0.64rem var(--font-ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fm__spaces { display: grid; gap: 2px; }

.fm-space {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--text-dim);
  font-size: 0.88rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.fm-space:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

.fm-space.is-on {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 2px 0 0 #8fd0ff;
}

.fm__main { min-width: 0; display: grid; gap: 14px; }

/* glass surfaces */
.fm-card,
.fm-post,
.fm-op,
.fm-reply,
.fm-closed,
.fm-replybox form {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.05) 100%),
    rgba(8, 16, 36, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 30px -18px rgba(0, 0, 0, 0.8);
}

.fm-card { padding: 16px; display: grid; gap: 10px; }
.fm-card__title { margin: 0; color: #fff; font-family: var(--font-title); font-size: 1rem; }
.fm-card__text { margin: 0; color: var(--text-dim); font-size: 0.86rem; }
.fm-card__link { color: #a9cdf6; font-size: 0.82rem; }
.fm-card .gem-btn { justify-self: start; }
.fm-rules { margin: 0; padding-left: 18px; color: var(--text-dim); font-size: 0.82rem; display: grid; gap: 4px; }

.fm-me { display: flex; gap: 12px; align-items: center; }
.fm-me__name { color: #fff; font-weight: 600; text-decoration: none; }

.fm-listhead { display: grid; gap: 6px; }
.fm-h2 { margin: 0; font-family: var(--font-title); font-size: 1.5rem; color: #fff; }
.fm-sub { margin: 0; color: var(--text-dim); font-size: 0.92rem; }

.fm-tabs { display: flex; gap: 6px; margin-top: 8px; }
.fm-tab {
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  color: var(--text-dim);
  font: 500 0.82rem var(--font-ui);
  cursor: pointer;
}
.fm-tab.is-on { color: #fff; border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); }

.fm-list { display: grid; gap: 12px; }
.fm-empty { margin: 0; padding: 22px; color: var(--text-dim); text-align: center; }

/* thread card */
.fm-post { padding: 14px 16px; display: grid; gap: 8px; }
.fm-post.is-pinned { border-color: rgba(143, 208, 255, 0.4); }
.fm-post__head { display: flex; gap: 11px; align-items: center; min-width: 0; }
.fm-post__tags { margin-left: auto; display: flex; gap: 6px; align-self: flex-start; flex: none; }
.fm-post__title { color: #fff; font-weight: 600; font-size: 1.02rem; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.fm-post__title:hover { color: #cfe8ff; }
.fm-post__excerpt { margin: 0; color: var(--text-dim); font-size: 0.88rem; overflow-wrap: anywhere; }
.fm-post__foot { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--text-dim); font-size: 0.78rem; }

.fm-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid rgba(143, 208, 255, 0.35);
  border-radius: 10px;
  background: #0a1328;
  color: #cfe3ff;
  font-weight: 700;
}
.fm-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.fm-av--lg { width: 46px; height: 46px; border-radius: 12px; }

.fm-who { min-width: 0; }
.fm-who__line { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.86rem; }
.fm-who__name { color: #fff; font-weight: 600; text-decoration: none; }
.fm-who__name:hover { color: #cfe8ff; }

.fm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--text-dim);
  font: 600 0.64rem var(--font-ui);
  letter-spacing: 0.04em;
}
.fm-badge--staff { color: #fff; border-color: rgba(255, 93, 108, 0.6); background: rgba(255, 93, 108, 0.22); text-transform: uppercase; }
.fm-badge--mod { color: #d9ccff; border-color: rgba(185, 162, 255, 0.5); background: rgba(185, 162, 255, 0.14); }
.fm-badge--char { color: #cfe3ff; }
.fm-badge--char i { color: #6fdc9a; font-size: 0.6rem; }
.fm-badge--clan { color: #8fd0ff; border-color: rgba(143, 208, 255, 0.35); }

.fm-kind {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-dim);
  font: 600 0.6rem var(--font-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fm-kind--guide { color: #6fdc9a; background: rgba(111, 220, 154, 0.12); }
.fm-kind--question { color: #8fd0ff; background: rgba(143, 208, 255, 0.12); }
.fm-kind--lfg { color: #ffb54d; background: rgba(255, 181, 77, 0.14); }
.fm-kind--trade { color: #ffd27a; background: rgba(255, 210, 122, 0.12); }
.fm-kind--clip { color: #b9a2ff; background: rgba(185, 162, 255, 0.14); }
.fm-kind--bug { color: #ff8a95; background: rgba(255, 93, 108, 0.12); }
.fm-kind--suggestion { color: #a9cdf6; background: rgba(169, 205, 246, 0.12); }
.fm-kind--pin { color: #fff; background: rgba(47, 134, 255, 0.35); }

.fm-vote {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: 600 0.78rem var(--font-ui);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.fm-vote:hover { border-color: rgba(143, 208, 255, 0.5); }
.fm-vote.is-on { color: #8fd0ff; border-color: rgba(143, 208, 255, 0.6); background: rgba(143, 208, 255, 0.12); }
.fm-stat { display: inline-flex; gap: 4px; align-items: center; color: var(--text-dim); text-decoration: none; }
.fm-stat--space:hover { color: #fff; }
.fm-time { color: var(--text-dim); }
.fm-answered { color: #6fdc9a; font: 600 0.66rem var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; }
.fm-answered--head { margin-left: auto; }

.fm-more { justify-self: center; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 9px; background: rgba(255, 255, 255, 0.05); color: var(--text); cursor: pointer; }

/* thread page */
.fm-crumbs { display: flex; gap: 8px; color: var(--text-dim); font-size: 0.8rem; }
.fm-crumbs a { color: #a9cdf6; text-decoration: none; }
.fm-op { padding: 20px; display: grid; gap: 12px; }
.fm-op__title { margin: 0; color: #fff; font: 700 1.45rem/1.3 var(--font-ui); overflow-wrap: anywhere; }
.fm-meta { margin: 0; color: var(--text-dim); font-size: 0.76rem; }
.fm-text { display: grid; gap: 10px; color: var(--text); font-size: 0.95rem; line-height: 1.65; overflow-wrap: anywhere; }
.fm-text p { margin: 0; }
.fm-ext { color: #8fd0ff; text-decoration: underline; text-decoration-color: rgba(143, 208, 255, 0.4); text-underline-offset: 3px; }
.fm-ext::after { content: " \2197"; font-size: 0.8em; }
.fm-tagrow { display: flex; flex-wrap: wrap; gap: 6px; }
.fm-tag { padding: 2px 9px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); color: var(--text-dim); font-size: 0.76rem; }

.fm-replies { display: grid; gap: 10px; }
.fm-reply { padding: 14px 16px; display: grid; gap: 8px; }
.fm-reply.is-staff { border-color: rgba(255, 93, 108, 0.4); }
.fm-reply.is-answer { border-color: rgba(111, 220, 154, 0.5); }
.fm-reply .fm-text { font-size: 0.9rem; }

.fm-actions { margin-left: auto; display: flex; gap: 4px; }
.fm-act { padding: 4px 9px; border: 0; border-radius: 7px; background: none; color: var(--text-dim); font: 500 0.76rem var(--font-ui); cursor: pointer; }
.fm-act:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.fm-act--staff { color: #ff8a95; }

.fm-note { margin: 0; padding: 9px 12px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); color: var(--text-dim); font-size: 0.84rem; }
.fm-note--warn { color: #ffd9a0; background: rgba(255, 181, 77, 0.1); border: 1px solid rgba(255, 181, 77, 0.3); }

.fm-replybox form { padding: 14px; }
.fm-back { color: #a9cdf6; }

/* forms (composer, reply, join, dialogs) */
.fm-form { display: grid; gap: 12px; text-align: left; }
.fm-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fm-form__row--end { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; }
.fm-field { display: grid; gap: 5px; min-width: 0; }
.fm-field > span { color: var(--text-dim); font: 600 0.68rem var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; }
.fm-field em { font-style: normal; letter-spacing: 0; text-transform: none; font-weight: 400; opacity: 0.8; }
.fm-field--inline { flex: 1 1 200px; max-width: 320px; }
.fm-field input,
.fm-field select,
.fm-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(4, 10, 24, 0.6);
  color: var(--text);
  font: 400 0.92rem var(--font-ui);
}
.fm-field textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.fm-field input:focus,
.fm-field select:focus,
.fm-field textarea:focus { outline: none; border-color: rgba(143, 208, 255, 0.6); box-shadow: 0 0 0 3px rgba(143, 208, 255, 0.15); }
.fm-form__note { margin: 0; color: var(--text-dim); font-size: 0.8rem; }
.fm-form__status { margin: 0; font-size: 0.84rem; }
.fm-form__status:empty { display: none; }
.fm-form__status.is-error { color: #ff9aa4; }
.fm-form__status.is-success { color: #6fdc9a; }
.fm-form .gem-btn { justify-self: start; }
.fm-edit { margin-top: 4px; }
.fm-edit__row { display: flex; gap: 10px; align-items: center; }

.modal.fm-dlg { width: min(640px, calc(100vw - 32px)); padding: 34px 26px 26px; }
.modal.fm-dlg--sm { width: min(440px, calc(100vw - 32px)); }
.fm-dlg__title { margin: 0 0 16px; font-family: var(--font-title); font-size: 1.35rem; color: #fff; text-align: left; }

.fm-closed { padding: 34px 26px; display: grid; gap: 12px; justify-items: center; text-align: center; }

.fm__fab { display: none; }

.fm-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(8, 16, 36, 0.95);
  color: #fff;
  font-size: 0.86rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.fm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .fm__wrap { grid-template-columns: 180px minmax(0, 1fr); }
  .fm__rail { grid-column: 1 / -1; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .fm__wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fm__side { position: static; }
  .fm__side .fm__label { display: none; }
  .fm__spaces { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .fm-space { flex: none; padding: 6px 12px; background: rgba(255, 255, 255, 0.05); }
  .fm-space.is-on { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); background: rgba(143, 208, 255, 0.18); }
  .fm__rail { grid-template-columns: minmax(0, 1fr); order: 3; }
  .fm-form__row { grid-template-columns: minmax(0, 1fr); }
  .fm-post__head { flex-wrap: wrap; }
  .fm-op { padding: 16px; }
  .fm-op__title { font-size: 1.2rem; }
  .fm__fab:not([hidden]) {
    display: inline-flex;
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
  }
}

.fm.is-closed .fm__side,
.fm.is-closed .fm__rail { display: none; }
.fm.is-closed .fm__wrap { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

@media (max-width: 760px) {
  .fm-who { flex: 1 1 0; }
  .fm-post__tags { order: 3; width: 100%; margin-left: 0; }
  .fm-actions { margin-left: 0; }
}

/* ==========================================================================
   Forum inside the dashboard (data-view="forum"): slim cover, spaces as a bar,
   threads with the vote on the side, rail on the right
   ========================================================================== */
.fm-view { display: grid; gap: 18px; }

.fm-cover {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  border: 1px solid rgba(143, 208, 255, 0.22);
  border-radius: 16px;
  isolation: isolate;
}
.fm-cover__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  animation: fm-drift 26s ease-in-out infinite alternate;
}
.fm-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 12, 28, 0.94) 0%, rgba(6, 12, 28, 0.72) 42%, rgba(6, 12, 28, 0.35) 100%),
    linear-gradient(0deg, rgba(6, 12, 28, 0.6), transparent 60%);
}
.fm-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 208, 255, 0.7), transparent);
}
@keyframes fm-drift { to { transform: scale(1.1) translateX(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .fm-cover__bg { animation: none; } }

.fm-cover__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  min-height: 132px;
  padding: 20px 24px;
}
.fm-cover__title { flex: 1 1 260px; min-width: 0; }
.fm-cover__title h1 {
  margin: 0;
  color: #fff;
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 18px rgba(47, 134, 255, 0.45);
}
.fm-cover__title p { margin: 2px 0 0; color: #c5d3e8; font-size: 0.9rem; }
.fm-cover__stats { display: flex; gap: 8px; }
.fm-cover__stats[hidden] { display: none; }
.fm-cover__stat {
  display: grid;
  min-width: 78px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
}
.fm-cover__stat b { color: #fff; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.fm-cover__stat span { color: #a9cdf6; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }

.fm-search {
  position: relative;
  flex: 0 1 280px;
  min-width: 200px;
}
.fm-search[hidden] { display: none; }
.fm-search i { position: absolute; left: 13px; top: 50%; translate: 0 -50%; color: #a9cdf6; font-size: 0.85rem; }
.fm-search input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px;
  background: rgba(4, 10, 24, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font: 400 0.9rem var(--font-ui);
}
.fm-search input:focus { outline: none; border-color: rgba(143, 208, 255, 0.7); box-shadow: 0 0 0 3px rgba(143, 208, 255, 0.15); }

/* layout: spaces bar on top, threads and rail below */
.fm-view .fm__wrap {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px 22px;
}
.fm-view .fm__side {
  grid-column: 1 / -1;
  position: static;
  display: block;
}
.fm-view .fm__side .fm__label { display: none; }
.fm-view .fm__spaces {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  scrollbar-width: none;
}
.fm-view .fm__spaces::-webkit-scrollbar { display: none; }
.fm-view .fm__rail { top: 76px; }
.fm.is-closed .fm__wrap { grid-template-columns: minmax(0, 1fr); max-width: none; }

.fm-space {
  display: inline-flex;
  flex: none;
  gap: 8px;
  align-items: center;
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
}
.fm-space__ic {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--sc, #8fd0ff) 18%, transparent);
  color: var(--sc, #8fd0ff);
  font-size: 0.72rem;
}
.fm-space__n {
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}
.fm-space.is-on {
  border-color: color-mix(in srgb, var(--sc, #8fd0ff) 55%, transparent);
  background: color-mix(in srgb, var(--sc, #8fd0ff) 14%, rgba(8, 16, 36, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* list header */
.fm-listbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; justify-content: space-between; }
.fm-listbar .fm-tabs { margin: 0; padding: 3px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 11px; background: rgba(255, 255, 255, 0.03); }
.fm-spacehead { display: flex; gap: 14px; align-items: center; }
.fm-spacehead__ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--sc) 45%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--sc) 16%, rgba(8, 16, 36, 0.6));
  color: var(--sc);
  font-size: 1.1rem;
  box-shadow: 0 0 24px -6px color-mix(in srgb, var(--sc) 60%, transparent);
}

/* start a thread */
.fm-start {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 55%), rgba(8, 16, 36, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.fm-start__field {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(4, 10, 24, 0.45);
  color: var(--text-dim);
  font: 400 0.9rem var(--font-ui);
  text-align: left;
  cursor: text;
  transition: border-color 0.2s ease;
}
.fm-start__field:hover { border-color: rgba(143, 208, 255, 0.45); color: #fff; }

/* thread card with the vote column */
.fm-view .fm-post {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}
.fm-view .fm-post:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--sc, #8fd0ff) 45%, rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 34px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px color-mix(in srgb, var(--sc, #8fd0ff) 12%, transparent);
}
.fm-post__vote {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--sc, #8fd0ff) 10%, transparent), transparent 70%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.fm-post__body { display: grid; gap: 8px; min-width: 0; padding: 14px 16px; }
.fm-vote--stack { flex-direction: column; gap: 2px; padding: 6px 8px; min-width: 38px; height: fit-content; }
.fm-vote.is-pop { animation: fm-pop 0.4s var(--ease); }
@keyframes fm-pop { 40% { transform: scale(1.18); } }
.fm-post__title { font-size: 1.06rem; }
.fm-post.is-pinned .fm-post__vote { background: linear-gradient(180deg, rgba(47, 134, 255, 0.22), transparent 80%); }

.fm-spacechip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 2px 9px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--sc) 12%, transparent);
  color: color-mix(in srgb, var(--sc) 80%, #fff);
  font-size: 0.74rem;
  text-decoration: none;
}
.fm-spacechip i { font-size: 0.66rem; }
.fm-stat--last { color: #c5d3e8; }
.fm-stat--last .fm-time { margin-left: 2px; }
.fm-kind--answered { color: #6fdc9a; background: rgba(111, 220, 154, 0.14); }
.fm-kind--head { margin-left: auto; }
.fm-who__sub { color: var(--text-dim); font-size: 0.74rem; }

/* skeleton while loading */
.fm-skel { display: grid; gap: 10px; padding: 18px; cursor: default; }
.fm-view .fm-skel { grid-template-columns: 1fr; padding: 18px; }
.fm-skel__line { display: block; height: 11px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.12), rgba(255,255,255,0.05)); background-size: 200% 100%; animation: fm-shimmer 1.2s linear infinite; }
.fm-skel__line--a { width: 32%; }
.fm-skel__line--b { width: 78%; height: 15px; }
.fm-skel__line--c { width: 58%; }
@keyframes fm-shimmer { to { background-position: -200% 0; } }

/* empty states */
.fm-emptybox, .fm-closed { display: grid; gap: 10px; justify-items: center; padding: 38px 20px; text-align: center; }
.fm-emptybox { border: 1px dashed rgba(255, 255, 255, 0.16); border-radius: 14px; }
.fm-emptybox__ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--sc, #8fd0ff) 15%, transparent);
  color: var(--sc, #8fd0ff);
  font-size: 1.3rem;
  box-shadow: 0 0 30px -8px color-mix(in srgb, var(--sc, #8fd0ff) 70%, transparent);
}
.fm-emptybox__title { margin: 0; color: #fff; font-family: var(--font-title); font-size: 1.15rem; }

/* thread page */
.fm-view .fm-op { position: relative; overflow: hidden; padding: 22px 22px 16px; }
.fm-view .fm-op::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  z-index: -1;
  background: radial-gradient(ellipse 70% 100% at 20% 0%, color-mix(in srgb, var(--sc, #8fd0ff) 18%, transparent), transparent 70%);
}
.fm-view .fm-op { isolation: isolate; }
.fm-post__tags--op { margin: 0; }
.fm-crumbs { align-items: center; }
.fm-crumbs i { font-size: 0.6rem; opacity: 0.6; }
.fm-text ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.fm-text blockquote {
  margin: 0;
  padding: 8px 14px;
  border-left: 2px solid rgba(143, 208, 255, 0.5);
  border-radius: 0 9px 9px 0;
  background: rgba(143, 208, 255, 0.06);
  color: #c5d3e8;
}
.fm-text strong { color: #fff; }
.fm-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background:
    radial-gradient(ellipse 60% 70% at 50% 40%, rgba(255, 60, 60, 0.18), transparent 70%),
    linear-gradient(135deg, #0d1a38, #060c1c);
}
.fm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fm-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}
.fm-video__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 1.2rem;
  transition: transform 0.25s var(--ease), background-color 0.25s ease;
}
.fm-video__play:hover .fm-video__icon { transform: scale(1.08); background: rgba(255, 60, 60, 0.5); }
.fm-video__label { font-weight: 600; }
.fm-video__src { color: var(--text-dim); font-size: 0.72rem; }
.fm-reply.is-flash { animation: fm-flash 2s ease; }
@keyframes fm-flash { 0%, 40% { box-shadow: 0 0 0 2px rgba(143, 208, 255, 0.7); } }
.fm-act--accept { color: #6fdc9a; }
.fm-act.is-armed { color: #ff9aa4; background: rgba(255, 93, 108, 0.12); }
.fm-replyform { gap: 10px; }
.fm-replyform__top { display: flex; gap: 10px; align-items: center; color: var(--text-dim); font-size: 0.82rem; }

/* profile */
.fm-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(143, 208, 255, 0.25);
  border-radius: 16px;
  background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(47, 134, 255, 0.22), transparent 70%), rgba(8, 16, 36, 0.5);
}
.fm-profile__meta { flex: 1; min-width: 0; display: grid; gap: 4px; }
.fm-av--xl { width: 76px; height: 76px; border-radius: 18px; font-size: 1.6rem; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5); }

/* rail */
.fm-card--me { background: radial-gradient(ellipse 80% 90% at 100% 0%, rgba(47, 134, 255, 0.2), transparent 70%), rgba(8, 16, 36, 0.5); }
.fm-me__meta { min-width: 0; display: grid; gap: 2px; }
.fm-me__chars i { color: #6fdc9a; }
.fm-card__title i { color: #8fd0ff; font-size: 0.85em; }
.fm-popular { margin: 0; padding-left: 20px; display: grid; gap: 10px; counter-reset: none; }
.fm-popular li { color: var(--text-dim); font-size: 0.82rem; }
.fm-popular li::marker { color: #8fd0ff; font-weight: 700; }
.fm-popular a { display: block; color: #fff; text-decoration: none; line-height: 1.35; }
.fm-popular a:hover { color: #cfe8ff; }
.fm-popular__n { font-size: 0.72rem; }
.fm-card--rules summary { cursor: pointer; list-style: none; }
.fm-card--rules summary::-webkit-details-marker { display: none; }
.fm-card--rules summary::after { content: "\f107"; float: right; font: 900 0.8rem "Font Awesome 6 Free"; color: var(--text-dim); transition: transform 0.2s ease; }
.fm-card--rules[open] summary::after { transform: rotate(180deg); }

/* composer */
.fm-field__bar { display: flex; gap: 8px; align-items: center; color: var(--text-dim); font: 600 0.68rem var(--font-ui); letter-spacing: 0.12em; text-transform: uppercase; }
.fm-field__bar em { font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: 0.8; }
.fm-field__bar .fm-act { margin-left: auto; letter-spacing: 0; text-transform: none; }
.fm-preview { min-height: 200px; padding: 12px; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 10px; }
.fm-form__note i { color: #8fd0ff; }

/* floating new thread button on phones */
.fm-view .fm__fab { display: none; }
@media (max-width: 1100px) {
  .fm-view .fm__wrap { grid-template-columns: minmax(0, 1fr); }
  .fm-view .fm__rail { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); order: 3; }
}
@media (max-width: 760px) {
  .fm-cover__inner { padding: 16px; }
  .fm-cover__stats { order: 3; width: 100%; }
  .fm-cover__stat { flex: 1; min-width: 0; }
  .fm-search { flex: 1 1 100%; }
  .fm-view .fm-post { grid-template-columns: 44px minmax(0, 1fr); }
  .fm-post__body { padding: 12px; }
  .fm-start .gem-btn { display: none; }
  .fm-view .fm__fab:not([hidden]) {
    display: grid;
    place-items: center;
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    width: 56px;
    height: 56px;
    border: 1px solid #ffe3a8;
    border-radius: 18px;
    background: radial-gradient(128% 100% at 50% 0%, #ffc470 3%, #a8430f 58%, #ff8a1c 100%);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 12px 28px -8px rgba(255, 120, 20, 0.6);
  }
  .fm-view[hidden] .fm__fab { display: none !important; }
}

@media (max-width: 760px) {
  .fm-cover__inner { gap: 10px; min-height: 0; }
  .fm-cover__title p { display: none; }
  .fm-cover__stat { padding: 5px 8px; }
  .fm-cover__stat b { font-size: 0.92rem; }
  .fm-cover__stat span { font-size: 0.54rem; }
  .fm-search i { z-index: 1; }
}

/* Forum notifications: bell in the cover, panel under it */
.fm-bellwrap { position: relative; flex: none; }
.fm-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(4, 10, 24, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #dbe7f7;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.fm-bell:hover, .fm-bell[aria-expanded="true"] { border-color: rgba(143, 208, 255, 0.6); color: #fff; }
.fm-bell__n {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: #e0213a;
  color: #fff;
  font: 700 0.64rem/19px var(--font-ui);
  text-align: center;
  box-shadow: 0 0 0 2px #0b162f;
}
.fm-bell__n[hidden] { display: none; }
.fm-notes {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(360px, calc(100vw - 40px));
  max-height: 440px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(8, 15, 32, 0.97);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.9);
}
.fm-notes[hidden] { display: none; }
.fm-notes__head { padding: 12px 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.fm-notes__empty { margin: 0; padding: 18px 14px; color: var(--text-dim); font-size: 0.85rem; }
.fm-notes__list { display: grid; }
.fm-note-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.4;
  text-decoration: none;
}
.fm-note-item:hover { background: rgba(255, 255, 255, 0.04); }
.fm-note-item.is-new { background: rgba(143, 208, 255, 0.07); }
.fm-note-item.is-new::after { content: ""; flex: none; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #8fd0ff; }
.fm-note-item__ic { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(143, 208, 255, 0.14); color: #8fd0ff; font-size: 0.72rem; }
.fm-note-item__ic--answer { background: rgba(111, 220, 154, 0.14); color: #6fdc9a; }
.fm-note-item__ic--hidden, .fm-note-item__ic--muted { background: rgba(255, 181, 77, 0.14); color: #ffb54d; }
.fm-note-item__txt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fm-note-item__txt b { color: #fff; }
.fm-note-item__txt em { color: #cfe3ff; font-style: normal; }
.fm-note-item__time { display: block; margin-top: 2px; color: var(--text-dim); font-size: 0.72rem; }
@media (max-width: 760px) {
  .fm-bellwrap { position: absolute; top: 14px; right: 14px; }
  .fm-cover__title { padding-right: 54px; }
}

/* Admin panel > Forum (admin-forum.js) */
.afm-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; padding: 3px; width: fit-content; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 11px; background: rgba(255, 255, 255, 0.03); }
.afm-tab { padding: 7px 16px; border: 1px solid transparent; border-radius: 9px; background: none; color: var(--text-dim); font: 500 0.86rem var(--font-ui); cursor: pointer; }
.afm-tab.is-on { color: #fff; border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); }
.afm-body { display: grid; gap: 14px; }
.afm-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.afm-list { display: grid; gap: 12px; }
.afm-report { display: grid; gap: 8px; }
.afm-report__top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.afm-report__title { margin: 0; color: #fff; font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.afm-right { margin-left: auto; }
.afm-muted { margin: 0; color: var(--text-dim); font-size: 0.8rem; }
.afm-note { margin: 0; color: #ffd9a0; font-size: 0.84rem; }
.afm-quote { margin: 0; padding: 10px 12px; border-left: 2px solid rgba(143, 208, 255, 0.5); border-radius: 0 9px 9px 0; background: rgba(255, 255, 255, 0.04); color: var(--text); font-size: 0.86rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.afm-pill { padding: 2px 9px; border-radius: 7px; background: rgba(255, 181, 77, 0.14); color: #ffb54d; font: 600 0.66rem var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; }
.afm-pill--illegal, .afm-pill--abuse { background: rgba(255, 93, 108, 0.16); color: #ff9aa4; }
.afm-pill--spam, .afm-pill--advertising { background: rgba(185, 162, 255, 0.14); color: #cdbdff; }
.afm-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.afm-actions a { color: #a9cdf6; font-size: 0.84rem; }
.afm-input { flex: 1 1 220px; min-width: 0; padding: 8px 11px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 9px; background: rgba(4, 10, 24, 0.6); color: var(--text); font: 400 0.86rem var(--font-ui); }
.afm-input--sm { flex: 0 1 160px; }
.afm-input.is-error { border-color: rgba(255, 93, 108, 0.7); }
.afm-warn { color: #ffd9a0; }
.afm-manage td { background: rgba(143, 208, 255, 0.05); }
.afm-rowacts { text-align: right; }
.afm-settings { display: grid; gap: 10px; justify-items: start; }

/* the bell panel opens outside the cover, so the cover clips only its picture */
.fm-cover { overflow: visible; z-index: 5; }
.fm-cover__bg { clip-path: inset(0 round 16px); }
.fm-cover::before { border-radius: 16px; }
.fm-cover__bg { transform: none; animation: fm-pan 30s ease-in-out infinite alternate; }
@keyframes fm-pan { from { object-position: 40% 28%; } to { object-position: 60% 30%; } }
@media (prefers-reduced-motion: reduce) { .fm-cover__bg { animation: none; } }

/* Forum: Aden Chronicle (live world events at the top of the feed) */
.fm-chron { display: grid; gap: 8px; }
.fm-chron[hidden] { display: none; }
.fm-chron__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fm-chron__head .fm-label { margin: 0; }
.fm-chron__live { display: inline-flex; gap: 6px; align-items: center; color: #6fdc9a; font: 600 0.64rem var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; }
.fm-chron__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6fdc9a; box-shadow: 0 0 8px #6fdc9a; animation: fm-blink 2s ease-in-out infinite; }
@keyframes fm-blink { 50% { opacity: 0.35; } }
.fm-chron__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fm-chron__row::-webkit-scrollbar { display: none; }
.fm-chron__card {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  border: 1px solid rgba(255, 93, 108, 0.35);
  border-radius: 14px;
  background: #0a1328;
  isolation: isolate;
}
.fm-chron__card--castle { border-color: rgba(255, 199, 110, 0.4); }
.fm-chron__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.fm-chron__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 10, 24, 0.95) 0%, rgba(8, 10, 24, 0.75) 55%, rgba(8, 10, 24, 0.35)); }
.fm-chron__txt { display: grid; gap: 4px; padding: 14px 16px; }
.fm-chron__tag { color: #ff8a95; font: 600 0.6rem var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; }
.fm-chron__card--castle .fm-chron__tag { color: #ffd27a; }
.fm-chron__title { margin: 0; color: #fff; font-family: var(--font-title); font-size: 1.08rem; }
.fm-chron__line { margin: 0; color: #c5d3e8; font-size: 0.82rem; }
.fm-chron__clan { justify-self: start; margin-top: 2px; color: #8fd0ff; font-size: 0.8rem; font-weight: 600; text-decoration: none; }

/* Forum: Clan Halls */
.fm-clanbadge {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 199, 110, 0.5);
  border-radius: 12px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 199, 110, 0.3), rgba(8, 15, 32, 0.9) 70%);
  color: #ffd27a;
}
.fm-clanbadge--xl { width: 64px; height: 64px; border-radius: 18px; font-size: 1.5rem; box-shadow: 0 0 30px -8px rgba(255, 199, 110, 0.6); }
.fm-clandir { display: grid; gap: 8px; }
.fm-clandir[hidden] { display: none; }
.fm-clandir .fm-label { margin: 0; }
.fm-clandir__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.fm-clantile { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; background: rgba(255, 255, 255, 0.035); color: var(--text); text-decoration: none; transition: border-color 0.2s ease; }
.fm-clantile:hover { border-color: rgba(255, 199, 110, 0.5); }
.fm-clantile__txt { display: grid; flex: 1; min-width: 0; font-size: 0.8rem; color: var(--text-dim); }
.fm-clantile__txt b { color: #fff; font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-clanhead {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 199, 110, 0.3);
  border-radius: 16px;
  background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(255, 199, 110, 0.16), transparent 70%), rgba(8, 16, 36, 0.5);
}
.fm-clanhead__meta { flex: 1; min-width: 0; display: grid; gap: 4px; }
.fm-clanabout { gap: 10px; }
.fm-clantabs { margin: 0; width: fit-content; padding: 3px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 11px; background: rgba(255, 255, 255, 0.03); }
.fm-clantabs .fm-tab { text-decoration: none; }
.fm-clanbody { display: grid; gap: 12px; }
.fm-members { display: grid; gap: 6px; }
.fm-member { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 11px; background: rgba(255, 255, 255, 0.03); }
.fm-member__name { display: flex; gap: 8px; align-items: center; min-width: 160px; color: #fff; }
.fm-member__meta { color: var(--text-dim); font-size: 0.84rem; }
.fm-member__handle { color: #a9cdf6; font-size: 0.82rem; text-decoration: none; }
.fm-member .fm-act { margin-left: auto; }
.fm-online { color: #6fdc9a; font-size: 0.7rem; font-weight: 600; }
.fm-online::before { content: "● "; }
.fm-app { gap: 8px; }
.fm-app__acts { margin-left: 0; flex-wrap: wrap; }
.fm-app__reply { flex: 1 1 260px; min-width: 0; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 10px; background: rgba(4, 10, 24, 0.6); color: var(--text); font: 400 0.86rem var(--font-ui); }
.fm-check { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: 0.9rem; }
.fm-check input { width: 18px; height: 18px; accent-color: #8fd0ff; }
.fm-act--clan { color: #ffd27a; }
.fm-card--clan .fm-me__name { color: #ffd27a; }

/* Chronicle cards: the picture shows more on the right, the text keeps its dark side */
.fm-chron__card::before { background: linear-gradient(90deg, rgba(8, 10, 24, 0.92) 0%, rgba(8, 10, 24, 0.62) 50%, rgba(8, 10, 24, 0.08) 100%); }
.fm-chron__title, .fm-chron__line { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }

/* Chronicle cards: a deeper shadow behind the titles that fades out to the right */
.fm-chron__card::before {
  background:
    linear-gradient(90deg, rgba(6, 8, 20, 0.97) 0%, rgba(6, 8, 20, 0.88) 32%, rgba(6, 8, 20, 0.5) 62%, rgba(6, 8, 20, 0) 100%),
    linear-gradient(0deg, rgba(6, 8, 20, 0.55) 0%, transparent 45%);
}
.fm-chron__title { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.9); }
.fm-chron__line, .fm-chron__tag, .fm-chron__clan { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95); }
.fm-chron__txt { max-width: 78%; }
.fm-chron__card::before {
  background:
    linear-gradient(90deg, rgba(6, 8, 20, 0.97) 0%, rgba(6, 8, 20, 0.9) 45%, rgba(6, 8, 20, 0.55) 72%, rgba(6, 8, 20, 0.05) 100%),
    linear-gradient(0deg, rgba(6, 8, 20, 0.5) 0%, transparent 45%);
}

/* Chronicle cards, final: the whole picture on top (2.2:1, the shape of the art),
   title over its lower edge, details below. Nothing important is cut off. */
.fm-chron__row { grid-auto-columns: minmax(280px, 1fr); }
.fm-chron__card { display: grid; min-height: 0; background: rgba(8, 16, 36, 0.6); }
.fm-chron__card::before { content: none; }
.fm-chron__pic { position: relative; aspect-ratio: 2.2 / 1; max-width: 100%; overflow: hidden; }
.fm-chron__pic .fm-chron__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fm-chron__pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 20, 0.85) 0%, rgba(6, 8, 20, 0.45) 45%, rgba(6, 8, 20, 0) 75%),
    linear-gradient(0deg, rgba(6, 8, 20, 0.85) 0%, rgba(6, 8, 20, 0) 55%);
}
.fm-chron__over { position: absolute; left: 14px; right: 30%; bottom: 10px; z-index: 1; display: grid; gap: 2px; }
.fm-chron__txt { max-width: none; padding: 10px 14px 12px; gap: 4px; }
.fm-chron__row { grid-auto-columns: minmax(300px, 1fr); }
.fm-chron__over .fm-chron__title { font-size: 1rem; line-height: 1.25; }

/* Forum UX pass: first-visit welcome, simpler composer, calmer phone cover */
.fm-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px 26px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid rgba(143, 208, 255, 0.35);
  border-radius: 16px;
  background: radial-gradient(ellipse 70% 120% at 0% 0%, rgba(47, 134, 255, 0.22), transparent 70%), rgba(8, 16, 36, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.fm-welcome__intro { display: grid; gap: 8px; }
.fm-welcome__steps { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: none; }
.fm-welcome__steps li { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: 0.9rem; }
.fm-welcome__ic { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(143, 208, 255, 0.14); color: #8fd0ff; font-size: 0.75rem; }
.fm-welcome__form { display: grid; gap: 10px; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 13px; background: rgba(4, 10, 24, 0.45); }
.fm-welcome__form .fm-card__title { margin: 0; color: #fff; font-family: var(--font-title); }
.fm-welcome__form .fm-card__text { margin: 0; color: var(--text-dim); font-size: 0.85rem; }
.fm-form__blurb { margin-top: -4px; }
.fm-addtags { justify-self: start; color: #a9cdf6; }
.fm-form__row > .fm-field[hidden] { display: none; }
.fm-form__row:has(> .fm-field[hidden]) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
  .fm-welcome { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .fm-cover__stats { display: none !important; }
}

/* clan badge: the crown */
.fm-clanbadge img { width: 82%; height: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); }
.fm-clanbadge--xl img { width: 78%; }

/* Forum spaces bar: the site's liquid glass (same as the rate pills), clean white icons */
.fm-view .fm-space {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 46%, rgba(255, 255, 255, 0.07) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 8px 18px -12px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  color: #dfe7f3;
}
.fm-view .fm-space:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.fm-view .fm-space__ic {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 0.74rem;
}
.fm-view .fm-space__n {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #dfe7f3;
}
.fm-view .fm-space.is-on {
  border-color: rgba(255, 255, 255, 0.42);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.06) 46%, rgba(255, 255, 255, 0.14) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 18px -6px rgba(143, 208, 255, 0.5);
  color: #fff;
}
.fm-view .fm-space.is-on .fm-space__ic { border-color: rgba(255, 255, 255, 0.5); background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.1) 55%, rgba(255, 255, 255, 0.2)); }
/* the big icon at the top of a space follows the same glass */
.fm-spacehead__ic {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 10px 22px -12px rgba(0, 0, 0, 0.8);
  color: #fff;
}

/* long thread titles stay short in the notifications list */
.fm-note-item__txt em { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Forum: automatic posts from the game server, clan notices */
.fm-av--system { border-color: rgba(255, 210, 122, 0.55); background: radial-gradient(circle at 50% 30%, rgba(255, 199, 110, 0.28), rgba(8, 15, 32, 0.95) 70%); }
.fm-av--system img { width: 58%; height: auto; object-fit: contain; }
.fm-badge--system { color: #ffd27a; border-color: rgba(255, 210, 122, 0.45); background: rgba(255, 210, 122, 0.1); }
.fm-post__cover { overflow: hidden; aspect-ratio: 2.2 / 1; max-width: 100%; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 11px; }
.fm-post__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.fm-view .fm-post.is-auto:hover .fm-post__cover img { transform: scale(1.03); }
.fm-op__cover { overflow: hidden; aspect-ratio: 2.2 / 1; max-width: 100%; margin: -6px -6px 4px; border-radius: 12px; }
.fm-op__cover img { width: 100%; height: 100%; object-fit: cover; }
.fm-kind--notice { color: #fff; background: rgba(224, 33, 58, 0.5); }
.fm-act--notice { flex: none; color: #ffd27a; border: 1px solid rgba(255, 210, 122, 0.4); }
.fm-form__status.is-info { color: #cfe3ff; }
@media (max-width: 760px) { .fm-act--notice { padding: 8px 10px; } }
.fm-check--sm { font-size: 0.82rem; color: var(--text-dim); }
.fm-check--sm input { width: 16px; height: 16px; }

/* Forum: on desktop every space is visible (the bar wraps); phones keep the swipe row */
@media (min-width: 761px) {
  .fm-view .fm__spaces { flex-wrap: wrap; overflow: visible; }
}
/* the search icon sits above the field */
.fm-search i { z-index: 1; pointer-events: none; }

/* Forum spaces bar, final: one row on desktop with a "More" menu */
@media (min-width: 761px) {
  .fm-view .fm__spaces { flex-wrap: nowrap; overflow: visible; }
}
.fm-more-wrap { position: relative; flex: none; }
.fm-space--more { cursor: pointer; font: inherit; }
.fm-space__chev { margin-left: 2px; font-size: 0.62rem; opacity: 0.75; transition: transform 0.2s ease; }
.fm-more-wrap.is-open .fm-space__chev { transform: rotate(180deg); }
.fm-more-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 220px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(8, 15, 32, 0.97);
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.9);
}
.fm-more-wrap.is-open .fm-more-menu { display: grid; gap: 4px; }
.fm-view .fm-more-menu .fm-space { width: 100%; border-color: transparent; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.fm-view .fm-more-menu .fm-space:hover,
.fm-view .fm-more-menu .fm-space.is-on { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); }
.fm-more-menu .fm-space__n { margin-left: auto; }
/* phones: no menu, the extra spaces sit in the same swipe row */
@media (max-width: 760px) {
  .fm-more-wrap, .fm-more-menu, .fm-view .fm-more-wrap.is-open .fm-more-menu { display: contents; }
  .fm-space--more { display: none; }
  .fm-view .fm-more-menu .fm-space { width: auto; border: 1px solid rgba(255, 255, 255, 0.18); background: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 46%, rgba(255, 255, 255, 0.07) 100%); }
}

/* Dashboard app on iPhone (viewport-fit=cover, black-translucent status bar):
   the top bar runs under the clock and battery, so no light band shows there,
   and everything that sits under the bar moves down by the same amount. */
html { background-color: #080e1a; }
.app-body { --safe-top: env(safe-area-inset-top, 0px); }
.app-body .app-top { height: calc(60px + var(--safe-top)); padding-top: var(--safe-top); background: rgba(8, 14, 30, 0.97); }
.app-body .app-nav { top: calc(60px + var(--safe-top)); height: calc(100vh - 60px - var(--safe-top)); }
.app-body .app-shell { min-height: calc(100vh - 60px - var(--safe-top)); }
.app-body .fm-view .fm__rail { top: calc(76px + var(--safe-top)); }
.app-body .app-top { padding-left: max(clamp(16px, 3vw, 28px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 3vw, 28px), env(safe-area-inset-right, 0px)); }
.afm-textarea { width: 100%; min-height: 120px; resize: vertical; font-family: ui-monospace, Menlo, monospace; }
.afm-danger { color: #ff9aa4 !important; border-color: rgba(255, 93, 108, 0.5) !important; }

/* Forum: stream players (Twitch purple, Kick green) */
.fm-video--twitch { background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(145, 70, 255, 0.28), transparent 70%), linear-gradient(135deg, #120d2a, #060c1c); }
.fm-video--kick { background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(83, 252, 24, 0.18), transparent 70%), linear-gradient(135deg, #0b1a10, #060c1c); }
.fm-video--twitch .fm-video__play:hover .fm-video__icon { background: rgba(145, 70, 255, 0.6); }
.fm-video--kick .fm-video__play:hover .fm-video__icon { background: rgba(83, 252, 24, 0.45); }
.fm-kind--stream { color: #d7c2ff; background: rgba(145, 70, 255, 0.18); }

/* Dashboard and admin on desktop: every page uses the whole width next to the menu
   (up to 1680px on very wide screens, centred), the Forum included */
@media (min-width: 1101px) {
  .app-body .app-main { max-width: 1680px; width: 100%; margin: 0 auto; }
  .fm-view { width: 100%; }
  .fm-view .fm__wrap { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px 28px; }
}
@media (min-width: 1600px) {
  .fm-view .fm__wrap { grid-template-columns: minmax(0, 1fr) 340px; }
  .fm-view .fm-chron__row { grid-auto-columns: minmax(320px, 1fr); }
}
/* chronicle cards keep a calm size on wide screens, even when there are only two */
.fm-view .fm-chron__row { grid-auto-columns: minmax(280px, 400px); justify-content: start; }
@media (max-width: 760px) { .fm-view .fm-chron__row { grid-auto-columns: minmax(260px, 86%); } }
.afm-link { padding: 0; border: 0; background: none; color: #a9cdf6; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.afm-tag { margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); color: var(--text-dim); font-size: 0.7rem; }
.afm-tag--ok { color: #6fdc9a; background: rgba(111, 220, 154, 0.12); }
.afm-ok { color: #6fdc9a; }

/* Top bar: Forum shortcut in liquid glass (the socials live on the right rail) */
.topbar__forum {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  height: 26px;
  padding: 0 14px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 48%, rgba(255, 255, 255, 0.09) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 6px 16px -10px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  color: #eaf2ff;
  font: 600 0.66rem var(--font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.topbar__forum i { color: #8fd0ff; font-size: 0.78rem; }
.topbar__forum:hover,
.topbar__forum:focus-visible {
  border-color: rgba(143, 208, 255, 0.6);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 18px -4px rgba(143, 208, 255, 0.55);
}

/* Trailer window: "Join the Forum" in liquid glass (replaces Discord) */
.trailer-btn--forum {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0.1) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 10px 26px -14px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  color: #eaf2ff;
}
.trailer-btn--forum i { color: #8fd0ff; }
.trailer-btn--forum:hover,
.trailer-btn--forum:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(143, 208, 255, 0.6);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 0 22px -6px rgba(143, 208, 255, 0.6);
}

/* Home > Races: "Classes & skills" is a slim liquid glass bar at the right end of the race title row,
   lined up with the right edge of the class list (like "view all" in the client windows): visible, never louder than the name */
.race-panel__name .race-panel__wiki {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.025) 46%, rgba(255, 255, 255, 0.06) 100%),
    rgba(8, 16, 36, 0.35);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  /* no backdrop-filter: inside the gradient-text title Chrome then paints a ghost copy of the text */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 10px 22px -16px rgba(0, 0, 0, 0.8);
  color: #c9d4e6;
  -webkit-text-fill-color: currentColor;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.race-panel__name .race-panel__wiki i {
  font-size: 0.66rem;
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.race-panel__name .race-panel__wiki .race-panel__wiki-ico {
  font-size: 0.8rem;
  color: var(--gold-pale);
  -webkit-text-fill-color: currentColor;
  opacity: 0.85;
}

.race-panel__name .race-panel__wiki:hover,
.race-panel__name .race-panel__wiki:focus-visible {
  border-color: rgba(169, 205, 246, 0.42);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 0 0 3px rgba(150, 190, 255, 0.08), 0 0 22px -8px rgba(150, 190, 255, 0.65);
  outline: none;
}

.race-panel__name .race-panel__wiki:hover i,
.race-panel__name .race-panel__wiki:focus-visible i {
  opacity: 1;
}

.race-panel__name .race-panel__wiki:hover i:last-child,
.race-panel__name .race-panel__wiki:focus-visible i:last-child {
  transform: translateX(3px);
}

/* phones: the bar drops under the name, on the left */
@media (max-width: 560px) {
  .race-panel__name .race-panel__wiki {
    margin-left: 0;
  }
}

/* Mobile menu in groups: "The Server" and "Community" fold open one at a time (details name="mnav"),
   Partners and Contact always visible. Windows 2026-11-05 */
.mobile-nav__groups {
  margin: clamp(14px, 4vh, 36px) 0 clamp(20px, 4vh, 34px);
}
.mobile-nav__group {
  border-bottom: 1px solid var(--line);
}
.mobile-nav__group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  color: #e9d3a6;
  font: 600 0.74rem var(--font-ui);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}
.mobile-nav__group > summary::-webkit-details-marker { display: none; }
.mobile-nav__group > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.25s ease;
}
.mobile-nav__group[open] > summary::after {
  transform: rotate(-135deg) translateY(-3px);
}
.mobile-nav__groups .mobile-nav__list {
  margin: 0 0 12px;
}
.mobile-nav__groups .mobile-nav__list a {
  padding: 7px 0;
  font-size: 1.15rem;
}
.mobile-nav__groups .mobile-nav__list--extra {
  margin: 14px 0 0;
}

/* Forum character picker (SQL 047, Windows 2026-11-05): you post as one of your game characters */
.fm-charpick { display: grid; gap: 8px; margin-top: 10px; }
.fm-charpick__item {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; text-align: left; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; background: rgba(255, 255, 255, 0.04); color: var(--text);
  font: inherit; transition: border-color 0.2s ease, background 0.2s ease;
}
.fm-charpick__item:hover, .fm-charpick__item:focus-visible { border-color: rgba(222, 186, 120, 0.6); background: rgba(222, 186, 120, 0.08); outline: none; }
.fm-charpick__item.is-on { border-color: rgba(127, 174, 110, 0.6); cursor: default; }
.fm-charpick__item:disabled { opacity: 0.6; cursor: wait; }
.fm-charpick__txt { display: grid; gap: 2px; min-width: 0; }
.fm-charpick__txt b { font-size: 0.95rem; }
.fm-charpick__txt span { color: var(--text-dim); font-size: 0.8rem; }
.fm-linkbtn { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.fm-card--clan .fm-me + .fm-me { margin-top: 10px; }

/* Phones: the page stays put (Windows 2026-11-05, owner). iOS zooms in by itself when a field with text under 16px
   is tapped and then lets the page slide sideways; 16px fields stop that, and nothing can push the page wider. */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 760px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea { font-size: 16px !important; }
}
