/* ==============================================================
   UPLIFT  -  essence.game inspired visual layer (loaded last)
   - Philosopher display type, Mulish body text
   - deep plum-black ground, glassy cards with thin light borders
   - bronze framed primary button, translucent ghost button
   - centered section headers: gold kicker + bold sentence-case title
   - owner rules kept: max 3px corners, no left accent bars,
     no em dashes, Discord + TikTok only
   ============================================================== */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800&family=Philosopher:wght@400;700&display=swap');

:root {
    --up-bg:        #010314;
    --up-bg-2:      #0a0c22;
    --up-panel:     rgba(12, 14, 32, .88);
    --up-card:      rgba(255, 255, 255, .04);
    --up-card-2:    rgba(255, 255, 255, .07);
    --up-line:      rgba(255, 255, 255, .1);
    --up-line-2:    rgba(255, 255, 255, .2);
    --up-text:      #f6f0e8;
    --up-muted:     rgba(246, 240, 232, .64);
    --up-gold:      #e7c172;
    --up-gold-2:    #d19b25;
    --up-green:     #2ecc71;
    --up-head:      "Philosopher", Georgia, serif;
    --up-body:      "Mulish", "Manrope", Helvetica, Arial, sans-serif;
    --up-r:         3px;
    --body-font:    "Mulish", "Manrope", Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------------------
   1. Ground and type
   ------------------------------------------------------------ */
body, #wrapper, #content { background-color: var(--up-bg); }
body { font-family: var(--up-body); color: var(--up-text); }
#content p, footer p { font-family: var(--up-body); }
.st-section, .fz-section, .ev-section { background-color: var(--up-bg); }

/* section titles everywhere: bold sentence case, no italic serif mix */
.fz-title, .ev-title, .rs-title, .mi-title, .st-title, .sp-title, .vc-title,
.si-cta-title, .blog-page-title, .ft-lead-title, .up-title {
    font-family: var(--up-head) !important;
    font-weight: 700 !important;
    font-size: clamp(32px, 3.4vw, 48px) !important;
    line-height: 1.16 !important;
    letter-spacing: .015em !important;
    text-transform: none !important;
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .5) !important;
    margin: 0 0 14px;
}
.fz-title em, .ev-title em, .rs-title em, .mi-title em, .st-title em, .sp-title em,
.vc-title em, .si-cta-title em, .ft-lead-title em, .up-title em {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: inherit !important;
    font-size: 1em !important;
    color: var(--up-gold) !important;
}

/* kickers: small gold caps, no chapter numbers, no side lines */
.st-eyebrow-text, .vc-eyebrow-text, .hr-eyebrow-text, .fz-eyebrow-text, .ev-eyebrow-text,
.rs-eyebrow-text, .mi-eyebrow-text, .sr-eyebrow-text, .sp-eyebrow-text, .up-kicker {
    font-family: var(--up-body) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: var(--up-gold) !important;
}
.st-eyebrow-text::before, .vc-eyebrow-text::before, .hr-eyebrow-text::before, .fz-eyebrow-text::before,
.ev-eyebrow-text::before, .rs-eyebrow-text::before, .mi-eyebrow-text::before, .sr-eyebrow-text::before,
.sp-eyebrow-text::before { content: none !important; }
.st-eyebrow-line, .vc-eyebrow-line, .hr-eyebrow-line, .fz-eyebrow-line, .ev-eyebrow-line,
.rs-eyebrow-line, .mi-eyebrow-line, .sr-eyebrow-line, .sp-eyebrow-line { display: none !important; }

/* section headers: centered, one column */
.st-header, .vc-header, .hr-header, .fz-header, .ev-header, .rs-header, .mi-header, .sr-header, .sp-header, .up-head {
    display: block !important;
    max-width: 860px !important;
    margin: 0 auto 44px !important;
    text-align: center !important;
}
.st-eyebrow, .vc-eyebrow, .hr-eyebrow, .fz-eyebrow, .ev-eyebrow, .rs-eyebrow, .mi-eyebrow, .sr-eyebrow, .sp-eyebrow {
    display: flex !important;
    justify-content: center !important;
    margin: 0 0 12px !important;
}
.st-subtitle, .hr-subtitle, .fz-subtitle, .ev-subtitle, .rs-subtitle, .mi-subtitle, .sr-subtitle {
    max-width: 680px !important;
    margin: 0 auto !important;
    font-family: var(--up-body) !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    color: var(--up-muted) !important;
    text-align: center !important;
}
.up-head .up-kicker { display: block; margin-bottom: 12px; }
.up-head-left { margin-left: 0 !important; text-align: left !important; max-width: none !important; }

/* ------------------------------------------------------------
   2. Buttons
   ------------------------------------------------------------ */
.up-btn,
.el-btn-primary, .hero-btn-primary, .si-cta-btn, .hs-bar-cta, .dp-join,
.menu_side_area .btn-main22 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: var(--up-r) !important;
    font-family: var(--up-head) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease, background-color .2s ease, border-color .2s ease;
}
/* primary: bronze plate inside a pale gold hairline frame */
.up-btn-primary,
.el-btn-primary, .hero-btn-primary, .si-cta-btn, .hs-bar-cta, .dp-join,
.menu_side_area .btn-main22 {
    border: 1px solid transparent !important;
    background:
        linear-gradient(180deg, #d8a445 0%, #a8721f 48%, #6e4612 100%) padding-box,
        linear-gradient(180deg, #fbe7b4, #b98a3c 55%, #7a5a26) border-box !important;
    box-shadow: inset 0 1px 0 rgba(255, 236, 190, .55), 0 10px 26px -10px rgba(209, 155, 37, .7) !important;
    color: #fff !important;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .45) !important;
}
.up-btn-primary:hover,
.el-btn-primary:hover, .hero-btn-primary:hover, .si-cta-btn:hover, .hs-bar-cta:hover, .dp-join:hover,
.menu_side_area .btn-main22:hover {
    filter: brightness(1.12) saturate(1.05);
    color: #fff !important;
}
.up-btn-primary:active, .el-btn-primary:active, .menu_side_area .btn-main22:active { transform: translateY(1px); }
/* the earlier editorial layer drew an inner frame and a sheen: not in this style */
.el-btn-primary::before, .el-btn-primary::after, .hero-btn-primary::before, .hero-btn-primary::after,
.si-cta-btn::before, .si-cta-btn::after, .hs-bar-cta::before, .hs-bar-cta::after,
.dp-join::before, .dp-join::after { display: none !important; }
.menu_side_area .btn-main22::before, .menu_side_area .btn-main22:hover::before { display: none !important; }
footer .el-btn-primary, footer .el-btn-primary span, footer .el-btn-primary:hover { color: #fff !important; }
.el-btn-primary i, .hero-btn-primary i, .si-cta-btn i, .hs-bar-cta i, .dp-join i { transform: none !important; font-size: 13px; }

/* ghost: translucent glass */
.up-btn-ghost, .el-btn-ghost, .sp-btn, .vc-cta, .hr-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid var(--up-line-2) !important;
    border-radius: var(--up-r) !important;
    background: rgba(255, 255, 255, .1) !important;
    backdrop-filter: blur(8px);
    color: #fff !important;
    font-family: var(--up-body) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}
.up-btn-ghost:hover, .el-btn-ghost:hover, .sp-btn:hover, .vc-cta:hover, .hr-view-all:hover {
    background: rgba(255, 255, 255, .16) !important;
    border-color: rgba(255, 255, 255, .34) !important;
    color: #fff !important;
}
.up-btn-ghost i, .vc-cta i, .hr-view-all i { font-size: 14px; transform: none !important; }
.up-btn-discord {
    border: 1px solid #7983ff;
    background: #5865f2;
    color: #fff;
    font-family: var(--up-body) !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    text-transform: none;
}
.up-btn-discord:hover { background: #4752e0; color: #fff; }
.up-btn-block { width: 100%; }

/* small header button */
.menu_side_area .btn-main22 {
    min-height: 42px !important;
    height: auto !important;
    padding: 0 20px !important;
    font-size: 14px !important;
}

/* ------------------------------------------------------------
   3. Header: glass menu bar
   ------------------------------------------------------------ */
.el-strip { display: none !important; }
header.transparent { background: linear-gradient(180deg, rgba(1, 3, 20, .78), rgba(1, 3, 20, 0)); }
header.smaller {
    background: rgba(1, 3, 20, .92) !important;
    border-bottom: 1px solid var(--up-line) !important;
    backdrop-filter: blur(14px);
}
@media (min-width: 993px) {
    #mainmenu {
        padding: 4px !important;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: var(--up-r);
        background: rgba(255, 255, 255, .05);
        backdrop-filter: blur(10px);
    }
    #mainmenu > li { margin-right: 0 !important; }
    #mainmenu > li > a {
        padding: 9px 18px !important;
        border-radius: var(--up-r);
        font-family: var(--up-body) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
        color: var(--up-text) !important;
        transition: background-color .2s ease, color .2s ease;
    }
    #mainmenu > li > a:hover { background: rgba(255, 255, 255, .08); color: var(--up-gold) !important; }
}

/* ------------------------------------------------------------
   4. Hero
   ------------------------------------------------------------ */
.el-frame { display: none !important; }
.hero-eyebrow { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px 14px !important; margin-bottom: 18px !important; }
.hero-eyebrow-text {
    font-family: var(--up-body) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
    text-transform: none !important;
    color: var(--up-gold) !important;
}
.up-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 15px/1 var(--up-body);
    color: #fff;
}
.up-live i {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--up-green);
    box-shadow: 0 0 0 4px rgba(46, 204, 113, .18), 0 0 12px rgba(46, 204, 113, .7);
}
.hero-tagline {
    max-width: 560px !important;
    margin: 0 0 26px !important;
    font-family: var(--up-body) !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: rgba(246, 240, 232, .8) !important;
}

/* start box */
.up-start {
    max-width: 600px;
    padding: 18px;
    border: 1px solid var(--up-line);
    border-radius: var(--up-r);
    background: rgba(6, 8, 24, .66);
    backdrop-filter: blur(12px);
}
.up-start-title { margin: 0 0 14px !important; font: 700 16px/1.3 var(--up-body) !important; color: #fff !important; }
.up-start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.up-step {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--up-line);
    border-radius: var(--up-r);
    background: rgba(255, 255, 255, .04);
}
.up-step-head { display: flex; align-items: center; gap: 12px; }
.up-step-n, .up-row-n {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    font: 700 14px/1 var(--up-body);
    color: #fff;
}
.up-step-txt { display: grid; gap: 3px; }
.up-step-txt b { font: 700 16px/1.2 var(--up-body); color: #fff; }
.up-step-txt small { font: 500 12.5px/1.2 var(--up-body); color: var(--up-muted); }
.up-step .up-btn { width: 100%; }
.up-start-more {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 14px;
    font: 600 13px/1.3 var(--up-body);
    color: var(--up-muted);
    text-decoration: none;
}
.up-start-more:hover { color: var(--up-gold); }
.up-start-more i { font-size: 11px; }

/* server panel as a season card */
.srv-side { gap: 14px !important; }
.srv-row {
    border: 1px solid var(--up-line-2) !important;
    border-radius: var(--up-r) !important;
    background: var(--up-panel) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8) !important;
}
.srv-row::after { display: none !important; }
.srv-row:hover { border-color: rgba(231, 193, 114, .45) !important; }
.srv-name { font-family: var(--up-head) !important; font-weight: 700 !important; font-size: 30px !important; letter-spacing: .01em !important; }
.srv-name small { font-family: var(--up-head) !important; font-style: normal !important; color: var(--up-gold) !important; }
.srv-count b { font-family: var(--up-head) !important; font-weight: 700 !important; }
.srv-count > span {
    border: 1px solid var(--up-line) !important;
    border-radius: var(--up-r) !important;
    background: rgba(255, 255, 255, .05) !important;
}
.srv-kick, .srv-line { font-family: var(--up-body) !important; }

