:root {
  --bg: #0b1a2a;
  --bg-deep: #03070d;
  --bg-blue: #071321;
  --gold: #c9a24b;
  --gold-bright: #ffd77a;
  --gold-dim: #7d5c22;
  --red: #b73d31;
  --text: #f5efe1;
  --muted: #b8c0ca;
  --line: rgba(201, 162, 75, 0.34);
  --glass: rgba(7, 17, 30, 0.64);
  --glass-strong: rgba(3, 8, 14, 0.78);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1180px, calc(100% - 48px));
  --header-height: 74px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 82% 8%, rgba(201, 162, 75, 0.1), transparent 27rem),
    radial-gradient(circle at 12% 18%, rgba(47, 108, 162, 0.18), transparent 30rem),
    linear-gradient(180deg, #07111e 0%, var(--bg) 42%, #050a12 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(201, 162, 75, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 75, 0.035) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 76%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background:
    radial-gradient(
      260px 260px at var(--cursor-x, 50%) var(--cursor-y, 50%),
      rgba(201, 162, 75, 0.14),
      rgba(184, 61, 49, 0.06) 27%,
      transparent 66%
    );
  opacity: var(--cursor-opacity, 0);
  transition: opacity 260ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

.section-frame,
.section-band,
.cta {
  position: relative;
  isolation: isolate;
}

.section-band {
  width: var(--container);
  margin: 0 auto;
  padding: 66px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.section-heading::after {
  content: "";
  height: 1px;
  grid-column: 2 / 3;
  grid-row: 1;
  align-self: center;
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.55), transparent);
  transform: translateY(17px);
}

.section-heading p {
  margin: 0 0 4px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: #f8e5b4;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(201, 162, 75, 0.32);
}

.section-heading > a {
  color: #ddc285;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.section-heading > a::after {
  content: " ->";
}

.section-heading > a:hover {
  color: #fff3cc;
  transform: translateX(3px);
}

.section-heading > a.section-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 221, 145, 0.62);
  color: #fff5d8;
  background: rgba(7, 17, 30, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 204, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.36),
    0 0 0 0 rgba(201, 162, 75, 0.55);
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: ctaPulse 2.6s ease-in-out infinite;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.section-heading > a.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background: linear-gradient(110deg, #4b2e0a, #b98624 42%, #f3cd77 52%, #6f4310);
  background-size: 240% 100%;
  animation: goldSweep 5.4s ease-in-out infinite;
}

.section-heading > a.section-cta::after {
  content: "→";
  display: inline-block;
  margin-left: 2px;
  font-size: 1.05rem;
  font-weight: 900;
  transition: transform 240ms ease;
  animation: ctaArrow 1.6s ease-in-out infinite;
}

.section-heading > a.section-cta:hover {
  transform: translateY(-2px);
  color: #fff8e0;
  border-color: rgba(255, 232, 167, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 204, 0.18),
    0 20px 46px rgba(201, 162, 75, 0.34),
    0 0 32px rgba(201, 162, 75, 0.4);
  animation-play-state: paused;
}

.section-heading > a.section-cta:hover::after {
  transform: translateX(6px);
  animation-play-state: paused;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 244, 204, 0.08),
      0 12px 30px rgba(0, 0, 0, 0.36),
      0 0 0 0 rgba(201, 162, 75, 0.55);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 244, 204, 0.16),
      0 16px 38px rgba(0, 0, 0, 0.42),
      0 0 28px rgba(201, 162, 75, 0.45);
  }
}

@keyframes ctaArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.ornament {
  width: 31px;
  height: 31px;
  position: relative;
  color: var(--gold);
  filter: drop-shadow(0 0 14px rgba(201, 162, 75, 0.35));
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 28px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.ornament::after {
  width: 1px;
  height: 28px;
}

.ornament {
  background:
    linear-gradient(45deg, transparent 42%, currentColor 43% 57%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, currentColor 43% 57%, transparent 58%);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px clamp(18px, 4vw, 46px);
  background: linear-gradient(180deg, rgba(1, 7, 13, 0.9), rgba(5, 14, 24, 0.56));
  border-bottom: 1px solid rgba(201, 162, 75, 0.24);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.38);
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(2, 8, 15, 0.96), rgba(4, 12, 21, 0.82));
}

.brand {
  display: inline-grid;
  line-height: 1;
  color: #fee6a8;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(201, 162, 75, 0.45);
}

.brand-main {
  display: inline-flex;
  align-items: baseline;
  gap: 0.02em;
  font-family: "Times New Roman", "Trajan Pro", var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.08em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.brand-num {
  display: inline-block;
  font-family: "Times New Roman", var(--serif);
  font-size: 1em;
  line-height: 0.86;
  transform: translateY(-0.01em);
}

.brand-sub {
  justify-self: center;
  margin-top: -1px;
  color: #d7ae5e;
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.2vw, 44px);
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  color: #f2efe8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  box-shadow: 0 0 14px var(--gold);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffe7aa;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: translateX(-50%) rotate(45deg) scale(1);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-btn {
  min-width: 112px;
  padding: 12px 18px;
  border: 1px solid rgba(232, 199, 128, 0.42);
  color: #f5efe1;
  background: rgba(5, 10, 18, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.header-btn--gold {
  color: #fff2ca;
  background:
    linear-gradient(90deg, rgba(91, 58, 15, 0.8), rgba(173, 121, 34, 0.5)),
    rgba(7, 17, 30, 0.65);
  border-color: rgba(201, 162, 75, 0.72);
}

.header-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 122, 0.84);
  box-shadow: 0 10px 28px rgba(201, 162, 75, 0.2);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 162, 75, 0.36);
  color: var(--gold);
  background: rgba(4, 10, 18, 0.7);
  place-items: center;
  gap: 4px;
  padding: 10px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 760px;
  height: 100svh;
  max-height: 980px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 54px) clamp(24px, 6vw, 72px) 92px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.28);
  background: #03070d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/hero-elf-mage.webp");
  background-position: center right;
  background-size: cover;
  transform: translate3d(0, calc(var(--parallax, 0) * 0.06px), 0) scale(1.02);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 6, 11, 0.96) 0%, rgba(4, 10, 18, 0.74) 26%, rgba(4, 10, 18, 0.18) 56%, rgba(4, 10, 18, 0.1) 100%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.18) 0%, transparent 56%, #06111e 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 190px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #071321 78%);
}

.hero-rays {
  position: absolute;
  inset: -18% -20% auto 30%;
  height: 88%;
  z-index: -1;
  opacity: 0.35;
  background:
    conic-gradient(
      from 230deg at 62% 42%,
      transparent 0deg,
      rgba(255, 215, 122, 0.22) 9deg,
      transparent 17deg,
      transparent 39deg,
      rgba(139, 44, 35, 0.13) 48deg,
      transparent 58deg,
      transparent 360deg
    );
  filter: blur(0.4px);
  mix-blend-mode: screen;
  animation: raysDrift 11s ease-in-out infinite alternate;
}

.hero-staff-glow {
  position: absolute;
  left: 51%;
  top: 13%;
  width: 240px;
  height: 240px;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 241, 192, 0.48), rgba(100, 157, 255, 0.2) 28%, transparent 64%);
  filter: blur(4px);
  mix-blend-mode: screen;
  animation: staffPulse 3.8s ease-in-out infinite;
}

