@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --bg: #050504;
    --panel: rgba(17, 15, 13, .78);
    --line: rgba(216, 177, 110, .32);
    --gold: #d6aa65;
    --gold-soft: #f4dfb2;
    --orange: #b66a38;
    --text: #efe7d8;
    --muted: #afa08b;
    --mx-left: 0px;
    --mx-right: 0px;
    --mx-bg: 0px;
    --mx-glow: 0px;
    --my-soft: 0px;
    --my-bg: 0px;
    --my-glow: 0px;
    --scroll-y: 0;
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        linear-gradient(180deg, #030303, #070604 45%, #030303),
        #040403;
    font-family: "Manrope", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    left: 50%;
    top: 42%;
    z-index: 12;
    width: 42vw;
    max-width: 680px;
    aspect-ratio: 1;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,170,101,.11), transparent 66%);
    mix-blend-mode: screen;
    opacity: .72;
    transform: translate3d(calc(-50% + var(--mx-glow)), calc(-50% + var(--my-glow)), 0);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 11;
    pointer-events: none;
    opacity: .16;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
        radial-gradient(circle at 50% 45%, transparent, rgba(0,0,0,.22) 72%);
    mix-blend-mode: soft-light;
}

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

.l2-site {
    min-height: 100vh;
    padding: 0;
    background:
        radial-gradient(circle at 50% 0, rgba(180, 110, 58, .18), transparent 36rem),
        linear-gradient(90deg, rgba(214,170,101,.03), transparent 24%, transparent 76%, rgba(214,170,101,.03)),
        #040403;
}

.l2-topbar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 20;
    width: 100%;
    height: 68px;
    display: grid;
    grid-template-columns: minmax(210px, 280px) 1fr minmax(210px, auto);
    align-items: center;
    gap: 16px;
    padding: 0 clamp(18px, 5vw, 76px);
    border-bottom: 1px solid rgba(214, 170, 101, .22);
    background:
        linear-gradient(180deg, rgba(5,5,4,.98), rgba(6,5,4,.82) 58%, rgba(6,5,4,.64)),
        radial-gradient(ellipse at 50% 0, rgba(214,170,101,.12), transparent 32rem);
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 44px rgba(0,0,0,.36), inset 0 -1px 0 rgba(255,255,255,.035);
}

.l2-topbar::before,
.l2-topbar::after {
    content: "";
    position: absolute;
    left: clamp(18px, 5vw, 76px);
    right: clamp(18px, 5vw, 76px);
    pointer-events: none;
}

.l2-topbar::before {
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244,223,178,.22), transparent);
}

.l2-topbar::after {
    bottom: -1px;
    height: 1px;
    background:
        linear-gradient(90deg, transparent, rgba(214,170,101,.42) 24%, rgba(244,223,178,.62) 50%, rgba(214,170,101,.42) 76%, transparent);
    animation: l2NavLine 7s ease-in-out infinite;
}

.l2-topbar__logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-width: 186px;
}

.l2-topbar__logo::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 208px;
    height: 52px;
    background:
        radial-gradient(ellipse, rgba(214,170,101,.13), transparent 68%),
        linear-gradient(90deg, transparent, rgba(214,170,101,.06), transparent);
    opacity: .9;
    transform: translate(-50%, -50%);
}

.l2-topbar__logo img {
    display: block;
    width: 176px;
    max-height: 52px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(214,170,101,.18)) drop-shadow(0 9px 16px rgba(0,0,0,.54));
}

.l2-topbar__links {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px;
    border-left: 1px solid rgba(214,170,101,.12);
    border-right: 1px solid rgba(214,170,101,.12);
    background:
        radial-gradient(ellipse at 50% 0, rgba(244,223,178,.055), transparent 70%),
        linear-gradient(90deg, transparent, rgba(0,0,0,.18) 18%, rgba(0,0,0,.26) 50%, rgba(0,0,0,.18) 82%, transparent);
}

.l2-topbar__links::before,
.l2-topbar__links::after {
    content: "";
    width: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214,170,101,.34));
}

.l2-topbar__links::after {
    background: linear-gradient(90deg, rgba(214,170,101,.45), transparent);
}

.l2-topbar__links a {
    position: relative;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    color: rgba(239, 231, 216, .72);
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: color .24s ease, text-shadow .24s ease, background .24s ease;
}

.l2-topbar__links a::before {
    content: "";
    position: absolute;
    inset: 6px 4px;
    border: 1px solid rgba(214,170,101,.16);
    background:
        radial-gradient(ellipse at 50% 0, rgba(244,223,178,.1), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,.04), transparent),
        rgba(214,170,101,.025);
    opacity: 0;
    transform: scaleX(.78);
    transition: opacity .24s ease, transform .24s ease;
}

.l2-topbar__links a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 5px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transform: scaleX(.4);
    transition: opacity .24s ease, transform .24s ease;
}

.l2-topbar__links a:hover {
    color: var(--gold-soft);
    text-shadow: 0 0 16px rgba(214,170,101,.22);
}

.l2-topbar__links a.is-active {
    color: #fff0cf;
    text-shadow: 0 0 18px rgba(214,170,101,.4), 0 6px 18px rgba(0,0,0,.52);
}

.l2-topbar__links a.is-active::before,
.l2-topbar__links a:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.l2-topbar__links a.is-active::after,
.l2-topbar__links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.l2-topbar__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    position: relative;
}

.l2-topbar__right::before {
    content: "";
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214,170,101,.38));
}

.l2-download {
    position: relative;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    color: #fff0d6;
    border: 1px solid rgba(244,223,178,.18);
    background:
        radial-gradient(ellipse at 50% 0, rgba(244,223,178,.18), transparent 62%),
        linear-gradient(180deg, rgba(255,255,255,.13), transparent 42%),
        linear-gradient(180deg, #c77742, #7c381e);
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        inset 0 -1px 0 rgba(68,26,12,.48),
        0 14px 28px rgba(151,75,35,.24),
        0 0 20px rgba(214,170,101,.08);
}

.nav__langs { position: relative; z-index: 30; }

.nav__langs-item {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid rgba(214,170,101,.16);
    color: rgba(239,231,216,.76);
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), transparent),
        rgba(0,0,0,.32);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color .22s ease, border-color .22s ease, background .22s ease;
}

.nav__langs-item:hover {
    color: #fff0d3;
    border-color: rgba(214,170,101,.38);
    background:
        linear-gradient(180deg, rgba(255,255,255,.055), transparent),
        rgba(24,15,9,.5);
}

.nav__langs-item img { width: 22px; height: 15px; object-fit: cover; }
.nav__langs-item--current::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
.nav__langs-stroke {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav__langs-stroke .nav__langs-item {
    min-width: 124px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), transparent),
        rgba(9,8,7,.96);
}

.l2-social {
    position: fixed;
    left: clamp(14px, 2vw, 34px);
    top: 50%;
    z-index: 18;
    display: grid;
    gap: 10px;
    transform: translateY(-50%);
}

.l2-social span {
    width: 1px;
    height: 78px;
    margin: 0 auto;
    background:
        linear-gradient(transparent, rgba(214,170,101,.76), transparent),
        radial-gradient(circle, rgba(244,223,178,.7), transparent 70%);
}

.l2-social a {
    position: relative;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(214,170,101,.22);
    color: rgba(239,231,216,.68);
    background:
        radial-gradient(circle at 50% 18%, rgba(244,223,178,.09), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,.035), transparent),
        rgba(0,0,0,.44);
    box-shadow: inset 0 0 18px rgba(214,170,101,.035), 0 12px 22px rgba(0,0,0,.26);
    transition: color .22s ease, border-color .22s ease, transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.l2-social a::after {
    content: attr(aria-label);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    min-width: 86px;
    padding: 7px 10px;
    border: 1px solid rgba(214,170,101,.24);
    color: rgba(255,241,216,.9);
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), transparent),
        rgba(6,5,4,.88);
    box-shadow: 0 12px 26px rgba(0,0,0,.34);
    font-family: "Cinzel", Georgia, serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .11em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-6px, -50%);
    transition: opacity .18s ease, transform .18s ease;
}

.l2-social a::before {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(244,223,178,.45), transparent 38%, rgba(214,170,101,.2)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .22s ease;
}

.l2-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,.36));
}

.l2-social a:hover {
    color: #fff2d8;
    border-color: rgba(244,223,178,.56);
    background:
        radial-gradient(circle at 50% 18%, rgba(244,223,178,.18), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,.06), transparent),
        rgba(37,22,12,.7);
    box-shadow: inset 0 0 24px rgba(214,170,101,.12), 0 0 22px rgba(214,170,101,.12), 0 14px 24px rgba(0,0,0,.34);
    transform: translateX(4px);
}

.l2-social a:hover::before {
    opacity: 1;
}

.l2-social a:hover::after {
    opacity: 1;
    transform: translate(0, -50%);
}

.l2-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    background: #050504;
    border: 0;
    box-shadow: none;
}

.l2-screen + .l2-screen {
    border-top: 1px solid rgba(214, 170, 101, .12);
}

.l2-screen > .l2-screen__shade::after {
    content: "";
    position: absolute;
    inset: -20%;
    opacity: .18;
    background:
        radial-gradient(circle at 28% 34%, rgba(214,170,101,.24), transparent 16rem),
        radial-gradient(circle at 72% 62%, rgba(97,136,150,.14), transparent 18rem);
    transform: translate3d(var(--mx-glow), var(--my-glow), 0);
    animation: l2AmbientDrift 13s ease-in-out infinite alternate;
}

.l2-screen::before,
.l2-screen::after {
    content: "";
    position: absolute;
    left: clamp(22px, 6vw, 118px);
    right: clamp(22px, 6vw, 118px);
    z-index: 8;
    height: 1px;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(214, 170, 101, .42), transparent);
}

.l2-screen::before { top: 86px; }
.l2-screen::after { bottom: 34px; }

.l2-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -5;
    opacity: .54;
    filter: saturate(.82) contrast(1.08) brightness(.58);
}

.l2-bg--texture {
    object-position: center top;
    opacity: .72;
    filter: saturate(.78) contrast(1.16) brightness(.43);
    transform: translate3d(var(--mx-bg), var(--my-bg), 0) scale(1.04);
}

.l2-bg--right {
    left: auto;
    right: 0;
    width: 58%;
    object-position: 62% center;
    opacity: .58;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}

.l2-bg--cover {
    width: 100%;
    inset: 0;
}

.l2-screen__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(3,3,2,.94), rgba(3,3,2,.36) 24%, rgba(3,3,2,.08) 50%, rgba(3,3,2,.42) 76%, rgba(3,3,2,.96)),
        linear-gradient(180deg, rgba(3,3,2,.86), rgba(3,3,2,.04) 38%, rgba(3,3,2,.95)),
        radial-gradient(ellipse at 50% 42%, rgba(255,184,96,.46), transparent 26rem),
        radial-gradient(ellipse at 50% 64%, rgba(3,3,2,.74), transparent 34rem),
        linear-gradient(180deg, transparent 68%, rgba(0,0,0,.42));
}

.l2-screen__shade--blue {
    background:
        linear-gradient(90deg, rgba(5,5,4,.9), rgba(5,5,4,.42), rgba(5,5,4,.82)),
        radial-gradient(circle at 70% 35%, rgba(90,120,150,.28), transparent 30rem);
}

.l2-screen__shade--warm {
    background:
        linear-gradient(90deg, rgba(5,5,4,.88), rgba(5,5,4,.34), rgba(5,5,4,.82)),
        radial-gradient(circle at 45% 34%, rgba(205,128,72,.22), transparent 32rem);
}

.l2-screen__shade--dark {
    background: rgba(4,4,3,.82);
}

.l2-screen__content {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    padding: 128px 64px 76px;
}

.l2-screen--hero .l2-screen__content {
    padding: 132px 64px 54px;
}

.l2-screen__content--center {
    width: min(980px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: l2HeroContent 1s cubic-bezier(.19, 1, .22, 1) both;
}

.l2-mark {
    width: min(380px, 58vw);
    height: auto;
    margin-bottom: 8px;
    opacity: .92;
    filter: drop-shadow(0 0 18px rgba(214,170,101,.24)) drop-shadow(0 20px 34px rgba(0,0,0,.72));
    animation: l2LogoBreath 5.8s ease-in-out infinite;
}

.l2-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
    color: var(--gold);
    font-family: "Cinzel", Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(214,170,101,.22);
}

.l2-kicker::before,
.l2-kicker::after {
    content: "";
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214,170,101,.85));
}

.l2-kicker::after {
    background: linear-gradient(90deg, rgba(214,170,101,.85), transparent);
}

.l2-screen h1::first-line {
    color: #fff8e9;
}

.l2-screen h1,
.l2-screen h2 {
    margin: 0;
    color: #fff4df;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(48px, 5.4vw, 84px);
    font-weight: 600;
    line-height: .98;
    text-shadow:
        0 3px 0 rgba(71,46,26,.34),
        0 18px 42px rgba(0,0,0,.86),
        0 0 34px rgba(214,170,101,.12);
}