/* ------------------------------------------------------------
   5. Why us: character figure + feature plaques + headline numbers
   ------------------------------------------------------------ */
.up-why { position: relative; padding: 110px 0 100px; background: var(--up-bg); overflow: hidden; }
.up-why::before {
    content: "";
    position: absolute; inset: 0;
    background: url("../images/background/bg.jpg") center 40% / cover no-repeat;
    opacity: .2;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 68%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 68%, transparent 100%);
    pointer-events: none;
}
.up-why .container { position: relative; }
.up-why-wrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.up-why-figure { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.up-why-figure img {
    position: relative; z-index: 1;
    width: min(100%, 540px); height: auto;
    filter: drop-shadow(0 34px 34px rgba(0, 0, 0, .65));
}
.up-why-ring {
    position: absolute; left: 50%; top: 50%;
    width: 88%; aspect-ratio: 1;
    transform: translate(-50%, -46%);
    border: 1px solid rgba(231, 193, 114, .22);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(231, 193, 114, .2), rgba(209, 155, 37, .06) 62%, transparent 74%);
    box-shadow: inset 0 0 60px rgba(209, 155, 37, .12);
}
.up-why-ring::after {
    content: "";
    position: absolute; inset: 9%;
    border: 1px dashed rgba(231, 193, 114, .16);
    border-radius: 50%;
}
.up-why-body .up-head { margin-bottom: 30px !important; }
.up-why-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.up-why-item {
    display: flex; gap: 16px;
    padding: 20px;
    border: 1px solid var(--up-line);
    border-radius: var(--up-r);
    background: rgba(9, 11, 28, .74);
    backdrop-filter: blur(8px);
    transition: border-color .2s ease, transform .2s ease;
}
.up-why-item:hover { border-color: rgba(231, 193, 114, .45); transform: translateY(-2px); }
.up-why-ico {
    flex: 0 0 46px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    border: 1px solid rgba(231, 193, 114, .45);
    border-radius: var(--up-r);
    background: linear-gradient(180deg, rgba(216, 164, 69, .26), rgba(110, 70, 18, .2));
    color: var(--up-gold);
    font-size: 17px;
}
.up-why-item h3 { margin: 2px 0 6px !important; font: 700 20px/1.2 var(--up-head) !important; color: #fff !important; text-transform: none !important; }
.up-why-item p { margin: 0 !important; font: 400 14.5px/1.55 var(--up-body) !important; color: var(--up-muted) !important; }
.up-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    border: 1px solid var(--up-line);
    border-radius: var(--up-r);
    background: var(--up-line);
    overflow: hidden;
}
.up-stat { padding: 20px 10px 18px; text-align: center; background: #0b0d24; }
.up-stat b {
    display: block;
    font: 700 36px/1 var(--up-head);
    letter-spacing: .01em;
    background: linear-gradient(180deg, #fbe7b4, #d8a445 60%, #a8721f);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.up-stat span { display: block; margin-top: 9px; font: 800 11px/1.2 var(--up-body); letter-spacing: .12em; text-transform: uppercase; color: var(--up-muted); }

/* ------------------------------------------------------------
   6. Existing sections: tabs, panels, cards in the new language
   ------------------------------------------------------------ */
.st-section, .fz-section, .ev-section, .mi-section, .vc-section, .hr-section, .sr-section {
    padding-top: 96px !important;
    padding-bottom: 96px !important;
}
/* soft divider between sections */
.st-section::before, .mi-section::before, .vc-section::before, .hr-section::before, .sr-section::before, .up-join::before, .up-faq::before {
    content: "";
    position: absolute; left: 50%; top: 0; z-index: 2;
    width: min(1140px, 90%); height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
    pointer-events: none;
}
.mi-section, .vc-section, .hr-section, .sr-section, .up-join, .up-faq { position: relative; }

/* tabs */
.fz-tab, .ev-tab, .rs-tab, .mi-tab, .st-tab, .hr-tab, .gem-subtab {
    border: 1px solid var(--up-line) !important;
    border-radius: var(--up-r) !important;
    background: var(--up-card) !important;
    box-shadow: none !important;
    color: var(--up-text) !important;
    font-family: var(--up-body) !important;
    transition: background-color .2s ease, border-color .2s ease;
}
.fz-tab:hover, .ev-tab:hover, .rs-tab:hover, .mi-tab:hover, .st-tab:hover, .hr-tab:hover, .gem-subtab:hover {
    border-color: var(--up-line-2) !important;
    background: var(--up-card-2) !important;
}
.fz-tab.active, .ev-tab.active, .rs-tab.active, .mi-tab.active, .st-tab.active, .hr-tab.active, .gem-subtab.active {
    border-color: rgba(231, 193, 114, .65) !important;
    background: linear-gradient(180deg, rgba(216, 164, 69, .34), rgba(110, 70, 18, .3)) !important;
    box-shadow: inset 0 -2px 0 var(--up-gold), 0 10px 26px -14px rgba(209, 155, 37, .7) !important;
    color: #fff !important;
}
.fz-tab-label, .ev-tab-label, .mi-tab-name, .st-tab-name, .hr-tab-label {
    font-family: var(--up-body) !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
    text-transform: none !important;
    color: inherit !important;
}
.st-tab-num, .rs-tab-num {
    font-family: var(--up-head) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 26px !important;
    color: var(--up-gold) !important;
}
.mi-tab-sub, .st-tab-when { font-family: var(--up-body) !important; color: var(--up-muted) !important; }
.mi-tab.active .mi-tab-sub, .st-tab.active .st-tab-when { color: rgba(255, 255, 255, .78) !important; }
.hr-tab i, .mi-tab-arrow { color: var(--up-gold) !important; }

/* panels */
.st-panel, .fz-info, .ev-info, .mi-info, .hr-inner, .sr-card, .sr-note, .vc-text {
    border: 1px solid var(--up-line) !important;
    border-radius: var(--up-r) !important;
    background: var(--up-panel) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8) !important;
}
.vc-text { padding: 32px !important; }
.hr-frame { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
.hr-corner { display: none !important; }
.st-panel-title, .sr-card h3, .fz-info h3, .ev-info h3, .mi-info h3 {
    font-family: var(--up-head) !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: .01em !important;
    color: #fff !important;
}
.st-panel-title { font-size: 30px !important; }
.st-panel-desc, .st-point span, .vc-desc, .vc-point span, .sr-card p, .sr-note p,
.fz-info p, .ev-info p, .mi-info p, .mi-item-desc { font-family: var(--up-body) !important; }
.st-panel-badge {
    font-family: var(--up-head) !important;
    font-weight: 700 !important;
    color: rgba(231, 193, 114, .16) !important;
}
.st-point i, .vc-point i { color: var(--up-gold) !important; }
.fz-visual, .ev-visual, .mi-visual, .vc-video, .rs-video-stage {
    border: 1px solid var(--up-line-2) !important;
    border-radius: var(--up-r) !important;
    overflow: hidden;
}
.fz-zone-badge, .ev-zone-badge, .mi-visual-badge, .vc-video-label {
    border: 1px solid var(--up-line-2) !important;
    border-radius: var(--up-r) !important;
    background: rgba(1, 3, 20, .72) !important;
    backdrop-filter: blur(8px);
    font-family: var(--up-body) !important;
}
.sr-step {
    border: 1px solid rgba(255, 255, 255, .3) !important;
    border-radius: 50% !important;
    background: none !important;
    font-family: var(--up-body) !important;
    color: #fff !important;
}
.sr-platform {
    border: 1px solid var(--up-line) !important;
    border-radius: var(--up-r) !important;
    background: var(--up-card) !important;
    font-family: var(--up-body) !important;
}
/* rankings table */
#hrTable, #hrTable td, #hrTable th { font-family: var(--up-body) !important; }

/* ------------------------------------------------------------
   7. Join steps + Server Info card
   ------------------------------------------------------------ */
.up-join { padding: 96px 0 72px; background: var(--up-bg); }
.up-join-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.up-join-steps { display: grid; gap: 12px; }
.up-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 24px;
    border: 1px solid var(--up-line);
    border-radius: var(--up-r);
    background: rgba(255, 255, 255, .03);
    transition: border-color .2s ease, background-color .2s ease;
}
.up-row:hover { border-color: var(--up-line-2); background: rgba(255, 255, 255, .05); }
.up-row-n { width: 40px; height: 40px; font-size: 16px; }
.up-row-body h3 { margin: 0 0 6px !important; font: 700 24px/1.2 var(--up-head) !important; color: #fff !important; text-transform: none !important; }
.up-row-body p { margin: 0 !important; font: 400 15px/1.6 var(--up-body) !important; color: var(--up-muted) !important; }
.up-row .up-btn { min-width: 170px; }

.up-join-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    min-height: 100%;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--up-line-2);
    border-radius: var(--up-r);
    background: var(--up-bg-2);
    isolation: isolate;
}
.up-join-card-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center top; }
.up-join-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(1, 3, 20, .2) 0%, rgba(1, 3, 20, .82) 45%, rgba(1, 3, 20, .97) 100%);
}
.up-join-card .up-kicker { margin: 0; }
.up-join-card-title { margin: 0 !important; font: 700 32px/1.15 var(--up-head) !important; color: #fff !important; text-transform: none !important; }
.up-join-card > p { margin: 0 !important; font: 400 15px/1.6 var(--up-body) !important; color: var(--up-muted) !important; }
.up-join-links { list-style: none; margin: 4px 0 6px; padding: 0; border-top: 1px solid var(--up-line); }
.up-join-links li { border-bottom: 1px solid var(--up-line); }
.up-join-links a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 2px;
    font: 600 15px/1.2 var(--up-body);
    color: var(--up-text);
    text-decoration: none;
}
.up-join-links a:hover { color: var(--up-gold); }
.up-join-links i { font-size: 12px; color: var(--up-gold); }

/* ------------------------------------------------------------
   8. FAQ
   ------------------------------------------------------------ */
.up-faq { padding: 72px 0 110px; background: var(--up-bg); }
.up-faq-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.up-faq-list { display: grid; gap: 8px; }
.up-q {
    border: 1px solid #23264a;
    border-radius: var(--up-r);
    background: #10122a;
    transition: border-color .2s ease;
}
.up-q[open] { border-color: rgba(231, 193, 114, .35); }
.up-q summary {
    position: relative;
    padding: 20px 56px 20px 22px;
    list-style: none;
    cursor: pointer;
    font: 600 17px/1.35 var(--up-body);
    color: #fff;
}
.up-q summary::-webkit-details-marker { display: none; }
.up-q summary::after {
    content: "";
    position: absolute; right: 24px; top: 50%;
    width: 9px; height: 9px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
}
.up-q[open] summary { color: var(--up-gold); }
.up-q[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.up-q p { margin: 0 !important; padding: 0 22px 20px; font: 400 15.5px/1.65 var(--up-body) !important; color: var(--up-muted) !important; }
.up-faq-art { position: relative; align-self: stretch; min-height: 420px; }
.up-faq-art img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--up-r);
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 55%, transparent 100%);
            mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 55%, transparent 100%);
}

/* ------------------------------------------------------------
   9. Footer + Discord popup in the same type
   ------------------------------------------------------------ */
footer { background-color: var(--up-bg) !important; }
footer h5, .ft-col h5 { font-family: var(--up-head) !important; font-weight: 700 !important; letter-spacing: .02em !important; text-transform: none !important; }
.ft-lead-kicker { font-family: var(--up-body) !important; }
.dp-title { font-family: var(--up-head) !important; font-weight: 700 !important; }
.dp-title em { font-family: inherit !important; font-style: normal !important; }
.dp-box { border-radius: var(--up-r) !important; border-color: var(--up-line-2) !important; background: var(--up-panel) !important; }

