/* ==========================================================================
   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: #a88a58;
  --gold-pale: #c9b78e;
  --parchment: #d6c8aa;
  --silver: #b9b7ae;
  --ash: #6f706c;
  --charcoal: #252624;
  --black: #101110;
  --ink: #0a0a09;
  --burgundy: #682d2a;
  --ember: #8c3a2c;
  --ok: #7fae6e;
  --bad: #b5544a;

  --text: #cfccc3;
  --text-dim: #9a988f;
  --line: rgba(201, 183, 142, 0.16);
  --line-strong: rgba(201, 183, 142, 0.34);
  --panel: rgba(23, 23, 21, 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: #f3eee2;
  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(214, 200, 170, 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(214, 200, 170, 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(16, 17, 16, 0.35);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  color: #fff;
  border-color: var(--gold-pale);
  background: rgba(16, 17, 16, 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(37, 38, 36, 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(8, 7, 9, 0.75), rgba(8, 7, 9, 0));
}

.site-header.is-solid {
  background: rgba(12, 12, 11, 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: #f3eee2;
  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 var(--gutter) 32px;
  background: rgba(10, 10, 9, 0.98);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s 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;
}

.mobile-nav__list {
  margin: 12px 0 24px;
  padding: 0;
  list-style: none;
}

.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: rgba(243, 238, 226, 0.82);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease, padding 0.2s ease;
}

.mobile-nav__list a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.35;
}

.mobile-nav__list a:hover,
.mobile-nav__list a:focus-visible {
  color: var(--gold-pale);
  padding-left: 6px;
}

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

.mobile-nav__account {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.mobile-nav__socials {
  margin-top: auto;
  padding-top: 24px;
  text-align: center;
}

.mobile-nav__socials .socials {
  justify-content: center;
  gap: 14px;
}

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

/* 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(16, 17, 16, 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(12, 12, 11, 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, 5, 7, 0.55) 100%),
    linear-gradient(180deg, rgba(6, 5, 7, 0.4) 0%, transparent 20%, rgba(10, 8, 9, 0.35) 38%, rgba(10, 8, 9, 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(10, 9, 9, 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(10, 9, 9, 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: #141312;
}

.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(10, 9, 9, 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(14, 14, 13, 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: #0e0e0d;
}

.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: #f3eee2;
  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(10, 9, 9, 0.6) 30%, rgba(10, 9, 9, 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(80, 60, 140, 0.2), 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(140, 110, 220, 0.32), rgba(60, 120, 200, 0.08) 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(23, 23, 21, 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(0.3) 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(23, 23, 21, 0.6));
  box-shadow: 0 10px 30px -14px rgba(168, 138, 88, 0.6);
}

.race-tab[aria-selected="true"] img {
  filter: none;
}

.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(8, 7, 7, 0.5), transparent 75%),
    linear-gradient(180deg, var(--black) 0%, rgba(10, 9, 9, 0.25) 18%, rgba(10, 9, 9, 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(214, 200, 170, 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(10, 10, 9, 0.35);
}

.jw__access.is-premium {
  border-color: rgba(222, 186, 120, 0.7);
  color: #f3dca8;
  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%, #b8b2a4 52%, #f2ecdf 66%, #d8cfbb 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(214, 200, 170, 0.45) 25%, rgba(214, 200, 170, 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(37, 38, 36, 0.55), rgba(16, 17, 16, 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(16, 17, 16, 0.4) 22%, transparent 40%, transparent 60%, rgba(16, 17, 16, 0.4) 78%, var(--black) 100%),
    linear-gradient(180deg, var(--black) 0%, rgba(16, 17, 16, 0.2) 30%, rgba(16, 17, 16, 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(37, 38, 36, 0.78), rgba(16, 17, 16, 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(10, 10, 9, 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(10, 10, 9, 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(23, 23, 21, 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(10, 10, 9, 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, #1a1a18, var(--black) 60%);
  color: var(--text);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(214, 200, 170, 0.08);
  text-align: center;
}

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

.modal::backdrop {
  background: rgba(6, 5, 6, 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(37, 38, 36, 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: #f3eee2;
  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, #1a0f0d, #120f0d 50%, #1a0f0d);
  -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*="wordmark"] {
  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(14, 13, 12, 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(14, 12, 12, 0.72), rgba(14, 12, 12, 0.5));
  border-bottom: 1px solid rgba(214, 200, 170, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.35s ease;
}

.site-header.is-solid .navbar {
  background: rgba(12, 11, 11, 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, 9, 14, 0.66), transparent 78%),
    linear-gradient(180deg, rgba(6, 5, 7, 0.55) 0%, transparent 20%, rgba(8, 9, 14, 0.18) 50%, rgba(10, 8, 9, 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%, #b8b2a4 52%, #f2ecdf 66%, #d8cfbb 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(214, 200, 170, 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(10, 8, 8, 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(214, 200, 170, 0.28);
  background: #141312;
  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(8, 7, 7, 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(10, 9, 9, 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%, #b8b2a4 52%, #f2ecdf 66%, #d8cfbb 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: 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(12, 10, 9, 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(16, 17, 16, 0.45) 20%, rgba(16, 17, 16, 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(30, 24, 20, 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(214, 200, 170, 0.45);
}

.launch__ring--outer {
  border-style: dashed;
  border-color: rgba(214, 200, 170, 0.35);
  animation: spin 40s linear infinite;
}

.launch__ring--inner {
  inset: 9px;
  border-color: rgba(214, 200, 170, 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%, #b8b2a4 52%, #f2ecdf 66%, #d8cfbb 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(37, 38, 36, 0.7), rgba(12, 12, 11, 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(30, 28, 26, 0.92), rgba(14, 13, 12, 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;
}

.launch__form-icon {
  color: var(--gold);
  font-size: 0.95rem;
}

.launch__form input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.98rem;
}

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

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

.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 #1a1816;
  border-radius: 50%;
  object-fit: cover;
  background: #2a2420;
  box-shadow: 0 0 0 1px rgba(214, 200, 170, 0.35);
}

.launch__avatars img: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, #d8cfbb);
  -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;
  }

  .launch__form-icon {
    display: none;
  }

  .launch__form input[type="email"] {
    flex-basis: 100%;
    text-align: center;
  }

  .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 {
    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, #151413, #0f0f0e);
}

.pledge::before,
.pledge::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 200, 170, 0.5) 30%, rgba(255, 246, 224, 0.8) 50%, rgba(214, 200, 170, 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: #f3eee2;
  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 #121110;
  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;
}

.conquest__band::after {
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(16, 17, 16, 0.55) 25%, rgba(16, 17, 16, 0.35) 50%, rgba(16, 17, 16, 0.55) 75%, var(--black) 100%),
    linear-gradient(180deg, var(--black) 0%, rgba(16, 17, 16, 0.35) 22%, rgba(16, 17, 16, 0.55) 60%, 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(214, 200, 170, 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%, #a9a294 52%, #f2ecdf 68%, #cfc5ae 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: #f3eee2;
  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(214, 200, 170, 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(37, 35, 32, 0.9), rgba(16, 15, 14, 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(214, 200, 170, 0.5);
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(201, 164, 103, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(48, 40, 32, 0.95), rgba(18, 16, 14, 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%, #b8b2a4 55%, #f2ecdf 70%, #d8cfbb 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(10, 9, 8, 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: #f3eee2;
  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(23, 22, 20, 0.9) 30%, rgba(23, 22, 20, 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(214, 200, 170, 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(214, 200, 170, 0.18);
  border-radius: 10px;
  background: #151413;
  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(12, 11, 10, 0.92) 0%, rgba(12, 11, 10, 0.55) 55%, rgba(12, 11, 10, 0.15) 100%),
    linear-gradient(180deg, transparent 30%, rgba(12, 11, 10, 0.85) 100%);
}

.news-banner:hover {
  color: #fff;
  transform: translateY(-4px);
  border-color: rgba(214, 200, 170, 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(16, 17, 16, 0.75) 55%, rgba(16, 17, 16, 0.2) 100%),
    linear-gradient(180deg, rgba(16, 17, 16, 0.4), transparent 40%, rgba(16, 17, 16, 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%, #b8b2a4 52%, #f2ecdf 66%, #d8cfbb 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(16, 17, 16, 0.5);
  color: #f3eee2;
  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(23, 22, 20, 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: #f3eee2;
  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, 5, 6, 0.62), transparent 80%),
    linear-gradient(180deg, rgba(6, 5, 6, 0.55) 0%, rgba(6, 5, 6, 0.28) 22%, rgba(6, 5, 6, 0.32) 58%, rgba(10, 8, 9, 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(214, 200, 170, 0.6);
  border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(16, 15, 14, 0.9), 0 0 0 5px rgba(214, 200, 170, 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%), #141210;
}

.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(10, 9, 8, 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;
}

.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, #1c1916, #121110);
}

.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(10, 9, 8, 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(37, 38, 36, 0.6), rgba(16, 17, 16, 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(10, 10, 9, 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: #141413;
}

.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, #1c1b17 0%, #12110f 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%, #c9c2b2 55%, #efe8da 70%, #d8cfbb 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__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: #0b0b0a;
  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: #f1ece1;
  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: #13120f;
  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: #e8e2d4;
  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: #d9cba8;
  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: #151412;
  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: #f0cf86;
  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: #f0cf86;
  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: #f3dca8;
  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: #d9cba8;
  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(10, 10, 9, 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: #f0cf86;
  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: #f0cf86;
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 700;
}

.cq-owners__clan.is-empty {
  color: #e8e2d4;
  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: #141412;
  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: #f0cf86;
}

.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: #f0cf86;
  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(10, 10, 9, 0.6);
  color: #f4efe4;
}

.modal--account .modal__close:hover {
  background: rgba(10, 10, 9, 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;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

.acct__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.25) 0%, rgba(12, 11, 10, 0.55) 45%, rgba(12, 11, 10, 0.94) 100%),
    linear-gradient(270deg, transparent 60%, rgba(12, 11, 10, 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: #f3dca8;
  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(10, 10, 9, 0.55);
  color: #f0cf86;
  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(10, 10, 9, 0.9));
  color: #f0cf86;
  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: #f3dca8;
}

.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;
  }
}

/* 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;
  }
}