.l2-screen h1 {
    width: min(820px, 100%);
}

.l2-screen--hero h1 {
    width: min(980px, 100%);
    line-height: 1;
    filter: none;
    text-shadow: none;
}

.l2-hero-logo-title {
    position: relative;
    display: grid;
    place-items: center;
    transform: translateX(-238px);
}

.l2-hero-logo-title::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: min(440px, 48vw);
    aspect-ratio: 1;
    border: 1px solid rgba(214,170,101,.07);
    border-radius: 50%;
    background:
        conic-gradient(from 0deg, transparent, rgba(214,170,101,.08), transparent 22%, transparent 50%, rgba(244,223,178,.055), transparent 74%, transparent),
        radial-gradient(circle, rgba(214,170,101,.035), transparent 58%);
    transform: translate(-50%, -50%);
    animation: l2SigilTurn 28s linear infinite;
}

.l2-hero-logo-title .l2-mark {
    display: block;
    width: min(1320px, 88vw);
    max-height: 430px;
    object-fit: contain;
    margin: -34px auto -42px;
    opacity: 1;
    filter:
        drop-shadow(0 20px 36px rgba(0,0,0,.82))
        drop-shadow(0 0 42px rgba(214,170,101,.38))
        drop-shadow(0 0 82px rgba(214,170,101,.18));
    animation: l2LogoBreath 5.8s ease-in-out infinite;
}

.l2-hero-claim {
    margin: -12px 0 0;
    color: #fff2d4;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(23px, 2.35vw, 38px);
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 14px 34px rgba(0,0,0,.78);
}

.l2-hero-tags {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 16px;
}

.l2-hero-tags span {
    position: relative;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    border-top: 1px solid rgba(244,223,178,.34);
    border-bottom: 1px solid rgba(214,170,101,.24);
    color: rgba(255,238,205,.92);
    background: linear-gradient(90deg, transparent, rgba(0,0,0,.48), transparent);
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.l2-hero-tags span + span::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(214,170,101,.62);
    background: rgba(214,170,101,.16);
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 10px rgba(214,170,101,.28);
}

.l2-lead,
.l2-panel p,
.l2-reward p,
.l2-modal-card p {
    color: rgba(239,231,216,.72);
    font-size: 15px;
    line-height: 1.75;
}

.l2-lead {
    width: min(620px, 100%);
    margin: 10px auto 0;
    color: rgba(255,244,224,.82);
    font-size: 15px;
    text-shadow: 0 2px 16px rgba(0,0,0,.82);
}

.l2-actions {
    position: relative;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.l2-server-status {
    position: relative;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 0 18px;
    color: rgba(255,242,216,.76);
    background:
        radial-gradient(circle at 10% 50%, rgba(214,170,101,.16), transparent 42%),
        linear-gradient(90deg, transparent, rgba(0,0,0,.44), transparent);
    border-top: 1px solid rgba(214,170,101,.18);
    border-bottom: 1px solid rgba(214,170,101,.14);
    font-family: "Cinzel", Georgia, serif;
    text-transform: uppercase;
}

.l2-server-status span {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d6aa65;
    box-shadow: 0 0 12px rgba(214,170,101,.75);
}

.l2-server-status span::after {
    content: "";
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(214,170,101,.28);
    border-radius: 50%;
    animation: l2StatusPing 1.9s ease-out infinite;
}

.l2-server-status strong {
    color: #fff0ce;
    font-size: 10px;
    letter-spacing: .13em;
}

.l2-server-status small {
    color: rgba(239,231,216,.56);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
}

.l2-countdown {
    position: relative;
    width: min(520px, 100%);
    margin: 14px auto 0;
    padding: 13px 16px 15px;
    color: rgba(239,231,216,.78);
    background:
        radial-gradient(ellipse at 50% 0, rgba(244,223,178,.1), transparent 66%),
        linear-gradient(90deg, transparent, rgba(0,0,0,.42) 18%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.42) 82%, transparent);
    border-top: 1px solid rgba(244,223,178,.2);
    border-bottom: 1px solid rgba(214,170,101,.18);
    box-shadow: 0 22px 44px rgba(0,0,0,.22);
    transform: translateZ(0);
}

.l2-countdown::before,
.l2-countdown::after {
    content: "";
    position: absolute;
    top: -1px;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214,170,101,.78));
}

.l2-countdown::before { left: 0; }
.l2-countdown::after {
    right: 0;
    background: linear-gradient(90deg, rgba(214,170,101,.78), transparent);
}

.l2-countdown p {
    margin: 0 0 10px;
    color: rgba(244,223,178,.78);
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.l2-countdown p strong {
    color: #fff0cc;
    font-weight: 700;
}

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

.l2-countdown__grid span {
    position: relative;
    min-height: 58px;
    display: grid;
    place-items: center;
    align-content: center;
    background:
        radial-gradient(circle at 50% 0, rgba(214,170,101,.1), transparent 58%),
        rgba(255,255,255,.018);
}

.l2-countdown__grid span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: linear-gradient(transparent, rgba(214,170,101,.28), transparent);
}

.l2-countdown__grid strong {
    color: #fff5df;
    font-family: "Cinzel", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 18px rgba(214,170,101,.2), 0 10px 18px rgba(0,0,0,.45);
    transform-origin: 50% 70%;
}

.l2-countdown__grid strong.is-ticking {
    animation: l2NumberTick .42s cubic-bezier(.19, 1, .22, 1);
}

.l2-countdown__grid small {
    margin-top: 4px;
    color: rgba(239,231,216,.54);
    font-family: "Cinzel", Georgia, serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.l2-countdown.is-open p {
    color: #fff2cf;
}

.l2-countdown em {
    display: block;
    margin-top: 10px;
    color: rgba(239,231,216,.54);
    font-style: normal;
    font-size: 11px;
    letter-spacing: .02em;
    text-shadow: 0 8px 18px rgba(0,0,0,.52);
}

.l2-btn {
    position: relative;
    min-width: 172px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-family: "Cinzel", Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: transform .18s ease, border-color .18s ease, filter .18s ease;
    overflow: hidden;
}

.l2-btn::before,
.l2-download::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.22) 42%, transparent 60%);
    transform: translateX(-120%);
    transition: transform .55s ease;
}

.l2-btn:hover,
.l2-download:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.l2-btn:hover::before,
.l2-download:hover::before {
    transform: translateX(120%);
}

.l2-btn--gold {
    color: #fff3df;
    background:
        linear-gradient(180deg, rgba(255,255,255,.18), transparent 44%),
        linear-gradient(180deg, #d98a4f, #93431f);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.32),
        inset 0 -1px 0 rgba(87,34,12,.44),
        0 18px 38px rgba(179,91,42,.38),
        0 0 34px rgba(214,170,101,.2);
}

.l2-btn--gold::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -10px;
    height: 18px;
    background: radial-gradient(ellipse, rgba(214,122,61,.52), transparent 68%);
    pointer-events: none;
}

.l2-btn--dark {
    color: rgba(255,241,216,.9);
    border: 1px solid rgba(244,223,178,.52);
    background:
        linear-gradient(180deg, rgba(255,255,255,.045), transparent),
        rgba(0,0,0,.5);
    box-shadow: inset 0 0 22px rgba(214,170,101,.12), 0 14px 30px rgba(0,0,0,.18);
}

.l2-btn--dark:hover {
    border-color: rgba(244,223,178,.78);
    background:
        linear-gradient(180deg, rgba(255,255,255,.075), transparent),
        rgba(28,18,10,.58);
}

.l2-btn--discord {
    gap: 8px;
    color: rgba(244,248,255,.95);
    border: 1px solid rgba(139,158,255,.38);
    background:
        radial-gradient(circle at 50% 0, rgba(139,158,255,.18), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,.06), transparent),
        rgba(24,27,52,.68);
    box-shadow: inset 0 0 24px rgba(139,158,255,.11), 0 16px 34px rgba(0,0,0,.22);
}

.l2-btn--discord svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.l2-btn--discord:hover {
    border-color: rgba(176,188,255,.62);
    background:
        radial-gradient(circle at 50% 0, rgba(139,158,255,.28), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,.08), transparent),
        rgba(36,40,78,.78);
    box-shadow: inset 0 0 28px rgba(139,158,255,.18), 0 0 28px rgba(139,158,255,.12), 0 16px 34px rgba(0,0,0,.3);
}

.l2-scroll {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 36px;
    z-index: 3;
    width: 34px;
    height: 52px;
    border: 1px solid rgba(214,170,101,.16);
    border-radius: 18px;
    opacity: .54;
    transform: translateX(-50%);
    animation: l2ScrollHint 1.8s ease-in-out infinite;
}

.l2-scroll span {
    position: absolute;
    left: 50%;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d6aa65;
    box-shadow: 0 0 12px rgba(214,170,101,.65);
    transform: translateX(-50%);
    animation: l2ScrollDot 1.8s ease-in-out infinite;
}

.l2-panel {
    position: relative;
    z-index: 5;
    width: min(610px, calc(100% - 80px));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 128px 0 76px;
}

.l2-motion .l2-reveal .l2-panel,
.l2-motion .l2-reveal .l2-feature-stack,
.l2-motion .l2-reveal .l2-reward,
.l2-motion .l2-reveal .l2-modal-card {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s ease, transform .9s cubic-bezier(.19, 1, .22, 1);
}

.l2-motion .l2-screen.is-visible .l2-panel,
.l2-motion .l2-screen.is-visible .l2-feature-stack,
.l2-motion .l2-screen.is-visible .l2-reward,
.l2-motion .l2-screen.is-visible .l2-modal-card {
    opacity: 1;
    transform: translateY(0);
}

.l2-motion .l2-screen.is-visible .l2-modal-card {
    transform: translateY(-50%);
}

.l2-panel--left { margin-left: clamp(48px, 9vw, 150px); }
.l2-panel h2 { font-size: clamp(38px, 4.6vw, 68px); }
.l2-panel > p { max-width: 540px; }

#chronicle {
    background:
        radial-gradient(ellipse at 74% 44%, rgba(104,91,67,.28), transparent 30rem),
        radial-gradient(ellipse at 22% 48%, rgba(214,170,101,.1), transparent 28rem),
        #040403;
}

#chronicle .l2-bg {
    opacity: .9;
    filter: saturate(.68) contrast(1.1) brightness(.52);
}

#chronicle .l2-bg--chronicle-ai {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    background: #040403;
    transform: scale(.92);
}

#chronicle .l2-screen__shade--blue {
    background:
        linear-gradient(90deg, rgba(4,4,3,.98), rgba(4,4,3,.8) 29%, rgba(4,4,3,.26) 58%, rgba(4,4,3,.5) 100%),
        linear-gradient(180deg, rgba(4,4,3,.93), rgba(4,4,3,.18) 34%, rgba(4,4,3,.94)),
        radial-gradient(ellipse at 72% 44%, rgba(214,170,101,.12), transparent 24rem),
        radial-gradient(ellipse at 26% 54%, rgba(0,0,0,.68), transparent 34rem);
}

#chronicle .l2-panel {
    width: min(880px, calc(100% - 80px));
    padding-bottom: 112px;
}

#chronicle .l2-panel::before {
    content: "";
    position: absolute;
    left: -42px;
    top: 50%;
    width: 1px;
    height: min(520px, 62vh);
    background: linear-gradient(transparent, rgba(214,170,101,.48), transparent);
    transform: translateY(-50%);
}

#chronicle .l2-panel::after {
    content: "UNIVERSE";
    position: absolute;
    left: -12px;
    bottom: 10vh;
    z-index: -1;
    color: rgba(244,223,178,.022);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(78px, 10vw, 176px);
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1;
    pointer-events: none;
    text-transform: uppercase;
}

#chronicle .l2-title-decor {
    max-width: min(460px, 82vw);
    opacity: .82;
    mix-blend-mode: screen;
}

#chronicle .l2-mini-grid article {
    min-height: 118px;
    padding: 16px 12px 18px;
}

#chronicle .l2-mini-grid img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    border: 1px solid rgba(214,170,101,.16);
    background: radial-gradient(circle, rgba(214,170,101,.08), transparent 58%);
    object-fit: contain;
    padding: 8px;
    box-shadow: 0 14px 24px rgba(0,0,0,.36);
}

#chronicle .l2-world-strip figure {
    min-height: 98px;
}

.l2-chronicle-dossier {
    position: relative;
    width: min(760px, 100%);
    margin-top: 22px;
    margin-left: clamp(24px, 5vw, 88px);
    padding: 30px 0 0 34px;
    border-top: 0;
    border-left: 1px solid rgba(214,170,101,.18);
}

.l2-chronicle-dossier::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    width: 1px;
    height: min(420px, 82%);
    background: linear-gradient(transparent, rgba(244,223,178,.58), transparent);
    box-shadow: 0 0 18px rgba(214,170,101,.22);
}

.l2-chronicle-dossier::after {
    content: "";
    position: absolute;
    left: -34px;
    top: 38px;
    width: 68px;
    height: 1px;
    background: linear-gradient(90deg, rgba(244,223,178,.72), transparent);
    box-shadow: 0 0 18px rgba(214,170,101,.22);
}