/* ------------------------------------------------------------
   10. Responsive
   ------------------------------------------------------------ */
@media (max-width: 991px) {
    .up-start { margin-left: auto; margin-right: auto; }
    .hero-eyebrow { justify-content: center; }
    .up-join-grid, .up-faq-grid { grid-template-columns: 1fr; }
    .up-faq-art { display: none; }
    .up-head-left { text-align: center !important; }
    .st-section, .fz-section, .ev-section, .mi-section, .vc-section, .hr-section, .sr-section { padding-top: 72px !important; padding-bottom: 72px !important; }
}
@media (max-width: 767px) {
    .up-row { grid-template-columns: auto minmax(0, 1fr); }
    .up-row .up-btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 575px) {
    .up-start-grid { grid-template-columns: 1fr; }
    .up-row { padding: 18px; gap: 14px; }
    .up-join-card { padding: 22px; }
    .up-q summary { font-size: 16px; padding: 18px 48px 18px 18px; }
}

/* ------------------------------------------------------------
   11. Section polish
   ------------------------------------------------------------ */
/* old gold fill overlays on tabs: the new active state replaces them */
.fz-tab::before, .ev-tab::before, .mi-tab::before { display: none !important; }

/* farming zones + events: wide tabs with the icon beside the label */
.fz-tabs, .ev-tabs { gap: 8px !important; margin-bottom: 28px !important; }
.fz-tab, .ev-tab {
    flex: 1 1 0;
    flex-direction: row !important;
    justify-content: center;
    gap: 10px !important;
    min-width: 0 !important;
    min-height: 60px;
    padding: 10px 14px !important;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--up-muted) !important;
}
.fz-tab.active, .ev-tab.active, .fz-tab:hover, .ev-tab:hover { color: #fff !important; }
.fz-tab .imgfeature, .ev-tab .imgfeature { width: 30px !important; height: 30px !important; border-radius: var(--up-r); }
.fz-tab-label, .ev-tab-label { white-space: nowrap; }

/* unique items: tighter tab rows */
.mi-sidebar { gap: 6px !important; }
.mi-tab { padding: 12px 16px !important; gap: 14px !important; }
.mi-tab .imgfeature { width: 36px !important; height: 36px !important; }
.mi-tab-name { font-size: 15px !important; }
.mi-tab-sub { font-size: 12px !important; }

/* stages: wider panel, points in two columns so the shared height stays short */
.st-panels { max-width: 1040px !important; }
.st-panel { padding: 34px 40px !important; }
.st-points { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; }
.st-tabs { max-width: 1040px; margin-left: auto !important; margin-right: auto !important; }

/* FAQ art: softer fade on every edge */
.up-faq-art img {
    -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 40%, transparent 100%);
            mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 40%, transparent 100%);
}

@media (max-width: 1199px) {
    .fz-tabs, .ev-tabs { flex-wrap: wrap !important; }
    .fz-tab, .ev-tab { flex: 1 1 calc(25% - 8px); }
}
@media (max-width: 767px) {
    .st-points { grid-template-columns: 1fr; }
    .st-panel { padding: 26px 20px !important; }
    .fz-tab, .ev-tab { flex: 1 1 calc(50% - 8px); min-height: 52px; font-size: 13px !important; }
}
.st-section { min-height: 0 !important; }

/* ------------------------------------------------------------
   12. Sub-pages: shared title font, tab buttons
   ------------------------------------------------------------ */
:root { --title-font: "Philosopher", Georgia, serif; }
h1, h2, h3, h4, h5, h6 { font-family: var(--up-head); font-weight: 700; letter-spacing: .01em; }
.tab-btn, .tab-btn a {
    font-family: var(--up-body) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

/* ------------------------------------------------------------
   13. Painted artwork: hero, stages, figures
   ------------------------------------------------------------ */
/* hero: key art with a slow drift, darkened on both sides for the text and cards */
.hero-media { background: #07060c !important; overflow: hidden; }
.up-hero-art {
    position: absolute; inset: 0;
    background: url("../images/background/hero-art.jpg") center 42% / cover no-repeat;
    transform-origin: 50% 45%;
    animation: upHeroDrift 30s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes upHeroDrift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(1, 3, 20, .86) 0%, rgba(1, 3, 20, .5) 30%, rgba(1, 3, 20, .12) 52%, rgba(1, 3, 20, .46) 74%, rgba(1, 3, 20, .82) 100%),
        linear-gradient(180deg, rgba(1, 3, 20, .55) 0%, rgba(1, 3, 20, 0) 22%, rgba(1, 3, 20, 0) 62%, var(--up-bg) 100%);
}
.hero-v2.topz-darken::before { background: none !important; }
.hero-v2 .de-gradient-edge-top, .hero-v2 .de-gradient-edge-bottom { display: none !important; }

/* stages: one sharp painting behind the tabs */
.up-stages-art {
    background-image: url("../images/background/stages-art.jpg") !important;
    background-position: center 34% !important;
    transform: none !important;
}
.st-video-overlay {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .42) 20%, rgba(1, 3, 20, .5) 62%, var(--up-bg) 100%),
        radial-gradient(ellipse 70% 60% at 50% 45%, rgba(1, 3, 20, .1), rgba(1, 3, 20, .55) 100%) !important;
}
.st-section::before, .st-section::after { display: none !important; }

/* FAQ: standing figure with a glow instead of a boxed screenshot */
.up-faq-art { display: flex; align-items: flex-end; justify-content: center; min-height: 0; }
.up-faq-art img {
    position: relative; z-index: 1; inset: auto;
    width: min(100%, 520px); height: auto;
    object-fit: contain;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6));
}
.up-faq-glow {
    position: absolute; left: 50%; top: 46%;
    width: 84%; aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(120, 110, 255, .2), rgba(88, 101, 242, .06) 60%, transparent 74%);
}

/* streamer rewards: the coin-pouch figure stands beside the steps on wide screens */
.sr-section .container { position: relative; }
.up-sr-figure { display: none; }
@media (min-width: 1400px) {
    .up-sr-figure {
        display: block;
        position: absolute; right: -30px; bottom: -96px; z-index: 0;
        width: auto; height: 520px;
        -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
                mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
        filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6));
        pointer-events: none;
    }
    .sr-section .sr-header, .sr-section .sr-grid, .sr-section .sr-note, .sr-section .sr-platforms { position: relative; z-index: 1; }
}

/* header: breathing room above the menu bar */
@media (min-width: 993px) {
    header.transparent:not(.smaller) { padding-top: 14px; }
}

@media (max-width: 991px) {
    .up-hero-art { background-image: url("../images/background/hero-art-1280.jpg"); background-position: center top; animation: none; transform: none; }
    .hero-media::after {
        background: linear-gradient(180deg, rgba(1, 3, 20, .5) 0%, rgba(1, 3, 20, .62) 40%, var(--up-bg) 100%);
    }
    .up-stages-art { background-image: url("../images/background/stages-art-1280.jpg") !important; }
    .up-why-wrap { grid-template-columns: 1fr; gap: 20px; }
    .up-why-figure img { width: min(78%, 380px); }
    .up-why-ring { width: min(78%, 380px); }
    .up-why { padding: 72px 0; }
}
@media (max-width: 575px) {
    .up-why-list { grid-template-columns: 1fr; }
    .up-stats { grid-template-columns: 1fr 1fr; }
    .up-stat b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .up-hero-art { animation: none; }
}

/* ------------------------------------------------------------
   14. Bigger figures, painted section backdrops, ultra-wide hero
   ------------------------------------------------------------ */
/* stages: let more of the painting through */
.st-video-overlay {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .2) 22%, rgba(1, 3, 20, .3) 60%, var(--up-bg) 100%),
        radial-gradient(ellipse 75% 65% at 50% 42%, rgba(1, 3, 20, 0), rgba(1, 3, 20, .5) 100%) !important;
}

/* figures stand tall, like key art, and may overhang their column */
.up-why::before { opacity: .3; }
.up-why-figure img { width: 122%; max-width: 700px; margin: 0 -11%; }
.up-why-ring { width: 104%; }
.up-faq-art img { width: 116%; max-width: 660px; margin: 0 -8%; }
.up-faq-glow { width: 100%; }
.up-faq-grid { align-items: end; }
.up-faq { padding-bottom: 0; overflow: hidden; }
.up-faq-main { padding-bottom: 110px; }

/* painted backdrops behind the plain sections */
.vc-section {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .8) 26%, rgba(1, 3, 20, .84) 72%, var(--up-bg) 100%),
        url("../images/background/main.jpg") center 40% / cover no-repeat !important;
}
.hr-section {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .82) 26%, rgba(1, 3, 20, .86) 72%, var(--up-bg) 100%),
        url("../images/background/baiumbg.jpg") center 22% / cover no-repeat !important;
}
.sr-section {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .86) 28%, rgba(1, 3, 20, .9) 72%, var(--up-bg) 100%),
        url("../images/background/about.jpg") center / cover no-repeat !important;
}
.up-join {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .84) 28%, rgba(1, 3, 20, .9) 70%, var(--up-bg) 100%),
        url("../images/background/hero-art-1280.jpg") center 30% / cover no-repeat;
}
.up-join-card-bg { background-position: center 12%; }

@media (min-width: 1400px) {
    .up-sr-figure { height: 640px; right: -90px; bottom: -96px; }
}
/* ultra-wide screens: spread the hero and the header like the content is on a 1920 frame */
@media (min-width: 2200px) {
    .hero-v2 .container, header .container { max-width: 1920px; }
    .hero-tagline { font-size: 20px !important; max-width: 620px !important; }
    .up-start { max-width: 660px; padding: 22px; }
    .srv-side { transform: scale(1.1); transform-origin: right center; }
}
@media (max-width: 991px) {
    .up-why-figure img { width: min(82%, 400px); margin: 0; }
    .up-why-ring { width: min(82%, 400px); }
    .up-faq-main { padding-bottom: 72px; }
}

/* ------------------------------------------------------------
   15. Review fixes
   ------------------------------------------------------------ */
.vc-title::after { display: none !important; }

/* streamer rewards: the figure gets its own column, never under the cards */
.up-sr-figure { display: none !important; }
@media (min-width: 1200px) {
    .sr-section { overflow: hidden; }
    .sr-section .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        column-gap: 32px;
        align-items: start;
    }
    .sr-section .container > * { grid-column: 1; }
    .sr-section .sr-header, .sr-section .sr-grid, .sr-section .sr-note { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
    .sr-section .sr-header { text-align: left !important; }
    .sr-section .sr-eyebrow { justify-content: flex-start !important; }
    .sr-section .sr-subtitle { margin-left: 0 !important; text-align: left !important; }
    .sr-section .sr-platforms { justify-content: flex-start; align-items: flex-start; }
    .up-sr-figure {
        display: block !important;
        position: relative; right: auto; bottom: auto; z-index: 0;
        grid-column: 2 !important; grid-row: 1 / span 6;
        align-self: end;
        width: 165%; max-width: none; height: auto;
        margin: 0 0 -110px -32%;
        -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
                mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
        filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6));
        pointer-events: none;
    }
}

/* social rail only where there is real margin for it; the floating Discord button covers the rest */
@media (max-width: 1499px) {
    .el-rail { display: none !important; }
    .el-rail ~ #content .floating-btnz { display: flex !important; }
}
@media (min-width: 1200px) and (max-width: 1399px) { .hero-v2 .container { padding-right: 32px; } }
@media (min-width: 1400px) and (max-width: 1499px) { .hero-v2 .container { padding-right: 40px; } }
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-v2 .container { padding-left: 24px; padding-right: 24px; }
}
/* small laptops and tablets in landscape: keep the menu on one line */
@media (min-width: 993px) and (max-width: 1299px) {
    #mainmenu > li > a { padding: 8px 10px !important; font-size: 14px !important; }
    #mainmenu { white-space: nowrap; }
}

