:root{
    --bg:#030812;
    --bg-2:#07101e;
    --panel:rgba(7,14,27,.60);
    --panel-strong:rgba(6,12,24,.80);
    --text:#f7f4ed;
    --muted:#a7b3c7;
    --soft:#748199;
    --line:rgba(255,255,255,.09);
    --line-gold:rgba(239,191,91,.22);
    --gold:#f2c873;
    --gold-bright:#ffe7a7;
    --gold-dark:#9d641d;
    --blue:#70b4ff;
    --blue-deep:#1a58b3;
    --container:min(1200px, calc(100% - 48px));
    --radius:22px;
    --shadow:0 26px 80px rgba(0,0,0,.42);
    --font-body:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    --font-title:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
}

*,
*::before,
*::after{box-sizing:border-box}

html{scroll-behavior:smooth}
body{
    margin:0;
    min-width:320px;
    color:var(--text);
    background:#030812;
    position:relative;
    isolation:isolate;
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.6;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit}
img{display:block;max-width:100%;height:auto}
.container{width:var(--container);margin-inline:auto;position:relative;z-index:2}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* STATIC DARK-FANTASY BACKGROUND */
.site-bg{
    position:fixed;
    inset:0;
    z-index:0;
    overflow:hidden;
    background:#030812;
    pointer-events:none;
}
.site-bg__art,
.site-bg__shade,
.site-bg__vignette{position:absolute;inset:0}
.site-bg__art{
    z-index:0;
    background-image:url("../img/nestborn-global-bg.webp");
    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;
}
.site-bg__shade{
    z-index:1;
    background:
        linear-gradient(90deg,rgba(2,7,16,.48) 0%,rgba(3,9,20,.24) 38%,rgba(4,9,18,.18) 65%,rgba(2,6,13,.34) 100%),
        linear-gradient(180deg,rgba(2,6,14,.10) 0%,rgba(3,8,18,.22) 52%,rgba(2,6,13,.72) 100%);
}
.site-bg__vignette{
    z-index:2;
    background:
        radial-gradient(circle at 68% 24%,rgba(91,171,255,.09),transparent 30%),
        radial-gradient(circle at 78% 33%,rgba(255,204,101,.07),transparent 24%),
        radial-gradient(ellipse at center,transparent 46%,rgba(1,4,10,.42) 100%);
}
main,.footer{position:relative;z-index:1}

/* HEADER */
.topbar{
    position:fixed;
    inset:0 0 auto 0;
    height:84px;
    z-index:50;
    transition:height .25s ease,background .25s ease,border-color .25s ease;
    border-bottom:1px solid transparent;
}
.topbar.scrolled{
    height:70px;
    background:rgba(3,8,18,.80);
    border-color:rgba(255,255,255,.07);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}
.topbar__inner{height:100%;display:flex;align-items:center;gap:24px}
.brand{width:116px;flex:0 0 auto;filter:drop-shadow(0 10px 20px rgba(0,0,0,.34))}
.brand img{width:100%;max-height:66px;object-fit:contain;transition:transform .25s ease}
.brand:hover img{transform:translateY(-2px) scale(1.02)}
.nav{display:flex;align-items:center;gap:2px;margin-left:auto}
.nav a{
    padding:11px 14px;
    border-radius:10px;
    color:#d8e0ed;
    font-size:13px;
    font-weight:650;
    letter-spacing:.01em;
    transition:.2s ease;
}
.nav a:hover{color:#fff;background:rgba(255,255,255,.045)}
.topbar__right{display:flex;align-items:center;gap:10px}
.server-mini{
    min-height:42px;
    display:flex;align-items:center;gap:7px;
    padding:0 12px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    background:rgba(18,30,50,.14);
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
    color:#c7d1e0;
    font-size:12px;
}
.server-mini b{color:#76dba8;font-size:12px;letter-spacing:.07em}
.status-dot{
    width:7px;height:7px;border-radius:50%;
    background:#61d99b;
    box-shadow:0 0 0 4px rgba(97,217,155,.08),0 0 16px rgba(97,217,155,.45);
    flex:0 0 auto;
}
.menu-btn{
    display:none;
    width:44px;height:44px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:13px;
    background:rgba(8,16,31,.65);
    color:#fff;
    cursor:pointer;
}
.menu-btn span{display:block;width:18px;height:1.5px;background:currentColor;margin:4px auto;transition:.25s ease}
.menu-btn.active span:nth-child(1){transform:translateY(5.5px) rotate(45deg)}
.menu-btn.active span:nth-child(2){opacity:0}
.menu-btn.active span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)}