.hero-content {
  width: min(540px, 100%);
  margin-top: 38px;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.82);
}

.hero-return {
  margin: 0 0 10px;
  color: #c7cad2;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero h1 span {
  color: #ffe7ad;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(86, 54, 16, 0.85),
    0 0 30px rgba(201, 162, 75, 0.52);
}

.hero h1 strong {
  max-width: 720px;
  color: #f7ead0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 510px;
  margin: 24px 0 0;
  color: #eef0f1;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.btn {
  position: relative;
  isolation: isolate;
  min-width: 218px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 28px;
  border: 1px solid rgba(255, 221, 145, 0.46);
  color: #fff5d8;
  background: rgba(7, 17, 30, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.78;
  background: linear-gradient(110deg, #4b2e0a, #b98624 42%, #f3cd77 52%, #6f4310);
  background-size: 240% 100%;
  animation: goldSweep 5.4s ease-in-out infinite;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border: 1px solid rgba(255, 244, 204, 0.16);
}

.btn svg {
  width: 21px;
  height: 21px;
  padding: 5px;
  border: 1px solid rgba(255, 221, 145, 0.44);
  border-radius: 999px;
  fill: currentColor;
}

.btn--secondary::before {
  opacity: 0;
}

.btn--secondary {
  color: #f9eccd;
  background:
    linear-gradient(180deg, rgba(9, 20, 34, 0.68), rgba(3, 7, 12, 0.84)),
    rgba(4, 10, 18, 0.75);
}

.btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 226, 151, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 204, 0.1),
    0 24px 58px rgba(201, 162, 75, 0.24),
    0 0 42px rgba(201, 162, 75, 0.18);
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 38px;
  align-items: stretch;
}

.news-visual {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.42);
  background: #03070d;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 245, 209, 0.05);
}

.news-visual::before,
.news-visual::after,
.class-card::before,
.boss-card::before,
.legend-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.news-visual::before,
.class-card::before,
.boss-card::before,
.legend-card::before {
  background:
    linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(circle at 50% 0%, rgba(255, 221, 145, 0.12), transparent 42%);
}

.news-visual::after,
.class-card::after,
.boss-card::after,
.legend-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 16%, transparent 82%, rgba(0, 0, 0, 0.3));
  mix-blend-mode: screen;
  opacity: 0.42;
}

.news-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: url("assets/news-strip.webp");
  background-position: var(--pos) center;
  background-size: 425% auto;
  transform: scale(1.04);
  transition: opacity 800ms ease, transform 5.6s ease;
}

.news-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.news-frame-overlay {
  position: absolute;
  inset: 12px;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgba(255, 213, 129, 0.25);
}

.news-caption {
  position: absolute;
  z-index: 5;
  left: clamp(18px, 4vw, 48px);
  right: clamp(18px, 4vw, 48px);
  bottom: 36px;
  text-align: center;
}

.news-caption .news-type {
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news-caption h3 {
  margin: 7px 0 6px;
  color: #ffe5aa;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-caption p {
  margin: 0;
  color: #e9edf0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.news-dots {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.news-dots span {
  width: 25px;
  height: 3px;
  background: rgba(236, 213, 156, 0.38);
  transition: background 260ms ease, box-shadow 260ms ease;
}

.news-dots span.is-active {
  background: #ffd77a;
  box-shadow: 0 0 14px rgba(201, 162, 75, 0.68);
}

.news-list {
  display: grid;
  align-content: center;
  border-top: 1px solid rgba(201, 162, 75, 0.24);
  border-bottom: 1px solid rgba(201, 162, 75, 0.24);
}

.news-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 4px 20px 0;
  border: 0;
  border-bottom: 1px solid rgba(201, 162, 75, 0.18);
  color: #cbd5dc;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, padding-left 180ms ease, background 180ms ease;
}

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

.news-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}

.news-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(0.95rem, 1.18vw, 1.05rem);
}

.news-item time {
  color: #bd9e5a;
  font-size: 0.82rem;
  font-weight: 700;
}

.news-item.is-active,
.news-item:hover {
  color: #fff0c8;
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.08), transparent);
}

.card-grid,
.legend-grid {
  display: grid;
  gap: 18px;
}

.class-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.legend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.class-card,
.boss-card,
.legend-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: grid;
  align-content: end;
  justify-items: center;
  padding: 0 16px 22px;
  border: 1px solid rgba(201, 162, 75, 0.4);
  background: rgba(4, 10, 18, 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.34);
  text-align: center;
  transform: translateZ(0);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.class-card {
  aspect-ratio: 0.62;
}

.boss-card {
  min-height: 380px;
  aspect-ratio: 0.86;
}

.boss-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 300ms ease;
}

.boss-card:hover .boss-photo {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.04);
}

.legend-card {
  min-height: 360px;
  aspect-ratio: 1;
}

.class-card:hover,
.boss-card:hover,
.legend-card:hover {
  transform: translateY(-7px) scale(1.02);
  border-color: rgba(255, 216, 127, 0.86);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.54),
    0 0 42px rgba(201, 162, 75, 0.28),
    inset 0 0 0 1px rgba(255, 236, 186, 0.08);
}

.card-art,
.boss-art,
.legend-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: var(--pos) center;
  transform: scale(1);
  transition: transform 700ms ease, filter 300ms ease;
}

.class-art {
  background-image: url("assets/classes-strip.webp");
  background-size: 600% auto;
}

.kamael-art {
  background-image: url("assets/kamael-one-wing.webp");
  background-position: 58% 18%;
  background-size: cover;
}

.boss-art {
  background-image: url("assets/bosses-strip-v2.webp");
  background-size: 400% auto;
  filter: saturate(0.95);
}

.legend-art {
  background-image: url("assets/legends-strip.webp");
  background-size: 300% auto;
}

.class-card:hover .card-art,
.boss-card:hover .boss-art,
.legend-card:hover .legend-art {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.04);
}

.card-shine,
.legend-haze {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 223, 156, 0.26), transparent 48%);
  transition: opacity 240ms ease;
}

.class-card:hover .card-shine,
.legend-card:hover .legend-haze {
  opacity: 1;
  animation: cardPulse 1.7s ease-in-out infinite alternate;
}

.class-card strong,
.boss-card strong,
.legend-card strong {
  position: relative;
  z-index: 5;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(1.14rem, 1.6vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.9), 0 0 22px rgba(201, 162, 75, 0.45);
}

.class-card small,
.boss-card small,
.legend-card small {
  position: relative;
  z-index: 5;
  max-width: 190px;
  margin-top: 7px;
  color: #ece6d9;
  font-size: 0.82rem;
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.92);
}

.boss-card {
  border-color: color-mix(in srgb, var(--element) 58%, rgba(201, 162, 75, 0.42));
}

.boss-card::before {
  background:
    linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.8) 100%),
    radial-gradient(circle at 22% 76%, color-mix(in srgb, var(--element) 28%, transparent), transparent 34%),
    radial-gradient(circle at 80% 8%, color-mix(in srgb, var(--element) 20%, transparent), transparent 40%);
}