.l2-dossier-head {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(210px, .54fr);
    align-items: center;
    gap: 22px;
    margin-bottom: -4px;
}

.l2-dossier-head .l2-kicker,
.l2-chronicle-rates .l2-kicker {
    margin-bottom: 0;
    font-size: 10px;
    letter-spacing: .14em;
}

.l2-dossier-head h3,
.l2-chronicle-rates h3 {
    margin: 0;
    color: #fff0d3;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 14px 34px rgba(0,0,0,.68), 0 0 24px rgba(214,170,101,.1);
}

.l2-cards--compact {
    width: min(620px, 100%);
    margin-top: 18px;
    margin-left: clamp(42px, 8vw, 118px);
    border-color: rgba(214,170,101,.2);
    grid-template-columns: 1.06fr .94fr;
    transform: translateY(-6px);
}

.l2-cards--compact article {
    min-height: 136px;
    padding: 18px 16px 16px;
}

.l2-cards--compact article:first-child {
    grid-row: span 2;
    min-height: 272px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.l2-cards--compact article:nth-child(2) {
    transform: translateY(-16px);
}

.l2-cards--compact article:nth-child(3) {
    transform: translateX(24px);
}

.l2-cards--compact img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,.45));
}

.l2-cards--compact h3 {
    font-size: 13px;
}

.l2-cards--compact p {
    font-size: 12px;
}

.l2-chronicle-rates {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(260px, .78fr);
    gap: 20px;
    width: min(760px, 100%);
    margin-top: 6px;
    margin-left: clamp(-36px, -3vw, -18px);
    padding: 22px 0 0 34px;
    border-top: 1px solid rgba(214,170,101,.18);
    border-left: 1px solid rgba(214,170,101,.14);
}

.l2-chronicle-rates > div:first-child {
    align-self: center;
}

.l2-chronicle-rates p:not(.l2-kicker) {
    margin: 10px 0 0;
    color: rgba(239,231,216,.68);
    font-size: 14px;
    line-height: 1.7;
}

.l2-chronicle-rates .l2-progression {
    margin-top: 0;
}

.l2-chronicle-rates .l2-castle-row {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, .74fr) minmax(0, 1fr);
    width: min(520px, 78%);
    margin-top: -6px;
    margin-left: auto;
}

.l2-chronicle-art {
    right: -8vw;
    width: min(65vw, 1040px);
    height: min(86vh, 850px);
    object-position: 54% center;
    opacity: .7;
    filter: saturate(.82) contrast(1.18) brightness(.52);
}

.l2-screen.is-visible .l2-chronicle-art {
    opacity: .82;
    filter: saturate(.9) contrast(1.18) brightness(.58);
}

.l2-chronicle-art.l2-side-art--right {
    -webkit-mask-image:
        linear-gradient(90deg, transparent 0%, #000 18%, #000 70%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
    mask-image:
        linear-gradient(90deg, transparent 0%, #000 18%, #000 70%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
}

.l2-title-decor {
    display: block;
    max-width: min(360px, 78vw);
    height: auto;
    margin: 8px 0 18px;
    opacity: .72;
    filter: sepia(.25) saturate(.92) drop-shadow(0 8px 18px rgba(0,0,0,.45));
    animation: l2DecorGlow 7s ease-in-out infinite;
}

.l2-mini-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .86fr) minmax(0, .96fr);
    align-items: end;
    gap: 1px;
    width: min(720px, 94%);
    margin-top: 34px;
    margin-left: 0;
    border-top: 1px solid rgba(214, 170, 101, .24);
    border-bottom: 1px solid rgba(214, 170, 101, .2);
    background:
        linear-gradient(90deg, rgba(214,170,101,.12), transparent 22%, transparent 78%, rgba(214,170,101,.12)),
        rgba(0,0,0,.24);
    box-shadow: 0 20px 46px rgba(0,0,0,.26);
}

.l2-mini-grid article,
.l2-cards article {
    position: relative;
    border: 0;
    background:
        radial-gradient(circle at 50% 0, rgba(214,170,101,.08), transparent 60%),
        linear-gradient(180deg, rgba(255, 239, 198, .045), rgba(255, 255, 255, .01)),
        rgba(10,9,8,.34);
    backdrop-filter: blur(4px);
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.l2-motion .l2-reveal .l2-mini-grid article,
.l2-motion .l2-reveal .l2-cards article,
.l2-motion .l2-reveal .l2-world-strip figure,
.l2-motion .l2-reveal .l2-class-rail img,
.l2-motion .l2-reveal .l2-castle-row img {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.19, 1, .22, 1),
        background .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

.l2-motion .l2-screen.is-visible .l2-mini-grid article,
.l2-motion .l2-screen.is-visible .l2-cards article,
.l2-motion .l2-screen.is-visible .l2-world-strip figure,
.l2-motion .l2-screen.is-visible .l2-class-rail img,
.l2-motion .l2-screen.is-visible .l2-castle-row img {
    opacity: 1;
    transform: translateY(0);
}

.l2-motion .l2-screen.is-visible article:nth-child(2),
.l2-motion .l2-screen.is-visible figure:nth-child(2),
.l2-motion .l2-screen.is-visible .l2-class-rail img:nth-child(2),
.l2-motion .l2-screen.is-visible .l2-castle-row img:nth-child(2) { transition-delay: .08s; }

.l2-motion .l2-screen.is-visible article:nth-child(3),
.l2-motion .l2-screen.is-visible figure:nth-child(3),
.l2-motion .l2-screen.is-visible .l2-class-rail img:nth-child(3) { transition-delay: .16s; }

.l2-motion .l2-screen.is-visible .l2-class-rail img:nth-child(4) { transition-delay: .24s; }
.l2-motion .l2-screen.is-visible .l2-class-rail img:nth-child(5) { transition-delay: .32s; }
.l2-motion .l2-screen.is-visible .l2-class-rail img:nth-child(6) { transition-delay: .4s; }

.l2-mini-grid article:hover,
.l2-cards article:hover {
    background:
        radial-gradient(circle at 50% 0, rgba(214,170,101,.16), transparent 62%),
        linear-gradient(180deg, rgba(255, 239, 198, .09), rgba(255, 255, 255, .02)),
        rgba(30,24,16,.46);
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.l2-mini-grid article::before,
.l2-cards article::before {
    content: "";
    position: absolute;
    inset: 0;
    border-left: 1px solid rgba(214, 170, 101, .16);
    pointer-events: none;
}

.l2-mini-grid article {
    min-height: 116px;
    display: grid;
    place-items: center;
    padding: 14px 10px;
    text-align: center;
}

.l2-mini-grid article:first-child {
    min-height: 142px;
}

.l2-mini-grid article:nth-child(2) {
    min-height: 118px;
    transform: translateY(18px);
    z-index: 2;
}

.l2-mini-grid article:nth-child(3) {
    min-height: 134px;
    transform: translateY(-10px);
}

.l2-mini-grid article::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214,170,101,.42), transparent);
    opacity: .45;
}

.l2-mini-grid img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,.45));
    transition: transform .25s ease, filter .25s ease;
}

.l2-mini-grid article:hover img,
.l2-cards article:hover img,
.l2-class-rail img:hover {
    transform: translateY(-3px) scale(1.08);
    filter: drop-shadow(0 0 14px rgba(214,170,101,.36));
}

.l2-mini-grid span {
    color: var(--gold-soft);
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.l2-world-strip {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.16fr) minmax(0, .96fr);
    gap: 8px;
    width: min(700px, 92%);
    margin-top: 34px;
    margin-left: clamp(34px, 7vw, 92px);
    padding-top: 12px;
    border-top: 1px solid rgba(214,170,101,.12);
}

.l2-world-strip figure {
    position: relative;
    min-height: 88px;
    margin: 0;
    overflow: hidden;
    border-top: 1px solid rgba(214,170,101,.18);
    border-bottom: 1px solid rgba(214,170,101,.12);
    background: rgba(0,0,0,.34);
    box-shadow: 0 16px 34px rgba(0,0,0,.24);
}

.l2-world-strip figure:first-child {
    min-height: 82px;
    transform: translateY(18px);
}

.l2-world-strip figure:nth-child(2) {
    min-height: 116px;
}

.l2-world-strip figure:nth-child(3) {
    min-height: 94px;
    transform: translateY(-10px);
}

.l2-world-strip img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .74;
    filter: saturate(.72) contrast(1.1) brightness(.72);
    transform: scale(1.04);
    transition: transform .8s ease, opacity .8s ease, filter .8s ease;
}

.l2-world-strip figure:hover img {
    opacity: .9;
    filter: saturate(.92) contrast(1.12) brightness(.82);
    transform: scale(1.11);
}

.l2-world-strip figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 22%, rgba(0,0,0,.78)),
        linear-gradient(90deg, rgba(0,0,0,.34), transparent 44%);
}

.l2-world-strip figcaption {
    position: absolute;
    left: 10px;
    bottom: 8px;
    z-index: 2;
    color: #f5dfb8;
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.l2-screen--hero::before {
    top: 82px;
    background:
        linear-gradient(90deg, transparent, rgba(214,170,101,.2) 18%, rgba(244,223,178,.56) 50%, rgba(214,170,101,.2) 82%, transparent);
}

.l2-screen--hero::after {
    bottom: 22px;
    background:
        linear-gradient(90deg,
            transparent,
            rgba(214,170,101,.38) 34%,
            transparent 43%,
            transparent 57%,
            rgba(214,170,101,.38) 66%,
            transparent);
}

.l2-screen--hero {
    min-height: 100vh;
}

.l2-screen--hero::marker { content: ""; }

.l2-screen--hero .l2-screen__content--center::before {
    content: "";
    position: absolute;
    top: 48%;
    left: calc(50% - 118px);
    z-index: -1;
    width: min(1120px, 88vw);
    height: min(560px, 68vh);
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 50% 42%, rgba(255,228,174,.16), transparent 17rem),
        radial-gradient(ellipse at 50% 54%, rgba(10,7,4,.34), transparent 32rem);
    transform: translate(-50%, -48%);
    box-shadow: none;
}

.l2-screen--hero .l2-actions::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: min(560px, 72vw);
    height: 150px;
    background: radial-gradient(ellipse, rgba(0,0,0,.58), transparent 68%);
    transform: translate(-50%, -35%);
    pointer-events: none;
}

.l2-screen--hero .l2-hero-logo-title::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 2px;
    height: min(360px, 42vh);
    background: linear-gradient(transparent, rgba(255,243,211,.62), rgba(214,170,101,.18), transparent);
    filter: blur(.2px) drop-shadow(0 0 18px rgba(214,170,101,.5));
    opacity: .5;
    transform: translate(-50%, -50%);
    animation: l2LogoBeam 4.8s ease-in-out infinite;
}

.l2-screen--hero .l2-screen__content--center::after {
    content: "CHRONICLE";
    position: absolute;
    top: 50%;
    left: calc(50% - 118px);
    z-index: -2;
    color: rgba(244,223,178,.01);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(78px, 11vw, 204px);
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
    transform: translate(-50%, -50%);
    text-shadow: none;
    white-space: nowrap;
}

.l2-hero-art,
.l2-side-art,
.l2-hero-light,
.l2-hero-mist,
.l2-hero-sparks {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.l2-hero-art {
    bottom: -7vh;
    z-index: -3;
    width: min(66vw, 1160px);
    height: 96vh;
    object-fit: cover;
    opacity: .76;
    filter: saturate(.95) contrast(1.17) brightness(.7);
    will-change: transform;
}

.l2-hero-art--left {
    left: -14vw;
    object-position: 23% center;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 66%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 66%, transparent 100%);
    animation: l2FloatLeft 9s ease-in-out infinite;
    opacity: .86;
    filter: saturate(1.06) contrast(1.24) brightness(.84);
}

.l2-hero-art--right {
    right: -14vw;
    object-position: 78% center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
    animation: l2FloatRight 10s ease-in-out infinite;
    opacity: .58;
}

.l2-hero-light {
    left: 50%;
    top: 45%;
    z-index: -2;
    width: min(980px, 76vw);
    opacity: .46;
    mix-blend-mode: screen;
    filter: saturate(.9) hue-rotate(-10deg);
    transform: translate(-50%, -50%);
    animation: l2LightPulse 6.5s ease-in-out infinite;
}

.l2-hero-mist {
    left: 50%;
    bottom: -14vh;
    z-index: -2;
    width: 118vw;
    max-width: none;
    opacity: .16;
    mix-blend-mode: screen;
    transform: translateX(-50%);
    animation: l2Mist 18s linear infinite;
}

.l2-hero-sparks {
    inset: -10%;
    z-index: -2;
    width: 120%;
    height: 120%;
    object-fit: cover;
    opacity: .12;
    mix-blend-mode: screen;
    filter: saturate(1.15) brightness(1.05);
    animation: l2Sparks 12s ease-in-out infinite alternate;
}