/* phones and small tablets */
@media (max-width: 991px) {
    /* item tabs: a swipe row where the next tab always peeks in */
    .mi-sidebar { scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
    .mi-tab { width: auto !important; flex: 0 0 auto !important; min-width: 190px !important; scroll-snap-align: start; }
    .mi-tab-arrow { display: none !important; }
    .hero-media::after {
        background: linear-gradient(180deg, rgba(1, 3, 20, .36) 0%, rgba(1, 3, 20, .56) 42%, var(--up-bg) 100%);
    }
}
@media (max-width: 767px) {
    .st-tabs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
    .st-tab { padding: 12px !important; gap: 10px !important; }
    .st-tab-num { font-size: 22px !important; }
}

/* ------------------------------------------------------------
   16. Seamless section joins, footer, socials, countdown, Nova card
   ------------------------------------------------------------ */
/* no hairlines where painted sections meet: the fades do the work */
.st-section::before, .up-join::before, .sr-section::after, .sr-section::before { display: none !important; }

/* why: longer fades top and bottom so it melts into the hero and the stages */
.up-why { padding: 130px 0 120px; }
.up-why::before {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 22%, #000 40%, #000 60%, rgba(0, 0, 0, .5) 80%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 22%, #000 40%, #000 60%, rgba(0, 0, 0, .5) 80%, transparent 100%);
}
/* hero bottom and stages top: longer, softer fades into the page colour */
@media (min-width: 992px) {
    .hero-media::after {
        background:
            linear-gradient(90deg, rgba(1, 3, 20, .86) 0%, rgba(1, 3, 20, .5) 30%, rgba(1, 3, 20, .12) 52%, rgba(1, 3, 20, .46) 74%, rgba(1, 3, 20, .82) 100%),
            linear-gradient(180deg, rgba(1, 3, 20, .55) 0%, rgba(1, 3, 20, 0) 22%, rgba(1, 3, 20, 0) 52%, rgba(1, 3, 20, .7) 82%, var(--up-bg) 100%);
    }
}
.st-video-overlay {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .72) 10%, rgba(1, 3, 20, .22) 28%, rgba(1, 3, 20, .3) 62%, rgba(1, 3, 20, .8) 88%, var(--up-bg) 100%),
        radial-gradient(ellipse 75% 65% at 50% 42%, rgba(1, 3, 20, 0), rgba(1, 3, 20, .5) 100%) !important;
}
.st-section { padding-top: 130px !important; }

/* streamer -> join: the figure fades out fully before the section ends, and the join block gets air */
@media (min-width: 1200px) {
    .up-sr-figure {
        margin-bottom: -96px;
        -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 97%);
                mask-image: linear-gradient(180deg, #000 62%, transparent 97%);
    }
}
.sr-section { padding-bottom: 110px !important; }
.up-join { padding-top: 120px; }

/* footer: no rule under the closing line, borderless social icons */
.ft-lead { border-bottom: 0 !important; padding-bottom: 28px !important; }
footer .social-icons a, footer .social-icons a i,
.social-icons a, .social-icons a i {
    border: 0 !important;
    box-shadow: none !important;
}
footer .social-icons a {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, .06) !important;
    color: var(--up-gold) !important;
    transition: background-color .2s ease, color .2s ease;
}
footer .social-icons a:hover { background: rgba(231, 193, 114, .16) !important; color: #fff !important; }

/* rail: Instagram and Facebook */
.el-rail-instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.el-rail-facebook { background: #1877f2; }

/* voice chat: icons centred against their text */
.vc-point { align-items: center !important; }
.vc-point i { margin-top: 0 !important; }

/* countdown: equal tiles, number centred, unit underneath */
.srv-count { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: stretch; margin: 16px 0 4px !important; }
.srv-count > span {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    gap: 6px !important;
    margin: 0 !important;
    padding: 12px 4px 10px !important;
    border: 1px solid var(--up-line) !important;
    border-radius: var(--up-r) !important;
    background: rgba(255, 255, 255, .05) !important;
}
.srv-count b { justify-content: center; font-size: 32px !important; line-height: 1 !important; }
.srv-count i { font-family: var(--up-body) !important; font-size: 10px !important; font-weight: 800 !important; letter-spacing: .16em !important; line-height: 1; margin: 0 !important; }

/* Nova: the launch card carries a gold frame, a warm glow and gold numerals */
.srv-row.is-new {
    border: 1px solid transparent !important;
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(231, 193, 114, .2), transparent 70%) padding-box,
        linear-gradient(180deg, rgba(30, 24, 14, .94), rgba(12, 13, 30, .94)) padding-box,
        linear-gradient(180deg, #fbe7b4, #c7953b 45%, rgba(122, 90, 38, .55)) border-box !important;
    box-shadow: 0 0 0 1px rgba(231, 193, 114, .12), 0 26px 70px -22px rgba(209, 155, 37, .7), inset 0 1px 0 rgba(255, 236, 190, .28) !important;
    animation: upNovaGlow 3.6s ease-in-out infinite alternate;
}
@keyframes upNovaGlow {
    from { box-shadow: 0 0 0 1px rgba(231, 193, 114, .1), 0 22px 60px -24px rgba(209, 155, 37, .55), inset 0 1px 0 rgba(255, 236, 190, .28); }
    to   { box-shadow: 0 0 0 1px rgba(231, 193, 114, .22), 0 30px 84px -18px rgba(209, 155, 37, .9), inset 0 1px 0 rgba(255, 236, 190, .28); }
}
.srv-row.is-new:hover { border-color: transparent !important; filter: brightness(1.06); }
.srv-row.is-new .srv-name { font-size: 34px !important; }
.srv-row.is-new .srv-name small { font-size: .72em; }
.srv-row.is-new .srv-status {
    border: 1px solid transparent !important;
    border-radius: var(--up-r) !important;
    background: linear-gradient(180deg, #d8a445, #a8721f) !important;
    color: #1a1206 !important;
    box-shadow: 0 6px 16px -6px rgba(209, 155, 37, .8);
}
.srv-row.is-new .srv-status i { background: #1a1206 !important; box-shadow: none !important; }
.srv-row.is-new .srv-status span { color: #1a1206 !important; }
.srv-row.is-new .srv-count > span {
    border-color: rgba(231, 193, 114, .38) !important;
    background: linear-gradient(180deg, rgba(216, 164, 69, .2), rgba(110, 70, 18, .14)) !important;
}
.srv-row.is-new .srv-count b {
    background: linear-gradient(180deg, #fff3d2, #e7c172 60%, #c7953b);
    -webkit-background-clip: text; background-clip: text;
    color: transparent !important;
}
.srv-row.is-new .srv-count b span { color: transparent; }
@media (prefers-reduced-motion: reduce) { .srv-row.is-new { animation: none; } }
/* gentler first step of the stages fade */
.st-video-overlay {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .94) 6%, rgba(1, 3, 20, .8) 13%, rgba(1, 3, 20, .55) 21%, rgba(1, 3, 20, .26) 32%, rgba(1, 3, 20, .3) 60%, rgba(1, 3, 20, .62) 78%, rgba(1, 3, 20, .9) 92%, var(--up-bg) 100%),
        radial-gradient(ellipse 75% 65% at 50% 42%, rgba(1, 3, 20, 0), rgba(1, 3, 20, .5) 100%) !important;
}

/* ------------------------------------------------------------
   17. Section header bands with a character figure
       (generated art lives in images/art/)
   ------------------------------------------------------------ */
.up-hd-fig {
    display: block;
    width: auto;
    background: radial-gradient(closest-side, rgba(231, 193, 114, .17), rgba(209, 155, 37, .05) 62%, transparent 76%);
    -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 99%);
            mask-image: linear-gradient(180deg, #000 74%, transparent 99%);
    filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .6));
    pointer-events: none;
}
@media (min-width: 992px) {
    .up-hd.up-hd {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 48px;
        align-items: end;
        max-width: none !important;
        margin: 0 0 30px !important;
        text-align: left !important;
    }
    .up-hd.up-hd-left { grid-template-columns: auto minmax(0, 1fr); }
    .up-hd-left .up-hd-fig { order: -1; }
    .up-hd-text { max-width: 780px; padding-bottom: 34px; }
    .up-hd .st-eyebrow, .up-hd .vc-eyebrow, .up-hd .hr-eyebrow, .up-hd .fz-eyebrow, .up-hd .ev-eyebrow, .up-hd .mi-eyebrow { justify-content: flex-start !important; }
    .up-hd .hr-subtitle, .up-hd .fz-subtitle, .up-hd .ev-subtitle, .up-hd .mi-subtitle { margin-left: 0 !important; text-align: left !important; }
    .up-hd-fig { height: clamp(330px, 26vw, 470px); margin: 0 12px -30px; }
    /* the band is tall, so these sections need less air above it */
    .fz-section, .ev-section, .mi-section, .vc-section, .hr-section { padding-top: 64px !important; }
}
@media (max-width: 991px) {
    .up-hd.up-hd { display: flex !important; flex-direction: column-reverse; align-items: center; }
    .up-hd-fig { height: 250px; margin: 0 auto 10px; }
}

/* painted backdrops generated for these sections */
.mi-section {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .86) 14%, rgba(1, 3, 20, .72) 46%, rgba(1, 3, 20, .9) 80%, var(--up-bg) 100%) center top / 100% 49.3vw no-repeat,
        url("../images/art/bg-forge.jpg") center top / 100% auto no-repeat !important;
}
.hr-section { padding-top: 64px !important; }
}
@media (max-width: 991px) {
    .up-hd.up-hd { display: flex !important; flex-direction: column-reverse; align-items: center; }
    .up-hd-fig { height: 250px; margin: 0 auto 10px; }
}

/* painted backdrops generated for these sections */
.mi-section {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .9) 12%, rgba(1, 3, 20, .8) 30%, rgba(1, 3, 20, .88) 62%, var(--up-bg) 100%),
        url("../images/art/bg-forge.jpg") center top / 100% auto no-repeat !important;
}
.hr-section {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .88) 12%, rgba(1, 3, 20, .74) 34%, rgba(1, 3, 20, .84) 70%, var(--up-bg) 100%),
        url("../images/art/bg-arena.jpg") center 30% / cover no-repeat !important;
}
.vc-section {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .88) 12%, rgba(1, 3, 20, .76) 34%, rgba(1, 3, 20, .86) 70%, var(--up-bg) 100%),
        url("../images/art/bg-town.jpg") center 35% / cover no-repeat !important;
}
.up-join {
    background:
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .9) 14%, rgba(1, 3, 20, .78) 36%, rgba(1, 3, 20, .88) 72%, var(--up-bg) 100%),
        url("../images/art/bg-gates.jpg") center 30% / cover no-repeat;
}

/* Server Info card: the repainted epic boss rises behind the text */
.up-join-card {
    min-height: 640px;
    background:
        radial-gradient(ellipse 85% 46% at 50% 24%, rgba(150, 96, 255, .26), transparent 70%),
        radial-gradient(ellipse 70% 40% at 50% 30%, rgba(255, 120, 40, .12), transparent 70%),
        var(--up-bg-2);
}
.up-join-card-fig {
    position: absolute; z-index: -2;
    top: 14px; left: 50%;
    height: 66%; width: auto; max-width: none;
    transform: translateX(-50%);
    pointer-events: none;
}
.up-join-card::before {
    background: linear-gradient(180deg, rgba(1, 3, 20, 0) 0%, rgba(1, 3, 20, .1) 34%, rgba(1, 3, 20, .86) 58%, rgba(1, 3, 20, .98) 100%);
}
@media (max-width: 991px) { .up-join-card { min-height: 600px; } }