.boss-card:hover {
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.58),
    0 0 46px color-mix(in srgb, var(--element) 38%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--element) 32%, transparent);
}

.element-sigil {
  position: relative;
  z-index: 5;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: var(--element);
  filter: drop-shadow(0 0 12px var(--element));
}

.element-sigil::before,
.element-sigil::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.element-sigil::after {
  inset: 7px;
  transform: rotate(0deg);
}

.legend-card::before {
  background:
    linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.75) 100%),
    radial-gradient(circle at 50% 34%, rgba(255, 224, 151, 0.16), transparent 46%);
}

.cta {
  width: 100%;
  min-height: 324px;
  margin-top: 72px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(201, 162, 75, 0.28);
  border-bottom: 1px solid rgba(201, 162, 75, 0.28);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/cta-landscape.webp");
  background-position: center right;
  background-size: cover;
  transform: translate3d(0, calc(var(--parallax, 0) * -0.035px), 0) scale(1.05);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.92), rgba(3, 8, 14, 0.55) 44%, rgba(3, 8, 14, 0.1)),
    linear-gradient(180deg, rgba(7, 19, 33, 0.72), transparent 45%, rgba(4, 9, 16, 0.7));
}

.cta-content {
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0;
}

.cta h2 {
  max-width: 760px;
  margin: 0 0 12px;
  color: #ffe3a6;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.04;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(201, 162, 75, 0.4);
}

.cta p {
  max-width: 620px;
  margin: 0 0 28px;
  color: #e8edf1;
  font-size: 1rem;
  line-height: 1.65;
}

.faq {
  padding-bottom: 72px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(201, 162, 75, 0.32);
  background:
    linear-gradient(180deg, rgba(9, 23, 38, 0.64), rgba(3, 7, 13, 0.76)),
    rgba(7, 17, 30, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.faq-item button {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 0 20px;
  border: 0;
  color: #f3ead7;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq-item button span {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.faq-item button i {
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--gold);
  transition: transform 260ms ease;
}

.faq-item button i::before,
.faq-item button i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open button i {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 320ms ease, opacity 240ms ease;
}

.faq-panel p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
  color: #c6d0d7;
  line-height: 1.7;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-item.is-open .faq-panel p {
  padding-bottom: 20px;
}

.site-footer {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.12fr) minmax(170px, 0.72fr) minmax(240px, 0.9fr);
  gap: 32px;
  padding: 42px 0 54px;
  border-top: 1px solid rgba(201, 162, 75, 0.22);
  color: #bfc8cf;
}

.footer-brand .brand-main {
  font-size: 2.4rem;
}

.site-footer > div:not(.brand) {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer strong {
  color: #e2c075;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  color: #aeb7c0;
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: #ffe4a3;
}

.footer-copy {
  max-width: 340px;
  margin: 14px 0 0;
  color: #aeb7c0;
  font-size: 0.9rem;
  line-height: 1.62;
  text-transform: none;
}

.server-info {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(201, 162, 75, 0.24);
  background: rgba(3, 8, 14, 0.45);
}

.server-info span {
  color: #8f9aa4;
  font-size: 0.76rem;
}

.server-info strong {
  color: #ffd77a;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

.server-info small {
  color: #aeb7c0;
  font-size: 0.78rem;
  line-height: 1.4;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 162, 75, 0.18);
}

.footer-bottom p {
  margin: 0;
  color: #7f8a94;
  font-size: 0.82rem;
  line-height: 1.5;
}

.guide-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--header-height) + 40px) 32px 32px;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.92), rgba(3, 8, 14, 0.58)),
    url("assets/cta-landscape.webp") center / cover fixed,
    #071321;
}

.guide-shell {
  width: min(780px, 100%);
  margin: auto 0;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid rgba(201, 162, 75, 0.42);
  background:
    linear-gradient(180deg, rgba(9, 22, 38, 0.78), rgba(3, 8, 14, 0.88)),
    rgba(7, 17, 30, 0.74);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.guide-shell h1 {
  margin: 34px 0 12px;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 0.95;
  text-transform: uppercase;
}

.guide-shell p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #d9e0e5;
  font-size: 1.05rem;
  line-height: 1.75;
}

.guide-page .site-footer {
  margin-top: 44px;
  padding-bottom: 24px;
}

.download-page {
  background:
    radial-gradient(circle at 78% 12%, rgba(201, 162, 75, 0.12), transparent 28rem),
    radial-gradient(circle at 14% 20%, rgba(183, 61, 49, 0.12), transparent 30rem),
    linear-gradient(180deg, #06101d 0%, #0b1a2a 46%, #040910 100%);
}

.download-main {
  padding-bottom: 72px;
}

.download-hero {
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-height) + 72px) clamp(22px, 6vw, 72px) 76px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.26);
  background: #03070d;
}

.download-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.94), rgba(3, 8, 14, 0.72) 40%, rgba(3, 8, 14, 0.24)),
    linear-gradient(180deg, rgba(3, 8, 14, 0.12), #071321 96%),
    url("assets/download-bg.webp") center top / cover;
  transform: translate3d(0, calc(var(--parallax, 0) * 0.04px), 0) scale(1.035);
}

.download-hero__content {
  width: min(850px, 100%);
}

.download-launch {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  color: #fff7e2;
  background: rgba(139, 38, 32, 0.76);
  border: 1px solid rgba(255, 220, 142, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.download-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6.4vw, 5.7rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(86, 54, 16, 0.8),
    0 0 34px rgba(201, 162, 75, 0.42);
}

.download-hero h1 span {
  color: #ffd77a;
  white-space: nowrap;
}

.download-hero__content > p:not(.download-launch) {
  max-width: 640px;
  margin: 24px 0 0;
  color: #e3e8ec;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.download-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.download-section {
  padding-top: 76px;
}

.download-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-link-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(201, 162, 75, 0.32);
  background:
    linear-gradient(180deg, rgba(9, 22, 38, 0.7), rgba(3, 8, 14, 0.84)),
    rgba(7, 17, 30, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.download-link-card--primary {
  border-color: rgba(255, 215, 122, 0.7);
  background:
    linear-gradient(135deg, rgba(112, 70, 16, 0.58), rgba(8, 20, 34, 0.84)),
    rgba(7, 17, 30, 0.74);
}

.download-link-card:hover,
.download-link-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 216, 127, 0.88);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(201, 162, 75, 0.2),
    inset 0 0 0 1px rgba(255, 236, 186, 0.08);
  outline: none;
}

.download-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #08111c;
  background: #ffd77a;
  border: 1px solid rgba(255, 244, 204, 0.5);
  box-shadow: 0 0 24px rgba(201, 162, 75, 0.28);
}

.download-link-card:not(.download-link-card--primary) .download-icon {
  color: #ffd77a;
  background: rgba(3, 8, 14, 0.62);
  border-color: rgba(201, 162, 75, 0.34);
}