.l2-side-art {
    top: 50%;
    z-index: -3;
    width: min(70vw, 1120px);
    height: min(78vh, 820px);
    object-fit: cover;
    opacity: .72;
    filter: saturate(.82) contrast(1.1) brightness(.62);
    transform: translateY(-50%);
    transition: opacity .7s ease, filter .7s ease, transform .7s ease;
}

.l2-screen.is-visible .l2-side-art {
    opacity: .78;
    filter: saturate(.9) contrast(1.13) brightness(.66);
}

.l2-side-art--right {
    right: -10vw;
    object-position: 72% center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
}

.l2-side-art--left {
    left: -12vw;
    object-position: 23% center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
}

.l2-feature-stack {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    width: min(820px, calc(100% - 100px));
    margin-left: auto;
    margin-right: clamp(48px, 8vw, 130px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 128px 0 76px;
}

.l2-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 34px;
    border-top: 1px solid rgba(214, 170, 101, .18);
    border-bottom: 1px solid rgba(214, 170, 101, .18);
}

.l2-cards article {
    min-height: 166px;
    padding: 22px 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.l2-cards img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    margin-bottom: 14px;
}

.l2-cards h3 {
    margin: 0 0 8px;
    color: #fff2dc;
    font-family: "Cinzel", Georgia, serif;
    font-size: 15px;
}

.l2-cards p {
    margin: 0;
    color: rgba(239,231,216,.62);
    font-size: 13px;
    line-height: 1.55;
}

.l2-feature-stack .l2-title-decor {
    max-width: 430px;
    margin-top: 14px;
    margin-bottom: 2px;
    opacity: .46;
    mix-blend-mode: screen;
}

.l2-class-rail {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    max-width: min(560px, 100%);
    margin-top: -8px;
    margin-left: clamp(-18px, -2vw, -8px);
    padding: 14px 22px 12px;
    border-top: 1px solid rgba(214,170,101,.16);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0,0,0,.38), rgba(214,170,101,.055), transparent);
    box-shadow: 0 16px 34px rgba(0,0,0,.18);
}

.l2-class-rail img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    opacity: .78;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.48));
    transition: opacity .22s ease, transform .22s ease, filter .22s ease;
}

.l2-gear-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    width: min(670px, 94%);
    margin-top: 18px;
    margin-left: clamp(52px, 8vw, 128px);
    border-top: 1px solid rgba(214,170,101,.16);
    border-bottom: 1px solid rgba(214,170,101,.16);
    background: rgba(0,0,0,.18);
    transform: translateY(-12px);
}

.l2-gear-strip img {
    width: 100%;
    min-height: 72px;
    max-height: 86px;
    object-fit: contain;
    padding: 12px;
    background:
        radial-gradient(circle, rgba(214,170,101,.08), transparent 58%),
        rgba(255,255,255,.018);
    filter: drop-shadow(0 12px 20px rgba(0,0,0,.52));
    opacity: .84;
    transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}

.l2-gear-strip img:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.08);
    filter: drop-shadow(0 0 18px rgba(214,170,101,.38)) drop-shadow(0 14px 24px rgba(0,0,0,.54));
}

.l2-reward {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    align-items: center;
    gap: 50px;
    padding: 128px clamp(48px, 9vw, 150px) 76px;
}

.l2-reward__text {
    max-width: 620px;
}

.l2-castle-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 180px));
    gap: 10px;
    margin-top: 22px;
}

.l2-progression {
    display: grid;
    gap: 1px;
    width: min(520px, 100%);
    margin-top: 24px;
    border-top: 1px solid rgba(214,170,101,.18);
    border-bottom: 1px solid rgba(214,170,101,.18);
}

.l2-progression span {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    color: rgba(239,231,216,.72);
    background: linear-gradient(90deg, rgba(214,170,101,.08), transparent);
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.l2-progression strong {
    color: var(--gold-soft);
    font-size: 15px;
}

.l2-castle-row img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    opacity: .7;
    filter: saturate(.72) contrast(1.08) brightness(.66);
    border-top: 1px solid rgba(214,170,101,.22);
    border-bottom: 1px solid rgba(214,170,101,.22);
    transition: opacity .35s ease, filter .35s ease, transform .35s ease;
}

.l2-castle-row img:hover {
    opacity: .9;
    filter: saturate(.9) contrast(1.12) brightness(.82);
    transform: translateY(-3px);
}

.l2-universe {
    min-height: 1480px;
    padding-bottom: 120px;
}

.l2-universe .l2-screen__shade--blue {
    background:
        linear-gradient(90deg, rgba(4,4,3,.94), rgba(4,4,3,.72) 28%, rgba(4,4,3,.42) 60%, rgba(4,4,3,.68)),
        linear-gradient(180deg, rgba(4,4,3,.9), rgba(4,4,3,.2) 38%, rgba(4,4,3,.94)),
        radial-gradient(ellipse at 52% 38%, rgba(214,170,101,.14), transparent 25rem),
        linear-gradient(180deg, rgba(37,24,12,.22), transparent 44%);
}

.l2-universe__wrap {
    position: relative;
    z-index: 5;
    width: min(1320px, calc(100% - 96px));
    min-height: 1360px;
    margin: 0 auto;
    padding: 104px 0 160px;
}

.l2-universe__wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 74px;
    height: 1px;
    background:
        linear-gradient(90deg,
            transparent,
            rgba(214,170,101,.34) 18%,
            rgba(244,223,178,.44) 50%,
            rgba(214,170,101,.34) 82%,
            transparent);
    box-shadow: 0 0 22px rgba(214,170,101,.12);
}

.l2-universe__intro {
    width: min(610px, 100%);
    padding-top: 18px;
}

.l2-universe__intro h2 {
    font-size: clamp(48px, 5vw, 82px);
}

.l2-universe__intro p {
    max-width: 560px;
    color: rgba(239,231,216,.7);
    font-size: 15px;
    line-height: 1.72;
}

.l2-universe__relic {
    position: absolute;
    right: clamp(16px, 5vw, 90px);
    top: 134px;
    width: min(470px, 35vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.l2-universe__relic::before {
    content: "";
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(214,170,101,.16);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,170,101,.1), transparent 62%);
    box-shadow: inset 0 0 34px rgba(214,170,101,.08), 0 0 44px rgba(214,170,101,.06);
    animation: l2SigilTurn 32s linear infinite;
}

.l2-relic__sigil {
    position: absolute;
    width: 84%;
    opacity: .34;
    filter: sepia(.4) saturate(.95) drop-shadow(0 0 32px rgba(214,170,101,.18));
}

.l2-relic__chest {
    position: absolute;
    width: 70%;
    opacity: .82;
    filter: drop-shadow(0 34px 50px rgba(0,0,0,.62));
    animation: l2ChestFloat 7s ease-in-out infinite;
}

.l2-relic__rate {
    position: relative;
    z-index: 2;
    width: 148px;
    height: 148px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(244,223,178,.26);
    border-radius: 50%;
    background: rgba(4,4,3,.72);
    box-shadow: inset 0 0 30px rgba(214,170,101,.12), 0 18px 42px rgba(0,0,0,.38);
}

.l2-relic__rate strong {
    color: #fff1d2;
    font-family: "Cinzel", Georgia, serif;
    font-size: 44px;
}

.l2-relic__rate span {
    color: rgba(239,231,216,.62);
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.l2-universe__chapters {
    position: relative;
    width: min(1010px, 100%);
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 18px;
    margin-top: 42px;
}

.l2-universe__chapters article {
    position: relative;
    min-height: 230px;
    padding: 28px 26px 24px;
    border-top: 1px solid rgba(214,170,101,.2);
    border-bottom: 1px solid rgba(214,170,101,.14);
    background:
        radial-gradient(circle at 18% 0, rgba(214,170,101,.13), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,.04), transparent),
        linear-gradient(90deg, rgba(214,170,101,.035), transparent 42%),
        rgba(5,5,4,.58);
    box-shadow: 0 24px 58px rgba(0,0,0,.34), inset 0 0 30px rgba(214,170,101,.025);
    backdrop-filter: blur(4px);
}

.l2-universe__chapters article::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244,223,178,.36), transparent);
}

.l2-universe__chapters article:first-child {
    grid-row: span 2;
    min-height: 456px;
}

.l2-universe__chapters article:nth-child(2) {
    transform: translateY(-26px);
}

.l2-universe__chapters article:nth-child(3) {
    transform: translate(68px, -10px);
}

.l2-universe__chapters article > span {
    color: rgba(214,170,101,.58);
    font-family: "Cinzel", Georgia, serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.l2-universe__chapters h3 {
    margin: 12px 0 12px;
    color: #fff0d3;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 600;
    line-height: 1;
}

.l2-universe__chapters p {
    margin: 0;
    color: rgba(239,231,216,.68);
    font-size: 14px;
    line-height: 1.7;
}

.l2-token-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.l2-token-row img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    padding: 8px;
    border: 1px solid rgba(214,170,101,.16);
    background: radial-gradient(circle, rgba(214,170,101,.1), rgba(0,0,0,.22) 66%);
    filter: drop-shadow(0 10px 16px rgba(0,0,0,.42));
}

.l2-progress-line {
    display: grid;
    gap: 1px;
    margin-top: 22px;
    border-top: 1px solid rgba(214,170,101,.18);
    border-bottom: 1px solid rgba(214,170,101,.14);
}

.l2-progress-line b {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: rgba(255,238,205,.88);
    background: linear-gradient(90deg, rgba(214,170,101,.08), transparent);
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.l2-universe__atlas {
    position: absolute;
    right: clamp(24px, 5vw, 84px);
    bottom: 210px;
    width: min(560px, 40vw);
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 10px;
}

.l2-universe__atlas figure {
    position: relative;
    min-height: 116px;
    margin: 0;
    overflow: hidden;
    border-top: 1px solid rgba(214,170,101,.18);
    border-bottom: 1px solid rgba(214,170,101,.12);
    background: rgba(0,0,0,.34);
    box-shadow: 0 18px 38px rgba(0,0,0,.28);
}

.l2-universe__atlas figure:nth-child(2) {
    min-height: 152px;
    transform: translateY(-42px);
}

.l2-universe__atlas figure:nth-child(3) {
    transform: translate(-48px, -10px);
}

.l2-universe__atlas img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
    filter: saturate(.72) contrast(1.12) brightness(.7);
    transform: scale(1.05);
}

.l2-universe__atlas figcaption {
    position: absolute;
    left: 12px;
    bottom: 10px;
    z-index: 2;
    color: #f5dfb8;
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.l2-universe__atlas figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 24%, rgba(0,0,0,.78));
}

/* Rebuilt Universe section: stable premium composition */
.l2-universe {
    min-height: auto;
    padding-bottom: 0;
}

.l2-universe__wrap {
    width: min(1220px, calc(100% - 96px));
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(460px, 1.1fr);
    grid-template-areas:
        "intro relic"
        "chapters chapters"
        "atlas atlas";
    column-gap: clamp(38px, 6vw, 92px);
    row-gap: 24px;
    padding: 96px 0 96px;
}

.l2-universe__intro {
    grid-area: intro;
    width: 100%;
    padding-top: 10px;
}

.l2-universe__intro h2 {
    max-width: 620px;
    font-size: clamp(46px, 4.8vw, 72px);
}

.l2-universe__relic {
    grid-area: relic;
    position: relative;
    right: auto;
    top: auto;
    justify-self: center;
    align-self: center;
    width: min(300px, 24vw);
    opacity: .58;
}

.l2-relic__chest {
    width: 62%;
    opacity: .62;
    filter: saturate(.72) brightness(.78) drop-shadow(0 28px 42px rgba(0,0,0,.64));
}

.l2-relic__rate {
    width: 118px;
    height: 118px;
    background: rgba(4,4,3,.8);
}

.l2-relic__rate strong {
    font-size: 34px;
}

.l2-universe__chapters {
    grid-area: chapters;
    width: 100%;
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    align-items: stretch;
    gap: 18px;
    margin-top: 0;
}

.l2-universe__chapters article {
    min-height: 220px;
    padding: 28px 28px 26px;
    overflow: hidden;
}

.l2-universe__chapters article:first-child {
    grid-row: span 2;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.l2-universe__chapters article:nth-child(2),
.l2-universe__chapters article:nth-child(3) {
    transform: none;
}

.l2-universe__chapters article:nth-child(3) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .78fr);
    gap: 16px;
    align-items: start;
}

.l2-universe__chapters article::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -38px;
    z-index: -1;
    width: 178px;
    height: 178px;
    opacity: .11;
    background: url("../img/universe/l2/prof-sigil.png") center / contain no-repeat;
    filter: sepia(.45) saturate(.8);
}

.l2-universe__chapters article:nth-child(2)::after {
    background-image: url("../img/universe/l2/skill-003.png");
    opacity: .15;
}

.l2-universe__chapters article:nth-child(3)::after {
    background-image: url("../img/universe/l2/gear-valakas.png");
    opacity: .14;
}

.l2-universe__chapters article:nth-child(3) .l2-progress-line {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 8px;
}

.l2-universe__atlas {
    grid-area: atlas;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(940px, 100%);
    display: grid;
    grid-template-columns: 1.1fr .9fr 1fr 1fr;
    gap: 10px;
    margin: -2px 0 0 auto;
}