/* BUTTONS */
.btn{
    position:relative;
    display:inline-flex;align-items:center;justify-content:center;gap:9px;
    min-height:46px;
    padding:0 21px;
    border:1px solid transparent;
    border-radius:14px;
    font-size:14px;
    font-weight:750;
    letter-spacing:.01em;
    overflow:hidden;
    isolation:isolate;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn--small{min-height:42px;padding:0 18px;font-size:13px}
.btn--large{min-height:56px;padding:0 29px;font-size:15px}
.btn--gold{
    color:#231504;
    background:linear-gradient(180deg,#ffe8a7 0%,#f0c064 51%,#b5751f 100%);
    border-color:#f6d58a;
    box-shadow:0 12px 30px rgba(211,150,51,.20),inset 0 1px 0 rgba(255,255,255,.52);
}
.btn--gold:hover{
    box-shadow:0 16px 38px rgba(211,150,51,.30),inset 0 1px 0 rgba(255,255,255,.60)
}
.btn--glass{
    color:#edf6ff;
    background:linear-gradient(180deg,rgba(19,42,76,.62),rgba(7,22,43,.70));
    border-color:rgba(112,178,255,.30);
    backdrop-filter:blur(10px);
}
.btn--glass:hover{border-color:rgba(112,178,255,.52);background:linear-gradient(180deg,rgba(24,52,94,.72),rgba(10,29,56,.76))}
.btn__shine{
    position:absolute;
    inset:-45% auto -45% -45%;
    width:28%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
    transform:skewX(-20deg);
    z-index:-1;
    animation:btnShine 5s ease-in-out infinite;
}
@keyframes btnShine{0%,65%{left:-45%}82%,100%{left:135%}}
.play-icon{font-size:12px;color:#8fc4ff}

/* HERO */
.hero{
    position:relative;
    min-height:100svh;
    display:flex;
    align-items:center;
    padding:118px 0 106px;
    overflow:hidden;
}
.hero__layout{
    display:grid;
    grid-template-columns:minmax(0,640px) minmax(330px,410px);
    align-items:center;
    justify-content:space-between;
    gap:48px;
}
.hero__copy{max-width:640px}
.season-pill{
    width:max-content;
    display:flex;align-items:center;gap:9px;
    min-height:32px;
    padding:0 12px;
    border:1px solid rgba(115,174,255,.20);
    border-radius:999px;
    color:#accdf3;
    background:rgba(18,34,58,.14);
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
    font-size:12px;
    font-weight:800;
    letter-spacing:.14em;
}
.season-pill__dot{
    width:6px;height:6px;border-radius:50%;
    background:#74b6ff;
    box-shadow:0 0 13px rgba(116,182,255,.8)
}
.hero__logo-wrap{
    width:min(500px,100%);
    margin:18px 0 8px -16px;
    position:relative;
}
.hero__logo-wrap::after{
    content:"";
    position:absolute;
    left:18%;right:16%;bottom:6%;
    height:14%;
    background:rgba(47,124,255,.20);
    filter:blur(26px);
    z-index:-1;
}
.hero__logo{
    width:100%;
    max-height:290px;
    object-fit:contain;
    filter:drop-shadow(0 22px 36px rgba(0,0,0,.48)) drop-shadow(0 0 24px rgba(62,135,255,.12));
    animation:logoFloat 5.5s ease-in-out infinite;
}
@keyframes logoFloat{50%{transform:translateY(-5px)}}
.hero__tagline{
    margin:4px 0 10px;
    font-family:var(--font-title);
    font-size:clamp(22px,2.2vw,31px);
    line-height:1.22;
    font-weight:700;
    letter-spacing:-.01em;
    color:#ffe7ad;
    text-shadow:0 0 24px rgba(238,184,74,.14);
}
.hero__lead{
    max-width:620px;
    margin:0;
    color:#bbc6d8;
    font-size:15px;
    line-height:1.75;
}
.hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.hero__meta{
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:32px;
    color:#c4cede;
}
.hero__meta>div{display:flex;align-items:center;gap:9px}
.hero__meta b{display:block;font-size:12px;line-height:1.2}
.hero__meta small{display:block;color:#718096;font-size:12px;margin-top:3px}
.hero__meta>i{width:1px;height:28px;background:rgba(255,255,255,.10)}
.hero-card{
    width:100%;
    min-height:410px;
    position:relative;
    overflow:hidden;
    align-self:center;
    border:1px solid rgba(255,255,255,.12);
    border-radius:24px;
    padding:20px;
    background:
        linear-gradient(180deg,rgba(9,22,42,.16),rgba(4,12,25,.20)),
        radial-gradient(circle at 80% 0%,rgba(223,168,60,.12),transparent 34%);
    box-shadow:0 18px 48px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter:blur(22px) saturate(140%);
    -webkit-backdrop-filter:blur(22px) saturate(140%);
}
.hero-card::before{
    content:"";
    position:absolute;inset:1px;
    border:1px solid rgba(239,191,91,.08);
    border-radius:23px;
    pointer-events:none;
}
.hero-card::after{
    content:"";
    position:absolute;
    left:28px;right:28px;top:62px;height:1px;
    background:linear-gradient(90deg,transparent,rgba(239,191,91,.32),transparent);
}
.hero-card__head{
    display:flex;align-items:center;justify-content:space-between;
    position:relative;z-index:2;
    font-size:12px;font-weight:850;letter-spacing:.18em;color:#7790ad;
}
.hero-card__head b{
    color:#73d9a5;
    font-size:12px;
}
.hero-card__title{position:relative;z-index:2;padding:34px 5px 24px}
.hero-card__title small{
    color:#d7b76f;
    font-size:12px;
    font-weight:800;
    letter-spacing:.18em;
}
.hero-card__title strong{
    display:block;
    margin-top:8px;
    font-family:var(--font-title);
    color:#fff1c7;
    font-size:27px;
    line-height:1.12;
}
.hero-card__title p{
    margin:10px 0 0;
    color:#8fa0b8;
    font-size:12px;
    line-height:1.62;
}
.hero-card__grid{
    position:relative;z-index:2;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
.hero-card__grid>div{
    min-height:104px;
    padding:15px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:15px;
    background:rgba(255,255,255,.07);
    transition:.25s ease;
}
.hero-card__grid>div:hover{transform:translateY(-3px);border-color:rgba(111,177,255,.20);background:rgba(69,128,214,.055)}
.hero-card__grid span{display:block;color:#eac978;font-size:16px;margin-bottom:8px}
.hero-card__grid b{display:block;font-size:12px}
.hero-card__grid small{display:block;margin-top:3px;color:#6e7d93;font-size:12px}
.hero__bottom{
    position:absolute;
    left:0;right:0;bottom:0;
    border-top:1px solid rgba(255,255,255,.07);
    background:linear-gradient(180deg,rgba(4,10,22,.06),rgba(4,10,22,.14));
    backdrop-filter:blur(14px) saturate(130%);
    -webkit-backdrop-filter:blur(14px) saturate(130%);
    backdrop-filter:blur(8px);
}
.launch-strip{
    min-height:58px;
    display:flex;
    align-items:center;
    gap:28px;
}
.launch-strip__label{
    color:#e4c57d;
    font-size:12px;
    font-weight:850;
    letter-spacing:.18em;
    white-space:nowrap;
}
.launch-strip__items{
    display:flex;align-items:center;gap:16px;
    color:#8fa0b6;
    font-size:12px;
}
.launch-strip__items i{
    width:3px;height:3px;border-radius:50%;
    background:#6b88ad;
}
.hero__rune{
    position:absolute;
    font-family:var(--font-title);
    color:rgba(106,170,255,.20);
    text-shadow:0 0 30px rgba(86,156,255,.18);
    user-select:none;
    animation:runeFloat 8s ease-in-out infinite;
}
.hero__rune--a{left:4%;top:31%;font-size:38px}
.hero__rune--b{right:8%;top:18%;font-size:24px;animation-delay:-3s}
@keyframes runeFloat{50%{transform:translateY(-12px) rotate(10deg);opacity:.55}}

/* SHARED SECTIONS */
.section{position:relative;padding:96px 0}
.section::before{
    content:"";
    position:absolute;left:0;right:0;top:0;height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent);
}
.section-heading{
    max-width:760px;
    margin:0 auto 40px;
    text-align:center;
}
.section-heading--left{text-align:left;margin-left:0}
.section-kicker{
    display:inline-block;
    color:#8eb9e9;
    font-size:12px;
    font-weight:850;
    letter-spacing:.20em;
    text-transform:uppercase;
}
.section-heading h2,
.feature-copy h2,
.cta-panel h2{
    margin:10px 0 14px;
    font-family:var(--font-title);
    font-size:clamp(34px,4vw,52px);
    line-height:1.08;
    font-weight:700;
    letter-spacing:-.025em;
}
.section-heading p,
.feature-copy>p,
.cta-panel p{
    margin:0;
    color:var(--muted);
    font-size:15px;
    line-height:1.75;
}

/* ABOUT */
.section--about{
    background:linear-gradient(180deg,rgba(4,9,19,.34),rgba(4,9,19,.44));
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}
.premium-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr .9fr;
    gap:14px;
}
.premium-card{
    min-height:250px;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:flex-end;
    padding:26px;
    border:1px solid rgba(255,255,255,.085);
    border-radius:20px;
    background:
        linear-gradient(180deg,rgba(14,25,44,.20),rgba(6,13,25,.28)),
        radial-gradient(circle at 88% 12%,rgba(51,126,230,.12),transparent 34%);
    box-shadow:0 16px 38px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter:blur(20px) saturate(140%);
    -webkit-backdrop-filter:blur(20px) saturate(140%);
    transition:.28s ease;
}
.premium-card:hover{transform:translateY(-5px);border-color:rgba(115,175,255,.20);box-shadow:0 24px 60px rgba(0,0,0,.28)}
.premium-card--wide{
    background:
        linear-gradient(180deg,rgba(16,29,49,.16),rgba(6,13,25,.20)),
        radial-gradient(circle at 80% 14%,rgba(228,171,61,.14),transparent 36%);
    border-color:rgba(239,191,91,.20);
}
.premium-card__glow{
    position:absolute;
    width:240px;height:240px;border-radius:50%;
    right:-90px;top:-110px;
    background:radial-gradient(circle,rgba(238,181,66,.14),transparent 68%);
}
.card-index{
    position:absolute;
    right:20px;top:13px;
    font-family:var(--font-title);
    font-size:62px;
    line-height:1;
    color:rgba(255,255,255,.035);
}
.premium-card__content{position:relative;z-index:2}
.premium-icon{
    width:44px;height:44px;
    display:grid;place-items:center;
    margin-bottom:18px;
    border:1px solid rgba(239,191,91,.20);
    border-radius:13px;
    background:rgba(239,191,91,.055);
    color:#efc873;
}
.premium-card h3{
    margin:0 0 9px;
    font-family:var(--font-title);
    font-size:22px;
    line-height:1.22;
}
.premium-card p{margin:0;color:#8f9db2;font-size:13px;line-height:1.65}
.tag-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.tag-row span{
    padding:5px 9px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:999px;
    color:#9eb0c8;
    background:rgba(255,255,255,.07);
    font-size:12px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
}

/* FEATURES */
.section--features{
    overflow:hidden;
    background:linear-gradient(180deg,rgba(5,11,23,.38),rgba(4,9,19,.50));
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}
.section--features::after{
    content:"";
    position:absolute;
    width:720px;height:720px;border-radius:50%;
    right:-260px;top:50%;translate:0 -50%;
    background:radial-gradient(circle,rgba(35,100,200,.10),transparent 66%);
}
.feature-layout{
    display:grid;
    grid-template-columns:1fr .9fr;
    gap:82px;
    align-items:center;
}
.feature-copy{max-width:610px}
.feature-list{list-style:none;margin:30px 0 0;padding:0;display:grid;gap:11px}
.feature-list li{
    display:flex;
    gap:17px;
    align-items:flex-start;
    padding:16px 17px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:15px;
    background:rgba(255,255,255,.10);
    backdrop-filter:blur(18px) saturate(135%);
    -webkit-backdrop-filter:blur(18px) saturate(135%);
    transition:.24s ease;
}
.feature-list li:hover{background:rgba(74,136,231,.05);border-color:rgba(102,168,255,.18)}
.feature-list li>span{
    padding-top:1px;
    color:#e8c678;
    font-family:var(--font-title);
    font-size:12px;
}
.feature-list b{display:block;font-size:14px;margin-bottom:3px}
.feature-list small{display:block;color:#7f8da2;font-size:12px;line-height:1.55}
.destiny-panel{
    position:relative;
    width:min(100%,460px);
    aspect-ratio:1/1;
    margin:auto;
    display:grid;
    place-items:center;
}
.destiny-panel__rings{position:absolute;inset:0}
.destiny-panel__rings i{
    position:absolute;
    border:1px solid rgba(104,166,255,.14);
    border-radius:50%;
    inset:12%;
    animation:ringSpin 24s linear infinite;
}
.destiny-panel__rings i:nth-child(2){inset:3%;border-style:dashed;animation-duration:34s;animation-direction:reverse}
.destiny-panel__rings i:nth-child(3){
    inset:24%;
    border-color:rgba(239,191,91,.12);
    animation-duration:18s;
}
@keyframes ringSpin{to{transform:rotate(360deg)}}
.destiny-core{
    width:174px;height:174px;border-radius:50%;
    position:relative;z-index:3;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    background:
        radial-gradient(circle at 50% 38%,rgba(66,146,255,.24),rgba(8,20,40,.56) 57%,rgba(4,9,18,.64));
    backdrop-filter:blur(16px) saturate(135%);
    -webkit-backdrop-filter:blur(16px) saturate(135%);
    border:1px solid rgba(102,169,255,.30);
    box-shadow:0 0 70px rgba(41,120,238,.17),inset 0 0 36px rgba(60,130,239,.08);
}
.destiny-core::before{
    content:"";
    position:absolute;inset:9px;border:1px solid rgba(239,191,91,.22);border-radius:50%;
}
.destiny-core span{
    font-family:var(--font-title);
    color:#f1cc77;
    font-size:64px;
    line-height:.9;
    text-shadow:0 0 28px rgba(230,174,64,.22);
}
.destiny-core small{margin-top:8px;color:#719dce;font-size:12px;font-weight:800;letter-spacing:.22em}
.class-node{
    position:absolute;z-index:4;
    min-width:106px;
    padding:10px 12px;
    text-align:center;
    border:1px solid rgba(255,255,255,.09);
    border-radius:13px;
    background:rgba(5,13,27,.88);
    box-shadow:0 10px 28px rgba(0,0,0,.27);
    backdrop-filter:blur(10px);
}
.class-node b{display:block;font-family:var(--font-title);font-size:13px}
.class-node small{display:block;margin-top:2px;color:#74859c;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.class-node--1{top:2%;left:50%;translate:-50% 0}
.class-node--2{right:0;top:50%;translate:0 -50%}
.class-node--3{bottom:2%;left:50%;translate:-50% 0}
.class-node--4{left:0;top:50%;translate:0 -50%}

/* WORLD */
.section--world{
    background:linear-gradient(180deg,rgba(4,9,19,.40),rgba(4,9,19,.52));
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}
.world-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}
.world-card{
    --accent:#1c70e6;
    min-height:292px;
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:25px 22px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:19px;
    background:
        linear-gradient(180deg,rgba(13,23,41,.22),rgba(5,11,22,.30)),
        radial-gradient(circle at 70% 18%,var(--accent),transparent 38%);
    backdrop-filter:blur(20px) saturate(140%);
    -webkit-backdrop-filter:blur(20px) saturate(140%);
    transition:.28s ease;
}
.world-card::before{
    content:"";
    position:absolute;inset:0;
    background:radial-gradient(circle at 72% 13%,var(--accent),transparent 26%);
    opacity:.16;
}
.world-card:hover{
    transform:translateY(-6px);
    border-color:color-mix(in srgb,var(--accent) 38%,rgba(255,255,255,.10));
    box-shadow:0 25px 70px rgba(0,0,0,.30);
}
.world-card>*{position:relative;z-index:2}
.world-card__roman{
    position:absolute;
    right:18px;top:10px;
    font-family:var(--font-title);
    font-size:70px;
    color:rgba(255,255,255,.035);
}
.world-card__seal{
    width:44px;height:44px;
    display:grid;place-items:center;
    margin-bottom:20px;
    border:1px solid color-mix(in srgb,var(--accent) 35%,rgba(255,255,255,.10));
    border-radius:50%;
    color:#dcecff;
    background:rgba(255,255,255,.07);
    box-shadow:0 0 26px color-mix(in srgb,var(--accent) 15%,transparent);
}
.world-card h3{margin:0 0 8px;font-family:var(--font-title);font-size:21px;line-height:1.2}
.world-card p{margin:0;color:#8f9cb0;font-size:12px;line-height:1.62}
.world-card small{
    display:block;margin-top:15px;color:#65758b;font-size:12px;font-weight:850;letter-spacing:.14em;
}
.world-card--blue{--accent:#1c70e6}
.world-card--gold{--accent:#aa7526}
.world-card--violet{--accent:#7650c5}
.world-card--ice{--accent:#3189b2}

/* CTA */
.section--community{
    padding:100px 0 118px;
    background:linear-gradient(180deg,rgba(4,9,19,.36),rgba(3,7,15,.56));
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}
.cta-panel{
    min-height:230px;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    padding:42px 46px;
    border:1px solid rgba(239,191,91,.16);
    border-radius:24px;
    background:
        linear-gradient(120deg,rgba(12,29,54,.22),rgba(6,13,26,.30)),
        radial-gradient(circle at 18% 0%,rgba(41,112,223,.18),transparent 40%);
    box-shadow:0 20px 48px rgba(0,0,0,.18);
    backdrop-filter:blur(22px) saturate(145%);
    -webkit-backdrop-filter:blur(22px) saturate(145%);
}
.cta-panel::before{
    content:"";
    position:absolute;inset:1px;border:1px solid rgba(255,255,255,.025);border-radius:23px;pointer-events:none;
}
.cta-panel__ornament{
    position:absolute;
    right:21%;top:50%;
    translate:0 -50%;
    font-family:var(--font-title);
    font-size:200px;
    line-height:1;
    color:rgba(239,191,91,.025);
    transform:rotate(-8deg);
}
.cta-panel__copy{max-width:650px;position:relative;z-index:2}
.cta-panel h2{font-size:clamp(32px,3.6vw,46px);margin-bottom:10px}
.cta-panel__actions{position:relative;z-index:2;display:flex;gap:10px;flex:0 0 auto}

/* FOOTER */
.footer{
    border-top:1px solid rgba(255,255,255,.07);
    background:rgba(2,5,11,.38);
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
    padding:24px 0;
}
.footer__inner{display:flex;align-items:center;gap:24px}
.footer__brand{display:flex;align-items:center;gap:11px}
.footer__brand img{width:58px}
.footer__brand b{display:block;font-family:var(--font-title);font-size:13px}
.footer__brand small{display:block;margin-top:2px;color:#5f6b7d;font-size:12px}
.footer__links{display:flex;gap:18px;margin-left:auto}
.footer__links a{color:#75849a;font-size:12px;transition:.2s ease}
.footer__links a:hover{color:#bdc7d5}
.footer p{margin:0;color:#576273;font-size:12px}

/* REVEAL */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .72s ease,transform .72s ease}
.reveal.visible{opacity:1;transform:none}
.premium-grid .reveal:nth-child(2),
.world-grid .reveal:nth-child(2){transition-delay:.07s}
.premium-grid .reveal:nth-child(3),
.world-grid .reveal:nth-child(3){transition-delay:.14s}
.world-grid .reveal:nth-child(4){transition-delay:.21s}



/* Section separation tuning */
.section{
    position:relative;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03), inset 0 -1px 0 rgba(255,255,255,.025);
}
.section::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,.02), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(255,255,255,.015), transparent 22%);
}
.section > .container{
    position:relative;
    z-index:2;
}
.hero{
    padding-bottom:88px;
}
.hero__lead{
    text-shadow:0 2px 18px rgba(0,0,0,.22);
}
.section-heading p,
.feature-copy > p,
.cta-panel p,
.premium-card p,
.world-card p,
.feature-list small{
    color:#b5c0d2;
}

/* TABLET */
@media (max-width:1080px){
    :root{--container:min(100% - 34px,960px)}
    .hero__layout{grid-template-columns:1fr 340px;gap:32px}
    .hero__logo-wrap{width:min(460px,100%)}
    .world-grid{grid-template-columns:1fr 1fr}
    .premium-grid{grid-template-columns:1.1fr .9fr}
    .premium-card--wide{grid-row:span 2}
    .premium-card{min-height:220px}
    .feature-layout{gap:48px}
}
@media (max-width:920px){
    .desktop-only{display:none}
    .menu-btn{display:block}
    .nav{
        position:fixed;
        left:17px;right:17px;top:76px;
        display:grid;
        margin:0;
        padding:10px;
        border:1px solid rgba(255,255,255,.09);
        border-radius:17px;
        background:rgba(4,10,21,.96);
        box-shadow:0 24px 60px rgba(0,0,0,.45);
        backdrop-filter:blur(18px);
        transform:translateY(-10px) scale(.98);
        opacity:0;
        pointer-events:none;
        transition:.22s ease;
    }
    .nav.open{transform:none;opacity:1;pointer-events:auto}
    .nav a{padding:13px 14px}
    .hero{padding-top:104px}
    .hero__layout{grid-template-columns:1fr;gap:30px}
    .hero__copy{max-width:650px}
    .hero-card{max-width:650px;min-height:auto}
    .hero-card__grid{grid-template-columns:repeat(4,1fr)}
    .hero-card__grid>div{min-height:94px}
    .feature-layout{grid-template-columns:1fr;gap:46px}
    .feature-copy{max-width:700px}
    .destiny-panel{width:min(78vw,430px)}
    .cta-panel{align-items:flex-start;flex-direction:column}
}

/* MOBILE */
@media (max-width:700px){
    :root{--container:calc(100% - 24px);--radius:18px}
    body{font-size:15px}
    .site-bg__art{background-position:63% top;transform:scale(1.01)}
    .site-bg__shade{
        background:
            linear-gradient(180deg,rgba(3,8,17,.35) 0%,rgba(3,8,18,.54) 43%,rgba(3,8,18,.90) 82%,rgba(3,8,18,.98) 100%),
            linear-gradient(90deg,rgba(2,7,16,.48),rgba(2,7,16,.22));
    }
    .topbar{height:70px}
    .topbar.scrolled{height:62px}
    .brand{width:94px}
    .brand img{max-height:54px}
    .nav{left:12px;right:12px;top:68px}
    .hero{
        min-height:100svh;
        padding:94px 0 86px;
    }
    .hero__layout{display:block}
    .hero__copy{text-align:center}
    .season-pill{margin-inline:auto;font-size:12px}
    .hero__logo-wrap{width:min(390px,95vw);margin:10px auto 2px}
    .hero__logo{max-height:238px}
    .hero__tagline{font-size:clamp(20px,6.2vw,27px);margin-top:0}
    .hero__lead{font-size:13px;line-height:1.65}
    .hero__actions{display:grid;grid-template-columns:1fr;width:100%;max-width:360px;margin:24px auto 0}
    .btn--large{min-height:52px}
    .hero__meta{justify-content:center;gap:11px;margin-top:26px}
    .hero__meta>i{height:24px}
    .hero__meta b{font-size:12px}
    .hero__meta small{font-size:12px}
    .hero-card{display:none}
    .hero__bottom{bottom:0}
    .launch-strip{min-height:54px;display:block;padding:11px 0;text-align:center}
    .launch-strip__label{display:block;margin-bottom:6px}
    .launch-strip__items{justify-content:center;gap:8px;flex-wrap:wrap;font-size:12px}
    .launch-strip__items i:nth-of-type(3){display:none}
    .hero__rune{display:none}
    .section{padding:72px 0}
    .section-heading{margin-bottom:30px}
    .section-heading--left{text-align:center}
    .section-heading h2,.feature-copy h2,.cta-panel h2{font-size:clamp(30px,9vw,40px)}
    .section-heading p,.feature-copy>p,.cta-panel p{font-size:13px;line-height:1.7}
    .premium-grid{grid-template-columns:1fr}
    .premium-card--wide{grid-row:auto}
    .premium-card{min-height:220px;padding:23px 21px}
    .feature-layout{gap:38px}
    .destiny-panel{width:min(94vw,390px)}
    .destiny-core{width:146px;height:146px}
    .destiny-core span{font-size:52px}
    .class-node{min-width:90px;padding:8px 9px}
    .class-node b{font-size:12px}
    .class-node small{font-size:12px}
    .world-grid{grid-template-columns:1fr}
    .world-card{min-height:230px}
    .section--community{padding-bottom:82px}
    .cta-panel{min-height:0;padding:30px 22px;border-radius:20px}
    .cta-panel__actions{width:100%;display:grid}
    .cta-panel__ornament{right:5%;font-size:150px}
    .footer__inner{align-items:flex-start;flex-wrap:wrap}
    .footer__links{order:3;width:100%;margin:0}
    .footer p{margin-left:auto}
}
@media (max-width:390px){
    .hero__meta{gap:8px}
    .hero__meta>div{gap:6px}
    .hero__meta>i{display:none}
    .hero__meta{flex-wrap:wrap}
    .feature-list li{gap:12px;padding:14px}
    .destiny-panel{width:96vw;left:50%;translate:-50% 0}
}

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


/* ENTRY LOADER + LANGUAGE SELECTOR */
body.entry-locked{overflow:hidden}

.entry-gate{
    position:fixed;
    inset:0;
    z-index:9999;
    display:none;
    place-items:center;
    padding:22px;
    opacity:1;
    visibility:visible;
    transition:opacity .45s ease,visibility .45s ease;
}
.needs-language-choice .entry-gate,
.entry-gate.is-open,
.entry-gate.is-closing{
    display:grid;
}
.entry-gate.is-closing{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}
.entry-gate__shade{
    position:absolute;
    inset:0;
}
.entry-gate__shade{
    background:
        radial-gradient(circle at 50% 46%,rgba(27,81,155,.18),transparent 32%),
        linear-gradient(180deg,rgba(2,6,15,.64),rgba(2,6,15,.82));
    backdrop-filter:blur(2px);
}
.entry-gate__panel{
    position:relative;
    z-index:2;
    width:min(430px,100%);
    min-height:320px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:28px 28px 30px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:24px;
    background:
        linear-gradient(180deg,rgba(13,27,50,.36),rgba(5,12,25,.48));
    box-shadow:
        0 28px 90px rgba(0,0,0,.46),
        inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter:blur(22px) saturate(135%);
    -webkit-backdrop-filter:blur(22px) saturate(135%);
    overflow:hidden;
}
.entry-gate__panel::before{
    content:"";
    position:absolute;
    inset:1px;
    pointer-events:none;
    border:1px solid rgba(239,191,91,.09);
    border-radius:23px;
}
.entry-gate__panel::after{
    content:"";
    position:absolute;
    left:15%;right:15%;top:0;height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,218,139,.6),transparent);
}
.entry-gate__logo{
    width:min(230px,64vw);
    max-height:175px;
    object-fit:contain;
    margin:0 auto 20px;
    filter:drop-shadow(0 14px 32px rgba(0,0,0,.48));
}
.loading-stage,
.language-stage{
    position:relative;
    z-index:2;
    width:100%;
}
.loading-stage{
    transition:opacity .24s ease,transform .24s ease;
}
.loading-stage.is-leaving{
    opacity:0;
    transform:translateY(-7px);
}
.loading-stage__label{
    margin-bottom:10px;
    color:#9db7d6;
    font-size:12px;
    font-weight:850;
    letter-spacing:.22em;
    text-align:center;
}
.loading-stage__bar{
    width:100%;
    height:5px;
    overflow:hidden;
    border-radius:99px;
    background:rgba(255,255,255,.07);
    box-shadow:inset 0 1px 4px rgba(0,0,0,.35);
}
.loading-stage__bar span{
    display:block;
    width:0%;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#4a91ef,#a9d6ff 58%,#f2c873);
    box-shadow:0 0 18px rgba(101,172,255,.55);
    transition:width .12s linear;
}
.loading-stage__meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:8px;
    color:#71849d;
    font-size:12px;
    letter-spacing:.12em;
}
.loading-stage__meta strong{
    color:#d9e8fa;
    font-size:12px;
}

.language-stage{
    opacity:0;
    transform:translateY(8px);
    transition:opacity .32s ease,transform .32s ease;
    text-align:center;
}
.language-stage.is-visible{
    opacity:1;
    transform:none;
}
.language-stage__kicker{
    display:block;
    margin-bottom:7px;
    color:#8eb9e9;
    font-size:12px;
    font-weight:850;
    letter-spacing:.22em;
}
.language-stage h2{
    margin:0;
    color:#f5e7be;
    font-family:var(--font-title);
    font-size:25px;
    line-height:1.2;
}
.language-stage h2 em{
    color:#667b96;
    font-style:normal;
    font-weight:400;
}
.language-stage > p{
    margin:8px 0 18px;
    color:#8fa0b6;
    font-size:12px;
}
.language-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
.language-option{
    min-height:88px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:16px;
    background:rgba(255,255,255,.045);
    color:#edf3fb;
    text-align:left;
    cursor:pointer;
    transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.language-option:hover{
    transform:translateY(-2px);
    border-color:rgba(112,180,255,.32);
    background:rgba(73,132,217,.10);
    box-shadow:0 14px 30px rgba(0,0,0,.16);
}
.language-option.is-active{
    border-color:rgba(239,191,91,.38);
    background:linear-gradient(180deg,rgba(239,191,91,.10),rgba(255,255,255,.045));
    box-shadow:inset 0 0 0 1px rgba(239,191,91,.06);
}
.language-option__code{
    width:42px;
    height:42px;
    flex:0 0 auto;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    color:#f1cb7b;
    background:rgba(5,12,25,.30);
    font-family:var(--font-title);
    font-size:14px;
    font-weight:700;
}
.language-option b{
    display:block;
    font-size:13px;
    line-height:1.2;
}
.language-option small{
    display:block;
    margin-top:4px;
    color:#7d8ea5;
    font-size:12px;
}

.lang-switch{
    min-width:42px;
    height:42px;
    display:grid;
    place-items:center;
    padding:0 10px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:12px;
    background:rgba(9,19,36,.38);
    color:#c9d8e9;
    cursor:pointer;
    font-size:12px;
    font-weight:850;
    letter-spacing:.08em;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    transition:.2s ease;
}
.lang-switch:hover{
    border-color:rgba(112,180,255,.28);
    color:#fff;
    background:rgba(18,39,72,.46);
}

@media (max-width:720px){
    .entry-gate{padding:14px}
    .entry-gate__panel{
        width:min(390px,100%);
        min-height:300px;
        padding:24px 18px 24px;
        border-radius:20px;
    }
    .entry-gate__logo{
        width:min(205px,62vw);
        margin-bottom:17px;
    }
    .language-stage h2{font-size:22px}
    .language-options{grid-template-columns:1fr}
    .language-option{min-height:72px}
    .lang-switch{height:40px;min-width:40px}
}

@media (prefers-reduced-motion:reduce){
    .entry-gate,
    .loading-stage,
    .language-stage,
    .language-option{transition:none!important}
}


/* DOWNLOAD + TELEGRAM LINKS */
.hero__links{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:12px;
}
.quick-link{
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 16px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:12px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.04em;
    backdrop-filter:blur(14px) saturate(135%);
    -webkit-backdrop-filter:blur(14px) saturate(135%);
    transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.quick-link:hover{
    transform:translateY(-2px);
}
.quick-link--apk{
    color:#daf6e5;
    border-color:rgba(104,224,159,.20);
    background:linear-gradient(180deg,rgba(35,112,73,.20),rgba(10,41,29,.26));
}
.quick-link--apk:hover{
    border-color:rgba(104,224,159,.42);
    background:linear-gradient(180deg,rgba(35,112,73,.30),rgba(10,41,29,.34));
    box-shadow:0 10px 26px rgba(44,159,96,.12);
}
.quick-link--telegram{
    color:#d9efff;
    border-color:rgba(89,181,255,.22);
    background:linear-gradient(180deg,rgba(32,104,164,.22),rgba(11,42,71,.30));
}
.quick-link--telegram:hover{
    border-color:rgba(89,181,255,.46);
    background:linear-gradient(180deg,rgba(32,104,164,.32),rgba(11,42,71,.38));
    box-shadow:0 10px 26px rgba(40,135,206,.14);
}


.quick-link--discord{
    color:#ece9ff;
    border-color:rgba(145,125,255,.28);
    background:linear-gradient(180deg,rgba(88,77,176,.28),rgba(35,29,87,.36));
}
.quick-link--discord:hover{
    border-color:rgba(145,125,255,.58);
    background:linear-gradient(180deg,rgba(88,77,176,.40),rgba(35,29,87,.48));
    box-shadow:0 10px 28px rgba(88,76,196,.18);
}

.btn--discord{
    color:#f3f1ff;
    border-color:rgba(142,124,255,.34);
    background:linear-gradient(180deg,rgba(87,76,184,.52),rgba(42,34,103,.62));
    box-shadow:0 12px 30px rgba(63,51,171,.18),inset 0 1px 0 rgba(255,255,255,.08);
}
.btn--discord:hover{
    border-color:rgba(160,145,255,.64);
    background:linear-gradient(180deg,rgba(98,86,205,.64),rgba(48,39,119,.72));
}
.nav-mobile-cta--discord{
    border-color:rgba(142,124,255,.28)!important;
    background:linear-gradient(180deg,rgba(87,76,184,.28),rgba(42,34,103,.38))!important;
}

.btn--telegram{
    color:#edf8ff;
    border-color:rgba(83,177,255,.28);
    background:linear-gradient(180deg,rgba(44,129,200,.42),rgba(15,62,103,.52));
    box-shadow:0 12px 30px rgba(35,116,179,.16), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn--telegram:hover{
    border-color:rgba(83,177,255,.52);
    background:linear-gradient(180deg,rgba(44,129,200,.52),rgba(15,62,103,.62));
}
.btn--apk{
    color:#ddf8e8;
    border-color:rgba(104,224,159,.26);
    background:linear-gradient(180deg,rgba(36,119,77,.34),rgba(12,47,32,.46));
}
.btn--apk:hover{
    border-color:rgba(104,224,159,.50);
    background:linear-gradient(180deg,rgba(36,119,77,.44),rgba(12,47,32,.56));
}
.cta-download-actions{
    flex-wrap:wrap;
    max-width:560px;
}

@media (max-width:720px){
    .hero__links{
        width:100%;
        max-width:360px;
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .quick-link{
        width:100%;
        min-height:44px;
    }
    .cta-download-actions{
        grid-template-columns:1fr;
    }
}


/* SIX CLASSES SHOWCASE */
.class-showcase{
    width:min(100%, 520px);
    margin-inline:auto;
    display:grid;
    gap:16px;
}
.class-showcase__frame{
    position:relative;
    padding:16px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:24px;
    background:
        linear-gradient(180deg,rgba(13,26,48,.26),rgba(6,12,24,.34));
    backdrop-filter:blur(20px) saturate(140%);
    -webkit-backdrop-filter:blur(20px) saturate(140%);
    box-shadow:0 22px 56px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.06);
}
.class-showcase__frame::before{
    content:"";
    position:absolute;
    inset:1px;
    border-radius:23px;
    border:1px solid rgba(239,191,91,.08);
    pointer-events:none;
}
.class-showcase__eyebrow{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 12px;
    margin-bottom:12px;
    border-radius:999px;
    border:1px solid rgba(104,166,255,.18);
    background:rgba(6,18,35,.44);
    color:#a8c7ea;
    font-size:12px;
    font-weight:850;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.class-showcase__image{
    width:100%;
    height:auto;
    display:block;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.06);
    box-shadow:0 16px 42px rgba(0,0,0,.24);
}
.class-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}
.class-card{
    position:relative;
    min-height:92px;
    padding:14px 12px 12px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:16px;
    background:
        linear-gradient(180deg,rgba(14,25,44,.22),rgba(6,13,25,.30));
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
    box-shadow:0 12px 30px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.05);
}
.class-card__num{
    display:block;
    margin-bottom:8px;
    color:#f0c972;
    font-size:12px;
    font-weight:800;
    letter-spacing:.16em;
}
.class-card b{
    display:block;
    font-family:var(--font-title);
    font-size:18px;
    line-height:1.08;
    color:#f3f6fb;
}
.class-card small{
    display:block;
    margin-top:6px;
    color:#94a5bc;
    font-size:12px;
    line-height:1.4;
}
@media (max-width:980px){
    .class-showcase{
        width:min(100%, 620px);
    }
}
@media (max-width:720px){
    .class-showcase__frame{
        padding:12px;
        border-radius:20px;
    }
    .class-showcase__frame::before{
        border-radius:19px;
    }
    .class-showcase__image{
        border-radius:14px;
    }
    .class-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .class-card{
        min-height:84px;
        padding:12px 10px 11px;
    }
    .class-card b{
        font-size:16px;
    }
}
@media (max-width:420px){
    .class-grid{
        grid-template-columns:1fr;
    }
}


/* PATH OF THE HERO — 6 INDIVIDUAL CLASS CARDS */
.section--features{
    overflow:hidden;
    background:
        linear-gradient(180deg,rgba(4,9,19,.46),rgba(4,9,19,.58)),
        radial-gradient(circle at 50% 14%,rgba(52,112,210,.10),transparent 34%);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}
.hero-path-heading{
    max-width:820px;
    margin-bottom:42px;
}
.hero-path-heading h2{
    font-size:clamp(36px,4.6vw,58px);
}
.hero-classes-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.hero-class-card{
    --class-accent:#66a8ff;
    position:relative;
    overflow:hidden;
    min-width:0;
    border:1px solid rgba(255,255,255,.10);
    border-radius:22px;
    background:linear-gradient(180deg,rgba(13,25,46,.28),rgba(5,11,22,.50));
    box-shadow:0 22px 54px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter:blur(18px) saturate(135%);
    -webkit-backdrop-filter:blur(18px) saturate(135%);
    transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}
.hero-class-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:3;
    pointer-events:none;
    border-radius:inherit;
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--class-accent) 11%,transparent);
}
.hero-class-card:hover{
    transform:translateY(-8px);
    border-color:color-mix(in srgb,var(--class-accent) 38%,rgba(255,255,255,.10));
    box-shadow:0 28px 70px rgba(0,0,0,.28),0 0 34px color-mix(in srgb,var(--class-accent) 10%,transparent);
}
.hero-class-card--knight{--class-accent:#6aa9ff}
.hero-class-card--mage{--class-accent:#78b8ff}
.hero-class-card--archer{--class-accent:#64c58a}
.hero-class-card--priest{--class-accent:#efc76e}
.hero-class-card--assassin{--class-accent:#9d72ff}
.hero-class-card--berserker{--class-accent:#5f9cff}

.hero-class-card__media{
    position:relative;
    aspect-ratio:3/4;
    overflow:hidden;
    background:#06101f;
}
.hero-class-card__media picture,
.hero-class-card__media img{
    width:100%;
    height:100%;
    display:block;
}
.hero-class-card__media img{
    object-fit:cover;
    object-position:center top;
    transition:transform .5s cubic-bezier(.2,.7,.2,1),filter .35s ease;
}
.hero-class-card:hover .hero-class-card__media img{
    transform:scale(1.045);
    filter:saturate(1.08) contrast(1.02);
}
.hero-class-card__veil{
    position:absolute;
    inset:0;
    background:
        linear-gradient(180deg,rgba(3,8,18,.04) 0%,rgba(3,8,18,.02) 52%,rgba(3,8,18,.76) 100%),
        linear-gradient(90deg,rgba(3,8,18,.10),transparent 42%,rgba(3,8,18,.05));
}
.hero-class-card__index{
    position:absolute;
    left:16px;
    top:15px;
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:13px;
    color:#f5d183;
    background:rgba(5,12,24,.34);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    font-family:var(--font-title);
    font-size:13px;
    font-weight:700;
    box-shadow:0 8px 24px rgba(0,0,0,.20);
}
.hero-class-card__role{
    position:absolute;
    left:16px;
    right:16px;
    bottom:14px;
    width:max-content;
    max-width:calc(100% - 32px);
    min-height:30px;
    display:inline-flex;
    align-items:center;
    padding:0 11px;
    border:1px solid color-mix(in srgb,var(--class-accent) 30%,rgba(255,255,255,.10));
    border-radius:999px;
    color:#dceaff;
    background:rgba(5,13,27,.52);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    font-size:12px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.hero-class-card__body{
    min-height:166px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:18px;
    padding:20px 18px 18px;
}
.hero-class-card__body h3{
    margin:0 0 8px;
    font-family:var(--font-title);
    font-size:27px;
    line-height:1.05;
    color:#f7f3ea;
}
.hero-class-card__body p{
    margin:0;
    color:#a9b7ca;
    font-size:12px;
    line-height:1.65;
}
.hero-class-card__weapon{
    width:max-content;
    max-width:100%;
    display:inline-flex;
    align-items:center;
    min-height:27px;
    padding:0 10px;
    border-radius:9px;
    color:#d7e4f4;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.07);
    font-size:12px;
    font-weight:750;
    letter-spacing:.06em;
    text-transform:uppercase;
}

@media (max-width:1080px){
    .hero-classes-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width:720px){
    .hero-path-heading{
        text-align:left;
        margin-bottom:28px;
    }
    .hero-classes-grid{
        grid-template-columns:1fr;
        gap:14px;
    }
    .hero-class-card{
        display:grid;
        grid-template-columns:minmax(135px,42%) 1fr;
        min-height:250px;
        border-radius:18px;
    }
    .hero-class-card__media{
        aspect-ratio:auto;
        min-height:250px;
    }
    .hero-class-card__media img{
        object-position:center top;
    }
    .hero-class-card__veil{
        background:
            linear-gradient(90deg,rgba(3,8,18,.02) 0%,rgba(3,8,18,.16) 72%,rgba(3,8,18,.58) 100%),
            linear-gradient(180deg,rgba(3,8,18,.04),rgba(3,8,18,.28));
    }
    .hero-class-card__index{
        left:10px;
        top:10px;
        width:36px;
        height:36px;
        border-radius:11px;
    }
    .hero-class-card__role{
        left:10px;
        right:10px;
        bottom:10px;
        max-width:calc(100% - 20px);
        min-height:27px;
        padding:0 9px;
        font-size:12px;
    }
    .hero-class-card__body{
        min-height:auto;
        padding:18px 15px 16px;
    }
    .hero-class-card__body h3{
        font-size:23px;
    }
    .hero-class-card__body p{
        font-size:12px;
        line-height:1.55;
    }
}
@media (max-width:460px){
    .hero-class-card{
        grid-template-columns:1fr;
    }
    .hero-class-card__media{
        aspect-ratio:4/5;
        min-height:0;
    }
    .hero-class-card__body{
        min-height:150px;
    }
}


/* CUSTOM CLASS SET 1.5.1 */
.hero-class-card--warrior{--class-accent:#72a9ff}
.hero-class-card--hunter{--class-accent:#9d72ff}
.hero-class-card--mage{--class-accent:#78b8ff}
.hero-class-card--dancer{--class-accent:#efc76e}
.hero-class-card--ranger{--class-accent:#64c58a}
.hero-class-card--assassin{--class-accent:#5f9cff}


/* COMPACT REDRAWN CLASS SECTION 1.5.2 */
.section--features-compact{
    padding-top:72px;
    padding-bottom:76px;
}
.hero-path-heading--compact{
    max-width:760px;
    margin-bottom:28px;
}
.hero-path-heading--compact h2{
    font-size:clamp(32px,4vw,48px);
    margin-bottom:10px;
}
.hero-path-heading--compact p{
    max-width:700px;
    font-size:14px;
    line-height:1.65;
}
.hero-classes-grid--compact{
    gap:14px;
}
.hero-class-card--compact{
    border-radius:18px;
}
.hero-class-card__media--compact{
    aspect-ratio:5/6;
}
.hero-class-card--compact .hero-class-card__index{
    left:12px;
    top:12px;
    width:38px;
    height:38px;
    border-radius:11px;
    font-size:12px;
}
.hero-class-card--compact .hero-class-card__role{
    left:12px;
    right:12px;
    bottom:12px;
    min-height:28px;
    padding:0 10px;
    font-size:12px;
}
.hero-class-card__body--compact{
    min-height:122px;
    gap:12px;
    padding:15px 14px 14px;
}
.hero-class-card__body--compact h3{
    margin-bottom:6px;
    font-size:23px;
}
.hero-class-card__body--compact p{
    font-size:12px;
    line-height:1.45;
}
.hero-class-card__body--compact .hero-class-card__weapon{
    min-height:24px;
    padding:0 8px;
    font-size:12px;
}
@media (max-width:1080px){
    .section--features-compact{
        padding-top:64px;
        padding-bottom:68px;
    }
}
@media (max-width:720px){
    .section--features-compact{
        padding-top:58px;
        padding-bottom:60px;
    }
    .hero-path-heading--compact{
        margin-bottom:20px;
    }
    .hero-path-heading--compact p{
        font-size:13px;
    }
    .hero-class-card__media--compact{
        aspect-ratio:4/5;
        min-height:0;
    }
    .hero-class-card__body--compact{
        min-height:112px;
        padding:13px 12px 12px;
    }
    .hero-class-card__body--compact h3{
        font-size:21px;
    }
}


/* CLASS VIEWER — ULTRA COMPACT 1.5.3 */
.section--features-viewer{
    padding:54px 0 58px;
    overflow:hidden;
    background:
        linear-gradient(180deg,rgba(4,9,19,.46),rgba(4,9,19,.56)),
        radial-gradient(circle at 50% 10%,rgba(58,124,226,.10),transparent 36%);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}
.hero-path-heading--viewer{
    max-width:700px;
    margin-bottom:22px;
}
.hero-path-heading--viewer h2{
    margin:7px 0 8px;
    font-size:clamp(30px,3.6vw,44px);
}
.hero-path-heading--viewer p{
    max-width:620px;
    font-size:13px;
    line-height:1.55;
}

.class-viewer{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);
    min-height:390px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.10);
    border-radius:22px;
    background:linear-gradient(135deg,rgba(10,22,42,.24),rgba(5,11,22,.46));
    box-shadow:0 22px 58px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter:blur(20px) saturate(135%);
    -webkit-backdrop-filter:blur(20px) saturate(135%);
}
.class-viewer__visual{
    position:relative;
    min-height:390px;
    overflow:hidden;
    background:#06101e;
}
.class-viewer__visual img{
    width:100%;
    height:100%;
    position:absolute;
    inset:0;
    object-fit:cover;
    object-position:center 28%;
    transition:opacity .18s ease,transform .36s ease;
}
.class-viewer.is-switching .class-viewer__visual img{
    opacity:.35;
    transform:scale(1.02);
}
.class-viewer__visual-shade{
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg,rgba(3,8,18,.02) 42%,rgba(3,8,18,.50) 100%),
        linear-gradient(180deg,rgba(3,8,18,.03),rgba(3,8,18,.08) 52%,rgba(3,8,18,.48) 100%);
    pointer-events:none;
}
.class-viewer__top{
    position:absolute;
    top:14px;
    left:14px;
    right:14px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}
.class-viewer__number{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.13);
    border-radius:11px;
    background:rgba(4,12,25,.42);
    color:#f1ce81;
    font-family:var(--font-title);
    font-size:12px;
    backdrop-filter:blur(12px);
}
.class-viewer__role{
    min-height:29px;
    display:flex;
    align-items:center;
    padding:0 11px;
    border:1px solid rgba(107,170,255,.20);
    border-radius:999px;
    background:rgba(4,12,25,.44);
    color:#d7e7f8;
    font-size:12px;
    font-weight:850;
    letter-spacing:.08em;
    text-transform:uppercase;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}
.class-viewer__arrows{
    position:absolute;
    left:14px;
    bottom:14px;
    display:flex;
    gap:7px;
}
.class-viewer__arrow{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.12);
    border-radius:11px;
    background:rgba(4,12,25,.46);
    color:#edf5ff;
    font-size:23px;
    line-height:1;
    cursor:pointer;
    backdrop-filter:blur(12px);
    transition:.2s ease;
}
.class-viewer__arrow:hover{
    transform:translateY(-2px);
    border-color:rgba(112,181,255,.34);
    background:rgba(14,39,73,.58);
}

.class-viewer__info{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:28px 26px;
    background:linear-gradient(180deg,rgba(8,18,35,.20),rgba(5,11,22,.34));
}
.class-viewer__eyebrow{
    color:#88b5e7;
    font-size:12px;
    font-weight:850;
    letter-spacing:.20em;
}
.class-viewer__info h3{
    margin:8px 0 8px;
    color:#f7f2e8;
    font-family:var(--font-title);
    font-size:clamp(29px,3vw,39px);
    line-height:1;
}
.class-viewer__info > p{
    margin:0;
    color:#aab8ca;
    font-size:12px;
    line-height:1.58;
}
.class-viewer__meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:20px;
}
.class-viewer__meta > div{
    min-width:0;
    padding:11px 12px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:12px;
    background:rgba(255,255,255,.035);
}
.class-viewer__meta small{
    display:block;
    margin-bottom:4px;
    color:#6f849e;
    font-size:12px;
    font-weight:850;
    letter-spacing:.14em;
}
.class-viewer__meta b{
    display:block;
    overflow:hidden;
    color:#e8eef6;
    font-size:12px;
    line-height:1.25;
    text-overflow:ellipsis;
}
.class-viewer__progress{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:18px;
}
.class-viewer__progress > span{
    flex:0 0 auto;
    color:#7f92aa;
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
}
.class-viewer__progress > i{
    height:2px;
    flex:1;
    overflow:hidden;
    border-radius:99px;
    background:rgba(255,255,255,.07);
}
.class-viewer__progress > i > b{
    display:block;
    width:16.666%;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#6aa9ff,#efc76e);
    transition:width .28s ease;
}

.class-tabs{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
}
.class-tab{
    min-width:0;
    height:56px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:5px 8px 5px 5px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.07);
    border-radius:12px;
    background:rgba(5,13,26,.36);
    color:#9eacc0;
    cursor:pointer;
    text-align:left;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}
.class-tab:hover{
    transform:translateY(-2px);
    border-color:rgba(112,180,255,.20);
    color:#e8f1fc;
}
.class-tab.is-active{
    color:#f3f7fc;
    border-color:rgba(239,199,110,.28);
    background:linear-gradient(180deg,rgba(32,66,111,.30),rgba(9,24,44,.42));
    box-shadow:inset 0 0 0 1px rgba(239,199,110,.04);
}
.class-tab img{
    width:44px;
    height:44px;
    flex:0 0 44px;
    object-fit:cover;
    object-position:center 24%;
    border-radius:9px;
}
.class-tab span{
    min-width:0;
    overflow:hidden;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
    text-overflow:ellipsis;
}

@media (max-width:980px){
    .section--features-viewer{padding:48px 0 52px}
    .class-viewer{
        grid-template-columns:1.15fr .85fr;
        min-height:350px;
    }
    .class-viewer__visual{min-height:350px}
    .class-viewer__info{padding:22px 20px}
    .class-tabs{
        grid-template-columns:repeat(3,1fr);
    }
}
@media (max-width:720px){
    .section--features-viewer{padding:42px 0 46px}
    .hero-path-heading--viewer{
        margin-bottom:17px;
        text-align:left;
    }
    .hero-path-heading--viewer p{
        font-size:12px;
    }
    .class-viewer{
        grid-template-columns:1fr;
        min-height:0;
        border-radius:18px;
    }
    .class-viewer__visual{
        min-height:0;
        aspect-ratio:16/11;
    }
    .class-viewer__visual img{
        object-position:center 24%;
    }
    .class-viewer__visual-shade{
        background:linear-gradient(180deg,rgba(3,8,18,.02),rgba(3,8,18,.16) 60%,rgba(3,8,18,.60));
    }
    .class-viewer__info{
        padding:17px 16px 16px;
    }
    .class-viewer__info h3{
        margin:6px 0;
        font-size:27px;
    }
    .class-viewer__info > p{
        font-size:12px;
        line-height:1.48;
    }
    .class-viewer__meta{
        margin-top:14px;
    }
    .class-viewer__progress{
        margin-top:13px;
    }
    .class-tabs{
        display:flex;
        gap:7px;
        overflow-x:auto;
        padding-bottom:4px;
        scrollbar-width:none;
        scroll-snap-type:x proximity;
    }
    .class-tabs::-webkit-scrollbar{display:none}
    .class-tab{
        flex:0 0 118px;
        height:50px;
        scroll-snap-align:start;
    }
    .class-tab img{
        width:38px;
        height:38px;
        flex-basis:38px;
    }
}
@media (max-width:420px){
    .class-viewer__visual{aspect-ratio:4/3}
    .class-viewer__meta{
        grid-template-columns:1fr;
    }
}


/* CLASS VIEWER — FULL ART / NO CROPPING 1.5.4 */
.class-viewer{
    grid-template-columns:minmax(330px,.92fr) minmax(320px,1.08fr);
    min-height:430px;
}
.class-viewer__visual{
    min-height:430px;
    background:#07101d;
    isolation:isolate;
}
.class-viewer__visual::before{
    content:"";
    position:absolute;
    inset:-24px;
    z-index:0;
    background-image:
        linear-gradient(180deg,rgba(4,10,20,.32),rgba(4,10,20,.66)),
        var(--class-art);
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    filter:blur(18px) saturate(.88);
    transform:scale(1.10);
    opacity:.62;
}
.class-viewer__visual::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
        radial-gradient(circle at 50% 40%,transparent 35%,rgba(3,8,18,.26) 100%);
}
.class-viewer__visual img{
    position:absolute;
    inset:10px;
    z-index:2;
    width:calc(100% - 20px);
    height:calc(100% - 20px);
    object-fit:contain;
    object-position:center;
    border-radius:14px;
    filter:drop-shadow(0 18px 34px rgba(0,0,0,.34));
}
.class-viewer__visual-shade{
    z-index:3;
    background:
        linear-gradient(180deg,rgba(3,8,18,.01),rgba(3,8,18,.02) 58%,rgba(3,8,18,.22) 100%);
}
.class-viewer__top,
.class-viewer__arrows{
    z-index:4;
}

/* Mini cards also show the whole character instead of cutting heads/weapons. */
.class-tab{
    height:62px;
}
.class-tab img{
    width:48px;
    height:50px;
    flex:0 0 48px;
    object-fit:contain;
    object-position:center;
    padding:2px;
    background:
        radial-gradient(circle at 50% 40%,rgba(83,145,226,.14),transparent 60%),
        rgba(5,12,24,.62);
}

/* Tablet */
@media (max-width:980px){
    .class-viewer{
        grid-template-columns:minmax(300px,.9fr) minmax(280px,1.1fr);
        min-height:400px;
    }
    .class-viewer__visual{
        min-height:400px;
    }
}

/* Mobile: artwork remains fully visible as a portrait instead of being cropped to a wide banner. */
@media (max-width:720px){
    .class-viewer{
        grid-template-columns:1fr;
        min-height:0;
    }
    .class-viewer__visual{
        min-height:0;
        aspect-ratio:3/4;
        max-height:560px;
    }
    .class-viewer__visual img{
        inset:8px;
        width:calc(100% - 16px);
        height:calc(100% - 16px);
        object-fit:contain;
        object-position:center;
    }
    .class-tab{
        flex-basis:126px;
        height:54px;
    }
    .class-tab img{
        width:40px;
        height:42px;
        flex-basis:40px;
    }
}
@media (max-width:420px){
    .class-viewer__visual{
        aspect-ratio:3/4;
    }
}


/* STATIC BACKGROUND 3.5.0 */
.site-bg__art{display:block!important}
.entry-gate__art{display:none!important}


/* =========================================================
   TYPOGRAPHY 3.1.5 — responsive type system
   ========================================================= */
html{
    font-size:16px;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
}
body{
    font-size:clamp(15px, .16vw + 14.45px, 16px);
    line-height:1.56;
}
h1,h2,h3,h4{
    text-wrap:balance;
}
p{
    text-wrap:pretty;
}
button,
input,
select,
textarea{
    font-family:var(--font-body);
}

/* Header / navigation */
.nav a{
    font-size:clamp(12px, .22vw + 11px, 14px);
    line-height:1.2;
}
.server-mini{
    font-size:12px;
}
.server-mini b{
    font-size:12px;
}
.btn{
    font-size:clamp(13px, .18vw + 12.4px, 14px);
    line-height:1.2;
}
.btn--small{
    font-size:13px;
}
.btn--large{
    font-size:clamp(14px, .2vw + 13.3px, 15px);
}

/* Hero */
.season-pill{
    font-size:12px;
}
.hero__tagline{
    font-size:clamp(23px,2.25vw,32px);
    line-height:1.16;
}
.hero__lead{
    font-size:clamp(14px,.32vw + 13px,16px);
    line-height:1.68;
}
.hero__meta b{
    font-size:12px;
}
.hero__meta small{
    font-size:12px;
    line-height:1.35;
}
.hero-card__head small,
.hero-card__title small,
.hero-class-card__role,
.hero-class-card__weapon,
.hero-path-heading small{
    font-size:12px;
}
.hero-card__grid b{
    font-size:12px;
}
.hero-card__grid small{
    font-size:12px;
}

/* Section headings and content */
.section-kicker,
.class-showcase__eyebrow,
.class-viewer__eyebrow,
.language-stage__kicker{
    font-size:12px;
}
.section-heading h2,
.feature-copy h2,
.cta-panel h2{
    line-height:1.08;
}
.section-heading p,
.feature-copy>p,
.cta-panel p{
    font-size:clamp(13px,.22vw + 12.4px,15px);
    line-height:1.68;
}
.premium-card p{
    font-size:13px;
    line-height:1.65;
}
.premium-card small,
.premium-card__content small{
    font-size:12px;
}
.feature-list b{
    font-size:14px;
}
.feature-list small{
    font-size:12px;
}
.class-node b{
    font-size:13px;
}
.class-node small{
    font-size:12px;
}
.world-card h3{
    font-size:clamp(20px,1.2vw,23px);
}
.world-card p{
    font-size:13px;
    line-height:1.62;
}
.world-card small{
    font-size:12px;
}

/* Class viewer */
.class-viewer__role{
    font-size:12px;
}
.class-viewer__info h3{
    font-size:clamp(24px,2vw,29px);
}
.class-viewer__info>p{
    font-size:13px;
    line-height:1.6;
}
.class-viewer__meta span,
.class-viewer__meta small{
    font-size:12px;
}
.class-tab{
    font-size:12px;
}

/* Entry/loading/language screens */
.loading-stage__label,
.loading-stage__meta,
.language-option__code{
    font-size:12px;
}
.language-stage h2{
    font-size:clamp(24px,2.4vw,32px);
}
.language-stage p{
    font-size:13px;
    line-height:1.6;
}
.language-option{
    font-size:13px;
}

/* Footer */
.footer__brand b{
    font-size:14px;
}
.footer__brand small,
.footer__links a,
.footer p{
    font-size:12px;
    line-height:1.5;
}

/* Tablet */
@media (max-width:980px){
    .nav a{
        font-size:12px;
    }
    .hero__lead{
        font-size:14px;
    }
    .section-heading p,
    .feature-copy>p,
    .cta-panel p{
        font-size:13px;
    }
}

/* Phone */
@media (max-width:720px){
    body{
        font-size:15px;
        line-height:1.55;
    }
    .nav a{
        font-size:14px;
    }
    .season-pill{
        font-size:12px;
    }
    .hero__tagline{
        font-size:clamp(22px,6.3vw,28px);
    }
    .hero__lead{
        font-size:14px;
        line-height:1.62;
    }
    .hero__meta b{
        font-size:12px;
    }
    .hero__meta small{
        font-size:12px;
    }
    .section-heading h2,
    .feature-copy h2,
    .cta-panel h2{
        font-size:clamp(29px,8vw,39px);
    }
    .section-heading p,
    .feature-copy>p,
    .cta-panel p{
        font-size:14px;
        line-height:1.65;
    }
    .premium-card p,
    .world-card p,
    .class-viewer__info>p{
        font-size:13px;
    }
    .class-node b{
        font-size:12px;
    }
    .class-node small{
        font-size:12px;
    }
    .btn,
    .btn--small,
    .btn--large{
        font-size:14px;
    }
}

/* Small phone */
@media (max-width:420px){
    body{
        font-size:14px;
    }
    .hero__tagline{
        font-size:clamp(21px,6.6vw,26px);
    }
    .section-heading h2,
    .feature-copy h2,
    .cta-panel h2{
        font-size:clamp(27px,8.8vw,35px);
    }
    .footer__links a,
    .footer p{
        font-size:12px;
    }
}


/* =========================================================
   LANGUAGE ENTRY 3.1.6 — no loading screen
   ========================================================= */
.loading-stage{
    display:none!important;
}
.language-stage{
    opacity:1;
    transform:none;
}
.needs-language-choice body{
    overflow:hidden;
}


/* LOGO 3.1.7 */
.brand{width:clamp(118px,10vw,150px)}
.brand img{max-height:72px}
.hero__logo{width:100%;height:auto;object-fit:contain}
.entry-gate__logo{object-fit:contain}
.footer__brand img{width:clamp(74px,7vw,100px);height:auto;object-fit:contain}
@media(max-width:720px){
    .brand{width:112px}
    .brand img{max-height:58px}
    .footer__brand img{width:76px}
}


/* =========================================================
   NESTBORN UI KIT 3.2.0
   ========================================================= */
:root{
    --ui-surface:rgba(7,15,29,.58);
    --ui-surface-strong:rgba(4,10,21,.82);
    --ui-line:rgba(255,255,255,.085);
    --ui-line-active:rgba(105,168,255,.24);
    --ui-gold:#efc76e;
    --ui-blue:#69a8ff;
    --ui-green:#63d8a3;
    --ui-red:#ff7181;
    --ui-radius-sm:10px;
    --ui-radius-md:14px;
    --ui-radius-lg:18px;
    --ui-shadow:0 18px 52px rgba(0,0,0,.26);
}

.btn,
.quick-link,
.nav a,
.lang-switch,
.menu-btn,
.game-portal-card{
    -webkit-tap-highlight-color:transparent;
}

.btn:focus-visible,
.nav a:focus-visible,
.lang-switch:focus-visible,
.menu-btn:focus-visible,
.game-portal-card:focus-visible{
    outline:2px solid rgba(105,168,255,.72);
    outline-offset:3px;
}

/* GAME HOME 2.0 */
.hero{
    min-height:min(940px,100svh);
}
.hero__layout{
    padding-top:108px;
}
.hero-card{
    border-color:rgba(105,168,255,.13);
    background:
        radial-gradient(circle at 70% 8%,rgba(65,139,230,.12),transparent 34%),
        linear-gradient(180deg,rgba(6,15,29,.54),rgba(3,9,19,.72));
}
.hero-card__head{
    border-bottom-color:rgba(255,255,255,.065);
}
.hero-card__head b{
    color:#92e7bb;
}
.hero__actions{
    gap:9px;
}
.hero__links{
    gap:8px;
}
.quick-link{
    min-height:35px;
    display:inline-flex;
    align-items:center;
    padding:0 11px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:10px;
    background:rgba(6,14,27,.36);
}
.quick-link:hover{
    border-color:rgba(105,168,255,.20);
    background:rgba(105,168,255,.06);
}

.game-portal{
    position:relative;
    z-index:3;
    margin-top:-28px;
    padding:0 0 34px;
}
.game-portal__grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
}
.game-portal-card{
    min-height:88px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 13px;
    border:1px solid var(--ui-line);
    border-radius:var(--ui-radius-md);
    background:
        linear-gradient(180deg,rgba(13,27,48,.58),rgba(4,10,20,.70));
    box-shadow:0 12px 34px rgba(0,0,0,.20);
    backdrop-filter:blur(16px);
    transition:.18s ease;
}
.game-portal-card:hover{
    transform:translateY(-2px);
    border-color:var(--ui-line-active);
    background:
        linear-gradient(180deg,rgba(18,37,65,.66),rgba(5,12,24,.76));
}
.game-portal-card--primary{
    border-color:rgba(239,199,110,.20);
    background:
        linear-gradient(180deg,rgba(89,62,18,.16),rgba(8,14,22,.72));
}
.game-portal-card__icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:grid;
    place-items:center;
    border:1px solid rgba(105,168,255,.15);
    border-radius:11px;
    color:#a9cfff;
    background:rgba(105,168,255,.06);
    font-size:16px;
    font-weight:900;
}
.game-portal-card--primary .game-portal-card__icon{
    color:#f5d693;
    border-color:rgba(239,199,110,.18);
    background:rgba(239,199,110,.06);
}
.game-portal-card small{
    display:block;
    color:#71849b;
    font-size:12px;
    font-weight:900;
    letter-spacing:.12em;
}
.game-portal-card b{
    display:block;
    margin-top:2px;
    color:#e9f0f8;
    font-size:13px;
}
.game-portal-card em{
    display:block;
    margin-top:2px;
    color:#788ba2;
    font-size:12px;
    font-style:normal;
}

/* Mobile drawer */
.nav__mobile-actions,
.mobile-nav-backdrop{
    display:none;
}

@media(max-width:920px){
    .mobile-nav-backdrop{
        position:fixed;
        inset:0;
        z-index:47;
        display:block;
        pointer-events:none;
        opacity:0;
        background:rgba(1,4,10,.62);
        backdrop-filter:blur(4px);
        transition:opacity .2s ease;
    }
    .mobile-nav-backdrop.is-open{
        pointer-events:auto;
        opacity:1;
    }
    .nav{
        position:fixed!important;
        top:0!important;
        right:0!important;
        bottom:0!important;
        left:auto!important;
        z-index:48!important;
        width:min(360px,88vw)!important;
        height:100dvh!important;
        margin:0!important;
        padding:94px 16px 22px!important;
        display:flex!important;
        flex-direction:column!important;
        align-items:stretch!important;
        gap:4px!important;
        overflow-y:auto!important;
        border-left:1px solid rgba(255,255,255,.08)!important;
        background:
            radial-gradient(circle at 70% 0,rgba(60,124,208,.10),transparent 34%),
            rgba(3,8,18,.94)!important;
        box-shadow:-28px 0 80px rgba(0,0,0,.42)!important;
        backdrop-filter:blur(24px)!important;
        transform:translateX(105%);
        opacity:1!important;
        visibility:visible!important;
        transition:transform .24s ease!important;
    }
    .nav.open{
        transform:translateX(0)!important;
    }
    .nav a{
        width:100%;
        min-height:46px;
        display:flex;
        align-items:center;
        padding:0 13px;
        border:1px solid transparent;
        border-radius:11px;
        font-size:14px;
    }
    .nav a:hover{
        border-color:rgba(105,168,255,.12);
    }
    .nav__mobile-actions{
        display:grid;
        grid-template-columns:1fr;
        gap:7px;
        margin-top:auto;
        padding-top:18px;
        border-top:1px solid rgba(255,255,255,.07);
    }
    .nav-mobile-cta{
        min-height:44px!important;
        justify-content:center!important;
        border:1px solid rgba(255,255,255,.09)!important;
        background:rgba(255,255,255,.035)!important;
        font-weight:850!important;
    }
    .nav-mobile-cta--gold{
        color:#251704!important;
        border-color:#e6bd65!important;
        background:linear-gradient(180deg,#f6d98f,#d8a84a)!important;
    }
    .menu-btn{
        position:relative;
        z-index:51;
    }
    .game-portal__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){
    .hero{
        min-height:auto;
    }
    .hero__layout{
        padding-top:92px;
    }
    .game-portal{
        margin-top:0;
        padding-top:10px;
    }
    .game-portal__grid{
        grid-template-columns:1fr;
        gap:6px;
    }
    .game-portal-card{
        min-height:70px;
    }
    .game-portal-card__icon{
        width:34px;
        height:34px;
        flex-basis:34px;
    }
}

@media (max-width:480px){
    .hero__links{grid-template-columns:1fr 1fr}
    .hero__links .quick-link:first-child{grid-column:1 / -1}
}

/* =========================================================
   NESTBORN VISUAL POLISH 3.6.0
   Fix hero/portal overlap + animated static background
   ========================================================= */

/* Animated static fantasy background: no video, GPU-friendly transforms only. */
.site-bg{
    isolation:isolate;
}
.site-bg__art{
    inset:-5%;
    z-index:0;
    background-size:cover;
    background-position:50% 48%;
    filter:saturate(1.08) contrast(1.035) brightness(.94);
    transform:translate3d(0,0,0) scale(1.075);
    transform-origin:52% 45%;
    will-change:transform;
    animation:nb-bg-drift 30s ease-in-out infinite alternate;
}
.site-bg::before{
    content:"";
    position:absolute;
    inset:-24%;
    z-index:1;
    pointer-events:none;
    opacity:.58;
    background:
        radial-gradient(circle at 22% 42%,rgba(54,131,235,.18),transparent 23%),
        radial-gradient(circle at 73% 31%,rgba(118,92,224,.13),transparent 20%),
        radial-gradient(circle at 62% 74%,rgba(239,191,91,.09),transparent 22%);
    filter:blur(18px);
    transform:translate3d(0,0,0) rotate(-3deg);
    will-change:transform,opacity;
    animation:nb-aurora 20s ease-in-out infinite alternate;
}
.site-bg::after{
    content:"";
    position:absolute;
    inset:-10%;
    z-index:2;
    pointer-events:none;
    opacity:.19;
    background-image:
        radial-gradient(circle,rgba(191,221,255,.52) 0 1px,transparent 1.5px),
        radial-gradient(circle,rgba(239,199,110,.38) 0 1px,transparent 1.4px),
        radial-gradient(circle,rgba(142,183,238,.28) 0 .8px,transparent 1.3px);
    background-size:190px 190px,270px 270px,130px 130px;
    background-position:0 0,74px 112px,31px 57px;
    filter:blur(.15px);
    will-change:transform,opacity;
    animation:nb-dust 38s linear infinite;
}
.site-bg__shade{z-index:3}
.site-bg__vignette{
    z-index:4;
    animation:nb-vignette-pulse 9s ease-in-out infinite alternate;
}

@keyframes nb-bg-drift{
    0%{transform:translate3d(-1.4%,-.7%,0) scale(1.075)}
    45%{transform:translate3d(.6%,-1.25%,0) scale(1.105)}
    100%{transform:translate3d(1.35%,.65%,0) scale(1.085)}
}
@keyframes nb-aurora{
    0%{transform:translate3d(-2%,1%,0) rotate(-3deg) scale(1);opacity:.42}
    52%{transform:translate3d(2.5%,-2%,0) rotate(2deg) scale(1.05);opacity:.68}
    100%{transform:translate3d(1%,2.2%,0) rotate(-1deg) scale(1.02);opacity:.50}
}
@keyframes nb-dust{
    from{transform:translate3d(0,0,0)}
    to{transform:translate3d(-70px,-95px,0)}
}
@keyframes nb-vignette-pulse{
    from{opacity:.88;filter:saturate(1)}
    to{opacity:1;filter:saturate(1.12)}
}

/* Keep the world strip and the shortcut cards as two separate rows. */
.hero{
    padding-bottom:88px;
}
.hero__bottom{
    z-index:5;
}
.launch-strip{
    min-height:62px;
}
.game-portal{
    position:relative;
    z-index:6;
    margin-top:0!important;
    padding:24px 0 48px;
    border-top:1px solid rgba(255,255,255,.035);
    background:
        radial-gradient(circle at 50% 0,rgba(61,126,211,.075),transparent 34%),
        linear-gradient(180deg,rgba(3,8,18,.52),rgba(3,8,18,.20));
}
.game-portal::before{
    content:"";
    position:absolute;
    left:12%;
    right:12%;
    top:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(111,177,255,.26),rgba(239,199,110,.18),transparent);
    pointer-events:none;
}
.game-portal__grid{
    gap:12px;
}
.game-portal-card{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    min-height:92px;
    padding:14px 15px;
    border-color:rgba(255,255,255,.095);
    box-shadow:0 14px 38px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035);
    transform:translate3d(0,0,0);
    transition:transform .26s cubic-bezier(.2,.8,.2,1),border-color .26s ease,background .26s ease,box-shadow .26s ease;
}
.game-portal-card::before{
    content:"";
    position:absolute;
    z-index:-1;
    top:-80%;
    bottom:-80%;
    left:-38%;
    width:25%;
    opacity:0;
    transform:rotate(18deg) translateX(-220%);
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.13),transparent);
    transition:transform .65s cubic-bezier(.2,.7,.2,1),opacity .2s ease;
    pointer-events:none;
}
.game-portal-card::after{
    content:"";
    position:absolute;
    inset:auto -30% -80% 34%;
    height:110%;
    z-index:-2;
    border-radius:50%;
    opacity:.24;
    background:radial-gradient(circle,rgba(80,150,245,.20),transparent 65%);
    transition:opacity .28s ease,transform .45s ease;
    pointer-events:none;
}
.game-portal-card:hover{
    transform:translate3d(0,-5px,0);
    border-color:rgba(111,177,255,.28);
    box-shadow:0 22px 50px rgba(0,0,0,.30),0 0 34px rgba(44,112,205,.07),inset 0 1px 0 rgba(255,255,255,.055);
}
.game-portal-card:hover::before{
    opacity:1;
    transform:rotate(18deg) translateX(680%);
}
.game-portal-card:hover::after{
    opacity:.45;
    transform:translate3d(-5%,-8%,0) scale(1.06);
}
.game-portal-card__icon{
    transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .25s ease,box-shadow .25s ease,color .25s ease;
}
.game-portal-card:hover .game-portal-card__icon{
    transform:translateY(-2px) scale(1.055);
    border-color:rgba(116,181,255,.34);
    box-shadow:0 0 24px rgba(75,145,235,.13);
}
.game-portal-card--primary:hover .game-portal-card__icon{
    border-color:rgba(239,199,110,.38);
    box-shadow:0 0 24px rgba(239,191,91,.12);
}

/* Slightly more alive glass surfaces without distracting from content. */
.premium-card,
.world-card,
.hero-card{
    transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s ease,box-shadow .3s ease,background .3s ease;
}
.premium-card:hover,
.world-card:hover{
    box-shadow:0 28px 72px rgba(0,0,0,.31),0 0 38px rgba(72,137,225,.055);
}

@media(max-width:920px){
    .game-portal{padding:20px 0 42px}
    .game-portal__grid{gap:10px}
}
@media(max-width:620px){
    .hero{padding-bottom:78px}
    .hero__bottom{position:absolute}
    .launch-strip{min-height:54px;gap:12px;overflow:hidden}
    .launch-strip__items{overflow:hidden;white-space:nowrap;mask-image:linear-gradient(90deg,#000 80%,transparent)}
    .game-portal{margin-top:0!important;padding:18px 0 38px}
    .game-portal-card{min-height:74px;padding:12px 13px}
    .site-bg__art{inset:-7%;background-position:62% 45%;animation-duration:34s}
    .site-bg::after{opacity:.12}
}

@media(prefers-reduced-motion:reduce){
    .site-bg__art,
    .site-bg::before,
    .site-bg::after,
    .site-bg__vignette{
        animation:none!important;
    }
    .game-portal-card,
    .game-portal-card::before,
    .game-portal-card::after,
    .game-portal-card__icon{
        transition:none!important;
    }
}


/* =========================================================
   TYPOGRAPHY 4.0 — SITE-WIDE READABILITY PASS
   ========================================================= */
body{font-size:16px;line-height:1.62}
.nav a{font-size:14px}
.server-mini,.server-mini b{font-size:12px}
.hero__lead,.section-heading p,.feature-copy>p,.cta-panel p{font-size:15px}
.hero__meta b{font-size:13px}
.hero__meta small,.hero-card__grid small,.feature-list small,.class-node small,.world-card small{font-size:12px;line-height:1.5}
.section-kicker,.class-showcase__eyebrow,.class-viewer__eyebrow,.language-stage__kicker,.season-pill{font-size:12px}
.premium-card p,.world-card p,.class-viewer__info>p,.language-stage p{font-size:14px}
.footer__brand small,.footer__links a,.footer p{font-size:12px;line-height:1.55}
@media(max-width:720px){
    body{font-size:15px}
    .hero__lead,.section-heading p,.feature-copy>p,.cta-panel p,.premium-card p,.world-card p,.class-viewer__info>p{font-size:14px}
    .hero__meta small,.class-node small,.footer__brand small,.footer__links a,.footer p{font-size:12px}
}

/* =========================================================
   GAME FEATURES CAROUSEL 5.0
   ========================================================= */
.section--game-features{
    overflow:hidden;
    padding:92px 0 102px;
    background:
        radial-gradient(circle at 12% 15%,rgba(168,38,33,.12),transparent 34%),
        radial-gradient(circle at 88% 80%,rgba(48,111,194,.11),transparent 36%),
        linear-gradient(180deg,rgba(4,9,19,.48),rgba(5,10,20,.56));
}
.section--game-features::after{
    content:"";
    position:absolute;
    inset:auto -15% -52% 34%;
    height:520px;
    pointer-events:none;
    background:radial-gradient(ellipse,rgba(224,152,50,.07),transparent 66%);
}
.game-features-heading{margin-bottom:34px}
.game-features-heading .section-kicker{color:#efc873}
.game-features-carousel{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.09);
    border-radius:24px;
    background:linear-gradient(145deg,rgba(12,23,40,.68),rgba(5,11,22,.84));
    box-shadow:0 28px 80px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter:blur(18px) saturate(135%);
    -webkit-backdrop-filter:blur(18px) saturate(135%);
    outline:none;
}
.game-features-carousel:focus-visible{box-shadow:0 0 0 2px rgba(239,199,110,.38),0 28px 80px rgba(0,0,0,.30)}
.game-features-carousel__viewport{overflow:hidden}
.game-features-carousel__track{
    display:flex;
    width:100%;
    will-change:transform;
    transform:translate3d(0,0,0);
    transition:transform .72s cubic-bezier(.22,.75,.2,1);
}
.game-feature-slide{
    flex:0 0 100%;
    min-width:0;
    display:grid;
    grid-template-columns:minmax(0,1.22fr) minmax(340px,.78fr);
    min-height:520px;
}
.game-feature-slide__media{
    position:relative;
    min-width:0;
    overflow:hidden;
    background:#07101c;
}
.game-feature-slide__media::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg,rgba(3,8,16,.02) 50%,rgba(5,11,22,.86) 100%),
        linear-gradient(180deg,transparent 64%,rgba(4,9,18,.42));
    pointer-events:none;
}
.game-feature-slide__media img{
    width:100%;
    height:100%;
    min-height:520px;
    display:block;
    object-fit:cover;
    object-position:center;
    transform:scale(1.015);
    transition:transform 7.2s ease;
}
.game-feature-slide.is-active .game-feature-slide__media img{transform:scale(1.055)}
.game-feature-slide__number{
    position:absolute;
    z-index:2;
    left:24px;
    bottom:18px;
    color:rgba(255,255,255,.18);
    font-family:var(--font-title);
    font-size:72px;
    line-height:1;
    letter-spacing:-.04em;
    text-shadow:0 12px 30px rgba(0,0,0,.45);
}
.game-feature-slide__content{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:48px 42px 46px;
}
.game-feature-slide__content::before{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    right:-90px;
    top:-90px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(229,169,60,.10),transparent 68%);
    pointer-events:none;
}
.game-feature-slide__eyebrow{
    display:block;
    margin-bottom:12px;
    color:#d8aa55;
    font-size:12px;
    font-weight:900;
    letter-spacing:.20em;
}
.game-feature-slide h3{
    margin:0 0 24px;
    max-width:520px;
    color:#f4f6fa;
    font-family:var(--font-title);
    font-size:clamp(27px,2.4vw,38px);
    line-height:1.08;
    letter-spacing:.01em;
}
.game-feature-slide__list{
    display:grid;
    gap:14px;
    margin:0;
    padding:0;
    list-style:none;
}
.game-feature-slide__list li{
    position:relative;
    margin:0;
    padding-left:22px;
    color:#aeb9c9;
    font-size:14px;
    line-height:1.58;
}
.game-feature-slide__list li::before{
    content:"";
    position:absolute;
    left:0;
    top:.68em;
    width:7px;
    height:7px;
    border:1px solid rgba(239,199,110,.68);
    transform:rotate(45deg);
    box-shadow:0 0 12px rgba(239,199,110,.18);
}
.game-feature-slide__text{
    max-width:560px;
    margin:0;
    color:#aeb9c9;
    font-size:15px;
    line-height:1.82;
}
.game-features-carousel__controls{
    position:relative;
    z-index:5;
    min-height:70px;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:18px;
    padding:12px 18px;
    border-top:1px solid rgba(255,255,255,.07);
    background:rgba(3,8,16,.58);
}
.game-features-carousel__arrows{display:flex;gap:8px;justify-self:start}
.game-features-carousel__arrow{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid rgba(255,255,255,.10);
    border-radius:12px;
    background:rgba(255,255,255,.045);
    color:#e9eef6;
    font-size:30px;
    line-height:1;
    cursor:pointer;
    transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,opacity .18s ease;
}
.game-features-carousel__arrow:hover:not(:disabled){
    transform:translateY(-2px);
    border-color:rgba(239,199,110,.34);
    background:rgba(239,199,110,.09);
    color:#f4cf7a;
}
.game-features-carousel__arrow:disabled{opacity:.26;cursor:default}
.game-features-carousel__dots{display:flex;align-items:center;justify-content:center;gap:8px}
.game-features-carousel__dot{
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:99px;
    background:rgba(255,255,255,.19);
    cursor:pointer;
    transition:width .24s ease,background .24s ease,box-shadow .24s ease;
}
.game-features-carousel__dot:hover{background:rgba(255,255,255,.42)}
.game-features-carousel__dot.is-active{
    width:30px;
    background:#e8bd64;
    box-shadow:0 0 16px rgba(232,189,100,.24);
}
.game-features-carousel__status{
    justify-self:end;
    display:flex;
    align-items:center;
    gap:9px;
    min-width:82px;
    color:#66788f;
    font-size:12px;
    font-weight:900;
    letter-spacing:.12em;
}
.game-features-carousel__status span:first-child{color:#e7c16f}
.game-features-carousel__status i{width:24px;height:1px;background:rgba(255,255,255,.12)}
.game-features-carousel__autoplay{
    position:absolute;
    z-index:6;
    left:0;
    right:0;
    bottom:0;
    height:2px;
    overflow:hidden;
    background:rgba(255,255,255,.025);
}
.game-features-carousel__autoplay i{
    display:block;
    width:0;
    height:100%;
    background:linear-gradient(90deg,rgba(90,155,246,.75),#efc76e);
}
.game-features-carousel.is-autoplaying .game-features-carousel__autoplay i{
    width:100%;
    transition:width 7s linear;
}

@media(max-width:1080px){
    .game-feature-slide{grid-template-columns:1.08fr .92fr;min-height:500px}
    .game-feature-slide__media img{min-height:500px}
    .game-feature-slide__content{padding:38px 30px 36px}
    .game-feature-slide__list li{font-size:13px}
}
@media(max-width:820px){
    .section--game-features{padding:64px 0 74px}
    .game-feature-slide{grid-template-columns:1fr;min-height:0}
    .game-feature-slide__media{aspect-ratio:16/9}
    .game-feature-slide__media::after{background:linear-gradient(180deg,transparent 55%,rgba(5,11,22,.80) 100%)}
    .game-feature-slide__media img{min-height:0;height:100%}
    .game-feature-slide__number{font-size:54px;left:18px;bottom:12px}
    .game-feature-slide__content{min-height:330px;justify-content:flex-start;padding:28px 24px 30px}
    .game-feature-slide h3{font-size:30px;margin-bottom:18px}
    .game-feature-slide__text{font-size:14px;line-height:1.7}
}
@media(max-width:560px){
    .section--game-features{padding:52px 0 62px}
    .game-features-heading{margin-bottom:22px;text-align:left}
    .game-features-carousel{border-radius:18px}
    .game-feature-slide__content{min-height:380px;padding:24px 18px 27px}
    .game-feature-slide__eyebrow{margin-bottom:9px}
    .game-feature-slide h3{font-size:25px;line-height:1.12}
    .game-feature-slide__list{gap:11px}
    .game-feature-slide__list li{padding-left:19px;font-size:13px;line-height:1.55}
    .game-feature-slide__text{font-size:13px;line-height:1.65}
    .game-features-carousel__controls{grid-template-columns:auto 1fr auto;gap:12px;min-height:64px;padding:10px 12px}
    .game-features-carousel__arrow{width:40px;height:40px;border-radius:10px}
    .game-features-carousel__dots{gap:6px}
    .game-features-carousel__dot.is-active{width:22px}
    .game-features-carousel__status{min-width:64px;gap:6px}
    .game-features-carousel__status i{width:14px}
}
@media(prefers-reduced-motion:reduce){
    .game-features-carousel__track,
    .game-feature-slide__media img,
    .game-features-carousel__autoplay i{transition:none!important}
}


/* =========================================================
   PERFORMANCE / MOTION 6.0
   Keep the visual style while reducing main-thread paint work.
   ========================================================= */

/* Skip layout/paint for long sections until they approach the viewport. */
@supports (content-visibility:auto){
    .section--about,
    .section--features-viewer,
    .section--game-features,
    .section--world,
    .section--community,
    .footer{
        content-visibility:auto;
        contain-intrinsic-size:1px 820px;
    }
    .section--game-features{contain-intrinsic-size:1px 880px}
}

/* Only the artwork layer keeps moving. The extra full-screen layers are
   intentionally static: animating several blurred viewport-sized layers at
   once is one of the largest sources of scroll/compositor stutter. */
.site-bg::before,
.site-bg::after,
.site-bg__vignette{
    animation:none!important;
    will-change:auto!important;
}
.site-bg__art{
    animation-duration:38s;
    animation-timing-function:cubic-bezier(.42,0,.58,1);
}

/* Isolate the carousel and keep its progress bar compositor-only. */
.game-features-carousel{
    contain:layout paint style;
}
.game-features-carousel__viewport{
    contain:paint;
}
.game-features-carousel__track{
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}
.game-feature-slide{
    contain:layout paint;
}
.game-feature-slide__media img{
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}
.game-features-carousel__autoplay i,
.game-features-carousel.is-autoplaying .game-features-carousel__autoplay i{
    width:100%;
    transform:scaleX(0);
    transform-origin:left center;
    transition:none;
    will-change:transform;
}

/* Large blur surfaces are expensive while scrolling on touch devices.
   Their opaque gradients already preserve the same dark-glass appearance. */
@media (max-width:920px), (pointer:coarse){
    .site-bg__art{
        animation:none!important;
        transform:translate3d(0,0,0) scale(1.045);
        will-change:auto;
    }
    .topbar.scrolled,
    .nav,
    .hero-card,
    .premium-card,
    .feature-panel,
    .class-viewer,
    .world-card,
    .cta-panel,
    .game-features-carousel{
        backdrop-filter:none!important;
        -webkit-backdrop-filter:none!important;
    }
    .game-feature-slide__media img{
        transition:transform .45s ease;
        transform:scale(1.01);
    }
    .game-feature-slide.is-active .game-feature-slide__media img{transform:scale(1.018)}
}

/* Hover-only effects should not be continuously promoted on touch screens. */
@media (hover:none){
    .brand img,
    .btn,
    .premium-card,
    .world-card,
    .game-portal-card,
    .game-portal-card__icon,
    .game-features-carousel__arrow{
        transition-duration:.16s;
    }
}

@media (max-width:920px), (pointer:coarse){
    .btn--primary::before,
    .hero__logo,
    .hero__rune,
    .feature-orbit::before{
        animation:none!important;
    }
}

/* =========================================================
   PATH OF THE HERO 4.0 — premium transparent class showcase
   ========================================================= */
.section--features-viewer{
    position:relative;
    padding:76px 0 78px;
    overflow:hidden;
    background:
        linear-gradient(180deg,rgba(2,7,15,.78),rgba(4,10,21,.58) 48%,rgba(2,7,15,.82)),
        radial-gradient(circle at 50% 20%,rgba(74,133,221,.12),transparent 42%);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
.section--features-viewer::before,
.section--features-viewer::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:1px;
    pointer-events:none;
    background:linear-gradient(90deg,transparent,rgba(113,169,237,.28),rgba(229,193,111,.24),transparent);
}
.section--features-viewer::before{top:0}
.section--features-viewer::after{bottom:0}
.hero-path-heading--viewer{
    position:relative;
    z-index:1;
    max-width:780px;
    margin:0 auto 30px;
    text-align:center;
}
.hero-path-heading--viewer h2{
    margin:8px 0 10px;
    font-size:clamp(34px,4.3vw,56px);
    letter-spacing:-.018em;
}
.hero-path-heading--viewer p{
    max-width:660px;
    margin:0 auto;
    color:#9eacc1;
    font-size:14px;
    line-height:1.65;
}

.class-viewer{
    --class-accent:#e8b45f;
    --class-accent-rgb:232,180,95;
    --class-accent-2:#d96745;
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0,1.28fr) minmax(330px,.72fr);
    min-height:590px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.10);
    border-radius:30px;
    background:
        linear-gradient(135deg,rgba(8,17,32,.96),rgba(3,9,20,.92));
    box-shadow:
        0 34px 90px rgba(0,0,0,.42),
        0 0 0 1px rgba(var(--class-accent-rgb),.035) inset,
        0 1px 0 rgba(255,255,255,.06) inset;
    outline:none;
    transition:border-color .35s ease,box-shadow .35s ease;
}
.class-viewer:focus-visible{
    border-color:rgba(var(--class-accent-rgb),.55);
    box-shadow:0 34px 90px rgba(0,0,0,.42),0 0 0 3px rgba(var(--class-accent-rgb),.13);
}
.class-viewer[data-active-class="hunter"]{
    --class-accent:#65baff;
    --class-accent-rgb:101,186,255;
    --class-accent-2:#486fff;
}
.class-viewer[data-active-class="mage"]{
    --class-accent:#8db7ff;
    --class-accent-rgb:141,183,255;
    --class-accent-2:#9d67ff;
}
.class-viewer[data-active-class="dancer"]{
    --class-accent:#d878ff;
    --class-accent-rgb:216,120,255;
    --class-accent-2:#ff59bb;
}
.class-viewer[data-active-class="ranger"]{
    --class-accent:#7edb78;
    --class-accent-rgb:126,219,120;
    --class-accent-2:#d8b75f;
}
.class-viewer[data-active-class="assassin"]{
    --class-accent:#d95aff;
    --class-accent-rgb:217,90,255;
    --class-accent-2:#c32f68;
}

.class-viewer__visual{
    position:relative;
    min-height:590px;
    overflow:hidden;
    isolation:isolate;
    background:
        radial-gradient(circle at 50% 44%,rgba(var(--class-accent-rgb),.19),transparent 31%),
        linear-gradient(155deg,#0a1425 0%,#040a14 72%);
}
.class-viewer__visual::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    opacity:1;
    filter:none;
    transform:none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
        radial-gradient(circle at 50% 92%,rgba(var(--class-accent-rgb),.24),transparent 30%),
        radial-gradient(circle at 50% 46%,rgba(var(--class-accent-rgb),.12),transparent 47%);
    background-size:54px 54px,54px 54px,auto,auto;
    background-position:center;
}
.class-viewer__visual::after{
    content:"";
    position:absolute;
    z-index:1;
    left:10%;
    right:10%;
    bottom:-7%;
    height:27%;
    border-radius:50%;
    background:radial-gradient(ellipse,rgba(var(--class-accent-rgb),.30),rgba(var(--class-accent-rgb),.06) 48%,transparent 72%);
    filter:blur(10px);
    pointer-events:none;
}
.class-viewer__magic-stage{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    overflow:hidden;
}
.class-viewer__orbit{
    position:absolute;
    left:50%;
    top:47%;
    width:390px;
    height:390px;
    border:1px solid rgba(var(--class-accent-rgb),.16);
    border-radius:50%;
    transform:translate(-50%,-50%) rotate(24deg);
    box-shadow:0 0 70px rgba(var(--class-accent-rgb),.08) inset;
}
.class-viewer__orbit::before,
.class-viewer__orbit::after{
    content:"";
    position:absolute;
    border-radius:50%;
    border:1px solid rgba(var(--class-accent-rgb),.10);
}
.class-viewer__orbit::before{inset:30px}
.class-viewer__orbit::after{inset:74px}
.class-viewer__orbit--two{
    width:520px;
    height:220px;
    opacity:.62;
    transform:translate(-50%,-50%) rotate(-21deg);
}
.class-viewer__spark{
    position:absolute;
    width:5px;
    height:5px;
    border-radius:50%;
    background:var(--class-accent);
    box-shadow:0 0 13px 3px rgba(var(--class-accent-rgb),.55);
}
.class-viewer__spark--one{left:19%;top:31%}
.class-viewer__spark--two{right:18%;top:23%;width:3px;height:3px}
.class-viewer__spark--three{right:23%;bottom:27%;width:4px;height:4px}

.class-viewer__watermark{
    position:absolute;
    z-index:1;
    left:50%;
    bottom:34px;
    transform:translateX(-50%);
    max-width:94%;
    overflow:hidden;
    color:rgba(var(--class-accent-rgb),.065);
    font-family:var(--font-title);
    font-size:clamp(72px,8vw,126px);
    font-weight:900;
    line-height:.82;
    letter-spacing:.07em;
    white-space:nowrap;
    text-transform:uppercase;
    user-select:none;
}
.class-viewer__visual img{
    position:absolute;
    z-index:3;
    inset:auto 0 0;
    width:100%;
    height:96%;
    object-fit:contain;
    object-position:center bottom;
    border-radius:0;
    filter:
        drop-shadow(0 30px 32px rgba(0,0,0,.46))
        drop-shadow(0 0 20px rgba(var(--class-accent-rgb),.10));
    transition:opacity .20s ease,transform .42s cubic-bezier(.2,.7,.2,1),filter .35s ease;
    transform:translateY(5px) scale(1.015);
    will-change:opacity,transform;
}
.class-viewer:hover .class-viewer__visual img{
    transform:translateY(0) scale(1.025);
}
.class-viewer.is-switching .class-viewer__visual img{
    opacity:0;
    transform:translateY(14px) scale(.985);
}
.class-viewer__visual-shade{
    position:absolute;
    inset:0;
    z-index:4;
    pointer-events:none;
    background:
        linear-gradient(90deg,transparent 72%,rgba(3,8,18,.44) 100%),
        linear-gradient(180deg,rgba(3,8,18,.10),transparent 24%,transparent 76%,rgba(3,8,18,.36));
}
.class-viewer__top{
    z-index:5;
    top:20px;
    left:20px;
    right:20px;
}
.class-viewer__number{
    width:48px;
    height:48px;
    border-color:rgba(var(--class-accent-rgb),.32);
    border-radius:14px;
    background:rgba(3,9,20,.65);
    color:var(--class-accent);
    box-shadow:0 0 22px rgba(var(--class-accent-rgb),.10);
}
.class-viewer__role{
    min-height:34px;
    padding:0 14px;
    border-color:rgba(var(--class-accent-rgb),.25);
    background:rgba(3,9,20,.64);
    color:#e3edf9;
    letter-spacing:.10em;
}
.class-viewer__arrows{
    z-index:6;
    left:auto;
    right:20px;
    bottom:20px;
}
.class-viewer__arrow{
    width:46px;
    height:46px;
    border-radius:14px;
    border-color:rgba(255,255,255,.11);
    background:rgba(3,9,20,.72);
    font-size:28px;
}
.class-viewer__arrow:hover{
    border-color:rgba(var(--class-accent-rgb),.46);
    background:rgba(var(--class-accent-rgb),.13);
    color:#fff;
    box-shadow:0 0 26px rgba(var(--class-accent-rgb),.12);
}

.class-viewer__info{
    position:relative;
    z-index:2;
    justify-content:center;
    padding:52px 42px 44px;
    overflow:hidden;
    background:
        linear-gradient(180deg,rgba(8,18,34,.92),rgba(4,10,21,.98));
    border-left:1px solid rgba(255,255,255,.07);
}
.class-viewer__info::before{
    content:"";
    position:absolute;
    top:-90px;
    right:-90px;
    width:260px;
    height:260px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(var(--class-accent-rgb),.16),transparent 68%);
    pointer-events:none;
}
.class-viewer__eyebrow{
    position:relative;
    color:var(--class-accent);
    letter-spacing:.24em;
}
.class-viewer__info h3{
    position:relative;
    margin:10px 0 15px;
    color:#fff7e8;
    font-size:clamp(40px,4vw,58px);
    line-height:.96;
    text-shadow:0 8px 30px rgba(0,0,0,.25);
}
.class-viewer__info>p{
    position:relative;
    max-width:460px;
    color:#aebdd0;
    font-size:14px;
    line-height:1.72;
}
.class-viewer__meta{
    position:relative;
    gap:10px;
    margin-top:28px;
}
.class-viewer__meta>div{
    padding:15px 16px;
    border-color:rgba(var(--class-accent-rgb),.13);
    border-radius:15px;
    background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
}
.class-viewer__meta small{
    color:#72859d;
    letter-spacing:.16em;
}
.class-viewer__meta b{
    color:#edf3fb;
    font-size:13px;
}
.class-viewer__progress{
    position:relative;
    margin-top:26px;
}
.class-viewer__progress>span{color:#8a9db5}
.class-viewer__progress>i{
    height:3px;
    background:rgba(255,255,255,.075);
}
.class-viewer__progress>i>b{
    background:linear-gradient(90deg,var(--class-accent),var(--class-accent-2));
    box-shadow:0 0 16px rgba(var(--class-accent-rgb),.35);
}

.class-tabs{
    position:relative;
    z-index:2;
    gap:10px;
    margin-top:14px;
}
.class-tab{
    --tab-rgb:232,180,95;
    position:relative;
    height:84px;
    gap:10px;
    padding:7px 12px 7px 7px;
    border-color:rgba(255,255,255,.075);
    border-radius:16px;
    background:linear-gradient(180deg,rgba(9,20,38,.76),rgba(4,10,21,.82));
    color:#8fa0b7;
    box-shadow:0 10px 26px rgba(0,0,0,.13);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
.class-tab[data-class="hunter"]{--tab-rgb:101,186,255}
.class-tab[data-class="mage"]{--tab-rgb:141,183,255}
.class-tab[data-class="dancer"]{--tab-rgb:216,120,255}
.class-tab[data-class="ranger"]{--tab-rgb:126,219,120}
.class-tab[data-class="assassin"]{--tab-rgb:217,90,255}
.class-tab:hover{
    border-color:rgba(var(--tab-rgb),.28);
    background:linear-gradient(180deg,rgba(var(--tab-rgb),.09),rgba(5,12,25,.90));
}
.class-tab.is-active{
    color:#f7f9fc;
    border-color:rgba(var(--tab-rgb),.52);
    background:linear-gradient(180deg,rgba(var(--tab-rgb),.17),rgba(6,16,31,.92));
    box-shadow:0 12px 30px rgba(0,0,0,.18),0 0 24px rgba(var(--tab-rgb),.08),inset 0 0 0 1px rgba(var(--tab-rgb),.08);
}
.class-tab.is-active::after{
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    bottom:-1px;
    height:2px;
    border-radius:99px;
    background:rgb(var(--tab-rgb));
    box-shadow:0 0 12px rgba(var(--tab-rgb),.6);
}
.class-tab img{
    width:58px;
    height:68px;
    flex:0 0 58px;
    padding:1px;
    object-fit:contain;
    object-position:center bottom;
    border:1px solid rgba(var(--tab-rgb),.12);
    border-radius:12px;
    background:
        radial-gradient(circle at 50% 70%,rgba(var(--tab-rgb),.16),transparent 58%),
        rgba(3,9,20,.72);
}
.class-tab span{
    font-size:12px;
    letter-spacing:.02em;
}

@media (max-width:1050px){
    .class-viewer{
        grid-template-columns:minmax(0,1.08fr) minmax(315px,.92fr);
        min-height:540px;
    }
    .class-viewer__visual{min-height:540px}
    .class-viewer__info{padding:42px 30px 38px}
    .class-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:720px){
    .section--features-viewer{padding:56px 0 58px}
    .hero-path-heading--viewer{
        margin-bottom:22px;
        text-align:center;
    }
    .hero-path-heading--viewer p{font-size:13px}
    .class-viewer{
        grid-template-columns:1fr;
        min-height:0;
        border-radius:22px;
    }
    .class-viewer__visual{
        min-height:0;
        aspect-ratio:4/5;
        max-height:none;
    }
    .class-viewer__visual img{
        inset:auto 0 0;
        width:100%;
        height:95%;
        object-fit:contain;
        object-position:center bottom;
    }
    .class-viewer__watermark{
        bottom:26px;
        font-size:clamp(54px,18vw,92px);
    }
    .class-viewer__orbit{width:300px;height:300px}
    .class-viewer__orbit--two{width:390px;height:170px}
    .class-viewer__visual-shade{
        background:linear-gradient(180deg,rgba(3,8,18,.04),transparent 55%,rgba(3,8,18,.42));
    }
    .class-viewer__info{
        padding:28px 22px 24px;
        border-left:0;
        border-top:1px solid rgba(255,255,255,.07);
    }
    .class-viewer__info h3{font-size:38px}
    .class-viewer__info>p{font-size:13px;line-height:1.65}
    .class-viewer__meta{margin-top:20px}
    .class-tabs{
        display:flex;
        gap:9px;
        overflow-x:auto;
        padding:2px 1px 6px;
        scrollbar-width:none;
        scroll-snap-type:x proximity;
    }
    .class-tab{
        flex:0 0 146px;
        height:68px;
        scroll-snap-align:start;
    }
    .class-tab img{
        width:46px;
        height:54px;
        flex-basis:46px;
    }
}
@media (max-width:430px){
    .class-viewer__visual{aspect-ratio:4/5}
    .class-viewer__top{top:13px;left:13px;right:13px}
    .class-viewer__number{width:40px;height:40px;border-radius:12px}
    .class-viewer__role{min-height:30px;padding:0 10px;font-size:10px}
    .class-viewer__arrows{right:13px;bottom:13px}
    .class-viewer__arrow{width:40px;height:40px;border-radius:12px}
    .class-viewer__info{padding:24px 17px 20px}
    .class-viewer__info h3{font-size:34px}
    .class-viewer__meta{grid-template-columns:1fr 1fr;gap:8px}
    .class-viewer__meta>div{padding:12px}
}
@media (prefers-reduced-motion:reduce){
    .class-viewer__visual img,
    .class-viewer,
    .class-tab{transition:none!important}
    .class-viewer:hover .class-viewer__visual img{transform:translateY(5px) scale(1.015)}
}

/* HERO PATH 6.1 — TOP CLASS ICON SELECTOR */
.class-tabs-shell{
    position:relative;
    z-index:3;
    width:min(100%,1040px);
    margin:0 auto 16px;
    padding:11px 13px;
    overflow:hidden;
    border:1px solid rgba(160,210,255,.12);
    border-radius:22px;
    background:
        linear-gradient(180deg,rgba(9,22,40,.66),rgba(4,11,23,.54)),
        rgba(6,15,29,.44);
    box-shadow:
        0 18px 42px rgba(0,0,0,.24),
        inset 0 1px 0 rgba(255,255,255,.045);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}
.class-tabs-shell::before{
    content:"";
    position:absolute;
    left:8%;
    right:8%;
    top:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(114,194,255,.42),transparent);
    pointer-events:none;
}
.class-tabs-shell::after{
    content:"";
    position:absolute;
    inset:-80% 18% auto;
    height:120px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(58,151,224,.11),transparent 68%);
    pointer-events:none;
}
.class-tabs-shell .class-tabs{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px;
    margin:0;
}
.class-tabs-shell .class-tab{
    --tab-rgb:72,188,239;
    min-width:0;
    height:86px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:8px 5px 7px;
    overflow:visible;
    border:1px solid transparent;
    border-radius:15px;
    background:rgba(7,18,34,.20);
    color:#91a6bd;
    text-align:center;
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    transition:
        transform .2s ease,
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}
.class-tabs-shell .class-tab[data-class="hunter"]{--tab-rgb:83,194,245}
.class-tabs-shell .class-tab[data-class="mage"]{--tab-rgb:92,202,247}
.class-tabs-shell .class-tab[data-class="dancer"]{--tab-rgb:91,202,247}
.class-tabs-shell .class-tab[data-class="ranger"]{--tab-rgb:82,197,239}
.class-tabs-shell .class-tab[data-class="assassin"]{--tab-rgb:78,194,240}
.class-tabs-shell .class-tab:hover{
    transform:translateY(-3px);
    color:#ecf8ff;
    border-color:rgba(var(--tab-rgb),.20);
    background:rgba(var(--tab-rgb),.055);
}
.class-tabs-shell .class-tab.is-active{
    color:#fff;
    border-color:rgba(var(--tab-rgb),.36);
    background:
        radial-gradient(circle at 50% 30%,rgba(var(--tab-rgb),.14),transparent 64%),
        rgba(7,19,36,.46);
    box-shadow:
        0 8px 24px rgba(0,0,0,.16),
        inset 0 0 0 1px rgba(var(--tab-rgb),.045);
}
.class-tabs-shell .class-tab.is-active::after{
    left:26%;
    right:26%;
    bottom:-1px;
    height:2px;
    background:rgb(var(--tab-rgb));
    box-shadow:0 0 14px rgba(var(--tab-rgb),.85);
}
.class-tabs-shell .class-tab img{
    width:54px;
    height:53px;
    flex:0 0 auto;
    padding:0;
    border:0;
    border-radius:0;
    background:none;
    object-fit:contain;
    object-position:center;
    filter:drop-shadow(0 4px 8px rgba(0,0,0,.34));
    opacity:.72;
    transition:transform .2s ease,filter .2s ease,opacity .2s ease;
}
.class-tabs-shell .class-tab:hover img{
    opacity:.92;
    transform:scale(1.08);
    filter:
        drop-shadow(0 4px 8px rgba(0,0,0,.32))
        drop-shadow(0 0 8px rgba(var(--tab-rgb),.24));
}
.class-tabs-shell .class-tab.is-active img{
    opacity:1;
    transform:scale(1.12);
    filter:
        drop-shadow(0 5px 10px rgba(0,0,0,.28))
        drop-shadow(0 0 10px rgba(var(--tab-rgb),.45));
}
.class-tabs-shell .class-tab span{
    max-width:100%;
    overflow:hidden;
    font-size:11px;
    font-weight:800;
    line-height:1.1;
    letter-spacing:.045em;
    white-space:nowrap;
    text-overflow:ellipsis;
}

@media (max-width:820px){
    .class-tabs-shell{
        width:100%;
        margin-bottom:12px;
        padding:9px 8px 8px;
        border-radius:18px;
    }
    .class-tabs-shell .class-tabs{
        display:flex;
        gap:5px;
        overflow-x:auto;
        padding:1px 1px 4px;
        scrollbar-width:none;
        scroll-snap-type:x proximity;
    }
    .class-tabs-shell .class-tabs::-webkit-scrollbar{display:none}
    .class-tabs-shell .class-tab{
        flex:0 0 82px;
        height:76px;
        padding:6px 4px;
        scroll-snap-align:center;
    }
    .class-tabs-shell .class-tab img{
        width:48px;
        height:47px;
    }
    .class-tabs-shell .class-tab span{
        font-size:10px;
        letter-spacing:.025em;
    }
}

@media (max-width:430px){
    .class-tabs-shell{
        margin-left:-2px;
        margin-right:-2px;
        width:calc(100% + 4px);
        padding:8px 6px 7px;
    }
    .class-tabs-shell .class-tab{
        flex-basis:76px;
        height:72px;
    }
    .class-tabs-shell .class-tab img{
        width:45px;
        height:44px;
    }
}

@media (prefers-reduced-motion:reduce){
    .class-tabs-shell .class-tab,
    .class-tabs-shell .class-tab img{transition:none!important}
}


/* HERO PATH 7.0 — SMOOTH PING-PONG AUTOPLAY + CLASS LORE */
.class-viewer__art-stack{
    position:absolute;
    inset:0;
    z-index:3;
    pointer-events:none;
}
.class-viewer__visual .class-viewer__art{
    position:absolute;
    inset:auto 0 0;
    width:100%;
    height:96%;
    object-fit:contain;
    object-position:center bottom;
    border-radius:0;
    filter:
        drop-shadow(0 30px 32px rgba(0,0,0,.46))
        drop-shadow(0 0 20px rgba(var(--class-accent-rgb),.10));
    will-change:opacity,transform,filter;
    transition:
        opacity .66s cubic-bezier(.22,.61,.36,1),
        transform .72s cubic-bezier(.16,.8,.24,1),
        filter .68s ease;
}
.class-viewer__art--current{
    opacity:1;
    transform:translate3d(0,5px,0) scale(1.015);
}
.class-viewer__art--incoming{
    opacity:0;
    transform:translate3d(30px,10px,0) scale(.985);
    filter:
        blur(3px)
        drop-shadow(0 30px 32px rgba(0,0,0,.42))
        drop-shadow(0 0 24px rgba(var(--class-accent-rgb),.12));
}
.class-viewer[data-transition-dir="prev"] .class-viewer__art--incoming{
    transform:translate3d(-30px,10px,0) scale(.985);
}
.class-viewer.is-class-transitioning[data-transition-dir="next"] .class-viewer__art--current{
    opacity:0;
    transform:translate3d(-26px,1px,0) scale(1.035);
    filter:
        blur(2px)
        drop-shadow(0 30px 32px rgba(0,0,0,.34));
}
.class-viewer.is-class-transitioning[data-transition-dir="prev"] .class-viewer__art--current{
    opacity:0;
    transform:translate3d(26px,1px,0) scale(1.035);
    filter:
        blur(2px)
        drop-shadow(0 30px 32px rgba(0,0,0,.34));
}
.class-viewer.is-class-transitioning .class-viewer__art--incoming{
    opacity:1;
    transform:translate3d(0,5px,0) scale(1.015);
    filter:
        drop-shadow(0 30px 32px rgba(0,0,0,.46))
        drop-shadow(0 0 20px rgba(var(--class-accent-rgb),.10));
}
.class-viewer:hover .class-viewer__visual .class-viewer__art--current{
    transform:translate3d(0,0,0) scale(1.025);
}
.class-viewer.is-class-transitioning:hover .class-viewer__visual .class-viewer__art--current{
    transform:translate3d(-26px,1px,0) scale(1.035);
}
.class-viewer.is-class-transitioning[data-transition-dir="prev"]:hover .class-viewer__visual .class-viewer__art--current{
    transform:translate3d(26px,1px,0) scale(1.035);
}
.class-viewer__top{
    justify-content:flex-start;
}
.class-viewer__role{
    box-shadow:0 8px 24px rgba(0,0,0,.18),0 0 22px rgba(var(--class-accent-rgb),.08);
}
.class-viewer__copy{
    position:relative;
    transition:opacity .28s ease,transform .32s cubic-bezier(.2,.7,.2,1);
}
.class-viewer__info.is-copy-switching .class-viewer__copy{
    opacity:.08;
    transform:translateY(9px);
}
.class-viewer__description-card{
    position:relative;
    margin-top:18px;
    padding:19px 20px 18px 23px;
    overflow:hidden;
    border:1px solid rgba(var(--class-accent-rgb),.14);
    border-radius:18px;
    background:
        linear-gradient(135deg,rgba(var(--class-accent-rgb),.075),rgba(255,255,255,.018) 58%),
        rgba(5,13,26,.48);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.class-viewer__description-card::before{
    content:"";
    position:absolute;
    left:0;
    top:17px;
    bottom:17px;
    width:3px;
    border-radius:99px;
    background:linear-gradient(180deg,var(--class-accent),var(--class-accent-2));
    box-shadow:0 0 16px rgba(var(--class-accent-rgb),.32);
}
.class-viewer__description-card::after{
    content:"✦";
    position:absolute;
    right:15px;
    top:10px;
    color:rgba(var(--class-accent-rgb),.22);
    font-size:17px;
}
.class-viewer__description-card p{
    position:relative;
    z-index:1;
    margin:0;
    max-width:none;
    color:#b8c7d8;
    font-size:14px;
    line-height:1.76;
}
.class-viewer__meta{
    margin-top:16px;
}
.class-viewer__difficulty{
    position:relative;
    margin-top:14px;
    padding:14px 16px 15px;
    border:1px solid rgba(var(--class-accent-rgb),.14);
    border-radius:16px;
    background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.014));
}
.class-viewer__difficulty-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:11px;
}
.class-viewer__difficulty-head small{
    color:#7f92aa;
    font-size:10px;
    font-weight:800;
    letter-spacing:.17em;
}
.class-viewer__difficulty-head b{
    color:var(--class-accent);
    font-family:var(--font-title);
    font-size:22px;
    line-height:1;
}
.class-viewer__difficulty-head b em{
    margin-left:4px;
    color:#7588a0;
    font-family:var(--font-body);
    font-size:11px;
    font-style:normal;
    font-weight:700;
}
.class-viewer__difficulty-meter{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:6px;
}
.class-viewer__difficulty-meter i{
    height:5px;
    border-radius:99px;
    background:rgba(255,255,255,.075);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
    transition:background .28s ease,box-shadow .28s ease,transform .28s ease;
}
.class-viewer__difficulty-meter i.is-active{
    background:linear-gradient(90deg,var(--class-accent),var(--class-accent-2));
    box-shadow:0 0 12px rgba(var(--class-accent-rgb),.26);
    transform:translateY(-1px);
}
.class-viewer__autoplay{
    position:relative;
    margin-top:19px;
    padding-top:15px;
    border-top:1px solid rgba(255,255,255,.065);
}
.class-viewer__autoplay-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:10px;
}
.class-viewer__autoplay-head>span{
    color:#64778f;
    font-size:9px;
    font-weight:800;
    letter-spacing:.18em;
}
.class-viewer__sequence{
    display:flex;
    align-items:center;
    gap:7px;
}
.class-viewer__sequence i{
    width:5px;
    height:5px;
    border-radius:50%;
    background:rgba(255,255,255,.14);
    box-shadow:none;
    transition:transform .3s ease,background .3s ease,box-shadow .3s ease;
}
.class-viewer__sequence i.is-active{
    transform:scale(1.45);
    background:var(--class-accent);
    box-shadow:0 0 11px rgba(var(--class-accent-rgb),.58);
}
.class-viewer__autoplay-track{
    height:2px;
    overflow:hidden;
    border-radius:99px;
    background:rgba(255,255,255,.06);
}
.class-viewer__autoplay-track b{
    display:block;
    width:100%;
    height:100%;
    transform:scaleX(0);
    transform-origin:left center;
    border-radius:inherit;
    background:linear-gradient(90deg,var(--class-accent),var(--class-accent-2));
    box-shadow:0 0 12px rgba(var(--class-accent-rgb),.32);
}

@media (max-width:1050px){
    .class-viewer__info{padding:34px 28px 30px}
    .class-viewer__description-card{padding:17px 17px 16px 20px}
    .class-viewer__description-card p{font-size:13px;line-height:1.68}
}
@media (max-width:720px){
    .class-viewer__visual .class-viewer__art{height:95%}
    .class-viewer__description-card{margin-top:15px}
    .class-viewer__difficulty{margin-top:12px}
    .class-viewer__autoplay{margin-top:16px}
}
@media (max-width:430px){
    .class-viewer__description-card{padding:15px 15px 14px 18px;border-radius:15px}
    .class-viewer__description-card p{font-size:12.5px;line-height:1.62}
    .class-viewer__difficulty{padding:12px 13px 13px}
}
@media (prefers-reduced-motion:reduce){
    .class-viewer__visual .class-viewer__art,
    .class-viewer__copy,
    .class-viewer__difficulty-meter i,
    .class-viewer__sequence i{transition:none!important}
    .class-viewer__art--incoming{display:none!important}
    .class-viewer__autoplay-track{display:none}
}

/* HERO PATH 8.0 — STABLE CROSSFADE + HOVER AUTOPLAY PAUSE */
/* Keep both class artworks on the exact same geometry. Only opacity changes. */
.class-viewer__visual .class-viewer__art{
    transform:translate3d(0,5px,0) scale(1.015)!important;
    filter:
        drop-shadow(0 30px 32px rgba(0,0,0,.46))
        drop-shadow(0 0 20px rgba(var(--class-accent-rgb),.10))!important;
    transition:opacity .62s cubic-bezier(.22,.61,.36,1)!important;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}
.class-viewer__visual .class-viewer__art--current{
    opacity:1;
}
.class-viewer__visual .class-viewer__art--incoming{
    opacity:0;
}
.class-viewer.is-class-transitioning .class-viewer__visual .class-viewer__art--current{
    opacity:0;
    transform:translate3d(0,5px,0) scale(1.015)!important;
    filter:
        drop-shadow(0 30px 32px rgba(0,0,0,.46))
        drop-shadow(0 0 20px rgba(var(--class-accent-rgb),.10))!important;
}
.class-viewer.is-class-transitioning .class-viewer__visual .class-viewer__art--incoming{
    opacity:1;
    transform:translate3d(0,5px,0) scale(1.015)!important;
    filter:
        drop-shadow(0 30px 32px rgba(0,0,0,.46))
        drop-shadow(0 0 20px rgba(var(--class-accent-rgb),.10))!important;
}
.class-viewer:hover .class-viewer__visual .class-viewer__art,
.class-viewer.is-class-transitioning:hover .class-viewer__visual .class-viewer__art{
    transform:translate3d(0,5px,0) scale(1.015)!important;
}
/* Atomic hand-off after the crossfade: no second fade, scale or position jump. */
.class-viewer.is-class-committing .class-viewer__visual .class-viewer__art{
    transition:none!important;
    transform:translate3d(0,5px,0) scale(1.015)!important;
}
.class-viewer.is-class-committing .class-viewer__visual .class-viewer__art--current{
    opacity:1!important;
}
.class-viewer.is-class-committing .class-viewer__visual .class-viewer__art--incoming{
    opacity:0!important;
}

/* HERO PATH 9.0 — UNIFIED CLASS CARD GEOMETRY */
/* Every class now occupies exactly the same selector card and showcase footprint. */
.class-tabs-shell .class-tabs{
    align-items:stretch;
}
.class-tabs-shell .class-tab{
    box-sizing:border-box;
    width:100%;
    height:88px;
    min-height:88px;
    max-height:88px;
    display:grid;
    grid-template-rows:56px 14px;
    place-items:center;
    align-content:center;
    gap:5px;
    padding:7px 5px 6px;
}
.class-tabs-shell .class-tab img{
    width:54px;
    height:54px;
    max-width:54px;
    max-height:54px;
    display:block;
    object-fit:contain;
    object-position:center;
}
.class-tabs-shell .class-tab span{
    width:100%;
    min-height:14px;
    line-height:14px;
}

@media (min-width:721px){
    .class-viewer{
        height:620px;
        min-height:620px;
        max-height:620px;
        align-items:stretch;
    }
    .class-viewer__visual{
        height:620px;
        min-height:620px;
        max-height:620px;
    }
    .class-viewer__info{
        height:620px;
        min-height:620px;
        max-height:620px;
        box-sizing:border-box;
        justify-content:flex-start;
    }
    .class-viewer__copy{
        display:flex;
        min-height:0;
        flex:1 1 auto;
        flex-direction:column;
    }
    .class-viewer__eyebrow{
        flex:0 0 auto;
    }
    .class-viewer__info h3{
        min-height:56px;
        display:flex;
        align-items:flex-end;
        margin-bottom:12px;
    }
    .class-viewer__description-card{
        height:174px;
        min-height:174px;
        max-height:174px;
        box-sizing:border-box;
        display:flex;
        align-items:flex-start;
    }
    .class-viewer__description-card p{
        width:100%;
    }
    .class-viewer__meta{
        grid-auto-rows:70px;
        flex:0 0 auto;
    }
    .class-viewer__meta>div{
        min-height:70px;
        box-sizing:border-box;
        display:flex;
        flex-direction:column;
        justify-content:center;
    }
    .class-viewer__difficulty{
        flex:0 0 auto;
    }
    .class-viewer__autoplay{
        flex:0 0 auto;
        margin-top:auto;
    }
}

@media (min-width:721px) and (max-width:1050px){
    .class-viewer,
    .class-viewer__visual,
    .class-viewer__info{
        height:600px;
        min-height:600px;
        max-height:600px;
    }
    .class-viewer__info h3{
        min-height:48px;
    }
    .class-viewer__description-card{
        height:168px;
        min-height:168px;
        max-height:168px;
    }
    .class-viewer__meta{
        grid-auto-rows:64px;
    }
    .class-viewer__meta>div{
        min-height:64px;
    }
}

@media (max-width:720px){
    /* On phones the outer card stays fluid, but every internal block keeps
       the same minimum footprint so class changes do not resize the layout. */
    .class-tabs-shell .class-tab{
        width:82px;
        height:76px;
        min-height:76px;
        max-height:76px;
        grid-template-rows:48px 13px;
        flex:0 0 82px;
        padding:5px 4px;
    }
    .class-tabs-shell .class-tab img{
        width:47px;
        height:47px;
        max-width:47px;
        max-height:47px;
    }
    .class-tabs-shell .class-tab span{
        min-height:13px;
        line-height:13px;
    }
    .class-viewer__info h3{
        min-height:42px;
        display:flex;
        align-items:flex-end;
    }
    .class-viewer__description-card{
        min-height:172px;
        display:flex;
        align-items:flex-start;
        box-sizing:border-box;
    }
    .class-viewer__meta>div{
        min-height:66px;
        box-sizing:border-box;
        display:flex;
        flex-direction:column;
        justify-content:center;
    }
    .class-viewer__difficulty{
        min-height:70px;
        box-sizing:border-box;
    }
    .class-viewer__autoplay{
        min-height:48px;
        box-sizing:border-box;
    }
}

@media (max-width:430px){
    .class-tabs-shell .class-tab{
        width:76px;
        height:72px;
        min-height:72px;
        max-height:72px;
        grid-template-rows:45px 12px;
        flex-basis:76px;
    }
    .class-tabs-shell .class-tab img{
        width:44px;
        height:44px;
        max-width:44px;
        max-height:44px;
    }
    .class-viewer__description-card{
        min-height:190px;
    }
}

/* HERO PATH 6.7 — VERTICAL CLASS WATERMARK */
.class-viewer__watermark{
    left:18px;
    top:50%;
    right:auto;
    bottom:auto;
    width:auto;
    max-width:none;
    max-height:78%;
    overflow:hidden;
    writing-mode:vertical-rl;
    text-orientation:mixed;
    transform:translateY(-50%) rotate(180deg);
    color:rgba(var(--class-accent-rgb),.11);
    font-size:clamp(18px,1.55vw,27px);
    font-weight:800;
    line-height:1;
    letter-spacing:.22em;
    white-space:nowrap;
    text-shadow:0 0 22px rgba(var(--class-accent-rgb),.06);
}

@media (max-width:720px){
    .class-viewer__watermark{
        left:11px;
        top:51%;
        max-height:72%;
        font-size:clamp(15px,4.2vw,20px);
        letter-spacing:.17em;
        color:rgba(var(--class-accent-rgb),.105);
    }
}

@media (max-width:430px){
    .class-viewer__watermark{
        left:8px;
        font-size:15px;
        letter-spacing:.14em;
    }
}

/* HERO PATH 6.8 — FULL CLASS DESCRIPTIONS */
/* Keep every class card geometrically identical while reserving enough room
   for the longest RU/EN lore text. No clipping and no layout jump on switch. */
@media (min-width:1051px){
    .class-viewer,
    .class-viewer__visual,
    .class-viewer__info{
        height:690px;
        min-height:690px;
        max-height:690px;
    }
    .class-viewer__description-card{
        height:224px;
        min-height:224px;
        max-height:224px;
    }
}

@media (min-width:721px) and (max-width:1050px){
    .class-viewer,
    .class-viewer__visual,
    .class-viewer__info{
        height:690px;
        min-height:690px;
        max-height:690px;
    }
    .class-viewer__description-card{
        height:232px;
        min-height:232px;
        max-height:232px;
    }
    .class-viewer__description-card p{
        font-size:12.75px;
        line-height:1.68;
    }
}

@media (max-width:720px){
    .class-viewer__description-card{
        height:auto;
        min-height:224px;
        max-height:none;
        overflow:hidden;
    }
    .class-viewer__description-card p{
        display:block;
        overflow:visible;
        max-height:none;
        -webkit-line-clamp:unset;
        line-clamp:unset;
    }
}

@media (max-width:430px){
    .class-viewer__description-card{
        min-height:246px;
    }
}

/* HERO PATH 6.9 — FULL WEAPON / STYLE TEXT */
.class-viewer__meta b{
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
    line-height:1.32;
}

@media (min-width:1051px){
    .class-viewer__meta{
        grid-auto-rows:86px;
    }
    .class-viewer__meta>div{
        min-height:86px;
        height:86px;
    }
    .class-viewer__meta b{
        min-height:34px;
        display:flex;
        align-items:center;
    }
}

@media (min-width:721px) and (max-width:1050px){
    .class-viewer__meta{
        grid-auto-rows:82px;
    }
    .class-viewer__meta>div{
        min-height:82px;
        height:82px;
    }
    .class-viewer__meta b{
        min-height:32px;
        display:flex;
        align-items:center;
        font-size:12.5px;
    }
}

@media (max-width:720px){
    .class-viewer__meta>div{
        min-height:78px;
        height:auto;
    }
    .class-viewer__meta b{
        min-height:32px;
        display:flex;
        align-items:center;
    }
}

@media (max-width:430px){
    .class-viewer__meta>div{
        min-height:70px;
    }
}


/* ============================================================
   NESTBORN GLOBAL WORLD BACKGROUND v137
   One local artwork across the public site.
   ============================================================ */
.site-bg{
    background:#020711!important;
}
.site-bg__art{
    background-image:url("../img/nestborn-global-bg.webp")!important;
    background-position:center center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    filter:saturate(1.06) contrast(1.035) brightness(.84);
    transform:translateZ(0);
}
.site-bg__shade{
    background:
        linear-gradient(90deg,rgba(2,7,16,.46) 0%,rgba(3,9,20,.20) 38%,rgba(4,9,18,.14) 65%,rgba(2,6,13,.32) 100%),
        linear-gradient(180deg,rgba(2,6,14,.08) 0%,rgba(3,8,18,.20) 54%,rgba(2,6,13,.70) 100%)!important;
}
.site-bg__vignette{
    background:
        radial-gradient(circle at 50% 38%,rgba(113,169,255,.055),transparent 34%),
        radial-gradient(ellipse at center,transparent 48%,rgba(1,4,10,.40) 100%)!important;
}
@media(max-width:820px){
    .site-bg__art{
        background-position:50% 50%!important;
        filter:saturate(1.03) contrast(1.02) brightness(.79);
    }
    .site-bg__shade{
        background:linear-gradient(180deg,rgba(2,7,16,.30),rgba(3,8,18,.54) 58%,rgba(2,6,14,.82))!important;
    }
}

/* =========================================================
   PUBLIC UI v138 — unified glass surfaces, rebuilt top navigation, vignette
   ========================================================= */
.topbar.scrolled{
    background:linear-gradient(180deg,rgba(4,10,20,.88),rgba(3,8,18,.76))!important;
    border-color:rgba(145,181,223,.12)!important;
    box-shadow:0 12px 34px rgba(0,0,0,.18)!important;
}
.nav{
    gap:2px!important;
    padding:4px!important;
    border:1px solid rgba(145,181,223,.10);
    border-radius:14px;
    background:rgba(4,12,24,.34);
    backdrop-filter:blur(14px) saturate(118%);
    -webkit-backdrop-filter:blur(14px) saturate(118%);
}
.nav a{
    position:relative;
    min-height:36px;
    display:inline-flex;
    align-items:center;
    padding:0 12px!important;
    border-radius:10px!important;
    color:#9caec1!important;
    font-size:12px!important;
    font-weight:750!important;
}
.nav a::after{
    content:"";
    position:absolute;
    left:12px;right:12px;bottom:2px;
    height:2px;
    border-radius:99px;
    background:linear-gradient(90deg,#76b8ff,#e7c777);
    opacity:0;
    transform:scaleX(.25);
    transition:.16s ease;
}
.nav a:hover{color:#f1f6fb!important;background:rgba(105,168,255,.045)!important}
.nav a:hover::after{opacity:.7;transform:scaleX(1)}
.hero-card,
.feature-list li,
.hero-class-card,
.world-card,
.premium-card,
.cta-panel{
    border-color:rgba(145,181,223,.13)!important;
    box-shadow:0 18px 48px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.site-bg__vignette{
    background:
        radial-gradient(ellipse at 50% 43%,transparent 37%,rgba(1,4,10,.11) 63%,rgba(1,4,10,.40) 86%,rgba(1,3,8,.66) 100%),
        linear-gradient(90deg,rgba(1,4,10,.20),transparent 12%,transparent 88%,rgba(1,4,10,.20))!important;
}
@media(max-width:900px){.nav{border:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}}

/* ============================================================
   v139 — Download platform chooser
   ============================================================ */
body.download-modal-open{
    overflow:hidden;
}
.download-game-modal{
    position:fixed;
    inset:0;
    z-index:2200;
    display:grid;
    place-items:center;
    padding:22px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease,visibility .22s ease;
}
.download-game-modal.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
.download-game-modal__backdrop{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 50% 34%,rgba(40,84,146,.18),transparent 42%),
        rgba(2,7,15,.78);
    backdrop-filter:blur(12px) saturate(.82);
    -webkit-backdrop-filter:blur(12px) saturate(.82);
}
.download-game-modal__panel{
    position:relative;
    z-index:1;
    width:min(720px,100%);
    padding:30px;
    border:1px solid rgba(116,174,244,.20);
    border-radius:24px;
    outline:none;
    overflow:hidden;
    background:
        radial-gradient(circle at 50% -24%,rgba(82,138,222,.22),transparent 48%),
        linear-gradient(180deg,rgba(13,27,48,.96),rgba(5,12,24,.98));
    box-shadow:
        0 34px 90px rgba(0,0,0,.58),
        0 0 70px rgba(34,91,168,.10),
        inset 0 1px 0 rgba(255,255,255,.055);
    transform:translateY(14px) scale(.975);
    transition:transform .26s cubic-bezier(.2,.8,.2,1);
}
.download-game-modal.is-open .download-game-modal__panel{
    transform:translateY(0) scale(1);
}
.download-game-modal__panel::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius:inherit;
    background:linear-gradient(110deg,rgba(255,255,255,.035),transparent 28%,transparent 72%,rgba(98,157,238,.035));
}
.download-game-modal__close{
    position:absolute;
    top:15px;
    right:15px;
    z-index:2;
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid rgba(255,255,255,.10);
    border-radius:12px;
    color:#b8c7d8;
    background:rgba(255,255,255,.035);
    cursor:pointer;
    font:400 25px/1 Arial,sans-serif;
    transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.download-game-modal__close:hover{
    color:#fff;
    border-color:rgba(125,181,247,.32);
    background:rgba(91,149,220,.10);
    transform:rotate(3deg);
}
.download-game-modal__head{
    position:relative;
    padding-right:54px;
}
.download-game-modal__kicker{
    display:block;
    margin-bottom:7px;
    color:#83b7ec;
    font-size:11px;
    font-weight:900;
    letter-spacing:.18em;
}
.download-game-modal__head h2{
    margin:0;
    color:#f7f3e8;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(28px,4vw,38px);
    line-height:1.05;
    letter-spacing:-.025em;
}
.download-game-modal__head p{
    margin:11px 0 0;
    color:#91a4b9;
    font-size:14px;
    line-height:1.55;
}
.download-game-modal__choices{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    margin-top:24px;
}
.download-choice{
    position:relative;
    min-height:128px;
    display:grid;
    grid-template-columns:52px minmax(0,1fr) 22px;
    align-items:center;
    gap:13px;
    padding:18px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:18px;
    color:#eaf2fb;
    text-decoration:none;
    overflow:hidden;
    isolation:isolate;
    background:linear-gradient(180deg,rgba(18,36,62,.78),rgba(7,17,32,.88));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 14px 32px rgba(0,0,0,.20);
    transition:transform .22s cubic-bezier(.2,.8,.2,1),border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.download-choice::after{
    content:"";
    position:absolute;
    z-index:-1;
    inset:auto -18% -58% 28%;
    height:110%;
    border-radius:50%;
    opacity:.34;
    filter:blur(16px);
    transition:opacity .2s ease,transform .3s ease;
}
.download-choice--android::after{
    background:radial-gradient(circle,rgba(77,205,137,.24),transparent 66%);
}
.download-choice--pc::after{
    background:radial-gradient(circle,rgba(82,145,239,.28),transparent 66%);
}
.download-choice:hover{
    transform:translateY(-3px);
    border-color:rgba(130,185,248,.28);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 20px 42px rgba(0,0,0,.28);
}
.download-choice:hover::after{
    opacity:.60;
    transform:translate(-4%,-6%) scale(1.06);
}
.download-choice--android:hover{
    border-color:rgba(102,221,162,.28);
}
.download-choice__icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.09);
    border-radius:15px;
    background:rgba(255,255,255,.035);
}
.download-choice__icon svg{
    width:27px;
    height:27px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.55;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.download-choice--android .download-choice__icon{
    color:#78dfaa;
    border-color:rgba(103,220,162,.18);
    background:rgba(79,196,137,.055);
}
.download-choice--pc .download-choice__icon{
    color:#8bc0ff;
    border-color:rgba(105,168,255,.20);
    background:rgba(79,139,222,.055);
}
.download-choice__copy{
    min-width:0;
}
.download-choice__copy small,
.download-choice__copy b,
.download-choice__copy em{
    display:block;
}
.download-choice__copy small{
    color:#7890aa;
    font-size:10px;
    font-weight:900;
    letter-spacing:.12em;
}
.download-choice__copy b{
    margin-top:5px;
    color:#f4f7fb;
    font-size:17px;
    line-height:1.15;
}
.download-choice__copy em{
    margin-top:6px;
    color:#8295aa;
    font-size:12px;
    line-height:1.35;
    font-style:normal;
}
.download-choice__arrow{
    color:#8093a8;
    font-size:20px;
    transition:transform .2s ease,color .2s ease;
}
.download-choice:hover .download-choice__arrow{
    color:#dbeaff;
    transform:translateX(3px);
}
.download-game-modal__note{
    margin:15px 2px 0;
    color:#6f8298;
    font-size:11px;
    line-height:1.45;
    text-align:center;
}

@media (max-width:680px){
    .download-game-modal{
        padding:14px;
        align-items:end;
    }
    .download-game-modal__panel{
        width:100%;
        padding:24px 16px 18px;
        border-radius:22px 22px 18px 18px;
    }
    .download-game-modal__head{
        padding-right:44px;
    }
    .download-game-modal__head h2{
        font-size:29px;
    }
    .download-game-modal__choices{
        grid-template-columns:1fr;
        gap:9px;
        margin-top:20px;
    }
    .download-choice{
        min-height:96px;
        grid-template-columns:46px minmax(0,1fr) 20px;
        padding:14px;
        border-radius:16px;
    }
    .download-choice__icon{
        width:46px;
        height:46px;
        border-radius:13px;
    }
    .download-choice__copy b{
        font-size:16px;
    }
}

@media (prefers-reduced-motion:reduce){
    .download-game-modal,
    .download-game-modal__panel,
    .download-choice,
    .download-choice::after,
    .download-choice__arrow,
    .download-game-modal__close{
        transition:none!important;
    }
}

/* ========================================================================
   v140 — VISUAL QUALITY & UX POLISH
   Hero spotlight, language-fit pass, motion preferences and final UI rhythm
   ======================================================================== */
:root{
    --ui-radius-sm:10px;
    --ui-radius-md:14px;
    --ui-radius-lg:20px;
    --ui-control-h:42px;
    --ui-control-h-lg:50px;
}

/* Final typography / language fit pass. Long English labels should wrap cleanly
   instead of changing card geometry or overflowing fixed controls. */
:is(.section-heading,.feature-copy,.cta-panel,.world-card,.premium-card,.download-game-modal__head) :is(h1,h2,h3),
.hero__copy :is(h1,h2,p),
.btn,
.nav a,
.download-choice__copy,
.footer__links a{
    min-width:0;
    overflow-wrap:anywhere;
}
:is(.section-heading,.feature-copy,.cta-panel,.download-game-modal__head) :is(h1,h2,h3),
.hero__tagline{
    text-wrap:balance;
}
:is(.hero__lead,.section-heading p,.feature-copy>p,.cta-panel p,.world-card p,.premium-card p){
    text-wrap:pretty;
}
.btn{
    min-height:var(--ui-control-h);
    border-radius:var(--ui-radius-md);
    line-height:1.2;
}
.btn--large{min-height:var(--ui-control-h-lg)}

/* v141: restored the stable v139 hero composition. */

/* Navigation quality pass: consistent hit targets, no layout jumps between RU/EN. */
.topbar .nav{
    gap:clamp(4px,.55vw,10px);
}
.topbar .nav>a{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding-inline:clamp(8px,.75vw,12px);
    border-radius:11px;
    text-align:center;
    line-height:1.15;
}
.topbar__right{flex:0 0 auto}
.lang-switch,.server-mini,.topbar__right .btn--small{min-height:36px}

/* Reduced motion can be enabled by the OS or from Account settings. */
html.reduced-motion{scroll-behavior:auto!important}
html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after{
    scroll-behavior:auto!important;
    animation-duration:.001ms!important;
    animation-delay:0s!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    transition-delay:0s!important;
}
html.reduced-motion .hero__rune,
html.reduced-motion .btn__shine,
html.reduced-motion .site-bg__art::before{
    animation:none!important;
}





/* v141 — hero regression fix: keep the stable launch proportions. */
.hero .btn--large{min-height:56px}