.download-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-link-card strong {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #ffe4a3;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.download-link-card em {
  padding: 4px 7px;
  color: #071321;
  background: #ffd77a;
  font-size: 0.64rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.download-link-card small {
  display: block;
  margin-top: 6px;
  color: #aeb9c2;
  font-size: 0.86rem;
  line-height: 1.4;
}

.download-link-card b {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: rgba(255, 215, 122, 0.68);
  transform: rotate(45deg);
  transition: transform 180ms ease, color 180ms ease;
}

.download-link-card:hover b,
.download-link-card:focus-visible b {
  color: #ffe4a3;
  transform: translateX(3px) rotate(45deg);
}

.download-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 22px;
}

.download-panel,
.download-cta {
  border: 1px solid rgba(201, 162, 75, 0.38);
  background:
    linear-gradient(180deg, rgba(9, 22, 38, 0.74), rgba(3, 8, 14, 0.86)),
    rgba(7, 17, 30, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 20px 54px rgba(0, 0, 0, 0.36);
}

.download-panel {
  padding: clamp(24px, 3.2vw, 34px);
}

.download-panel h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
  color: #ffd77a;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.download-panel h2 svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.install-steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffd77a;
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid rgba(201, 162, 75, 0.38);
  font-size: 0.86rem;
  font-weight: 900;
}

.install-steps p,
.download-tool-panel p,
.download-tool-panel small,
.requirements-notes p,
.download-cta p {
  margin: 0;
  color: #d5dde3;
  font-size: 0.96rem;
  line-height: 1.68;
}

.download-tool-panel {
  display: grid;
  align-content: start;
}

.download-tool-panel .btn {
  width: max-content;
  min-width: 0;
  margin-top: 24px;
}

.download-tool-panel small {
  display: block;
  margin-top: 18px;
  color: #9da8b2;
  font-size: 0.84rem;
}

.download-tool-panel small span {
  color: #ffd77a;
}

.requirements-table-wrap {
  overflow-x: auto;
}

.requirements-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #d5dde3;
  font-size: 0.92rem;
}

.requirements-table th,
.requirements-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.18);
  text-align: left;
  vertical-align: top;
}

.requirements-table th {
  color: #ffd77a;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.requirements-table tbody tr:nth-child(odd) {
  background: rgba(3, 8, 14, 0.36);
}

.requirements-table td:first-child {
  color: #ffd77a;
  font-weight: 900;
}

.requirements-table td:nth-child(3) {
  color: #eef2f4;
}

.requirements-notes {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.requirements-notes p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  color: #bfc8d1;
  font-size: 0.9rem;
}

.requirements-notes svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: #ffd77a;
}

.requirements-notes p:first-child svg {
  fill: #d76152;
}

.requirements-notes span {
  color: #ffd77a;
}

.download-cta {
  margin-top: 30px;
  padding: clamp(30px, 4vw, 48px);
  text-align: center;
}

.download-cta h2 {
  margin: 0;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-transform: uppercase;
}

.download-cta p {
  max-width: 620px;
  margin: 16px auto 0;
}

.download-cta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

.class-guide-page {
  background:
    radial-gradient(circle at 76% 12%, rgba(201, 162, 75, 0.12), transparent 28rem),
    radial-gradient(circle at 8% 22%, rgba(79, 135, 186, 0.16), transparent 32rem),
    linear-gradient(180deg, #06101d 0%, #0b1a2a 46%, #040910 100%);
}

.class-guide-main {
  padding-bottom: 72px;
}

.class-guide-hero {
  min-height: 610px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-height) + 64px) clamp(22px, 6vw, 72px) 72px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.26);
  background: #03070d;
}

.class-guide-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.94), rgba(3, 8, 14, 0.7) 44%, rgba(3, 8, 14, 0.18)),
    linear-gradient(180deg, rgba(3, 8, 14, 0.16), #071321 94%),
    url("assets/cta-landscape.webp") center / cover;
  transform: translate3d(0, calc(var(--parallax, 0) * 0.04px), 0) scale(1.03);
}

.class-guide-hero__content {
  width: min(860px, 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 20px;
  color: #bdc5cd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: #e5c879;
}

.class-guide-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 6.5vw, 5.8rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(86, 54, 16, 0.8),
    0 0 34px rgba(201, 162, 75, 0.42);
}

.class-guide-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #e3e8ec;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.class-guide-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 820px;
  margin-top: 30px;
}

.class-filter {
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(201, 162, 75, 0.32);
  color: #c9d0d6;
  background: rgba(4, 10, 18, 0.62);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.class-filter:hover,
.class-filter:focus-visible,
.class-filter.is-active {
  color: #fff2c8;
  border-color: rgba(255, 215, 122, 0.82);
  background: rgba(105, 69, 18, 0.62);
  transform: translateY(-1px);
  outline: none;
}

.class-list-section {
  padding-top: 76px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.class-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.class-guide-card {
  position: relative;
  min-height: 330px;
  aspect-ratio: 0.78;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.38);
  background: rgba(4, 10, 18, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.34);
  transform: translateZ(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, opacity 180ms ease;
}

.class-guide-card.is-hidden {
  display: none;
}

.class-guide-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms ease, filter 260ms ease;
}

.class-guide-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.46) 42%, rgba(0, 0, 0, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(255, 221, 145, 0.14), transparent 42%);
}

.class-guide-card__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 20px;
}

.class-guide-card__top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.class-guide-card strong {
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.65vw, 1.42rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.92);
}

.class-guide-card em {
  flex-shrink: 0;
  padding: 5px 8px;
  color: #ffd77a;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(201, 162, 75, 0.28);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.class-guide-card small {
  color: #d8c68c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.class-guide-card__body > span:not(.class-guide-card__top) {
  color: #ecf0f2;
  font-size: 0.88rem;
  line-height: 1.45;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.88);
}

.class-guide-card b {
  color: #ffd77a;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-guide-card b::after {
  content: " ->";
}

.class-guide-card:hover,
.class-guide-card:focus-visible,
.class-guide-card.is-selected {
  transform: translateY(-6px);
  border-color: rgba(255, 216, 127, 0.88);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.54),
    0 0 42px rgba(201, 162, 75, 0.22),
    inset 0 0 0 1px rgba(255, 236, 186, 0.08);
  outline: none;
}

.class-guide-card:hover img,
.class-guide-card:focus-visible img,
.class-guide-card.is-selected img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.class-detail-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.class-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.class-detail-media,
.class-detail-panel,
.detail-card,
.class-detail-cta,
.class-community {
  border: 1px solid rgba(201, 162, 75, 0.38);
  background:
    linear-gradient(180deg, rgba(9, 22, 38, 0.74), rgba(3, 8, 14, 0.86)),
    rgba(7, 17, 30, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 20px 54px rgba(0, 0, 0, 0.36);
}

.class-detail-media {
  display: grid;
  min-height: 440px;
  padding: 14px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(201, 162, 75, 0.14), transparent 44%),
    rgba(2, 6, 11, 0.92);
}

.class-detail-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.class-detail-panel {
  display: grid;
  align-content: end;
  padding: clamp(24px, 4vw, 42px);
}