.l2-universe__atlas figure,
.l2-universe__atlas figure:nth-child(2) {
    min-height: 112px;
    transform: none;
}

.l2-universe__atlas figure:nth-child(3) {
    transform: none;
}

.l2-universe__atlas figure:nth-child(2) {
    min-height: 132px;
}

.l2-reward__items {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
}

.l2-reward__items > img {
    position: absolute;
    width: min(420px, 48vw);
    opacity: .76;
    filter: drop-shadow(0 32px 56px rgba(0,0,0,.52));
    animation: l2ChestFloat 6.8s ease-in-out infinite;
}

.l2-reward__items div {
    position: relative;
    z-index: 2;
    width: 176px;
    height: 176px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(214, 170, 101, .34);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(214, 170, 101, .12), transparent 58%),
        rgba(8,7,6,.72);
    box-shadow: inset 0 0 30px rgba(214, 170, 101, .08), 0 18px 48px rgba(0,0,0,.38);
    animation: l2RingPulse 4.5s ease-in-out infinite;
}

.l2-reward__items span {
    color: var(--gold-soft);
    font-family: "Cinzel", Georgia, serif;
    font-size: 56px;
}

.l2-reward__items small {
    color: var(--muted);
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    text-transform: uppercase;
}

.l2-modal-card {
    position: relative;
    z-index: 2;
    width: min(520px, calc(100% - 40px));
    margin: 0 auto;
    top: 50%;
    padding: 30px;
    border: 1px solid rgba(199, 176, 139, .7);
    background:
        linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0)),
        #f2e7ce;
    color: #23190f;
    transform: translateY(-50%);
    box-shadow: 0 30px 90px rgba(0,0,0,.68);
}

.l2-screen--download {
    min-height: 940px;
    border-top: 1px solid rgba(214,170,101,.22);
}

.l2-modal-card button {
    position: absolute;
    right: 14px;
    top: 10px;
    border: 0;
    background: none;
    color: #6a4c2f;
    cursor: pointer;
}

.l2-modal-card h2 {
    color: #2f2115;
    font-size: 38px;
    text-shadow: none;
}

.l2-modal-card p {
    color: #5d4a38;
}

.l2-file-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    margin-bottom: 10px;
    padding: 0 0 0 14px;
    background: #2b2119;
    color: #ead9bb;
    font-size: 13px;
}

.l2-file-row a {
    height: 46px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    background: #b45f31;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    transition: background .22s ease, transform .22s ease;
}

.l2-file-row:hover a {
    background: #cf7540;
    transform: translateX(-2px);
}

.l2-file-row {
    transition: background .22s ease;
}

.l2-file-row:hover {
    background: #37291e;
}

.l2-modal-card > .l2-btn {
    width: 100%;
    margin-top: 10px;
}

@keyframes l2HeroContent {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.985);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes l2LogoBreath {
    0%, 100% {
        filter: drop-shadow(0 0 18px rgba(214,170,101,.24)) drop-shadow(0 20px 34px rgba(0,0,0,.72));
        transform: translateY(0);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(244,223,178,.34)) drop-shadow(0 24px 42px rgba(0,0,0,.8));
        transform: translateY(-4px);
    }
}