/* the three older figures were trimmed to their outline when converted to WebP */
.up-why-figure img { width: 94%; max-width: 540px; margin: 0; }
.up-faq-art img { width: 78%; max-width: 450px; margin: 0; }
@media (min-width: 1200px) {
    .up-sr-figure { width: 110%; margin: 0 0 -96px -4%; }
}
@media (max-width: 991px) {
    .up-why-figure img { width: min(64%, 310px); }
    .up-faq-art img { width: min(58%, 280px); }
}

/* ------------------------------------------------------------
   18. Header spacing, no header lines, Nova schedule (OBT + launch)
   ------------------------------------------------------------ */
header, header.smaller, header.transparent { border-bottom: 0 !important; }
@media (min-width: 993px) {
    /* top of the page: generous air above and below the menu bar */
    header.transparent:not(.smaller) { padding: 26px 0 26px !important; }
    /* scrolled: a slim solid bar with its own padding, and the menu loses its box */
    header.smaller {
        padding: 12px 0 !important;
        box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .75);
    }
    header.smaller #mainmenu {
        border-color: transparent !important;
        background: transparent !important;
        backdrop-filter: none !important;
    }
}

/* Nova card: two dated rows, open beta first */
.srv-dates { display: grid; gap: 6px; margin: 4px 0 2px; }
.srv-date {
    display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px;
    margin: 0 !important;
    font: 600 13.5px/1.3 var(--up-body) !important;
    color: var(--up-muted) !important;
}
.srv-date i { font-size: 12px; color: var(--up-gold); text-align: center; }
.srv-date em { font-style: normal; font-weight: 700; color: #f6e3b0; white-space: nowrap; }
.srv-date-obt {
    padding: 8px 10px;
    margin: 0 -10px !important;
    border: 1px dashed rgba(231, 193, 114, .45);
    border-radius: var(--up-r);
    background: rgba(231, 193, 114, .08);
    color: #fff !important;
}
.srv-date-obt .srv-date-name { font-weight: 800; }
@media (max-width: 420px) {
    .srv-date { grid-template-columns: 18px minmax(0, 1fr); row-gap: 2px; }
    .srv-date em { grid-column: 2; }
}

/* ------------------------------------------------------------
   19. User Panel label is white in every link state; wide figures
   ------------------------------------------------------------ */
.menu_side_area a.btn-main22,
.menu_side_area a.btn-main22:link,
.menu_side_area a.btn-main22:visited,
.menu_side_area a.btn-main22:hover,
.menu_side_area a.btn-main22:focus,
.menu_side_area a.btn-main22:active,
header.smaller .menu_side_area a.btn-main22 {
    color: #fff !important;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .45) !important;
}
.menu_side_area a.btn-main22 span { color: #fff !important; }

/* a figure wider than it is tall (the elf with her winged bow) is sized by width */
@media (min-width: 992px) {
    .up-hd-fig.up-hd-fig-wide { height: auto; width: clamp(380px, 33vw, 540px); margin-bottom: -22px; }
}
@media (max-width: 991px) {
    .up-hd-fig.up-hd-fig-wide { height: auto; width: min(100%, 340px); }
}

/* ------------------------------------------------------------
   20. Stages showcase (js/stages.js)
       figure + numeral left, points right, painted backdrop per stage,
       four large tabs with a progress bar on the active one
   ------------------------------------------------------------ */
.st-section.stx {
    position: relative;
    display: block !important;
    min-height: 0 !important;
    padding: 120px 0 104px !important;
    overflow: hidden;
    background: var(--up-bg) !important;
}
.stx-bgs { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.stx-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center 38%; background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s ease;
    will-change: opacity, transform;
}
.stx-bg.active { opacity: 1; animation: stxDrift 20s ease-in-out infinite alternate; }
@keyframes stxDrift { from { transform: scale(1.04) translate3d(-1%, 0, 0); } to { transform: scale(1.13) translate3d(1.5%, -1%, 0); } }
.stx-shade {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(90deg, var(--up-bg) 0%, rgba(1, 3, 20, .9) 24%, rgba(1, 3, 20, .5) 50%, rgba(1, 3, 20, .28) 76%, rgba(1, 3, 20, .5) 100%),
        linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .78) 9%, rgba(1, 3, 20, .2) 26%, rgba(1, 3, 20, 0) 44%, rgba(1, 3, 20, .1) 66%, rgba(1, 3, 20, .78) 90%, var(--up-bg) 100%);
}
.stx-wrap { position: relative; z-index: 2; }
.stx .stx-head { margin-bottom: 8px !important; }
.stx .st-subtitle { text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }

/* --- the stage itself --- */
.stx-stage { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 48px; align-items: end; }
.stx-left { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; }
.stx-figs { position: absolute; left: 0; right: 0; top: 0; height: 500px; }
.stx-plate {
    position: absolute; left: 0; top: 6px;
    display: flex; align-items: flex-start; justify-content: center;
    width: 280px; height: 280px; padding-top: 26px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--up-r);
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    backdrop-filter: blur(6px);
}
.stx-plate-num {
    font: 700 150px/1 var(--up-head);
    letter-spacing: .04em;
    background: linear-gradient(180deg, #fff 0%, #f3dfae 42%, rgba(231, 193, 114, .08) 96%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.stx-fig {
    position: absolute; left: 34px; bottom: 0;
    height: 100%; width: auto; max-width: 92%;
    object-fit: contain; object-position: left bottom;
    opacity: 0; transform: translate3d(-18px, 10px, 0);
    transition: opacity .55s ease, transform .55s ease;
    -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 98%);
            mask-image: linear-gradient(180deg, #000 66%, transparent 98%);
    pointer-events: none;
}
.stx-fig.active { opacity: 1; transform: none; }

.stx-infos { position: relative; z-index: 2; display: grid; }
.stx-info { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.stx-info.active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.stx-name {
    margin: 0 !important;
    font: 700 clamp(28px, 2.7vw, 42px)/1.12 var(--up-head) !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    text-shadow: 0 3px 20px rgba(0, 0, 0, .7);
}
.stx-name-num { color: var(--up-gold); }
.stx-rule {
    position: relative; display: block;
    width: min(100%, 560px); height: 1px; margin: 18px 0 16px;
    background: linear-gradient(90deg, var(--up-gold) 0%, rgba(231, 193, 114, .5) 40%, transparent 100%);
}
.stx-rule::before {
    content: "";
    position: absolute; left: 0; top: 50%;
    width: 9px; height: 9px;
    transform: translate(-2px, -50%) rotate(45deg);
    border: 1px solid var(--up-gold);
    background: var(--up-bg);
}
.stx-when {
    display: inline-block; margin-bottom: 12px; padding: 7px 12px;
    border: 1px solid rgba(231, 193, 114, .45);
    border-radius: var(--up-r);
    background: rgba(231, 193, 114, .1);
    font: 800 12px/1 var(--up-body);
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--up-gold);
}
.stx-desc { max-width: 560px; margin: 0 !important; font: 400 16.5px/1.6 var(--up-body) !important; color: rgba(246, 240, 232, .82) !important; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }

.stx-right { display: flex; flex-direction: column; gap: 18px; }
.stx-lists { display: grid; }
.stx-list {
    grid-area: 1 / 1;
    align-self: end;
    display: grid; gap: 9px;
    padding: 22px;
    border: 1px solid var(--up-line);
    border-radius: var(--up-r);
    background: rgba(6, 8, 26, .66);
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85);
    visibility: hidden; opacity: 0; transform: translate3d(14px, 0, 0);
    transition: opacity .45s ease, transform .45s ease, visibility 0s .45s;
}
.stx-list.active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.stx-list .st-point {
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: var(--up-r);
    background: rgba(255, 255, 255, .035);
    font: 400 14.5px/1.5 var(--up-body);
    color: rgba(246, 240, 232, .84);
}
.stx-list .st-point > i { margin-top: 0; color: var(--up-gold); }
.stx-nav { display: flex; justify-content: flex-end; gap: 10px; }
.stx-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px;
    border: 1px solid var(--up-line-2);
    border-radius: var(--up-r);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
    color: #fff; font-size: 16px;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.stx-arrow:hover { background: rgba(231, 193, 114, .2); border-color: rgba(231, 193, 114, .6); color: var(--up-gold); }

/* --- big clear tabs --- */
.stx-tabs {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
    margin-top: 34px;
    border: 1px solid var(--up-line-2);
    border-radius: var(--up-r);
    background: var(--up-line);
    overflow: hidden;
    box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .9);
}
.stx-tab {
    position: relative;
    display: flex; align-items: center; justify-content: center; gap: 16px;
    min-height: 84px; padding: 14px 18px;
    border: 0; border-radius: 0;
    background: rgba(8, 10, 28, .9);
    color: rgba(246, 240, 232, .72);
    text-align: left;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}