.class-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.class-detail-tags span {
  padding: 8px 11px;
  color: #f4d77d;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(201, 162, 75, 0.34);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-detail-panel h2,
.class-detail-cta h2,
.class-community h2 {
  margin: 0;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.06;
  text-transform: uppercase;
}

.class-detail-panel p,
.class-detail-cta p,
.class-community p {
  margin: 18px 0 0;
  color: #dfe6ea;
  font-size: 1rem;
  line-height: 1.7;
}

.class-detail-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.detail-card {
  padding: clamp(22px, 3vw, 30px);
}

.detail-card h3 {
  margin: 0 0 16px;
  color: #ffd77a;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-card p,
.detail-card li {
  color: #d5dde3;
  font-size: 0.95rem;
  line-height: 1.68;
}

.detail-card p {
  margin: 0;
}

.detail-card p + p {
  margin-top: 12px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.skill-grid article {
  min-height: 112px;
  padding: 15px;
  border: 1px solid rgba(201, 162, 75, 0.24);
  background: rgba(3, 8, 14, 0.52);
}

.detail-card h4 {
  margin: 0 0 8px;
  color: #f3cf74;
  font-size: 0.94rem;
  font-weight: 800;
}

.skill-grid p,
.build-list p {
  color: #bfc8d1;
  font-size: 0.88rem;
}

.detail-note {
  margin-top: 16px;
  color: #9da8b2;
  font-size: 0.86rem;
  font-style: italic;
}

.build-list {
  display: grid;
  gap: 18px;
}

.tips-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.tips-list li::marker {
  color: #ffd77a;
  font-weight: 900;
}

.class-detail-cta,
.class-community {
  margin-top: 22px;
  padding: clamp(26px, 4vw, 44px);
  text-align: center;
}

.class-detail-cta h2 span {
  color: #ffd77a;
}

.class-detail-cta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 26px;
}

.class-community {
  margin-bottom: 0;
}

.class-community .btn {
  margin-top: 24px;
}

.boss-guide-page {
  background:
    radial-gradient(circle at 80% 10%, rgba(183, 61, 49, 0.14), transparent 27rem),
    radial-gradient(circle at 12% 24%, rgba(201, 162, 75, 0.1), transparent 32rem),
    linear-gradient(180deg, #06101d 0%, #0b1a2a 48%, #040910 100%);
}

.boss-guide-main {
  padding-bottom: 72px;
}

.boss-guide-hero {
  min-height: 630px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-height) + 64px) clamp(22px, 6vw, 72px) 72px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.26);
  background: #03070d;
}

.boss-guide-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.94), rgba(3, 8, 14, 0.68) 45%, rgba(3, 8, 14, 0.18)),
    linear-gradient(180deg, rgba(3, 8, 14, 0.16), #071321 94%),
    url("assets/bosses/antharas.webp") center / cover;
  transform: translate3d(0, calc(var(--parallax, 0) * 0.04px), 0) scale(1.03);
}

.boss-guide-hero__content {
  width: min(950px, 100%);
}

.boss-guide-hero h1 {
  max-width: 960px;
  margin: 0;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 6.2vw, 5.45rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(86, 54, 16, 0.8),
    0 0 34px rgba(201, 162, 75, 0.42);
}

.boss-guide-hero p {
  max-width: 700px;
  margin: 24px 0 0;
  color: #e3e8ec;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.boss-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.boss-tier {
  min-height: 110px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(201, 162, 75, 0.32);
  color: #d9e0e5;
  background:
    linear-gradient(180deg, rgba(9, 22, 38, 0.7), rgba(3, 8, 14, 0.82)),
    rgba(7, 17, 30, 0.74);
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.boss-tier strong {
  color: #ffd77a;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boss-tier span {
  color: #bfc8d1;
  font-size: 0.82rem;
  line-height: 1.45;
}

.boss-tier--epic {
  border-left: 4px solid #b73d31;
}

.boss-tier--high {
  border-left: 4px solid #c9a24b;
}

.boss-tier--mid {
  border-left: 4px solid #7fb069;
}

.boss-tier--all {
  border-left: 4px solid #8fb9dc;
}

.boss-tier:hover,
.boss-tier:focus-visible,
.boss-tier.is-active {
  border-color: rgba(255, 216, 127, 0.86);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), 0 0 28px rgba(201, 162, 75, 0.16);
  outline: none;
}

.boss-list-section {
  padding-top: 76px;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.boss-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.boss-guide-card {
  position: relative;
  min-height: 390px;
  aspect-ratio: 1.04;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.38);
  background: rgba(4, 10, 18, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.34);
  transform: translateZ(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.boss-guide-card.is-hidden {
  display: none;
}

.boss-guide-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms ease, filter 260ms ease;
}

.boss-guide-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.48) 40%, rgba(0, 0, 0, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(255, 221, 145, 0.13), transparent 42%);
}

.boss-guide-card__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 22px;
}

.boss-guide-card strong {
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.04;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(0, 0, 0, 0.92);
}

.boss-guide-card em {
  color: #d8c68c;
  font-size: 0.88rem;
  font-style: italic;
}

.boss-guide-card__body > span {
  color: #ecf0f2;
  font-size: 0.9rem;
  line-height: 1.5;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.88);
}

.boss-guide-card small {
  padding-top: 2px;
  color: #bfc8d1;
  font-size: 0.78rem;
  line-height: 1.4;
}

.boss-guide-card b {
  color: #ffd77a;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boss-guide-card b::after {
  content: " ->";
}

.boss-guide-card:hover,
.boss-guide-card:focus-visible,
.boss-guide-card.is-selected {
  transform: translateY(-6px);
  border-color: rgba(255, 216, 127, 0.88);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.54),
    0 0 42px rgba(201, 162, 75, 0.22),
    inset 0 0 0 1px rgba(255, 236, 186, 0.08);
  outline: none;
}

.boss-guide-card:hover img,
.boss-guide-card:focus-visible img,
.boss-guide-card.is-selected img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.boss-detail-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.boss-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.boss-detail-media,
.boss-detail-panel,
.boss-detail-cta,
.boss-community {
  border: 1px solid rgba(201, 162, 75, 0.38);
  background:
    linear-gradient(180deg, rgba(9, 22, 38, 0.74), rgba(3, 8, 14, 0.86)),
    rgba(7, 17, 30, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 20px 54px rgba(0, 0, 0, 0.36);
}

.boss-detail-media {
  display: grid;
  min-height: 440px;
  padding: 14px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(183, 61, 49, 0.14), transparent 44%),
    rgba(2, 6, 11, 0.92);
}

.boss-detail-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.boss-detail-panel {
  display: grid;
  align-content: end;
  padding: clamp(24px, 4vw, 42px);
}

.boss-detail-panel h2,
.boss-detail-cta h2,
.boss-community h2 {
  margin: 0;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.1vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.08;
  text-transform: uppercase;
}

.boss-detail-title {
  margin: 14px 0 0;
  color: #ffd77a;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-style: italic;
}

.boss-detail-panel > p:not(.boss-detail-title),
.boss-detail-cta p,
.boss-community p {
  margin: 18px 0 0;
  color: #dfe6ea;
  font-size: 1rem;
  line-height: 1.7;
}

.boss-detail-stats {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.boss-detail-stats span {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 162, 75, 0.24);
  background: rgba(0, 0, 0, 0.3);
}

.boss-detail-stats small {
  color: #9da8b2;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boss-detail-stats strong {
  color: #ffd77a;
  font-size: 0.95rem;
  line-height: 1.35;
}

