:root {
  --color-obsidian: #08090b;
  --color-graphite: #111318;
  --color-steel: #242831;
  --color-ivory: #f4f4f2;
  --color-ash: #9297a0;
  --color-gold: #c8a45d;
  --color-gold-light: #e6ca8d;
  --color-green: #879d80;
  --font-display: Cinzel, Georgia, serif;
  --font-ui: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --content-width: 1200px;
  --header-height: 82px;
}

html {
  min-width: 0;
  color-scheme: dark;
  scroll-behavior: smooth;
}

body.l2-site {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-obsidian);
  color: var(--color-ivory);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

body.l2-site *,
body.l2-site *::before,
body.l2-site *::after {
  box-sizing: border-box;
}

body.l2-site a {
  color: inherit;
}

body.l2-site section {
  width: auto;
  padding: 0;
  display: block;
  border-radius: 0;
  background-color: transparent;
}

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

.l2-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(200, 164, 93, .2);
  background: rgba(8, 9, 11, .9);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px);
}

.l2-header__inner {
  width: min(calc(100% - 40px), var(--content-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.l2-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.l2-brand__lineage {
  width: 116px;
  height: auto;
}

.l2-brand__next {
  width: 92px;
  height: auto;
}

.l2-nav {
  position: static;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  padding: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: normal;
  background: none;
}

.l2-nav a {
  position: relative;
  float: none;
  display: block;
  padding: 11px 10px;
  color: #d7d8d5 !important;
  font-family: var(--font-ui) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.l2-nav a:hover,
.l2-nav a:focus-visible {
  color: var(--color-gold-light) !important;
  text-shadow: none;
}

.l2-nav .l2-nav__cta {
  margin-left: 7px;
  padding: 11px 15px;
  border: 1px solid rgba(200, 164, 93, .65);
  background: linear-gradient(135deg, rgba(200, 164, 93, .18), rgba(200, 164, 93, .05));
  color: var(--color-gold-light);
}

.l2-nav .l2-nav__cta:hover,
.l2-nav .l2-nav__cta:focus-visible {
  border-color: var(--color-gold-light);
  background: rgba(200, 164, 93, .18);
}

.l2-languages {
  display: flex;
  align-items: center;
  gap: 1px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.l2-languages a {
  padding: 7px 5px;
  color: var(--color-ash);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
}

.l2-languages a:hover,
.l2-languages a[aria-current="true"] {
  color: var(--color-gold-light);
}

.l2-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(200, 164, 93, .35);
  background: transparent;
  color: var(--color-ivory);
  cursor: pointer;
}

.l2-menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.l2-main {
  min-height: 60vh;
}

.home-page {
  width: 100%;
}

.legacy-page {
  width: min(calc(100% - 32px), 1040px);
  min-height: 520px;
  margin: 120px auto 64px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(145deg, rgba(25, 28, 34, .96), rgba(14, 16, 20, .98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

.legacy-page h1,
.legacy-page h2,
.legacy-page h3 {
  color: var(--color-ivory);
}

.l2-footer {
  width: 100%;
  height: auto;
  margin: 0;
  line-height: normal;
  text-align: left;
  font-weight: 400;
  border-top: 1px solid rgba(200, 164, 93, .15);
  background: #07080a;
}

.l2-footer__inner {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px 40px;
}

.l2-footer__brand img {
  width: 112px;
  height: auto;
  opacity: .82;
}

.l2-footer__brand p,
.l2-footer__legal {
  margin: 8px 0 0;
  color: #71767f;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.l2-footer__links {
  position: static;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  line-height: normal;
  background: none;
}

.l2-footer__links a {
  float: none;
  display: block;
  padding: 0;
  color: #a8abb0 !important;
  font-family: var(--font-ui) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: none;
}

.l2-footer__links a:hover {
  color: var(--color-gold-light) !important;
  text-shadow: none;
}

.l2-footer__legal {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  text-align: center;
  text-transform: none;
}

.home-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.home-section {
  position: relative;
  padding: 112px 0;
}

.home-kicker,
.home-eyebrow {
  margin: 0 0 18px;
  color: var(--color-gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.home-heading {
  margin-bottom: 48px;
}

.home-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.home-heading h2,
.home-value h2,
.home-battle h2,
.home-play h2 {
  margin: 0;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.home-hero {
  position: relative;
  min-height: max(720px, 100vh);
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #0b0e0d url('../imgs/l2next/hero.jpg') center 35% / cover no-repeat;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 10, .93) 0%, rgba(7, 9, 10, .56) 47%, rgba(7, 9, 10, .17) 75%),
    linear-gradient(0deg, var(--color-obsidian) 0%, transparent 30%);
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 72% 39%, rgba(135, 157, 128, .12), transparent 32%);
  pointer-events: none;
}

.home-hero__content {
  padding-top: var(--header-height);
}

.identity-lockup {
  width: min(440px, 68vw);
  margin-bottom: 33px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.identity-lockup__lineage {
  width: 100%;
  height: auto;
}

.identity-lockup__next {
  width: 70%;
  height: auto;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.home-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.l2-button {
  min-width: 160px;
  padding: 15px 23px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}

.l2-button:hover {
  transform: translateY(-2px);
}

.l2-button--gold {
  border-color: var(--color-gold);
  background: linear-gradient(135deg, #d2af68, #9d793b);
  box-shadow: 0 15px 35px rgba(157, 121, 59, .18);
  color: #0a0b0d !important;
}

.l2-button--ghost {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(8, 9, 11, .24);
  color: white !important;
}

.l2-button--ghost:hover {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(8, 9, 11, .45);
}

.home-hero__facts {
  position: absolute;
  right: 0;
  bottom: -155px;
  display: flex;
  gap: 1px;
}

.home-hero__facts > div {
  min-width: 145px;
  padding: 20px 24px;
  border-top: 1px solid rgba(200, 164, 93, .35);
  background: rgba(8, 9, 11, .62);
  backdrop-filter: blur(12px);
}

.home-hero__facts span,
.home-hero__facts strong {
  display: block;
}

.home-hero__facts span {
  margin-bottom: 7px;
  color: var(--color-ash);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home-hero__facts strong {
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
}

.status-text--on {
  color: #9fbd95 !important;
}

.status-text--off {
  color: #b88275 !important;
}

.home-scroll {
  position: absolute;
  z-index: 3;
  bottom: 40px;
  left: 50%;
  width: 24px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 18px;
  transform: translateX(-50%);
}

.home-scroll span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--color-gold-light);
  transform: translateX(-50%);
}

.home-value {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.home-value__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .7fr);
  align-items: end;
  gap: 80px;
}

.home-value h2 {
  max-width: 820px;
  font-size: clamp(40px, 5.5vw, 76px);
}

.home-value__copy {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--color-gold);
  color: #afb2b6;
  font-size: 17px;
  line-height: 1.75;
}

.home-features {
  background: linear-gradient(180deg, #0b0d10, #101216);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .09);
  border-left: 1px solid rgba(255, 255, 255, .09);
}

.feature-card {
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .09);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .012);
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.feature-card:hover {
  z-index: 1;
  background: rgba(200, 164, 93, .07);
  transform: translateY(-3px);
}

.feature-card > span {
  color: var(--color-gold);
  font-size: 10px;
  letter-spacing: .16em;
}

.feature-card h3 {
  margin: auto 0 0;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 400;
}

.feature-card i {
  align-self: flex-end;
  color: var(--color-ash);
  font-style: normal;
}

.live-world {
  background:
    radial-gradient(circle at 15% 50%, rgba(135, 157, 128, .08), transparent 32%),
    var(--color-obsidian);
}

.live-pulse {
  padding: 9px 13px;
  border: 1px solid rgba(135, 157, 128, .26);
  color: #a8bda2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.live-pulse i {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #8eaa84;
  box-shadow: 0 0 12px #8eaa84;
}

.world-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

.world-status-card,
.rankings-card {
  min-height: 340px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(145deg, #15181d, #0e1013);
}

.world-status-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.world-status-card > p,
.rankings-card > p {
  margin: 0;
  color: var(--color-ash);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.world-status-card__number {
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 124px);
  font-weight: 400;
  line-height: 1;
}

.world-status-card__unavailable {
  max-width: 370px;
  color: #b4b6b9;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
}

.service-statuses {
  display: flex;
  gap: 22px;
  color: #9ea2a8;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #a25f53;
}

.status-dot--on {
  background: #8eaa84;
  box-shadow: 0 0 10px rgba(142, 170, 132, .7);
}

.rankings-card {
  display: flex;
  flex-direction: column;
}

.rankings-card > p {
  margin-bottom: 25px;
}

.rankings-card a {
  padding: 18px 2px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #d7d8d8;
  font-family: var(--font-display);
  font-size: 20px;
  text-decoration: none;
}

.rankings-card a:hover {
  color: var(--color-gold-light);
}

.rankings-card i {
  color: var(--color-gold);
  font-family: var(--font-ui);
  font-style: normal;
}

.home-journey {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .05);
  background: #0c0e11;
}

.journey-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  counter-reset: journey;
}

.journey-steps li {
  position: relative;
  min-height: 220px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(200, 164, 93, .35);
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.journey-steps li:last-child {
  border-right: 0;
}

.journey-steps span {
  color: var(--color-gold);
  font-size: 11px;
  letter-spacing: .18em;
}

.journey-steps strong {
  margin-top: auto;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
}

.journey-steps a {
  position: absolute;
  right: 28px;
  bottom: 30px;
  color: var(--color-gold);
  font-size: 18px;
  text-decoration: none;
}

.home-battle {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c0e0f;
}

.home-battle::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 11, .97) 5%, rgba(8, 9, 11, .77) 48%, rgba(8, 9, 11, .2) 85%);
}

.home-battle__image {
  position: absolute;
  inset: 0;
  background: url('../imgs/l2next/hero.jpg') 68% center / cover no-repeat;
  filter: saturate(.7) contrast(1.1);
  transform: scaleX(-1) scale(1.03);
}

.home-battle__content {
  z-index: 2;
}

.home-battle h2 {
  max-width: 700px;
  font-size: clamp(52px, 8vw, 98px);
}

.home-battle__content > p:not(.home-kicker) {
  max-width: 520px;
  margin: 27px 0 0;
  color: #bec1c2;
  font-size: 17px;
  line-height: 1.7;
}

.home-news {
  background: #101216;
}

.home-text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-gold);
  color: var(--color-gold-light) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.news-card,
.news-empty {
  min-height: 300px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .018);
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.news-card time {
  color: var(--color-gold);
  font-size: 10px;
  letter-spacing: .15em;
}

.news-card h3 {
  margin: 28px 0 15px;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.news-card p {
  margin: 0;
  color: #91969d;
  font-size: 13px;
  line-height: 1.7;
}

.news-card > a {
  width: 38px;
  height: 38px;
  margin-top: auto;
  align-self: flex-end;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 164, 93, .4);
  color: var(--color-gold-light);
  text-decoration: none;
}

.news-empty {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--color-ash);
}

.home-play {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(200, 164, 93, .14), transparent 46%),
    var(--color-obsidian);
}

.home-play__content img {
  width: min(260px, 60vw);
  height: auto;
  margin-bottom: 30px;
}

.home-play h2 {
  max-width: 850px;
  margin: 0 auto;
}

.home-play .l2-button {
  margin-top: 36px;
}

.download-page {
  color: var(--color-ivory);
}

.journey-success {
  margin-bottom: 34px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(135, 157, 128, .42);
  background: rgba(135, 157, 128, .08);
}

.journey-success strong {
  color: #b9ceaf;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
}

.journey-success span {
  color: #adb2b5;
  font-size: 13px;
  line-height: 1.6;
}

.download-header {
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(200, 164, 93, .22);
}

.download-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
}

.download-header > p:last-child {
  margin: 10px 0 0;
  color: var(--color-ash);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

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

.download-card {
  min-height: 280px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .018);
}

.download-card__number {
  color: var(--color-gold);
  font-size: 10px;
  letter-spacing: .18em;
}

.download-card h2 {
  margin: 30px 0;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
}

.download-unavailable {
  margin: auto 0 0;
  color: var(--color-ash);
  font-size: 14px;
}

.download-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-support {
  padding-top: 35px;
  text-align: right;
}

.download-support a {
  color: var(--color-gold-light) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.support-page > h1 {
  margin: 0 0 34px;
  color: var(--color-ivory);
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 70px);
  font-weight: 400;
}

.support-notice {
  padding: 34px;
  border: 1px solid rgba(200, 164, 93, .24);
  background: rgba(200, 164, 93, .045);
  color: var(--color-ash);
  text-align: center;
}

.support-notice p {
  margin: 0;
}

@media (max-width: 1050px) {
  .l2-header__inner {
    gap: 14px;
  }

  .l2-brand__lineage {
    width: 98px;
  }

  .l2-brand__next {
    width: 76px;
  }

  .l2-nav a {
    padding-inline: 7px;
    font-size: 10px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .l2-header__inner {
    width: min(calc(100% - 24px), var(--content-width));
  }

  .l2-brand__lineage {
    width: 94px;
  }

  .l2-brand__next {
    width: 72px;
  }

  .l2-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .l2-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .l2-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .l2-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .l2-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 0;
    margin: 0;
    padding: 0 18px;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid transparent;
    background: rgba(8, 9, 11, .98);
    opacity: 0;
    transition: max-height .3s ease, padding .3s ease, opacity .2s ease;
  }

  .l2-nav[data-open="true"] {
    max-height: 480px;
    padding-block: 13px 18px;
    border-bottom-color: rgba(200, 164, 93, .22);
    opacity: 1;
  }

  .l2-nav a {
    padding: 13px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
  }

  .l2-nav .l2-nav__cta {
    margin: 10px 0 0;
    text-align: center;
  }

  .l2-languages {
    padding-left: 4px;
    border-left: 0;
  }

  .home-hero::before {
    background: linear-gradient(90deg, rgba(7, 9, 10, .92), rgba(7, 9, 10, .46)), linear-gradient(0deg, var(--color-obsidian), transparent 38%);
  }

  .home-hero__facts {
    position: static;
    margin-top: 60px;
    justify-content: flex-start;
  }

  .home-hero__facts > div {
    min-width: 0;
    flex: 1;
  }

  .home-value__grid,
  .world-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home-value__copy {
    max-width: 620px;
  }

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

@media (max-width: 760px) {
  .legacy-page {
    width: min(calc(100% - 20px), 1040px);
    margin-top: 88px;
    padding: 20px 14px;
  }

  .l2-footer__inner {
    width: min(calc(100% - 28px), var(--content-width));
    grid-template-columns: 1fr;
    text-align: center;
  }

  .l2-footer__links {
    justify-content: center;
  }

  .home-shell {
    width: min(calc(100% - 28px), var(--content-width));
  }

  .home-section {
    padding: 80px 0;
  }

  .home-heading {
    margin-bottom: 34px;
  }

  .home-heading--row {
    align-items: flex-start;
  }

  .home-hero {
    min-height: 720px;
    align-items: flex-end;
    padding: 120px 0 70px;
    background-position: 62% center;
  }

  .home-hero__content {
    padding-top: 0;
  }

  .home-hero h1 {
    font-size: clamp(48px, 16vw, 70px);
  }

  .home-hero__facts {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .home-hero__facts > div {
    padding: 15px 10px;
  }

  .home-hero__facts strong {
    font-size: 14px;
  }

  .home-scroll {
    display: none;
  }

  .feature-grid,
  .news-grid,
  .journey-steps {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 150px;
  }

  .world-status-card,
  .rankings-card {
    min-height: 300px;
    padding: 28px;
  }

  .journey-steps li,
  .journey-steps li:last-child {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .home-battle {
    min-height: 620px;
  }

  .home-battle::after {
    background: linear-gradient(90deg, rgba(8, 9, 11, .94), rgba(8, 9, 11, .48)), linear-gradient(0deg, #08090b, transparent 50%);
  }

  .home-play {
    padding: 96px 0;
  }

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

  .download-card {
    min-height: 240px;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .l2-brand {
    gap: 8px;
  }

  .l2-brand__lineage {
    width: 75px;
  }

  .l2-brand__next {
    width: 58px;
  }

  .l2-languages a {
    padding-inline: 4px;
    font-size: 9px;
  }

  .home-actions {
    align-items: stretch;
  }

  .l2-button {
    flex: 1 1 100%;
  }

  .home-hero__facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-hero__facts > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }

  .home-hero__facts span {
    margin-bottom: 0;
  }

  .service-statuses {
    flex-direction: column;
    gap: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* =====================================================================
   L2NEXT — tema das páginas internas (.legacy-page)
   O markup de pages/*.php vem do template antigo, desenhado para fundo
   CLARO: texto preto, linhas brancas, menus cinza. Dentro do card escuro
   isso fica ilegível. Este bloco traz esse conteúdo para a identidade
   verde sem reescrever página por página.
   ===================================================================== */

.l2-site .legacy-page {
  color: var(--color-ivory);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- títulos e divisores ---------- */

.l2-site .legacy-page h1 {
  width: auto;
  margin: 4px 0 26px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  text-shadow: none;
  color: var(--color-ivory);
}

.l2-site .legacy-page h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, #35c66b, transparent);
}

.l2-site .legacy-page h1 b {
  font-weight: inherit;
  color: inherit;
}

.l2-site .legacy-page h2 {
  margin: 34px 0 16px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .03em;
  text-shadow: none;
}

.l2-site .legacy-page h5 {
  margin: 0 0 10px;
  color: var(--color-ash);
  font-weight: 600;
}

.l2-site .legacy-page hr {
  width: 100%;
  height: 1px;
  margin: 26px auto;
  background: linear-gradient(90deg, transparent, rgba(53, 198, 107, .38), transparent);
}

.l2-site .legacy-page p,
.l2-site .legacy-page li,
.l2-site .legacy-page label,
.l2-site .legacy-page center,
.l2-site .legacy-page div {
  color: inherit;
}

/* ---------- links ---------- */

.l2-site .legacy-page a {
  color: #57f39a;
  transition: color .2s ease;
}

.l2-site .legacy-page a:hover {
  color: #9dffc8;
}

/* ---------- caixa de regras (registro) ---------- */

.l2-site .legacy-page .rulesbox {
  height: 300px;
  width: 100%;
  padding: 22px 26px;
  border: 1px solid rgba(53, 198, 107, .22);
  border-radius: 6px;
  background: rgba(6, 10, 8, .55);
  scrollbar-color: #35c66b rgba(255, 255, 255, .06);
  scrollbar-width: thin;
}

.l2-site .legacy-page .rulesbox::-webkit-scrollbar {
  width: 9px;
}

.l2-site .legacy-page .rulesbox::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .05);
}

.l2-site .legacy-page .rulesbox::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: rgba(53, 198, 107, .55);
}

.l2-site .legacy-page .rulesbox h1 {
  margin: 0 0 18px;
  padding: 0;
  font-size: 21px;
}

.l2-site .legacy-page .rulesbox h1::after {
  display: none;
}

/* ---------- menu horizontal (abas) ---------- */

.l2-site .legacy-page .horMenu {
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.l2-site .legacy-page .horMenu a {
  float: none;
  margin: 0;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--color-ash) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: none;
}

.l2-site .legacy-page .horMenu a:hover {
  border-color: rgba(53, 198, 107, .5) !important;
  color: var(--color-ivory) !important;
}

.l2-site .legacy-page .horMenu a.act,
.l2-site .legacy-page .horMenu a.ativa {
  border-color: rgba(53, 198, 107, .75) !important;
  background: rgba(53, 198, 107, .14);
  color: #7dffb4 !important;
  text-shadow: 0 0 12px rgba(53, 198, 107, .5);
}

/* ---------- tabelas de ranking ---------- */

.l2-site .legacy-page table.default {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: none;
  background: rgba(8, 11, 14, .5);
}

.l2-site .legacy-page table.default tr th {
  padding: 12px 10px;
  background: rgba(53, 198, 107, .12);
  border-bottom: 1px solid rgba(53, 198, 107, .3);
  color: #9dffc8;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.l2-site .legacy-page table.default tr td {
  padding: 10px;
  border-left: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: transparent;
  color: var(--color-ivory);
  font-size: 13px;
}

.l2-site .legacy-page table.default tr.two td {
  background: rgba(255, 255, 255, .025);
}

.l2-site .legacy-page table.default tr td.foco,
.l2-site .legacy-page table.default tr.two td.foco {
  background: rgba(53, 198, 107, .08);
  color: #9dffc8;
  font-weight: 600;
}

.l2-site .legacy-page table.default tr:hover td {
  background: rgba(53, 198, 107, .06);
}

/* ---------- formulários ---------- */

.l2-site .legacy-page .formpadrao {
  margin: 0 auto 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: transparent;
}

.l2-site .legacy-page .formpadrao > div {
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
}

.l2-site .legacy-page .formpadrao .desc {
  color: var(--color-ash);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.l2-site .legacy-page .formpadrao .camp input[type="text"],
.l2-site .legacy-page .formpadrao .camp input[type="password"],
.l2-site .legacy-page .formpadrao .camp input[type="file"],
.l2-site .legacy-page .formpadrao .camp select,
.l2-site .legacy-page .formpadrao textarea {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: rgba(6, 10, 8, .8);
  box-shadow: none;
  color: var(--color-ivory);
}

.l2-site .legacy-page .formpadrao .camp input[type="text"]:focus,
.l2-site .legacy-page .formpadrao .camp input[type="password"]:focus,
.l2-site .legacy-page .formpadrao .camp select:hover,
.l2-site .legacy-page .formpadrao textarea:focus {
  border-color: rgba(53, 198, 107, .6);
  background: rgba(6, 10, 8, .95);
  outline: none;
  box-shadow: 0 0 0 3px rgba(53, 198, 107, .12);
}

.l2-site .legacy-page .formpadrao.errorc {
  border-color: #b3352f;
}

.l2-site .legacy-page .formpadrao.errorc > div {
  background: rgba(179, 53, 47, .2);
}

.l2-site .legacy-page .captchaImage img {
  border-radius: 6px;
}

/* ---------- botões ---------- */

.l2-site .legacy-page a.default,
.l2-site .legacy-page input.default,
.l2-site .legacy-page span.default,
.l2-site .legacy-page .rankings_options > div a {
  border: 1px solid rgba(53, 198, 107, .45) !important;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(53, 198, 107, .28), rgba(28, 122, 69, .34)) !important;
  color: #eafff3 !important;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.l2-site .legacy-page a.default:hover,
.l2-site .legacy-page input.default:hover,
.l2-site .legacy-page span.default:hover,
.l2-site .legacy-page .rankings_options > div a:hover {
  border-color: rgba(87, 243, 154, .8) !important;
  background: linear-gradient(180deg, rgba(87, 243, 154, .38), rgba(28, 122, 69, .45)) !important;
  color: #fff !important;
}

/* ---------- mensagens ---------- */

.l2-site .legacy-page .rmsg {
  width: auto;
  max-width: 520px;
  padding: 12px 18px;
  border: 1px solid rgba(53, 198, 107, .4);
  border-radius: 8px;
  background: rgba(53, 198, 107, .14);
  color: #d8ffe9;
  font-size: 13px;
}

.l2-site .legacy-page .rmsg.error {
  border-color: rgba(211, 78, 70, .5);
  background: rgba(150, 40, 35, .28) !important;
  color: #ffd9d6;
}

.l2-site .legacy-page .rmsg.warn {
  border-color: rgba(200, 164, 93, .5);
  background: rgba(200, 164, 93, .16) !important;
  color: #f2e2be !important;
}

/* ---------- lista de notícias ---------- */

.l2-site .legacy-page .news {
  width: 100%;
  padding: 20px 0;
}

.l2-site .legacy-page .news a.imgn {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
}

.l2-site .legacy-page .news a.titlen {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--color-ivory);
}

.l2-site .legacy-page .news a.titlen:hover {
  color: #9dffc8;
}

.l2-site .legacy-page .news .textn {
  color: var(--color-ash);
  font-size: 12px;
  height: auto;
  max-height: 46px;
}

.l2-site .legacy-page .news .finalinfo .datan {
  color: #7b8188;
  font-size: 11px;
}

.l2-site .legacy-page .shadownew {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .09), transparent);
}

/* ---------- galeria ---------- */

.l2-site .legacy-page .fullGallery a {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  overflow: hidden;
}

/* ---------- responsivo ---------- */

@media (max-width: 620px) {
  .l2-site .legacy-page .formpadrao,
  .l2-site .legacy-page .formpadrao > div {
    display: block;
    width: 100%;
  }

  .l2-site .legacy-page .formpadrao .desc,
  .l2-site .legacy-page .formpadrao .camp {
    float: none;
    width: 100%;
    height: auto;
    line-height: 1.6;
    padding: 6px 12px;
    text-align: left;
  }

  .l2-site .legacy-page .formpadrao .camp input[type="text"],
  .l2-site .legacy-page .formpadrao .camp input[type="password"] {
    width: 100%;
    margin: 0 0 8px;
  }

  .l2-site .legacy-page table.default tr td,
  .l2-site .legacy-page table.default tr th {
    font-size: 11px;
    padding: 8px 6px;
  }

  /* o card tem overflow:hidden — sem isto a última coluna do ranking
     fica cortada e inalcançável no celular */
  .l2-site .legacy-page table.default {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}