.stx-tab:hover { background: rgba(22, 24, 48, .94); color: #fff; }
.stx-tab-num {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 8px;
    border-radius: var(--up-r);
    background: rgba(255, 255, 255, .08);
    font: 700 22px/1 var(--up-head);
    letter-spacing: .04em;
    color: #fff;
}
.stx-tab-txt { display: grid; gap: 6px; }
.stx-tab-txt b { font: 700 20px/1 var(--up-head); letter-spacing: .05em; text-transform: uppercase; color: inherit; }
.stx-tab-txt small { font: 800 11px/1 var(--up-body); letter-spacing: .13em; text-transform: uppercase; color: rgba(231, 193, 114, .85); }
.stx-tab.active {
    background: linear-gradient(180deg, #d8a445 0%, #a8721f 52%, #7a4f14 100%);
    color: #fff;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .45);
}
.stx-tab.active .stx-tab-num { background: rgba(26, 18, 6, .32); }
.stx-tab.active .stx-tab-txt small { color: rgba(255, 244, 214, .92); }
.stx-tab-bar { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: #fff3d2; }
.stx-tab.active .stx-tab-bar { animation: stxBar var(--stx-dur, 9000ms) linear forwards; }
.stx.is-paused .stx-tab.active .stx-tab-bar { animation-play-state: paused; }
.stx.is-static .stx-tab-bar { display: none; }
@keyframes stxBar { from { width: 0; } to { width: 100%; } }

@media (min-width: 1600px) {
    .stx-left { min-height: 700px; }
    .stx-figs { height: 560px; }
}
@media (max-width: 1199px) {
    .stx-stage { gap: 28px; }
    .stx-left { min-height: 580px; }
    .stx-figs { height: 440px; }
    .stx-plate { width: 220px; height: 220px; }
    .stx-plate-num { font-size: 116px; }
    .stx-tab { gap: 12px; padding: 12px; }
    .stx-tab-txt b { font-size: 17px; }
}
@media (max-width: 991px) {
    .st-section.stx { padding: 80px 0 72px !important; }
    .stx-wrap { display: flex; flex-direction: column; }
    .stx-head { order: 1; }
    .stx-tabs { order: 2; grid-template-columns: 1fr 1fr; margin-top: 18px; margin-bottom: 8px; }
    .stx-stage { order: 3; grid-template-columns: 1fr; gap: 20px; }
    .stx-tab { min-height: 66px; justify-content: flex-start; }
    .stx-tab-num { min-width: 38px; height: 38px; font-size: 18px; }
    .stx-tab-txt b { font-size: 15px; }
    .stx-tab-txt small { font-size: 10px; letter-spacing: .1em; }
    .stx-left { min-height: 470px; }
    .stx-figs { height: 340px; }
    .stx-plate { width: 170px; height: 170px; padding-top: 16px; }
    .stx-plate-num { font-size: 92px; }
    .stx-fig { left: 22px; }
    .stx-nav { display: none; }
    .stx-shade {
        background: linear-gradient(180deg, var(--up-bg) 0%, rgba(1, 3, 20, .8) 12%, rgba(1, 3, 20, .62) 40%, rgba(1, 3, 20, .8) 80%, var(--up-bg) 100%);
    }
}
@media (max-width: 575px) {
    .stx-left { min-height: 430px; }
    .stx-figs { height: 300px; }
    .stx-list { padding: 14px; }
    .stx-tab { padding: 10px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .stx-bg.active { animation: none; }
    .stx-fig, .stx-info, .stx-list { transition: none; }
}
/* stages: keep the whole showcase close to one screen */
.st-section.stx { padding: 96px 0 96px !important; }
.stx .st-subtitle { display: none; }
.stx .stx-head { margin-bottom: 0 !important; }
.stx-left { min-height: 600px; }
.stx-figs { height: 470px; }
@media (min-width: 1600px) {
    .stx-left { min-height: 640px; }
    .stx-figs { height: 510px; }
}
@media (max-width: 1199px) { .stx-left { min-height: 560px; } .stx-figs { height: 430px; } }
@media (max-width: 991px) { .st-section.stx { padding: 72px 0 64px !important; } .stx-left { min-height: 460px; } .stx-figs { height: 330px; } }
@media (max-width: 575px) { .stx-left { min-height: 420px; } .stx-figs { height: 290px; } }
@media (max-width: 991px) { .stx-list { align-self: start; } }

/* ------------------------------------------------------------
   21. Selected tabs keep an even 1px outline (no heavier bottom edge)
   ------------------------------------------------------------ */
.fz-tab.active, .ev-tab.active, .rs-tab.active, .mi-tab.active, .st-tab.active, .hr-tab.active, .gem-subtab.active {
    box-shadow: 0 10px 26px -14px rgba(209, 155, 37, .7) !important;
    border-bottom-width: 1px !important;
}
.fz-tab.active::after, .ev-tab.active::after, .hr-tab.active::after, .mi-tab.active::after, .gem-subtab.active::after { display: none !important; }

/* stages: no numeral plate behind the figure, the figure starts at the column edge */
.stx-plate { display: none !important; }
.stx-fig { left: 0; }
@media (max-width: 991px) { .stx-fig { left: 50%; transform: translate3d(-50%, 10px, 0); object-position: center bottom; } .stx-fig.active { transform: translate3d(-50%, 0, 0); } }

/* ------------------------------------------------------------
   22. Stage title on one row; Unique Items backdrop that melts away
   ------------------------------------------------------------ */
.stx-name { font-size: clamp(26px, 2.5vw, 40px) !important; }

/* the forge painting is a masked layer, so it fades into the page instead of ending on an edge */
.mi-section { background: none !important; }
.mi-section::after {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; z-index: 0;
    height: min(49.3vw, 100%);
    background: url("../images/art/bg-forge.jpg") center top / cover no-repeat;
    opacity: .3;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 46%, rgba(0, 0, 0, .45) 72%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 46%, rgba(0, 0, 0, .45) 72%, transparent 100%);
    pointer-events: none;
}
.mi-section > .container, .mi-section .mi-container { position: relative; z-index: 1; }

/* ------------------------------------------------------------
   23. Hero: painted fortress backdrop + a sharp character in front
   ------------------------------------------------------------ */
.up-hero-art { background-image: url("../images/art/hero-bg.jpg"); background-position: center 46%; }
@media (min-width: 992px) {
    .hero-media::after {
        background:
            linear-gradient(90deg, rgba(1, 3, 20, .88) 0%, rgba(1, 3, 20, .6) 26%, rgba(1, 3, 20, .1) 48%, rgba(1, 3, 20, .1) 60%, rgba(1, 3, 20, .55) 80%, rgba(1, 3, 20, .85) 100%),
            linear-gradient(180deg, rgba(1, 3, 20, .6) 0%, rgba(1, 3, 20, 0) 20%, rgba(1, 3, 20, 0) 56%, rgba(1, 3, 20, .62) 84%, var(--up-bg) 100%);
    }
}
.up-hero-fig {
    position: absolute; z-index: 0;
    left: 50%; bottom: 0;
    width: auto; height: min(90vh, 1000px); max-width: none;
    transform: translateX(-36%);
    -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 99%);
            mask-image: linear-gradient(180deg, #000 80%, transparent 99%);
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7));
    pointer-events: none;
    user-select: none;
}
@media (min-width: 992px) and (max-width: 1599px) { .up-hero-fig { height: min(84vh, 860px); transform: translateX(-30%); } }
@media (max-width: 991px) {
    .up-hero-art { background-image: url("../images/art/hero-bg-1280.jpg"); background-position: center top; }
    .up-hero-fig { display: none; }
}
/* below 1300px the two hero columns leave no room for the figure */
@media (max-width: 1299px) { .up-hero-fig { display: none; } }

/* footer social icons: bare gold glyphs, no tile behind them */
footer .social-icons a, .social-icons a,
footer .social-icons a i, .social-icons a i, .dark-scheme .social-icons i {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
footer .social-icons a { width: auto; height: auto; margin-right: 18px; }
footer .social-icons a i { width: auto; height: auto; margin: 0; padding: 0; font-size: 20px; color: var(--up-gold) !important; transition: color .2s ease; }
footer .social-icons a:hover, footer .social-icons a:hover i { background: none !important; color: #fff !important; }

/* hero logo: a quieter glow around the redrawn logo */
.hero-logo::before {
    background:
        radial-gradient(ellipse 55% 60% at 50% 55%, rgba(236, 198, 92, .15), transparent 70%),
        radial-gradient(ellipse 85% 95% at 50% 50%, rgba(209, 155, 37, .06), transparent 72%) !important;
}
.hero-logo-img {
    filter:
        drop-shadow(0 0 12px rgba(236, 198, 92, .18))
        drop-shadow(0 0 36px rgba(209, 155, 37, .12))
        drop-shadow(0 12px 26px rgba(0, 0, 0, .6)) !important;
}

/* ------------------------------------------------------------
   24. Navigation: plain uppercase serif links, language on the right,
       angled gold button. Homepage top: links sit left (the logo is in
       the hero); once the logo lands in the header they slide to the centre.
   ------------------------------------------------------------ */
@media (min-width: 993px) {
    header .de-flex { align-items: center; }
    header .de-flex > .de-flex-col.header-col-mid { flex: 1 1 auto; min-width: 0; }
    #mainmenu {
        display: flex !important; align-items: center;
        width: 100%;
        margin: 0 !important; padding: 0 !important;
        border: 0 !important; border-radius: 0;
        background: none !important; backdrop-filter: none !important;
        white-space: nowrap;
    }
    #mainmenu > li { display: block; float: none; margin: 0 !important; }
    /* two elastic spacers: equal = centred links, left one closed = links at the left edge */
    #mainmenu::before, #mainmenu::after { content: ""; flex: 1 1 0; transition: flex-grow .5s cubic-bezier(.4, 0, .2, 1); }
    #mainmenu::before { order: -1; }
    #mainmenu::after { order: 98; }
    #mainmenu > li#lang-menu { order: 99; }

    #mainmenu > li > a {
        padding: 10px 20px !important;
        border-radius: 0;
        background: none !important;
        font-family: var(--up-head) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        letter-spacing: .07em !important;
        text-transform: uppercase;
        color: #efe9dc !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
        transition: color .2s ease;
    }
    #mainmenu > li > a:hover { background: none !important; color: var(--up-gold) !important; }
    #mainmenu > li > a[aria-current="page"] { color: var(--up-gold) !important; }
    #mainmenu > li > a i { font-size: 10px !important; opacity: .7; }
    #mainmenu > li#lang-menu > a { padding-right: 26px !important; }

    /* logo slot: closes while the logo lives in the hero */
    header div#logo { max-width: 300px; overflow: hidden; transition: max-width .5s cubic-bezier(.4, 0, .2, 1), opacity .3s ease; }
    html.logo-in-hero header:not(.smaller) div#logo { max-width: 0; opacity: 0; }
    html.logo-in-hero header:not(.smaller) #mainmenu::before { flex-grow: 0; }
    html.logo-in-hero header:not(.smaller) #mainmenu > li:first-child > a { padding-left: 0 !important; }

    /* angled gold button */
    .menu_side_area a.btn-main22 {
        position: relative; z-index: 0; isolation: isolate;
        min-height: 46px !important;
        padding: 0 34px !important;
        border: 0 !important;
        background: #3b2709 !important;                         /* dark outline */
        box-shadow: none !important;
        font-size: 14px !important;
        letter-spacing: .09em !important;
        -webkit-clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%);
                clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%);
    }
    .menu_side_area a.btn-main22::before, .menu_side_area a.btn-main22:hover::before {
        content: "" !important;
        display: block !important;
        position: absolute; inset: 2px; z-index: -1;
        opacity: 1 !important; transform: none !important;
        background: linear-gradient(180deg, #f6d57a 0%, #e0a936 38%, #b47a1c 70%, #8a5a14 100%);
        -webkit-clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
                clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
    }
    .menu_side_area a.btn-main22:hover { filter: brightness(1.1); }
    .menu_side_area { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
}
@media (min-width: 993px) and (max-width: 1299px) {
    #mainmenu > li > a { padding: 8px 11px !important; font-size: 13.5px !important; letter-spacing: .04em !important; }
    .menu_side_area a.btn-main22 { padding: 0 24px !important; }
}
/* the right-hand block (language + button) is wider than the logo slot: offset the left spacer so the links sit on the page centre */
@media (min-width: 1200px) {
    #mainmenu::before { flex-basis: 62px; }
    html.logo-in-hero header:not(.smaller) #mainmenu::before { flex-basis: 0; }
}
@media (min-width: 993px) { #mainmenu > li#lang-menu { margin-right: 14px !important; } }

/* ------------------------------------------------------------
   25. Why section v3: no character. A full-screen hall backdrop with
       lightning, four medallion cards in one row, headline numbers below
   ------------------------------------------------------------ */
.up-why.up-why-v3 { padding: 120px 0; }
@media (min-width: 992px) {
    .up-why.up-why-v3 { min-height: 100vh; display: flex; align-items: center; }
    .up-why.up-why-v3 > .container { width: 100%; }
}
.up-why.up-why-v3::before {
    background: url("../images/art/why-bg.jpg") center 30% / cover no-repeat;
    opacity: .9;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 14%, #000 30%, #000 68%, rgba(0, 0, 0, .5) 86%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 14%, #000 30%, #000 68%, rgba(0, 0, 0, .5) 86%, transparent 100%);
}
/* calmer in the middle, where the cards sit */
.up-why.up-why-v3::after {
    content: "";
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 78% 64% at 50% 56%, rgba(1, 3, 20, .66) 0%, rgba(1, 3, 20, .44) 60%, rgba(1, 3, 20, .28) 100%);
}
.up-why-v3 .container { position: relative; z-index: 1; }
/* lightning: a short double flash, every few seconds */
.up-why-flash {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(ellipse 34% 60% at 63% 52%, rgba(150, 205, 255, .5), rgba(90, 150, 255, .12) 55%, transparent 75%);
    mix-blend-mode: screen;
    opacity: 0;
    animation: upWhyFlash 8s linear infinite;
}
@keyframes upWhyFlash {
    0%, 71%, 100% { opacity: 0; }
    72% { opacity: .9; } 73% { opacity: .15; } 74.5% { opacity: .7; } 78% { opacity: 0; }
}

.up-why-v3 .up-head { margin-bottom: 34px !important; }
.up-why-v3 .up-title { white-space: nowrap; }

/* cards: the medallion sits on the top edge, everything is centred under it */
.up-why-v3 .up-why-list {
    grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
    margin: 0 0 44px; padding: 48px 0 0;
    counter-reset: why;
}
.up-why-v3 .up-why-item {
    position: relative; counter-increment: why;
    display: flex; flex-direction: column; align-items: center; gap: 0;
    padding: 74px 28px 40px;
    text-align: center;
    border: 1px solid rgba(231, 193, 114, .24);
    border-radius: var(--up-r);
    background: linear-gradient(180deg, rgba(231, 193, 114, .14) 0%, rgba(16, 20, 48, .8) 24%, rgba(5, 7, 24, .9) 100%);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 236, 190, .16), 0 30px 54px -30px rgba(0, 0, 0, .95);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.up-why-v3 .up-why-item::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 231, 180, .85), transparent);
}
.up-why-v3 .up-why-item::after {
    content: "0" counter(why);
    position: absolute; left: 16px; top: 13px;
    font: 700 14px/1 var(--up-head);
    letter-spacing: .14em;
    color: rgba(231, 193, 114, .5);
    pointer-events: none;
}
.up-why-v3 .up-why-item:hover {
    border-color: rgba(231, 193, 114, .6);
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 rgba(255, 236, 190, .22), 0 34px 58px -26px rgba(209, 155, 37, .45);
}
/* medallion: gold frame, dark ring, gold plate */
.up-why-v3 .up-why-ico {
    position: absolute; left: 50%; top: -48px;
    transform: translateX(-50%);
    display: grid; place-items: center;
    flex: none; width: 96px; height: 96px;
    border: 0; border-radius: 0; background: none;
    color: #241703; font-size: 29px;
    isolation: isolate;
    filter: drop-shadow(0 10px 18px rgba(209, 155, 37, .42));
    transition: filter .25s ease;
}
.up-why-v3 .up-why-ico::before, .up-why-v3 .up-why-ico::after, .up-why-v3 .up-why-ico i {
    -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
            clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.up-why-v3 .up-why-ico::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #fbe7b4 0%, #d8a445 50%, #7c5112 100%); }
.up-why-v3 .up-why-ico::after { content: ""; position: absolute; inset: 3px; z-index: -1; background: #070919; }
.up-why-v3 .up-why-ico i {
    display: grid; place-items: center;
    width: 78px; height: 78px;
    background: linear-gradient(180deg, #fbe7b4 0%, #e7b548 38%, #b47a1c 72%, #7c5112 100%);
}
.up-why-v3 .up-why-item:hover .up-why-ico { filter: drop-shadow(0 10px 22px rgba(236, 198, 92, .7)); }

.up-why-v3 .up-why-item h3 {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: calc(2.4em + 18px);
    margin: 0 0 16px !important; padding: 0 0 18px;
    font: 700 23px/1.2 var(--up-head) !important; color: #fff !important;
}
/* small gold rule with a diamond under the card title */
.up-why-v3 .up-why-item h3::after {
    content: "";
    position: absolute; left: 50%; bottom: 0;
    width: 84px; height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(231, 193, 114, .9), transparent);
}
.up-why-v3 .up-why-item h3::before {
    content: "";
    position: absolute; left: 50%; bottom: -3px;
    width: 7px; height: 7px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--up-gold);
}
.up-why-v3 .up-why-item p { font: 400 15px/1.65 var(--up-body) !important; color: rgba(246, 240, 232, .74) !important; }

/* headline numbers: an open band between two gold lines */
.up-why-v3 .up-stats {
    gap: 0; overflow: visible;
    padding: 6px 0;
    border: 0; border-top: 1px solid rgba(231, 193, 114, .38); border-bottom: 1px solid rgba(231, 193, 114, .38);
    border-radius: 0;
    background: linear-gradient(90deg, rgba(231, 193, 114, .02), rgba(231, 193, 114, .1) 50%, rgba(231, 193, 114, .02));
    backdrop-filter: blur(8px);
}
.up-why-v3 .up-stat { position: relative; padding: 22px 10px 20px; background: none; }
.up-why-v3 .up-stat + .up-stat::before {
    content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(231, 193, 114, .5), transparent);
}
.up-why-v3 .up-stat b { font-size: 48px; }