.boss-detail-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.boss-story-card,
.boss-drop-card {
  grid-column: 1 / -1;
}

.detail-note--gold {
  margin-bottom: 18px;
  color: #c9a24b;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boss-story {
  display: grid;
  gap: 12px;
}

.boss-table-wrap {
  overflow-x: auto;
}

.boss-drop-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #d5dde3;
  font-size: 0.9rem;
}

.boss-drop-table th,
.boss-drop-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.18);
  text-align: left;
}

.boss-drop-table th {
  color: #ffd77a;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boss-drop-table tbody tr:nth-child(odd) {
  background: rgba(3, 8, 14, 0.36);
}

.boss-drop-table td:first-child,
.boss-drop-table td:nth-child(3) {
  color: #eef2f4;
  font-weight: 800;
}

.boss-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.boss-info-grid article {
  min-height: 122px;
  padding: 16px;
  border: 1px solid rgba(201, 162, 75, 0.24);
  background: rgba(3, 8, 14, 0.52);
}

.boss-info-grid p {
  color: #ffd77a;
  font-size: 1.1rem;
  font-weight: 900;
}

.boss-info-grid small {
  display: block;
  margin-top: 8px;
  color: #9da8b2;
  font-size: 0.82rem;
}

.boss-tips {
  display: grid;
  gap: 18px;
}

.boss-tips ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.boss-tips li::marker {
  color: #ffd77a;
}

.boss-detail-cta,
.boss-community {
  margin-top: 22px;
  padding: clamp(26px, 4vw, 44px);
  text-align: center;
}

.boss-detail-cta h2 span {
  color: #ffd77a;
}

.boss-detail-cta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 26px;
}

.boss-community {
  margin-bottom: 0;
}

.boss-community .btn {
  margin-top: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes raysDrift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(2%, 1.5%, 0) rotate(3deg);
  }
}

@keyframes staffPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

@keyframes goldSweep {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes lightningPulse {
  0%, 6%, 14%, 22%, 60%, 100% {
    opacity: 0;
    filter: brightness(1) drop-shadow(0 0 0 transparent);
  }
  7%, 9% {
    opacity: 1;
    filter: brightness(1.45) drop-shadow(0 0 22px rgba(190, 226, 255, 0.95));
  }
  10% {
    opacity: 0.18;
  }
  12%, 13% {
    opacity: 0.95;
    filter: brightness(1.35) drop-shadow(0 0 24px rgba(190, 226, 255, 0.85));
  }
  64%, 66% {
    opacity: 0.85;
    filter: brightness(1.25) drop-shadow(0 0 18px rgba(190, 226, 255, 0.65));
  }
  68% {
    opacity: 0;
  }
}

@keyframes cardPulse {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0.78;
  }
}

@media (max-width: 1120px) {
  :root {
    --container: min(100% - 36px, 960px);
  }

  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(201, 162, 75, 0.32);
    background: rgba(3, 8, 15, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(201, 162, 75, 0.14);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    left: auto;
    right: 10px;
  }

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

  .class-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .class-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .download-two-column {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 860px) {
  .hero {
    min-height: 780px;
    height: auto;
    align-items: end;
    padding-top: 190px;
  }

  .hero-bg {
    background-position: 66% center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(2, 6, 11, 0.14) 0%, rgba(2, 6, 11, 0.62) 42%, rgba(2, 6, 11, 0.96) 100%),
      linear-gradient(90deg, rgba(2, 6, 11, 0.86), rgba(2, 6, 11, 0.16) 54%, rgba(2, 6, 11, 0.26));
  }

  .hero-staff-glow {
    left: 39%;
    top: 8%;
  }

  .news-grid,
  .faq-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .news-list {
    align-content: start;
  }

  .legend-grid {
    grid-template-columns: 1fr;
  }

  .legend-card {
    min-height: 320px;
    aspect-ratio: 1;
  }

  .class-detail-layout,
  .class-detail-copy {
    grid-template-columns: 1fr;
  }

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

  .boss-detail-layout,
  .boss-detail-copy {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 22px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 560px);
    --header-height: 66px;
  }

  .site-header {
    grid-template-columns: auto auto;
    gap: 12px;
    padding: 8px 14px;
  }

  .brand-main {
    font-size: 1.8rem;
  }

  .brand-sub {
    font-size: 0.62rem;
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .header-btn {
    min-width: 0;
    padding: 10px 12px;
  }

  .menu-toggle {
    justify-self: end;
  }

  .site-nav {
    top: 112px;
  }

  .guide-page {
    padding: 138px 18px 24px;
  }

  .hero {
    padding: 210px 18px 58px;
    min-height: 820px;
  }

  .hero-content {
    width: min(100%, calc(100vw - 36px));
    max-width: calc(100vw - 36px);
    margin-top: 0;
  }

  .hero h1 span {
    font-size: clamp(3rem, 14vw, 3.9rem);
    letter-spacing: 0.045em;
    line-height: 0.92;
  }

  .hero h1 strong {
    font-size: clamp(1.42rem, 7vw, 2rem);
    letter-spacing: 0.02em;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section-band {
    padding-top: 46px;
  }

  .section-heading {
    grid-template-columns: auto 1fr;
  }

  .section-heading > a {
    grid-column: 2;
    justify-self: start;
  }

  .section-heading::after {
    display: none;
  }

  .news-visual {
    min-height: 260px;
  }

  .news-caption {
    bottom: 32px;
  }

  .news-caption h3 {
    font-size: 1.28rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 4px;
  }

  .news-item::before {
    display: none;
  }

  .news-item span {
    white-space: normal;
  }

  .class-grid,
  .boss-grid {
    grid-template-columns: 1fr;
  }

  .class-guide-hero {
    min-height: 720px;
    padding: calc(var(--header-height) + 42px) 18px 50px;
  }

  .download-hero {
    min-height: 730px;
    padding: calc(var(--header-height) + 42px) 18px 52px;
  }

  .download-hero__bg {
    background-position: center top;
  }

  .download-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.65rem);
    letter-spacing: 0.045em;
  }

  .download-hero h1 span {
    white-space: normal;
  }

  .download-hero__actions,
  .download-hero__actions .btn,
  .download-tool-panel .btn,
  .download-cta .btn {
    width: 100%;
  }

  .download-tool-panel .btn {
    justify-self: stretch;
  }

  .download-link-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .download-link-card b {
    display: none;
  }

  .download-cta > div {
    display: grid;
  }

  .class-guide-grid {
    grid-template-columns: 1fr;
  }

  .boss-guide-hero {
    min-height: 760px;
    padding: calc(var(--header-height) + 42px) 18px 50px;
  }

  .boss-tier-grid,
  .boss-guide-grid,
  .boss-info-grid {
    grid-template-columns: 1fr;
  }

  .boss-guide-card {
    min-height: 380px;
    aspect-ratio: 0.95;
  }

  .class-guide-card {
    min-height: 360px;
    aspect-ratio: 1;
  }

  .class-guide-card__top {
    display: grid;
    justify-content: stretch;
  }

  .class-detail-media {
    min-height: 310px;
  }

  .boss-detail-media {
    min-height: 300px;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .class-detail-cta > div,
  .boss-detail-cta > div {
    display: grid;
  }

  .class-card {
    min-height: 430px;
    aspect-ratio: 0.68;
  }

  .boss-card {
    min-height: 330px;
    aspect-ratio: 1.05;
  }

  .cta {
    margin-top: 50px;
    min-height: 420px;
  }

  .cta-bg {
    background-position: 66% center;
  }

  .cta-content {
    padding: 58px 0;
  }

  .faq-item button {
    min-height: 58px;
    padding: 0 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Recovered additions for the current L2VN pages. */
.class-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.etheria-art {
  background-image: url("l2vnlore/assets/race-etheria.webp");
  background-position: center top;
  background-size: cover;
}

.home-news-art {
  position: absolute;
  inset: 0;
  display: block;
  background-image: var(--news-image);
  background-position: center;
  background-size: cover;
  transition: transform 600ms ease, filter 260ms ease;
}

.news-visual:hover .home-news-art {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.news-card__media {
  background-image: var(--news-image);
}

.home-news-grid,
.news-list-grid {
  display: grid;
  gap: 18px;
}

.home-news-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.news-card {
  position: relative;
  min-height: 390px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.38);
  background: rgba(4, 10, 18, 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.34);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.news-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.72) 76%, rgba(0, 0, 0, 0.94) 100%),
    radial-gradient(circle at 50% 0%, rgba(255, 221, 145, 0.12), transparent 40%);
}