@keyframes l2SigilTurn {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes l2FloatLeft {
    0%, 100% { transform: translate3d(var(--mx-left), var(--my-soft), 0) scale(1.02); }
    50% { transform: translate3d(var(--mx-left), calc(var(--my-soft) - 10px), 0) scale(1.035); }
}

@keyframes l2FloatRight {
    0%, 100% { transform: translate3d(var(--mx-right), var(--my-soft), 0) scale(1.02); }
    50% { transform: translate3d(var(--mx-right), calc(var(--my-soft) - 12px), 0) scale(1.035); }
}

@keyframes l2LightPulse {
    0%, 100% {
        opacity: .32;
        transform: translate(-50%, -50%) scale(.96);
    }
    50% {
        opacity: .52;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes l2Mist {
    from { transform: translateX(-52%) translateY(0); }
    to { transform: translateX(-46%) translateY(-8px); }
}

@keyframes l2Sparks {
    from {
        opacity: .22;
        transform: translate3d(-1.5%, 1%, 0) scale(1);
    }
    to {
        opacity: .42;
        transform: translate3d(1.5%, -1%, 0) scale(1.04);
    }
}

@keyframes l2AmbientDrift {
    from { transform: translate3d(var(--mx-glow), var(--my-glow), 0) rotate(0deg); }
    to { transform: translate3d(calc(var(--mx-glow) + 10px), calc(var(--my-glow) + 4px), 0) rotate(3deg); }
}

@keyframes l2QuickFacts {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes l2ScrollHint {
    0%, 100% { opacity: .42; }
    50% { opacity: .82; }
}

@keyframes l2ScrollDot {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    35% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(22px); }
}

@keyframes l2ChestFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes l2RingPulse {
    0%, 100% { box-shadow: inset 0 0 30px rgba(214, 170, 101, .08), 0 18px 48px rgba(0,0,0,.38); }
    50% { box-shadow: inset 0 0 44px rgba(214, 170, 101, .18), 0 22px 60px rgba(0,0,0,.48), 0 0 30px rgba(214,170,101,.14); }
}

@keyframes l2DecorGlow {
    0%, 100% {
        opacity: .56;
        filter: sepia(.25) saturate(.92) drop-shadow(0 8px 18px rgba(0,0,0,.45));
    }
    50% {
        opacity: .86;
        filter: sepia(.18) saturate(1.1) drop-shadow(0 0 18px rgba(214,170,101,.24));
    }
}

@keyframes l2StatusPing {
    0% {
        opacity: .72;
        transform: scale(.5);
    }
    100% {
        opacity: 0;
        transform: scale(1.9);
    }
}

@keyframes l2NumberTick {
    0% {
        color: #fff5df;
        transform: translateY(0) scale(1);
        text-shadow: 0 0 18px rgba(214,170,101,.2), 0 10px 18px rgba(0,0,0,.45);
    }
    45% {
        color: #ffffff;
        transform: translateY(-3px) scale(1.08);
        text-shadow: 0 0 28px rgba(244,223,178,.5), 0 12px 22px rgba(0,0,0,.52);
    }
    100% {
        color: #fff5df;
        transform: translateY(0) scale(1);
        text-shadow: 0 0 18px rgba(214,170,101,.2), 0 10px 18px rgba(0,0,0,.45);
    }
}

@keyframes l2LogoBeam {
    0%, 100% {
        opacity: .18;
        transform: translate(-50%, -50%) scaleY(.72);
    }
    50% {
        opacity: .58;
        transform: translate(-50%, -50%) scaleY(1.04);
    }
}

@keyframes l2NavLine {
    0%, 100% {
        opacity: .58;
        filter: brightness(.92);
    }
    50% {
        opacity: 1;
        filter: brightness(1.26) drop-shadow(0 0 8px rgba(214,170,101,.2));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    .l2-panel,
    .l2-feature-stack,
    .l2-reward,
    .l2-modal-card {
        opacity: 1;
    }
}

@media (max-width: 980px) {
    .l2-site { padding-top: 0; }
    .l2-topbar {
        position: fixed;
        top: 0;
        width: 100%;
        transform: none;
        left: auto;
        grid-template-columns: 160px 1fr;
        border-left: 0;
        border-right: 0;
        height: 66px;
        gap: 12px;
    }
    .l2-topbar__links,
    .l2-social { display: none; }
    .l2-topbar__logo {
        min-width: 152px;
    }
    .l2-topbar__logo::before {
        width: 160px;
        height: 42px;
    }
    .l2-topbar__logo img {
        width: 142px;
        max-height: 44px;
    }
    .l2-topbar__right::before {
        display: none;
    }
    .l2-screen {
        width: 100%;
        min-height: 720px;
        margin-bottom: 0;
    }
    .l2-hero-art {
        width: 82vw;
        height: 82vh;
        opacity: .62;
    }
    .l2-hero-art--left { left: -28vw; }
    .l2-hero-art--right { right: -28vw; }
    .l2-panel,
    .l2-feature-stack {
        width: min(680px, calc(100% - 40px));
        margin-left: 24px;
        margin-right: 24px;
    }
    .l2-side-art {
        width: 100vw;
        height: 62vh;
        opacity: .38;
    }
    .l2-chronicle-art {
        right: -34vw;
        width: 118vw;
        height: 76vh;
        opacity: .34;
        object-position: 52% center;
    }
    #chronicle .l2-panel::before {
        left: -18px;
    }
    .l2-dossier-head,
    .l2-chronicle-rates {
        grid-template-columns: 1fr;
    }
    .l2-chronicle-rates .l2-castle-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .l2-chronicle-dossier,
    .l2-chronicle-rates {
        width: 100%;
        margin-left: 0;
        padding-left: 22px;
    }
    .l2-cards--compact {
        width: 100%;
        margin-left: 0;
        grid-template-columns: 1fr 1fr;
    }
    .l2-cards--compact article:nth-child(2),
    .l2-cards--compact article:nth-child(3) {
        transform: none;
    }
    .l2-class-rail,
    .l2-gear-strip {
        margin-left: 0;
        transform: none;
    }
    .l2-chronicle-rates .l2-castle-row {
        width: 100%;
        margin-left: 0;
    }
    .l2-reward,
    .l2-cards {
        grid-template-columns: 1fr;
    }
    .l2-gear-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .l2-feature-stack { text-align: left; }
    .l2-universe {
        min-height: auto;
        padding-bottom: 0;
    }
    .l2-universe__wrap {
        width: min(720px, calc(100% - 40px));
        min-height: auto;
        padding: 108px 0 76px;
    }
    .l2-universe__intro {
        width: 100%;
    }
    .l2-universe__relic {
        position: relative;
        right: auto;
        top: auto;
        width: min(340px, 58vw);
        margin: 26px auto 0;
    }
    .l2-universe__chapters {
        width: 100%;
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    .l2-universe__chapters article:first-child {
        grid-row: auto;
        min-height: 230px;
    }
    .l2-universe__chapters article:nth-child(2),
    .l2-universe__chapters article:nth-child(3) {
        transform: none;
    }
    .l2-universe__atlas {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 24px;
    }
    .l2-universe__wrap::after {
        bottom: 34px;
    }
}

@media (max-width: 640px) {
    .l2-topbar {
        height: auto;
        min-height: 58px;
        padding: 8px 10px;
        grid-template-columns: 1fr auto;
    }
    .l2-topbar__logo {
        min-width: 122px;
    }
    .l2-topbar__logo::before {
        width: 132px;
        height: 36px;
    }
    .l2-topbar__logo img {
        width: 118px;
        max-height: 36px;
    }
    .l2-topbar__right {
        gap: 7px;
    }
    .l2-download {
        height: 36px;
        padding: 0 12px;
        font-size: 10px;
    }
    .nav__langs-item {
        min-height: 36px;
        padding: 0 8px;
    }
    .nav__langs-item span { display: none; }
    .l2-screen__content,
    .l2-panel,
    .l2-feature-stack,
    .l2-reward {
        padding: 92px 20px 56px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .l2-screen--hero .l2-screen__content {
        padding: 98px 20px 84px;
    }
    .l2-screen h1,
    .l2-screen h2 {
        font-size: clamp(38px, 12vw, 56px);
    }
    .l2-screen--hero h1 {
        width: 100%;
    }
    .l2-hero-logo-title .l2-mark {
        width: min(860px, 92vw);
        max-height: 270px;
    }
    .l2-hero-logo-title {
        transform: translateX(-112px);
    }
    .l2-hero-claim {
        font-size: clamp(28px, 8vw, 42px);
    }
    .l2-screen h1 {
        width: 100%;
    }
    .l2-kicker::before,
    .l2-kicker::after {
        width: 24px;
    }
    .l2-bg {
        width: 100%;
        opacity: .44;
    }
    .l2-bg--right { display: none; }
    .l2-hero-art--left { display: none; }
    .l2-hero-art--right {
        right: -48vw;
        width: 118vw;
        height: 70vh;
        opacity: .34;
    }
    .l2-mark { width: min(280px, 78vw); }
    .l2-hero-logo-title .l2-mark {
        width: min(560px, 96vw);
        max-height: 200px;
    }
    .l2-hero-logo-title {
        transform: translateX(-42px);
    }
    .l2-hero-tags {
        gap: 6px;
    }
    .l2-hero-tags span {
        padding: 0 10px;
        font-size: 9px;
    }
    .l2-countdown {
        width: min(360px, 100%);
        margin-top: 18px;
        padding: 11px 10px 12px;
    }
    .l2-countdown__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .l2-countdown__grid span {
        min-height: 50px;
    }
    .l2-countdown__grid strong {
        font-size: 22px;
    }
    .l2-hero-tags span + span::before {
        display: none;
    }
    .l2-mini-grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin-left: 0;
    }
    .l2-mini-grid article:nth-child(2),
    .l2-mini-grid article:nth-child(3) {
        transform: none;
    }
    #chronicle .l2-panel::after {
        display: none;
    }
    #chronicle .l2-panel {
        width: 100%;
        padding-bottom: 72px;
    }
    .l2-chronicle-art {
        right: -58vw;
        width: 138vw;
        height: 68vh;
        opacity: .26;
    }
    .l2-dossier-head {
        gap: 10px;
    }
    .l2-chronicle-dossier,
    .l2-chronicle-rates {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }
    .l2-chronicle-dossier::before,
    .l2-chronicle-dossier::after {
        display: none;
    }
    .l2-cards--compact {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        margin-left: 0;
        transform: none;
    }
    .l2-cards--compact article:first-child {
        grid-row: auto;
        min-height: 142px;
    }
    .l2-chronicle-rates .l2-castle-row {
        grid-template-columns: 1fr;
    }
    .l2-world-strip,
    .l2-castle-row {
        grid-template-columns: 1fr;
        width: 100%;
        margin-left: 0;
    }
    .l2-world-strip figure:first-child,
    .l2-world-strip figure:nth-child(3) {
        transform: none;
    }
    .l2-class-rail {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        flex-wrap: wrap;
    }
    .l2-gear-strip {
        width: 100%;
        margin-left: 0;
        transform: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .l2-gear-strip img {
        min-height: 64px;
    }
    .l2-actions {
        display: grid;
        width: 100%;
    }
    .l2-btn--discord {
        order: 3;
    }
    .l2-server-status {
        max-width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        padding: 8px 12px;
    }
    .l2-server-status small {
        width: 100%;
        text-align: center;
    }
    .l2-reward__items {
        min-height: 260px;
    }
    .l2-universe__wrap {
        width: calc(100% - 40px);
        padding: 92px 0 64px;
    }
    .l2-universe__intro h2 {
        font-size: clamp(40px, 12vw, 56px);
    }
    .l2-universe__relic {
        width: min(280px, 80vw);
    }
    .l2-relic__rate {
        width: 118px;
        height: 118px;
    }
    .l2-relic__rate strong {
        font-size: 34px;
    }
    .l2-universe__chapters article {
        min-height: 0;
        padding: 22px 18px;
    }
    .l2-token-row img {
        width: 48px;
        height: 48px;
    }
    .l2-universe__atlas {
        grid-template-columns: 1fr;
    }
    .l2-universe__atlas figure,
    .l2-universe__atlas figure:nth-child(2) {
        min-height: 120px;
        transform: none;
    }
    .l2-universe__atlas figure:nth-child(3) {
        transform: none;
    }
}

/* Chronicle section final composition */
.l2-universe__wrap {
    width: min(1260px, calc(100% - 96px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    grid-template-areas:
        "intro relic"
        "chapters atlas";
    column-gap: 28px;
    row-gap: 26px;
    padding: 94px 0 92px;
}

.l2-universe__wrap::after {
    bottom: 46px;
}

.l2-universe__intro {
    max-width: 720px;
    padding-top: 0;
}

.l2-universe__intro h2 {
    max-width: 680px;
    font-size: clamp(44px, 4.5vw, 68px);
}

.l2-universe__relic {
    justify-self: end;
    align-self: center;
    width: 220px;
    opacity: .46;
}

.l2-relic__chest {
    width: 58%;
    opacity: .48;
    filter: saturate(.62) brightness(.62) drop-shadow(0 24px 36px rgba(0,0,0,.68));
}

.l2-relic__rate {
    width: 92px;
    height: 92px;
}

.l2-relic__rate strong {
    font-size: 28px;
}

.l2-universe__chapters {
    grid-area: chapters;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.l2-universe__chapters article,
.l2-universe__chapters article:first-child,
.l2-universe__chapters article:nth-child(2),
.l2-universe__chapters article:nth-child(3) {
    min-height: 0;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    transform: none;
}

.l2-universe__chapters article:first-child {
    grid-row: auto;
}

.l2-universe__chapters article > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(214,170,101,.22);
    color: rgba(244,223,178,.78);
    background: rgba(0,0,0,.22);
}

.l2-universe__chapters h3 {
    margin: 0 0 8px;
    font-size: clamp(30px, 3vw, 44px);
}

.l2-universe__chapters p {
    max-width: 620px;
}

.l2-token-row {
    min-width: 220px;
    justify-content: flex-end;
    margin-top: 0;
}

.l2-token-row img {
    width: 48px;
    height: 48px;
}

.l2-universe__chapters article:nth-child(3) {
    grid-template-columns: 78px minmax(0, 1fr) minmax(230px, 280px);
}

.l2-universe__chapters article:nth-child(3) .l2-progress-line {
    grid-column: 3;
    grid-row: auto;
    margin-top: 0;
}

.l2-progress-line b {
    min-height: 34px;
}

.l2-universe__atlas {
    grid-area: atlas;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
    align-self: start;
}

.l2-universe__atlas figure,
.l2-universe__atlas figure:nth-child(2),
.l2-universe__atlas figure:nth-child(3) {
    min-height: 104px;
    transform: none;
}

.l2-universe__atlas figure:nth-child(2) {
    min-height: 128px;
}

@media (max-width: 1180px) {
    .l2-universe__wrap {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "relic"
            "chapters"
            "atlas";
    }

    .l2-universe__relic {
        justify-self: center;
        width: min(260px, 48vw);
    }

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

@media (max-width: 760px) {
    .l2-universe__wrap {
        width: calc(100% - 40px);
        padding: 92px 0 64px;
    }

    .l2-universe__chapters article,
    .l2-universe__chapters article:first-child,
    .l2-universe__chapters article:nth-child(2),
    .l2-universe__chapters article:nth-child(3) {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .l2-token-row {
        justify-content: flex-start;
    }

    .l2-universe__chapters article:nth-child(3) .l2-progress-line {
        grid-column: auto;
    }

    .l2-universe__atlas {
        grid-template-columns: 1fr;
    }
}

/* Compact download spacing */
.l2-screen--download {
    min-height: 620px;
    padding: 92px 24px 54px;
    place-items: center;
}

.l2-screen--download .l2-modal-card {
    width: min(520px, 100%);
    padding: 30px;
}

.l2-footer {
    padding-top: 26px;
    padding-bottom: 26px;
}

/* Chronicle codex rework */
.l2-universe--codex {
    min-height: 1180px;
    padding: 0;
    background: #050504;
}

#features,
#rewards {
    scroll-margin-top: 92px;
}

.l2-universe--codex .l2-bg--chronicle-ai {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: .92;
    filter: saturate(.72) contrast(1.06) brightness(.52);
    transform: none;
}

.l2-universe--codex .l2-screen__shade--blue {
    background:
        linear-gradient(90deg, rgba(4,4,3,.96), rgba(4,4,3,.58) 24%, rgba(4,4,3,.34) 58%, rgba(4,4,3,.9)),
        linear-gradient(180deg, rgba(4,4,3,.96), rgba(4,4,3,.2) 28%, rgba(4,4,3,.96)),
        radial-gradient(ellipse at 46% 24%, rgba(214,170,101,.16), transparent 30rem);
}

.l2-universe--codex .l2-universe__wrap {
    width: min(1280px, calc(100% - 112px));
    min-height: 1080px;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, .62fr);
    grid-template-areas:
        "intro atlas"
        "chapters atlas";
    align-content: center;
    column-gap: 34px;
    row-gap: 24px;
    padding: 118px 0 112px;
}

.l2-universe--codex .l2-universe__wrap::after {
    bottom: 68px;
}

.l2-universe--codex .l2-universe__intro {
    grid-area: intro;
    max-width: 720px;
    padding: 0;
}

.l2-universe--codex .l2-universe__intro h2 {
    max-width: 680px;
    font-size: clamp(50px, 5.2vw, 86px);
}

.l2-universe--codex .l2-universe__intro p {
    max-width: 620px;
}

.l2-universe--codex .l2-universe__chapters {
    grid-area: chapters;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    width: min(820px, 100%);
    margin: 0;
    border-top: 1px solid rgba(214,170,101,.24);
    border-bottom: 1px solid rgba(214,170,101,.18);
    background: rgba(214,170,101,.12);
    box-shadow: 0 28px 70px rgba(0,0,0,.34);
}

.l2-universe--codex .l2-universe__chapters article,
.l2-universe--codex .l2-universe__chapters article:first-child,
.l2-universe--codex .l2-universe__chapters article:nth-child(2),
.l2-universe--codex .l2-universe__chapters article:nth-child(3) {
    min-height: 178px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) minmax(190px, auto);
    align-items: center;
    gap: 22px;
    padding: 24px 26px;
    transform: none;
    border: 0;
    background:
        linear-gradient(90deg, rgba(18,14,9,.86), rgba(11,10,8,.62)),
        radial-gradient(circle at 16% 0, rgba(214,170,101,.12), transparent 58%);
}

.l2-universe--codex .l2-universe__chapters article > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(214,170,101,.28);
    color: rgba(244,223,178,.84);
    background: rgba(0,0,0,.24);
}

.l2-universe--codex .l2-universe__chapters h3 {
    margin: 0 0 8px;
    font-size: clamp(30px, 3vw, 46px);
}

.l2-universe--codex .l2-universe__chapters p {
    max-width: 520px;
}

.l2-universe--codex .l2-token-row {
    min-width: 0;
    justify-content: flex-end;
    margin: 0;
}

.l2-universe--codex .l2-token-row img {
    width: 50px;
    height: 50px;
}

.l2-universe--codex .l2-universe__chapters article:nth-child(3) .l2-progress-line {
    grid-column: 3;
    grid-row: auto;
    min-width: 230px;
    margin: 0;
}

.l2-universe--codex .l2-universe__atlas {
    grid-area: atlas;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-self: center;
    padding-top: 0;
    margin: 0;
}

.l2-universe--codex .l2-universe__atlas figure,
.l2-universe--codex .l2-universe__atlas figure:nth-child(2),
.l2-universe--codex .l2-universe__atlas figure:nth-child(3) {
    min-height: 118px;
    transform: none;
}

.l2-universe--codex .l2-universe__atlas figure:nth-child(2) {
    min-height: 150px;
}

.l2-universe--codex .l2-universe__atlas figure:first-child {
    display: none;
}

.l2-universe__seal {
    position: absolute;
    right: min(36vw, 470px);
    top: 122px;
    z-index: 6;
    width: 138px;
    height: 138px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid rgba(214,170,101,.22);
    border-radius: 50%;
    background: rgba(3,3,2,.62);
    box-shadow: inset 0 0 28px rgba(214,170,101,.08), 0 18px 42px rgba(0,0,0,.34);
}

.l2-universe__seal img {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: contain;
    opacity: .18;
    animation: l2SigilTurn 30s linear infinite;
}

.l2-universe__seal strong {
    color: #fff2d6;
    font-family: "Cinzel", Georgia, serif;
    font-size: 34px;
}

.l2-universe__seal span {
    color: rgba(239,231,216,.62);
    font-family: "Cinzel", Georgia, serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

@media (max-width: 1080px) {
    .l2-universe--codex .l2-universe__wrap {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "chapters"
            "atlas";
    }

    .l2-universe--codex .l2-universe__chapters {
        width: 100%;
    }

    .l2-universe--codex .l2-universe__atlas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .l2-universe__seal {
        display: none;
    }
}

@media (max-width: 720px) {
    .l2-universe--codex .l2-universe__wrap {
        width: calc(100% - 40px);
        padding: 94px 0 64px;
    }

    .l2-universe--codex .l2-universe__chapters article,
    .l2-universe--codex .l2-universe__chapters article:first-child,
    .l2-universe--codex .l2-universe__chapters article:nth-child(2),
    .l2-universe--codex .l2-universe__chapters article:nth-child(3) {
        grid-template-columns: 1fr;
    }

    .l2-universe--codex .l2-token-row {
        justify-content: flex-start;
    }

    .l2-universe--codex .l2-universe__chapters article:nth-child(3) .l2-progress-line {
        grid-column: auto;
        min-width: 0;
    }

    .l2-universe--codex .l2-universe__atlas {
        grid-template-columns: 1fr;
    }
}

/* Download and footer polish */
.l2-screen--download {
    min-height: 760px;
    display: grid;
    place-items: start center;
    padding: 118px 24px 86px;
    border-top: 1px solid rgba(214,170,101,.22);
    overflow: hidden;
}

.l2-screen--download .l2-bg {
    opacity: .42;
    filter: saturate(.9) contrast(1.12) brightness(.48);
}

.l2-screen--download .l2-screen__shade--dark {
    background:
        radial-gradient(ellipse at 50% 28%, rgba(214,170,101,.12), transparent 28rem),
        linear-gradient(180deg, rgba(4,4,3,.86), rgba(4,4,3,.62) 42%, rgba(4,4,3,.92));
}

.l2-screen--download .l2-modal-card,
.l2-motion .l2-screen.is-visible.l2-screen--download .l2-modal-card {
    position: relative;
    top: auto;
    transform: none;
    margin: 0;
}

.l2-screen--download .l2-modal-card {
    width: min(560px, 100%);
    padding: 34px;
    border: 1px solid rgba(214,170,101,.28);
    background:
        radial-gradient(ellipse at 50% 0, rgba(244,223,178,.1), transparent 58%),
        linear-gradient(180deg, rgba(255,255,255,.05), transparent),
        rgba(10,8,6,.88);
    color: #efe7d8;
    box-shadow: 0 34px 90px rgba(0,0,0,.62), inset 0 0 34px rgba(214,170,101,.06);
}

.l2-screen--download .l2-modal-card h2 {
    color: #fff0d3;
}

.l2-screen--download .l2-modal-card p {
    color: rgba(239,231,216,.68);
}

.l2-screen--download .l2-modal-card button {
    color: rgba(244,223,178,.7);
}

.l2-footer {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    gap: 28px;
    padding: 34px clamp(22px, 6vw, 110px);
    border-top: 1px solid rgba(214,170,101,.22);
    background:
        radial-gradient(ellipse at 50% 0, rgba(214,170,101,.08), transparent 36rem),
        linear-gradient(180deg, rgba(8,7,6,.98), rgba(3,3,2,.98));
}

.l2-footer__brand img {
    width: 154px;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 14px rgba(214,170,101,.18));
}

.l2-footer__brand p,
.l2-footer__meta {
    margin: 0;
    color: rgba(239,231,216,.58);
    font-size: 12px;
}

.l2-footer__links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.l2-footer__links a,
.l2-footer__meta span,
.l2-footer__meta small {
    color: rgba(255,238,205,.76);
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.l2-footer__links a:hover {
    color: #fff0d3;
}

.l2-footer__meta {
    display: grid;
    gap: 6px;
    justify-items: end;
}

.l2-footer__meta small {
    color: rgba(239,231,216,.42);
}

@media (max-width: 760px) {
    .l2-screen--download {
        min-height: auto;
        padding: 94px 18px 64px;
    }

    .l2-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .l2-footer__brand img {
        margin-left: auto;
        margin-right: auto;
    }

    .l2-footer__meta {
        justify-items: center;
    }
}

/* Download section fix */
.l2-screen--download {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 118px 24px 96px;
    overflow: hidden;
}

.l2-screen--download .l2-bg {
    opacity: .34;
    filter: saturate(.8) contrast(1.12) brightness(.42);
}

.l2-screen--download .l2-modal-card,
.l2-motion .l2-screen.is-visible.l2-screen--download .l2-modal-card {
    position: relative;
    top: auto;
    transform: none;
    margin: 0;
}

.l2-screen--download .l2-modal-card {
    width: min(540px, 100%);
}

/* Chronicle city-stage rework */
.l2-universe--codex {
    min-height: 100vh;
    padding: 0;
}

.l2-universe--codex .l2-bg--chronicle-ai {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: .88;
    filter: saturate(.7) contrast(1.08) brightness(.56);
}

.l2-universe--codex .l2-screen__shade--blue {
    background:
        linear-gradient(90deg, rgba(3,3,2,.98), rgba(3,3,2,.7) 27%, rgba(3,3,2,.46) 58%, rgba(3,3,2,.86)),
        linear-gradient(180deg, rgba(3,3,2,.94), rgba(3,3,2,.22) 34%, rgba(3,3,2,.94)),
        radial-gradient(ellipse at 50% 44%, rgba(214,170,101,.16), transparent 32rem);
}

.l2-universe--codex .l2-universe__wrap {
    width: min(1280px, calc(100% - 96px));
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "intro intro"
        "chapters atlas";
    gap: 24px;
    align-content: center;
    margin: 0 auto;
    padding: 108px 0 82px;
}

.l2-universe--codex .l2-universe__intro {
    grid-area: intro;
    width: min(760px, 100%);
    max-width: none;
    padding: 0;
}

.l2-universe--codex .l2-universe__intro h2 {
    max-width: 720px;
    font-size: clamp(42px, 4.6vw, 72px);
}

.l2-universe--codex .l2-universe__intro p {
    max-width: 680px;
}

.l2-universe--codex .l2-universe__chapters {
    grid-area: chapters;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    margin: 0;
    align-self: start;
    border: 1px solid rgba(214,170,101,.22);
    background: rgba(214,170,101,.12);
    box-shadow: 0 30px 70px rgba(0,0,0,.34);
}

.l2-universe--codex .l2-universe__chapters article,
.l2-universe--codex .l2-universe__chapters article:first-child,
.l2-universe--codex .l2-universe__chapters article:nth-child(2),
.l2-universe--codex .l2-universe__chapters article:nth-child(3) {
    min-height: 146px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) minmax(210px, auto);
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    transform: none;
    border: 0;
    background:
        linear-gradient(90deg, rgba(18,14,9,.88), rgba(10,9,7,.68)),
        radial-gradient(circle at 18% 0, rgba(214,170,101,.1), transparent 58%);
}

.l2-universe--codex .l2-universe__chapters h3 {
    margin: 0 0 6px;
    font-size: clamp(29px, 2.7vw, 42px);
}

.l2-universe--codex .l2-universe__chapters p {
    max-width: 560px;
    font-size: 13px;
    line-height: 1.62;
}

.l2-universe--codex .l2-token-row {
    justify-content: flex-end;
    margin: 0;
}

.l2-universe--codex .l2-token-row img {
    width: 46px;
    height: 46px;
}

.l2-universe--codex .l2-universe__chapters article:nth-child(3) .l2-progress-line {
    grid-column: 3;
    grid-row: auto;
    min-width: 230px;
    margin: 0;
}

.l2-universe--codex .l2-universe__atlas {
    grid-area: atlas;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    align-self: stretch;
    margin: 0;
    border: 1px solid rgba(214,170,101,.18);
    background: rgba(214,170,101,.1);
    overflow: hidden;
}

.l2-universe--codex .l2-universe__atlas figure,
.l2-universe--codex .l2-universe__atlas figure:first-child,
.l2-universe--codex .l2-universe__atlas figure:nth-child(2),
.l2-universe--codex .l2-universe__atlas figure:nth-child(3) {
    display: block;
    min-height: 0;
    height: auto;
    margin: 0;
    transform: none;
}

.l2-universe--codex .l2-universe__atlas img {
    position: relative;
    display: block;
    width: 100%;
    height: 118px;
    object-fit: cover;
    opacity: .82;
    filter: saturate(.82) contrast(1.08) brightness(.68);
    transform: none;
}

.l2-universe--codex .l2-universe__atlas figcaption {
    left: 12px;
    bottom: 8px;
}

.l2-universe__seal {
    display: none;
}

@media (max-width: 1080px) {
    .l2-universe--codex .l2-universe__wrap {
        width: min(760px, calc(100% - 40px));
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "chapters"
            "atlas";
    }

    .l2-universe--codex .l2-universe__atlas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .l2-universe--codex .l2-universe__wrap {
        width: calc(100% - 32px);
        padding: 92px 0 60px;
    }

    .l2-universe--codex .l2-universe__chapters article,
    .l2-universe--codex .l2-universe__chapters article:first-child,
    .l2-universe--codex .l2-universe__chapters article:nth-child(2),
    .l2-universe--codex .l2-universe__chapters article:nth-child(3) {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .l2-universe--codex .l2-token-row {
        justify-content: flex-start;
    }

    .l2-universe--codex .l2-universe__chapters article:nth-child(3) .l2-progress-line {
        grid-column: auto;
        min-width: 0;
    }

    .l2-universe--codex .l2-universe__atlas {
        grid-template-columns: 1fr;
    }
}

/* Final download compaction */
.l2-screen--download {
    min-height: 0;
    height: auto;
    display: grid;
    place-items: center;
    padding: 74px 24px 46px;
}

.l2-screen--download::before {
    top: 0;
}

.l2-screen--download::after {
    bottom: 0;
}

.l2-screen--download .l2-bg {
    opacity: .28;
}

.l2-screen--download .l2-screen__shade--dark {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(214,170,101,.1), transparent 25rem),
        linear-gradient(180deg, rgba(4,4,3,.92), rgba(4,4,3,.76) 46%, rgba(4,4,3,.96));
}

.l2-screen--download .l2-modal-card {
    width: min(500px, 100%);
    padding: 28px;
}

.l2-footer {
    padding-top: 24px;
    padding-bottom: 24px;
}

@media (max-width: 760px) {
    .l2-screen--download {
        padding: 58px 18px 38px;
    }
}

/* Chronicle motion layer */
.l2-motion .l2-universe--codex .l2-bg--chronicle-ai {
    transform: scale(1.04) translate3d(var(--mx-bg), var(--my-bg), 0);
    animation: l2ChronicleBreath 18s ease-in-out infinite alternate;
}

.l2-motion .l2-universe--codex .l2-universe__intro,
.l2-motion .l2-universe--codex .l2-universe__chapters,
.l2-motion .l2-universe--codex .l2-universe__atlas {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.18, .72, .22, 1);
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__intro {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .06s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__chapters {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .18s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .3s;
}

.l2-motion .l2-universe--codex .l2-title-decor {
    transform-origin: left center;
}

.l2-motion .l2-universe--codex.is-visible .l2-title-decor {
    animation: l2LineIgnite 1.4s ease .25s both, l2LineGlow 3.8s ease-in-out 1.6s infinite;
}

.l2-motion .l2-universe--codex .l2-universe__chapters article {
    position: relative;
    overflow: hidden;
    transform: translateX(-16px);
    opacity: 0;
    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.18, .72, .22, 1),
        border-color .25s ease,
        background .25s ease;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__chapters article {
    opacity: 1;
    transform: translateX(0);
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__chapters article:first-child {
    transition-delay: .28s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__chapters article:nth-child(2) {
    transition-delay: .4s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__chapters article:nth-child(3) {
    transition-delay: .52s;
}

.l2-universe--codex .l2-universe__chapters article:hover {
    border-color: rgba(244, 202, 130, .4);
    background:
        radial-gradient(ellipse at 68% 50%, rgba(214,170,101,.14), transparent 18rem),
        linear-gradient(90deg, rgba(31,25,17,.9), rgba(13,11,8,.82));
}

.l2-universe--codex .l2-universe__chapters article::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 0 38%, rgba(255,234,184,.16) 48%, transparent 58% 100%);
    transform: translateX(-120%);
    opacity: 0;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__chapters article::after {
    animation: l2PanelSweep 5.8s ease-in-out infinite;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__chapters article:nth-child(2)::after {
    animation-delay: 1.15s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__chapters article:nth-child(3)::after {
    animation-delay: 2.2s;
}

.l2-motion .l2-universe--codex .l2-token-row img {
    transition: transform .28s ease, filter .28s ease, border-color .28s ease;
    animation: l2TokenPulse 4.8s ease-in-out infinite;
}

.l2-motion .l2-universe--codex .l2-token-row img:nth-child(2) {
    animation-delay: .55s;
}

.l2-motion .l2-universe--codex .l2-token-row img:nth-child(3) {
    animation-delay: 1.1s;
}

.l2-motion .l2-universe--codex .l2-token-row img:nth-child(4) {
    animation-delay: 1.65s;
}

.l2-universe--codex .l2-token-row img:hover {
    transform: translateY(-4px) scale(1.07);
    border-color: rgba(244,202,130,.56);
    filter: brightness(1.18) saturate(1.18) drop-shadow(0 0 14px rgba(214,170,101,.34));
}

.l2-motion .l2-universe--codex .l2-progress-line b {
    position: relative;
    overflow: hidden;
}

.l2-motion .l2-universe--codex .l2-progress-line b::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,231,180,.18), transparent);
    transform: translateX(-120%);
    animation: l2SmallSweep 4.6s ease-in-out infinite;
}

.l2-motion .l2-universe--codex .l2-universe__atlas figure {
    position: relative;
    overflow: hidden;
    transform: translateX(18px);
    opacity: 0;
    transition:
        opacity .72s ease,
        transform .72s cubic-bezier(.18, .72, .22, 1),
        border-color .25s ease;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas figure {
    opacity: 1;
    transform: translateX(0);
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas figure:first-child {
    transition-delay: .38s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas figure:nth-child(2) {
    transition-delay: .48s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas figure:nth-child(3) {
    transition-delay: .58s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas figure:nth-child(4) {
    transition-delay: .68s;
}

.l2-motion .l2-universe--codex .l2-universe__atlas img {
    transform-origin: center;
    animation: l2CityDrift 13s ease-in-out infinite alternate;
}

.l2-motion .l2-universe--codex .l2-universe__atlas figure:nth-child(2) img {
    animation-delay: -2s;
}

.l2-motion .l2-universe--codex .l2-universe__atlas figure:nth-child(3) img {
    animation-delay: -4s;
}

.l2-motion .l2-universe--codex .l2-universe__atlas figure:nth-child(4) img {
    animation-delay: -6s;
}

.l2-universe--codex .l2-universe__atlas figure:hover {
    border-color: rgba(244,202,130,.46);
}

.l2-universe--codex .l2-universe__atlas figure:hover img {
    filter: saturate(1) contrast(1.12) brightness(.86);
}

.l2-universe--codex .l2-universe__atlas figure::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 0 35%, rgba(255,238,205,.16) 48%, transparent 60% 100%);
    transform: translateX(-120%);
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas figure::before {
    animation: l2PanelSweep 6.4s ease-in-out infinite;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas figure:nth-child(2)::before {
    animation-delay: .9s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas figure:nth-child(3)::before {
    animation-delay: 1.8s;
}

.l2-motion .l2-universe--codex.is-visible .l2-universe__atlas figure:nth-child(4)::before {
    animation-delay: 2.7s;
}

@keyframes l2ChronicleBreath {
    0% { transform: scale(1.04) translate3d(var(--mx-bg), var(--my-bg), 0); }
    100% { transform: scale(1.08) translate3d(calc(var(--mx-bg) - 18px), calc(var(--my-bg) + 10px), 0); }
}

@keyframes l2LineIgnite {
    0% { opacity: 0; transform: scaleX(.08); filter: brightness(.7); }
    100% { opacity: 1; transform: scaleX(1); filter: brightness(1.25) drop-shadow(0 0 12px rgba(214,170,101,.36)); }
}

@keyframes l2LineGlow {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 6px rgba(214,170,101,.22)); }
    50% { filter: brightness(1.4) drop-shadow(0 0 18px rgba(244,202,130,.48)); }
}

@keyframes l2PanelSweep {
    0%, 58% { opacity: 0; transform: translateX(-120%); }
    68% { opacity: 1; }
    86%, 100% { opacity: 0; transform: translateX(120%); }
}

@keyframes l2SmallSweep {
    0%, 52% { transform: translateX(-120%); }
    78%, 100% { transform: translateX(120%); }
}

@keyframes l2TokenPulse {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(214,170,101,0)); }
    50% { filter: brightness(1.12) drop-shadow(0 0 10px rgba(214,170,101,.22)); }
}

@keyframes l2CityDrift {
    0% { transform: scale(1.02) translate3d(-4px, 0, 0); }
    100% { transform: scale(1.1) translate3d(8px, -4px, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .l2-motion .l2-universe--codex .l2-bg--chronicle-ai,
    .l2-motion .l2-universe--codex .l2-title-decor,
    .l2-motion .l2-universe--codex .l2-token-row img,
    .l2-motion .l2-universe--codex .l2-progress-line b::after,
    .l2-motion .l2-universe--codex .l2-universe__chapters article::after,
    .l2-motion .l2-universe--codex .l2-universe__atlas img,
    .l2-motion .l2-universe--codex .l2-universe__atlas figure::before {
        animation: none;
    }
}

/* Wiki pages */
.l2-wiki-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 50% 0, rgba(214,170,101,.1), transparent 42rem),
        #030302;
}

.l2-wiki-hero {
    position: relative;
    min-height: 540px;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 120px 24px 70px;
    border-bottom: 1px solid rgba(214,170,101,.2);
}

.l2-wiki-hero::after {
    content: "";
    position: absolute;
    left: clamp(22px, 6vw, 118px);
    right: clamp(22px, 6vw, 118px);
    bottom: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214,170,101,.46), transparent);
    pointer-events: none;
}

.l2-wiki-hero__content {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    text-align: center;
}

.l2-wiki-hero h1 {
    margin: 10px 0 18px;
    color: #fff3d9;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(58px, 8vw, 126px);
    line-height: .82;
    text-shadow: 0 20px 42px rgba(0,0,0,.68), 0 0 30px rgba(214,170,101,.18);
}

.l2-wiki-hero__content > p:not(.l2-kicker) {
    width: min(680px, 100%);
    margin: 0 auto;
    color: rgba(239,231,216,.72);
    font-size: 17px;
    line-height: 1.7;
}

.l2-wiki-hero__actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.l2-wiki-shell {
    position: relative;
    width: min(1320px, calc(100% - 80px));
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 34px;
    margin: 0 auto;
    padding: 70px 0 84px;
}

.l2-wiki-index {
    position: sticky;
    top: 104px;
    align-self: start;
    display: grid;
    gap: 4px;
    padding: 22px 18px;
    border: 1px solid rgba(214,170,101,.22);
    background:
        radial-gradient(ellipse at 50% 0, rgba(214,170,101,.12), transparent 16rem),
        rgba(9,8,6,.78);
    box-shadow: inset 0 0 34px rgba(214,170,101,.04), 0 28px 70px rgba(0,0,0,.38);
}

.l2-wiki-index strong,
.l2-wiki-index a {
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.l2-wiki-index strong {
    color: #fff0d3;
    margin-bottom: 12px;
}

.l2-wiki-index a {
    color: rgba(239,231,216,.58);
    padding: 12px 10px;
    border-top: 1px solid rgba(214,170,101,.1);
}

.l2-wiki-index a:hover {
    color: #fff0d3;
    background: rgba(214,170,101,.08);
}

.l2-wiki-content {
    display: grid;
    gap: 18px;
    align-content: start;
}

.l2-wiki-entry {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 24px;
    min-height: 260px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(214,170,101,.22);
    background:
        linear-gradient(90deg, rgba(34,27,18,.78), rgba(10,9,7,.78)),
        rgba(8,7,5,.82);
    box-shadow: inset 0 0 36px rgba(214,170,101,.04), 0 30px 90px rgba(0,0,0,.32);
}

.l2-wiki-entry::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 82% 28%, rgba(214,170,101,.14), transparent 24rem),
        linear-gradient(115deg, transparent 0 40%, rgba(255,238,205,.06) 50%, transparent 60% 100%);
    opacity: .8;
}

.l2-wiki-entry > span {
    position: relative;
    z-index: 1;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #d6aa65;
    border: 1px solid rgba(214,170,101,.28);
    background: rgba(8,7,5,.72);
    font-family: "Cinzel", Georgia, serif;
    font-weight: 800;
}

.l2-wiki-entry > div {
    position: relative;
    z-index: 1;
}

.l2-wiki-entry h2 {
    margin: 8px 0 12px;
    color: #fff0d3;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(34px, 4vw, 58px);
    line-height: .96;
}

.l2-wiki-entry p:not(.l2-kicker) {
    width: min(720px, 100%);
    margin: 0 0 22px;
    color: rgba(239,231,216,.68);
    font-size: 15px;
    line-height: 1.7;
}

.l2-wiki-map-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.l2-wiki-map-grid figure {
    position: relative;
    min-height: 150px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(214,170,101,.18);
    background: #070604;
}

.l2-wiki-map-grid img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    filter: saturate(.85) contrast(1.1) brightness(.62);
    transition: transform .45s ease, filter .45s ease;
}

.l2-wiki-map-grid figcaption {
    position: absolute;
    left: 14px;
    bottom: 12px;
    color: #fff0d3;
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.l2-wiki-map-grid figure:hover img {
    transform: scale(1.08);
    filter: saturate(1) contrast(1.12) brightness(.82);
}

.l2-motion .l2-wiki-shell .l2-wiki-index,
.l2-motion .l2-wiki-shell .l2-wiki-entry {
    opacity: 1;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.18, .72, .22, 1);
}

.l2-motion .l2-wiki-shell.is-visible .l2-wiki-index,
.l2-motion .l2-wiki-shell.is-visible .l2-wiki-entry {
    opacity: 1;
    transform: translateY(0);
}

.l2-motion .l2-wiki-shell.is-visible .l2-wiki-entry:nth-child(2) {
    transition-delay: .08s;
}

.l2-motion .l2-wiki-shell.is-visible .l2-wiki-entry:nth-child(3) {
    transition-delay: .16s;
}

.l2-motion .l2-wiki-shell.is-visible .l2-wiki-entry:nth-child(4) {
    transition-delay: .24s;
}

@media (max-width: 980px) {
    .l2-wiki-shell {
        width: min(760px, calc(100% - 36px));
        grid-template-columns: 1fr;
    }

    .l2-wiki-index {
        position: relative;
        top: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .l2-wiki-index strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .l2-wiki-hero {
        min-height: 500px;
        padding: 108px 18px 58px;
    }

    .l2-wiki-entry {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .l2-wiki-map-grid,
    .l2-wiki-index {
        grid-template-columns: 1fr;
    }
}

/* Wiki class tree */
.l2-wiki-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    border: 1px solid rgba(214,170,101,.24);
    background: rgba(214,170,101,.16);
    box-shadow: 0 24px 80px rgba(0,0,0,.26), inset 0 0 40px rgba(214,170,101,.04);
}

.l2-wiki-tabs a {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: rgba(255,238,205,.82);
    background:
        radial-gradient(ellipse at 50% 0, rgba(214,170,101,.11), transparent 12rem),
        rgba(10,9,7,.86);
    font-family: "Cinzel", Georgia, serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.l2-wiki-tabs img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: saturate(1.08) brightness(1.08) drop-shadow(0 0 14px rgba(214,170,101,.2));
}

.l2-wiki-tabs a:hover {
    color: #fff4dc;
    background:
        radial-gradient(ellipse at 50% 0, rgba(214,170,101,.2), transparent 13rem),
        rgba(21,17,11,.92);
    transform: translateY(-2px);
}

.l2-wiki-entry--tree {
    grid-template-columns: 74px minmax(0, 1fr);
}

.l2-class-tree {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.l2-class-race {
    position: relative;
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(214,170,101,.18);
    background:
        linear-gradient(90deg, rgba(14,12,8,.94), rgba(7,7,6,.72)),
        rgba(8,7,5,.8);
    overflow: hidden;
}

.l2-class-race::before {
    content: "";
    position: absolute;
    left: 228px;
    top: 34px;
    bottom: 34px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(214,170,101,.42), transparent);
    pointer-events: none;
}

.l2-class-race header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.l2-class-race header img {
    width: 62px;
    height: 62px;
    padding: 7px;
    object-fit: contain;
    border: 1px solid rgba(214,170,101,.22);
    background:
        radial-gradient(ellipse at 50% 35%, rgba(214,170,101,.16), transparent 70%),
        rgba(0,0,0,.42);
    filter: brightness(1.08) saturate(1.06) drop-shadow(0 0 12px rgba(214,170,101,.16));
    box-shadow: inset 0 0 18px rgba(214,170,101,.08);
}

.l2-class-race small {
    display: block;
    color: #d6aa65;
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.l2-class-race h3 {
    margin: 4px 0 0;
    color: #fff0d3;
    font-family: "Cinzel", Georgia, serif;
    font-size: 24px;
    line-height: 1;
}

.l2-class-branches {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.l2-class-path {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 10px;
    align-items: stretch;
}

.l2-class-path::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(214,170,101,.32), rgba(214,170,101,.08));
    transform: translateY(-50%);
}

.l2-class-path b {
    position: relative;
    z-index: 1;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    color: rgba(255,238,205,.82);
    border: 1px solid rgba(214,170,101,.2);
    background:
        radial-gradient(ellipse at 50% 0, rgba(214,170,101,.1), transparent 8rem),
        rgba(8,7,5,.9);
    font-family: "Cinzel", Georgia, serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 14px 26px rgba(0,0,0,.18);
    transition: transform .22s ease, color .22s ease, border-color .22s ease, background .22s ease;
}

.l2-class-path b::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 50%;
    width: 7px;
    height: 1px;
    background: rgba(214,170,101,.36);
}

.l2-class-path b:first-child::before {
    display: none;
}

.l2-class-path .tier-3 {
    color: #fff0d3;
    border-color: rgba(244,202,130,.34);
    background:
        radial-gradient(ellipse at 50% 0, rgba(214,170,101,.18), transparent 8rem),
        rgba(18,14,9,.95);
}

.l2-class-path b:hover {
    color: #fff7e6;
    border-color: rgba(244,202,130,.58);
    transform: translateY(-2px);
    background:
        radial-gradient(ellipse at 50% 0, rgba(214,170,101,.24), transparent 9rem),
        rgba(28,20,12,.95);
}

.l2-motion .l2-wiki-shell.is-visible .l2-class-race {
    animation: l2WikiRaceIn .7s cubic-bezier(.18,.72,.22,1) both;
}

.l2-motion .l2-wiki-shell.is-visible .l2-class-race:nth-child(2) {
    animation-delay: .08s;
}

.l2-motion .l2-wiki-shell.is-visible .l2-class-race:nth-child(3) {
    animation-delay: .16s;
}

.l2-motion .l2-wiki-shell.is-visible .l2-class-race:nth-child(4) {
    animation-delay: .24s;
}

.l2-motion .l2-wiki-shell.is-visible .l2-class-race:nth-child(5) {
    animation-delay: .32s;
}

@keyframes l2WikiRaceIn {
    0% { opacity: 0; transform: translateX(-18px); }
    100% { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1180px) {
    .l2-class-race {
        grid-template-columns: 1fr;
    }

    .l2-class-race::before {
        display: none;
    }
}

@media (max-width: 880px) {
    .l2-class-path {
        grid-template-columns: 1fr;
    }

    .l2-class-path::before,
    .l2-class-path b::before {
        display: none;
    }
}

@media (max-width: 680px) {
    .l2-wiki-tabs {
        grid-template-columns: 1fr;
    }

    .l2-wiki-tabs a {
        min-height: 74px;
    }
}