/* big screens: the cards take a little more room so the section fills the screen comfortably */
@media (min-width: 1400px) {
    .up-why-v3 .up-head { margin-bottom: 44px !important; }
    .up-why-v3 .up-why-list { gap: 28px; margin-bottom: 52px; }
    .up-why-v3 .up-why-item { padding: 82px 30px 50px; }
    .up-why-v3 .up-why-item h3 { font-size: 24px !important; }
    .up-why-v3 .up-why-item p { font-size: 16px !important; }
    .up-why-v3 .up-stat { padding: 26px 10px 24px; }
    .up-why-v3 .up-stat b { font-size: 54px; }
}
@media (max-width: 1199px) {
    .up-why-v3 .up-why-list { grid-template-columns: 1fr 1fr; gap: 72px 22px; max-width: 780px; margin-left: auto; margin-right: auto; }
    .up-why-v3 .up-stats { max-width: 780px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 991px) {
    .up-why.up-why-v3 { padding: 80px 0; }
    .up-why-v3 .up-title { white-space: normal; }
    .up-why-flash { display: none; }
}
/* phones: compact rows, medallion on the left and centred against the text */
@media (max-width: 767px) {
    .up-why-v3 .up-why-list { grid-template-columns: 1fr; gap: 14px; padding-top: 0; margin-bottom: 22px; }
    .up-why-v3 .up-why-item { flex-direction: row; align-items: center; gap: 16px; padding: 20px 18px; text-align: left; }
    .up-why-v3 .up-why-item::after { display: none; }
    .up-why-v3 .up-why-item:hover { transform: none; }
    .up-why-v3 .up-why-ico { position: relative; left: auto; top: auto; transform: none; width: 64px; height: 64px; font-size: 20px; }
    .up-why-v3 .up-why-ico i { width: 50px; height: 50px; }
    .up-why-v3 .up-why-txt { flex: 1 1 auto; min-width: 0; }
    .up-why-v3 .up-why-item h3 { display: block; min-height: 0; margin: 0 0 6px !important; padding: 0; font-size: 19px !important; }
    .up-why-v3 .up-why-item h3::before, .up-why-v3 .up-why-item h3::after { display: none; }
    .up-why-v3 .up-why-item p { font-size: 14.5px !important; line-height: 1.55 !important; }
}
@media (max-width: 575px) {
    .up-why-v3 .up-stat b { font-size: 34px; }
    .up-why-v3 .up-stat:nth-child(3)::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .up-why-flash { animation: none; }
}

/* ------------------------------------------------------------
   26. FAQ without a figure: one centred column
   ------------------------------------------------------------ */
.up-faq-grid { display: block; max-width: 920px; margin: 0 auto; }
.up-faq .up-head { margin-bottom: 34px !important; }
.up-faq-list { gap: 10px; }

/* ------------------------------------------------------------
   27. Stage scenes: every stage is a small composition centred in the
       left column (figure or duo, floating items, a light behind, embers).
       Sizes use cqh, so one layout scales with the height of .stx-figs.
   ------------------------------------------------------------ */
.stx-figs { container-type: size; }
.stx-scene {
    position: absolute; inset: 0;
    display: flex; justify-content: center; align-items: flex-end;
    opacity: 0; transform: translate3d(-18px, 10px, 0);
    transition: opacity .55s ease, transform .55s ease;
    pointer-events: none;
}
.stx-scene.active { opacity: 1; transform: none; }
.stx-char {
    position: relative; z-index: 2; flex: none;
    width: auto !important; height: 100%; max-width: none !important;
    -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 98%);
            mask-image: linear-gradient(180deg, #000 66%, transparent 98%);
}

/* light behind the figure */
.stx-aura {
    position: absolute; z-index: 0; left: 50%; top: 46%;
    width: 560px; height: 560px;
    width: 112cqh; height: 112cqh;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(140, 180, 255, .3) 0%, rgba(110, 150, 255, .12) 45%, transparent 100%);
    mix-blend-mode: screen;
}
.stx-scene.active .stx-aura { animation: stxAura 6s ease-in-out infinite alternate; }
@keyframes stxAura { from { opacity: .65; transform: translate(-50%, -50%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }

/* stage 1: orc and mage side by side, she stands a step in front */
.stx-scene-1 .stx-aura { background: radial-gradient(closest-side, rgba(255, 214, 140, .26) 0%, rgba(231, 193, 114, .1) 48%, transparent 100%); }
.stx-scene-1 .stx-char-orc { margin-left: -6cqh; }
.stx-scene-1 .stx-char-mage { z-index: 3; height: 90%; margin-left: -80px; margin-left: -17cqh; }

/* floating items */
.stx-item {
    position: absolute; z-index: 1;
    height: auto !important; max-width: none !important;
    filter: drop-shadow(0 0 18px rgba(130, 185, 255, .5));
    will-change: transform;
}
.stx-scene.active .stx-item { animation: stxFloat 6s ease-in-out infinite alternate; }
@keyframes stxFloat {
    from { transform: translate3d(0, 6px, 0) rotate(var(--r, 0deg)); }
    to   { transform: translate3d(0, -12px, 0) rotate(calc(var(--r, 0deg) + var(--dr, 2deg))); }
}
/* stage 2: the Dynasty gear the merchant sells */
.stx-scene-2 .stx-item { filter: drop-shadow(0 0 16px rgba(150, 195, 255, .45)); }
.stx-item-sword  { --r: -10deg; --dr: 2deg;  width: 15cqh; left: calc(50% - 46cqh); top: 0; }
.stx-item-armor  { --r: 4deg;   --dr: -2deg; width: 27cqh; left: calc(50% + 25cqh); top: 2cqh;  animation-duration: 7.5s !important; animation-delay: -2s !important; }
.stx-item-bow    { --r: -16deg; --dr: 3deg;  width: 46cqh; left: calc(50% + 10cqh); top: 62cqh; animation-duration: 5.5s !important; animation-delay: -1s !important; }
/* stage 3: the blessed epic jewels (Valakas, Antharas, Baium) */
.stx-scene-3 .stx-aura { background: radial-gradient(closest-side, rgba(255, 205, 110, .3) 0%, rgba(231, 170, 70, .12) 48%, transparent 100%); }
.stx-scene-3 .stx-item { filter: drop-shadow(0 0 18px rgba(255, 200, 110, .5)); }
.stx-item-necklace { --r: 4deg;  --dr: -3deg; width: 25cqh; left: calc(50% + 30cqh); top: 6cqh;  animation-duration: 7s !important; }
.stx-item-ring     { --r: -8deg; --dr: 5deg;  width: 21cqh; left: calc(50% + 34cqh); top: 54cqh; animation-duration: 5.5s !important; animation-delay: -2s !important; }
.stx-item-earring  { --r: 7deg;  --dr: -4deg; width: 17cqh; left: calc(50% - 52cqh); top: 38cqh; animation-duration: 6.5s !important; animation-delay: -3s !important; }

/* stage 4: Shadar stands in firelight, embers rise around him */
.stx-scene-4 .stx-aura {
    top: 44%;
    width: 130cqh; height: 118cqh;
    background: radial-gradient(closest-side, rgba(255, 120, 40, .5) 0%, rgba(255, 50, 20, .26) 40%, rgba(180, 20, 10, .1) 68%, transparent 100%);
}
.stx-scene-4.active .stx-aura { animation: stxFire 3.2s ease-in-out infinite alternate; }
@keyframes stxFire {
    0%   { opacity: .6;  transform: translate(-50%, -50%) scale(.95); }
    35%  { opacity: .95; transform: translate(-50%, -50%) scale(1.03); }
    60%  { opacity: .75; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}
.stx-scene-4 .stx-char { filter: drop-shadow(0 0 22px rgba(255, 90, 30, .5)); }
.stx-floor {
    position: absolute; z-index: 1; left: 50%; bottom: -2cqh;
    width: 96cqh; height: 20cqh;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 150, 50, .55) 0%, rgba(255, 70, 20, .22) 50%, transparent 100%);
    filter: blur(6px);
    mix-blend-mode: screen;
}
.stx-embers { position: absolute; inset: 0; z-index: 3; }
.stx-embers i {
    position: absolute; left: var(--x, 50%); bottom: 4%;
    width: var(--s, 4px); height: var(--s, 4px);
    border-radius: 50%;
    background: #ffd9a0;
    box-shadow: 0 0 6px 2px rgba(255, 140, 40, .9), 0 0 14px 4px rgba(255, 60, 20, .5);
    opacity: 0;
}
.stx-scene.active .stx-embers i { animation: stxEmber var(--d, 5s) linear var(--w, 0s) infinite; }
@keyframes stxEmber {
    0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(1); }
    12%  { opacity: 1; }
    70%  { opacity: .8; }
    100% { opacity: 0; transform: translate3d(var(--dx, 20px), -88cqh, 0) scale(.3); }
}
.stx-embers i:nth-child(1)  { --x: 12%; --s: 4px; --d: 5.2s; --w: -.4s;  --dx: 26px; }
.stx-embers i:nth-child(2)  { --x: 22%; --s: 3px; --d: 6.4s; --w: -3.1s; --dx: -18px; }
.stx-embers i:nth-child(3)  { --x: 31%; --s: 5px; --d: 4.6s; --w: -1.7s; --dx: 30px; }
.stx-embers i:nth-child(4)  { --x: 38%; --s: 3px; --d: 7s;   --w: -5s;   --dx: -24px; }
.stx-embers i:nth-child(5)  { --x: 45%; --s: 4px; --d: 5.8s; --w: -2.4s; --dx: 14px; }
.stx-embers i:nth-child(6)  { --x: 52%; --s: 3px; --d: 4.9s; --w: -.9s;  --dx: -30px; }
.stx-embers i:nth-child(7)  { --x: 59%; --s: 5px; --d: 6.6s; --w: -4.2s; --dx: 22px; }
.stx-embers i:nth-child(8)  { --x: 66%; --s: 3px; --d: 5.4s; --w: -3.6s; --dx: -14px; }
.stx-embers i:nth-child(9)  { --x: 74%; --s: 4px; --d: 6.1s; --w: -1.2s; --dx: 28px; }
.stx-embers i:nth-child(10) { --x: 83%; --s: 3px; --d: 4.4s; --w: -2.9s; --dx: -22px; }
.stx-embers i:nth-child(11) { --x: 90%; --s: 4px; --d: 7.2s; --w: -6s;   --dx: 12px; }
.stx-embers i:nth-child(12) { --x: 17%; --s: 3px; --d: 6.8s; --w: -5.5s; --dx: 18px; }
.stx-embers i:nth-child(13) { --x: 48%; --s: 4px; --d: 7.6s; --w: -6.6s; --dx: -10px; }
.stx-embers i:nth-child(14) { --x: 70%; --s: 3px; --d: 5s;   --w: -4.7s; --dx: 16px; }