.news-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 216, 127, 0.86);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.54),
    0 0 42px rgba(201, 162, 75, 0.28),
    inset 0 0 0 1px rgba(255, 236, 186, 0.08);
}

.news-card__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform 600ms ease, filter 260ms ease;
}

.news-card:hover .news-card__media {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.04);
}

.news-card__body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 22px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #d7ae5e;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.news-card p {
  margin: 0;
  color: #e3e8ec;
  line-height: 1.55;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.news-pagination a,
.news-pagination span {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 75, 0.36);
  background: rgba(3, 8, 14, 0.68);
  font-weight: 900;
}

.news-pagination .is-active {
  background: #8c631b;
  color: #fff7df;
}

.race-detail {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  margin-top: 8px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(201, 162, 75, 0.36);
  background:
    linear-gradient(180deg, rgba(9, 22, 38, 0.78), rgba(3, 8, 14, 0.88)),
    rgba(7, 17, 30, 0.72);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.race-detail[hidden] {
  display: none;
}

.race-detail__copy p {
  margin: 0;
  color: #d7dee6;
  font-size: 0.98rem;
  line-height: 1.7;
}

.race-detail__copy [data-race-kicker],
.race-detail__classes > strong {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.race-detail__copy h3 {
  margin: 0 0 12px;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
}

.race-detail__classes {
  display: grid;
  align-content: start;
  gap: 14px;
}

.race-class-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.race-class-link,
.race-class-empty {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(201, 162, 75, 0.36);
  color: #f7ead0;
  background: rgba(3, 8, 14, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.race-class-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 216, 127, 0.84);
  color: #fff2ca;
}

.news-page {
  background:
    radial-gradient(circle at 78% 12%, rgba(201, 162, 75, 0.12), transparent 28rem),
    radial-gradient(circle at 14% 20%, rgba(183, 61, 49, 0.12), transparent 30rem),
    linear-gradient(180deg, #06101d 0%, #0b1a2a 46%, #040910 100%);
}

.news-main {
  padding-bottom: 72px;
}

.news-page-hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-height) + 72px) clamp(22px, 6vw, 72px) 76px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.26);
}

.news-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.94), rgba(3, 8, 14, 0.52)),
    url("assets/cta-landscape.webp") center / cover;
}

.news-page-hero h1,
.news-detail-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #ffe4a3;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.news-detail-shell {
  width: min(980px, calc(100% - 48px));
  margin: calc(var(--header-height) + 34px) auto 0;
}

.news-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.news-detail-hero {
  position: relative;
  isolation: isolate;
  min-height: 470px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(201, 162, 75, 0.38);
  background: #03070d;
  box-shadow: var(--shadow);
}

.news-detail-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-image: var(--news-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.news-detail-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 8, 14, 0.94), rgba(3, 8, 14, 0.62) 48%, rgba(3, 8, 14, 0.32)),
    linear-gradient(180deg, transparent, rgba(3, 8, 14, 0.92));
}

.news-detail-hero > * {
  position: relative;
  z-index: 2;
}

.news-detail-type {
  width: max-content;
  margin: 22px 0 10px;
  padding: 8px 12px;
  color: #fff1c3;
  background: rgba(139, 38, 32, 0.7);
  border: 1px solid rgba(255, 220, 142, 0.3);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-detail-content {
  padding: clamp(24px, 4vw, 58px);
  color: #e3e8ec;
  line-height: 1.75;
  background: rgba(3, 8, 14, 0.68);
  border: 1px solid rgba(201, 162, 75, 0.22);
  border-top: 0;
}

.news-detail-content h2,
.news-detail-content h3 {
  color: #ffe4a3;
  font-family: var(--serif);
  text-transform: uppercase;
}

.lore-page {
  background: #03060b;
  color: #f6efe2;
}

.lore-page main {
  overflow: hidden;
}

.lore-page .section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(201, 162, 75, 0.28);
}

.lore-page .cinematic-section {
  min-height: 100vh;
}

.lore-page .section-bg,
.lore-page .section-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 80px);
}

.lore-page .section-bg {
  z-index: -3;
  object-fit: cover;
  transform: translate3d(0, calc(var(--parallax-y, 0) * 1px), 0) scale(1.04);
}

.lore-page .section-shade {
  z-index: -2;
  pointer-events: none;
}

.lore-page .section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 44%;
  background: linear-gradient(0deg, rgba(3, 6, 11, 0.94), transparent);
}

.lore-page .section-index {
  position: absolute;
  top: 108px;
  left: 38px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: 1rem;
}

.lore-page .section-index::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  width: 1px;
  height: 164px;
  background: linear-gradient(180deg, rgba(246, 239, 226, 0.72), rgba(201, 162, 75, 0));
}

.lore-page h1,
.lore-page h2,
.lore-page h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lore-page h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  line-height: 0.98;
}

.lore-page h2 {
  color: #f7df9a;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.03;
  text-shadow: 0 0 30px rgba(201, 162, 75, 0.2);
}

.lore-page .copy-stack,
.lore-page .hero-content p {
  color: rgba(246, 239, 226, 0.82);
  font-size: 1.03rem;
  line-height: 1.75;
}

.lore-page .copy-stack {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.lore-page .hero {
  display: grid;
  align-items: center;
  padding: var(--header-height) 10vw 80px;
}

.lore-page .hero-shade {
  background:
    radial-gradient(circle at 67% 26%, rgba(245, 215, 124, 0.14), transparent 20rem),
    linear-gradient(90deg, rgba(3, 6, 11, 0.96), rgba(3, 6, 11, 0.72) 28%, rgba(3, 6, 11, 0.18) 62%, rgba(3, 6, 11, 0.6));
}

.lore-page .hero-content {
  max-width: 820px;
  margin-left: 2vw;
  padding-top: 44px;
}

.lore-page .origin-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: 56px;
  padding: 112px 8vw 92px 11vw;
  background:
    radial-gradient(circle at 72% 42%, rgba(143, 29, 29, 0.24), transparent 22rem),
    linear-gradient(110deg, #03060b, #07101b 46%, #100708);
}

.lore-page .origin-art {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid rgba(201, 162, 75, 0.32);
  box-shadow: -52px 0 88px rgba(3, 6, 11, 0.72);
}

.lore-page .origin-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 6, 11, 0.4), transparent 28%),
    linear-gradient(0deg, rgba(3, 6, 11, 0.52), transparent 38%);
}