@media (prefers-reduced-motion: reduce) {
    .stx-scene { transition: none; }
    .stx-scene.active .stx-aura, .stx-scene.active .stx-item { animation: none; }
    .stx-embers { display: none; }
}

/* ------------------------------------------------------------
   28. Clan Bonus (homepage, under the stages): treasure chest on the
       left, perks and the two claim steps in a glass panel on the right,
       clan hall backdrop that fades into the page at both ends
   ------------------------------------------------------------ */
.cb-section { position: relative; padding: 120px 0 110px; background: var(--up-bg); overflow: hidden; }
.cb-section::before {
    content: "";
    position: absolute; inset: 0;
    background: url("../images/art/bg-clanhall.jpg") center 35% / cover no-repeat;
    opacity: .6;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 16%, #000 34%, #000 64%, rgba(0, 0, 0, .5) 84%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 16%, #000 34%, #000 64%, rgba(0, 0, 0, .5) 84%, transparent 100%);
    pointer-events: none;
}
.cb-section::after {
    content: "";
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(1, 3, 20, .5) 0%, rgba(1, 3, 20, .2) 28%, rgba(1, 3, 20, .55) 56%, rgba(1, 3, 20, .8) 100%);
}
.cb-section > .container { position: relative; z-index: 1; }
.cb-sub { max-width: 660px; margin: 16px auto 0 !important; font: 400 16.5px/1.6 var(--up-body) !important; color: rgba(246, 240, 232, .76) !important; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.cb-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 52px; align-items: center; margin-top: 46px; }

/* chest */
.cb-art { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.cb-art img {
    position: relative; z-index: 2;
    width: min(100%, 560px); height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 190, 80, .3));
}
.cb-glow {
    position: absolute; z-index: 1; left: 50%; top: 40%;
    width: 118%; aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 205, 110, .46) 0%, rgba(231, 170, 70, .17) 45%, transparent 100%);
    mix-blend-mode: screen;
    animation: cbGlow 5s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes cbGlow { from { opacity: .65; transform: translate(-50%, -50%) scale(.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
.cb-floor {
    position: absolute; z-index: 1; left: 50%; bottom: -4%;
    width: 96%; height: 22%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 200, 100, .5) 0%, rgba(231, 160, 60, .18) 55%, transparent 100%);
    filter: blur(8px);
    mix-blend-mode: screen;
    pointer-events: none;
}
/* gold sparks rising out of the chest */
.cb-sparks { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cb-sparks i {
    position: absolute; left: var(--x, 50%); top: 46%;
    width: var(--s, 4px); height: var(--s, 4px);
    border-radius: 50%;
    background: #fff3cf;
    box-shadow: 0 0 6px 2px rgba(255, 205, 110, .95), 0 0 14px 4px rgba(231, 160, 60, .5);
    opacity: 0;
    animation: cbSpark var(--d, 5s) linear var(--w, 0s) infinite;
}
@keyframes cbSpark {
    0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(1); }
    15%  { opacity: 1; }
    70%  { opacity: .7; }
    100% { opacity: 0; transform: translate3d(var(--dx, 16px), -240px, 0) scale(.3); }
}
.cb-sparks i:nth-child(1)  { --x: 30%; --s: 4px; --d: 5.2s; --w: -.4s;  --dx: -22px; }
.cb-sparks i:nth-child(2)  { --x: 37%; --s: 3px; --d: 6.4s; --w: -3.1s; --dx: 14px; }
.cb-sparks i:nth-child(3)  { --x: 43%; --s: 5px; --d: 4.6s; --w: -1.7s; --dx: -12px; }
.cb-sparks i:nth-child(4)  { --x: 49%; --s: 3px; --d: 7s;   --w: -5s;   --dx: 20px; }
.cb-sparks i:nth-child(5)  { --x: 55%; --s: 4px; --d: 5.8s; --w: -2.4s; --dx: -18px; }
.cb-sparks i:nth-child(6)  { --x: 61%; --s: 3px; --d: 4.9s; --w: -.9s;  --dx: 26px; }
.cb-sparks i:nth-child(7)  { --x: 67%; --s: 5px; --d: 6.6s; --w: -4.2s; --dx: 10px; }
.cb-sparks i:nth-child(8)  { --x: 34%; --s: 3px; --d: 5.4s; --w: -3.6s; --dx: 18px; }
.cb-sparks i:nth-child(9)  { --x: 52%; --s: 4px; --d: 6.1s; --w: -1.2s; --dx: -26px; }
.cb-sparks i:nth-child(10) { --x: 64%; --s: 3px; --d: 7.2s; --w: -6s;   --dx: -8px; }

/* perks panel */
.cb-body {
    position: relative;
    padding: 32px 32px 30px;
    border: 1px solid rgba(231, 193, 114, .24);
    border-radius: var(--up-r);
    background: linear-gradient(180deg, rgba(231, 193, 114, .11) 0%, rgba(16, 20, 48, .84) 16%, rgba(5, 7, 24, .92) 100%);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 236, 190, .16), 0 30px 54px -30px rgba(0, 0, 0, .95);
}
.cb-body::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 231, 180, .85), transparent);
}
.cb-group + .cb-group { margin-top: 26px; }
.cb-label {
    display: flex; align-items: center; gap: 14px;
    margin: 0 0 14px !important;
    font: 800 12px/1 var(--up-body) !important;
    letter-spacing: .16em !important; text-transform: uppercase !important;
    color: var(--up-gold) !important;
}
.cb-label::after { content: ""; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, rgba(231, 193, 114, .45), transparent); }
.cb-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cb-perk {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--up-r);
    background: rgba(255, 255, 255, .035);
    transition: border-color .2s ease, background .2s ease;
}
.cb-perk:hover { border-color: rgba(231, 193, 114, .45); background: rgba(231, 193, 114, .06); }
.cb-ico {
    flex: none;
    width: 58px; height: 58px; padding: 4px;
    border: 1px solid rgba(231, 193, 114, .6);
    border-radius: var(--up-r);
    background: #070919;
    box-shadow: 0 0 18px rgba(231, 170, 70, .28), inset 0 0 0 1px rgba(0, 0, 0, .6);
}
.cb-ico img { display: block; width: 100% !important; height: 100% !important; border-radius: 2px; }
.cb-perk-txt { min-width: 0; }
.cb-perk b { display: block; font: 700 19px/1.2 var(--up-head); color: #fff; }
.cb-perk small { display: block; margin-top: 5px; font: 400 13.5px/1.45 var(--up-body); color: var(--up-muted); }

/* claim steps */
.cb-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.cb-steps li { display: flex; align-items: center; gap: 14px; font: 500 16px/1.45 var(--up-body); color: #efe9dc; }
.cb-steps b { font-weight: 700; color: var(--up-gold); }
.cb-n {
    flex: none;
    display: grid; place-items: center;
    width: 36px; height: 36px;
    font: 700 16px/1 var(--up-head);
    color: #241703;
    background: linear-gradient(180deg, #fbe7b4 0%, #e7b548 38%, #b47a1c 72%, #7c5112 100%);
    -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
            clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.cb-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.cb-note { font: 400 13.5px/1.45 var(--up-body); color: var(--up-muted); }

@media (max-width: 1199px) {
    .cb-grid { gap: 32px; }
    .cb-body { padding: 26px 24px 24px; }
    .cb-perk { gap: 12px; padding: 12px; }
    .cb-ico { width: 50px; height: 50px; }
    .cb-perk b { font-size: 17px; }
}
@media (max-width: 991px) {
    .cb-section { padding: 80px 0 72px; }
    /* tall phone layout: show the banner side of the hall, not the bright windows behind the chest */
    .cb-section::before { background-position: 10% 30%; opacity: .45; }
    .cb-section::after { background: linear-gradient(180deg, rgba(1, 3, 20, .3) 0%, rgba(1, 3, 20, .45) 40%, rgba(1, 3, 20, .8) 100%); }
    .cb-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
    .cb-art img { width: min(74%, 380px); }
    .cb-glow { width: min(90%, 460px); }
    .cb-floor { width: min(74%, 380px); }
}
@media (max-width: 575px) {
    .cb-perks { grid-template-columns: 1fr; }
    .cb-body { padding: 22px 18px 20px; }
    .cb-sub { font-size: 15.5px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .cb-glow { animation: none; }
    .cb-sparks { display: none; }
}