.lore-page .origin-art img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.lore-page .giants-section,
.lore-page .baium-section {
  display: grid;
  align-items: center;
  padding: 118px 9vw 92px;
}

.lore-page .giants-section {
  min-height: clamp(560px, 64vw, 880px);
}

.lore-page .giants-section .section-bg {
  object-position: center 38%;
}

.lore-page .giants-shade {
  background: linear-gradient(90deg, rgba(3, 6, 11, 0.16), rgba(3, 6, 11, 0.64) 47%, rgba(3, 6, 11, 0.92));
}

.lore-page .giants-copy {
  justify-self: end;
  width: min(100%, 620px);
  padding-right: 4vw;
}

.lore-page .races-section {
  min-height: auto;
  padding: 94px 7vw 86px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 162, 75, 0.12), transparent 22rem),
    linear-gradient(180deg, #050a11, #020409 64%, #05080d);
}

.lore-page .section-heading {
  display: block;
  text-align: center;
}

.lore-page .section-heading::after {
  display: none;
}

.lore-page .race-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1500px;
  margin: 36px auto 0;
}

.lore-page .race-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.46);
  background: #05070b;
}

.lore-page .race-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(3, 6, 11, 0.48) 58%, rgba(3, 6, 11, 0.98));
}

.lore-page .race-card img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center top;
}

.lore-page .race-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  z-index: 2;
  text-align: center;
}

.lore-page .race-info p {
  margin-top: 10px;
  color: rgba(246, 239, 226, 0.78);
  line-height: 1.45;
}

.lore-page .world-section {
  min-height: 720px;
  padding: 126px 8vw 90px;
}

.lore-page .world-shade {
  background:
    linear-gradient(90deg, rgba(3, 6, 11, 0.8), rgba(3, 6, 11, 0.26) 42%, rgba(3, 6, 11, 0.54)),
    linear-gradient(0deg, rgba(3, 6, 11, 0.68), transparent 54%);
}

.lore-page .world-title {
  position: absolute;
  top: 64px;
  left: 8vw;
  z-index: 5;
  max-width: 560px;
}

.lore-page .map-label {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: #fff1c3;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(3, 6, 11, 0.78);
  border: 1px solid rgba(201, 162, 75, 0.48);
}

.lore-page .map-label::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.lore-page .label-aden { top: 46%; left: 50%; }
.lore-page .label-elven { top: 31%; left: 28%; }
.lore-page .label-orc { top: 30%; right: 13%; }
.lore-page .label-dwarf { bottom: 23%; left: 20%; }
.lore-page .label-ruins { right: 7%; bottom: 20%; }

.lore-page .dragons-section {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(540px, 1.42fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
  padding: 112px 7vw 104px;
  background:
    radial-gradient(circle at 70% 46%, rgba(18, 41, 68, 0.36), transparent 32rem),
    linear-gradient(180deg, #040810, #020409);
}

.lore-page .dragons-section .anchor-offset {
  position: absolute;
  top: 0;
}

.lore-page .dragons-intro {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  max-width: 560px;
  padding-left: 2vw;
  padding-top: 8px;
}

.lore-page .dragon-row {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 620px);
  aspect-ratio: 1 / 1;
  justify-self: end;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.38);
  background: #020409;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.lore-page .dragon-card {
  --element: var(--gold);
  position: absolute;
  inset: 0;
  min-height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: opacity 700ms ease, transform 900ms ease;
  border: 0;
}

.lore-page .dragon-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.lore-page .dragon-art {
  position: absolute;
  inset: 0;
  background-image: var(--dragon-image);
  background-position: center 22%;
  background-size: cover;
  background-repeat: no-repeat;
}

.lore-page .dragon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 34%, rgba(3, 6, 11, 0.55) 66%, rgba(3, 6, 11, 0.98));
}

.lore-page .dragon-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  z-index: 2;
  text-align: left;
}

.lore-page .dragon-card h3 {
  color: #ffe4a3;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.98;
  text-shadow: 0 0 34px rgba(0, 0, 0, 0.86);
}

.lore-page .baium-shade {
  background: linear-gradient(90deg, rgba(3, 6, 11, 0.95), rgba(3, 6, 11, 0.74) 33%, rgba(3, 6, 11, 0.18) 64%, rgba(3, 6, 11, 0.74));
}

.lore-page .lightning {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.58;
  background:
    linear-gradient(108deg, transparent 43%, rgba(218, 232, 255, 0.52) 44%, transparent 45%),
    linear-gradient(75deg, transparent 61%, rgba(218, 232, 255, 0.42) 62%, transparent 63%);
  animation: lightningPulse 4.8s infinite;
}

.lore-page .baium-copy {
  max-width: 620px;
}

.lore-page .baium-copy blockquote {
  margin: 0;
  color: #fff3cb;
  font-family: var(--serif);
  font-size: 1.8rem;
}

.lore-page .siege-section {
  display: grid;
  align-items: end;
  min-height: 100vh;
  padding: 120px 8vw 96px;
}

.lore-page .siege-shade {
  background:
    linear-gradient(90deg, rgba(3, 6, 11, 0.95), rgba(3, 6, 11, 0.42) 44%, rgba(3, 6, 11, 0.72)),
    radial-gradient(circle at 70% 36%, rgba(201, 162, 75, 0.14), transparent 22rem);
}

.lore-page .siege-copy {
  max-width: 720px;
  padding: 32px;
  background: linear-gradient(90deg, rgba(3, 8, 14, 0.82), rgba(3, 8, 14, 0.34));
  border-left: 1px solid rgba(201, 162, 75, 0.42);
}

.lore-page .final-section {
  display: grid;
  place-items: center;
  min-height: 84vh;
  padding: 124px 24px 120px;
  text-align: center;
}

.lore-page .final-shade {
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 162, 75, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(3, 6, 11, 0.5), rgba(3, 6, 11, 0.92));
}

.lore-page .final-content {
  display: grid;
  justify-items: center;
  max-width: 820px;
}

@media (max-width: 1120px) {
  .class-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .news-list-grid,
  .race-detail,
  .lore-page .origin-section,
  .lore-page .dragons-section {
    grid-template-columns: 1fr;
  }

  .lore-page .race-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lore-page .world-title {
    left: 26px;
    right: 26px;
  }

  .lore-page .map-label {
    position: relative;
    inset: auto;
    margin: 8px 8px 0 0;
  }

  .lore-page .world-section {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
  }
}

@media (max-width: 640px) {
  .class-grid,
  .home-news-grid,
  .news-list-grid,
  .lore-page .race-grid {
    grid-template-columns: 1fr;
  }

  .lore-page .dragon-row {
    width: min(100%, 360px);
  }
}
