
/* NEXUS nx-home — dedicated Hero video */
.nx-home-hero {}
.nx-hero.nx-hero--video {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: #070b12 !important;
}
.nx-hero--video .nx-hero-video {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden !important;
}
.nx-hero--video .nx-hero-video video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    filter: brightness(.78) contrast(1.05) !important;
}
.nx-hero--video .nx-hero-video-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
        linear-gradient(90deg,
            rgba(3,7,12,.93) 0%,
            rgba(3,7,12,.84) 22%,
            rgba(3,7,12,.62) 42%,
            rgba(3,7,12,.30) 66%,
            rgba(3,7,12,.34) 100%
        ),
        linear-gradient(180deg,
            rgba(3,7,12,.10) 0%,
            rgba(3,7,12,.30) 52%,
            rgba(3,7,12,.76) 100%
        ),
        radial-gradient(circle at 30% 48%,
            rgba(0,0,0,.18) 0%,
            rgba(0,0,0,.10) 36%,
            rgba(0,0,0,0) 64%
        ) !important;
}

.nx-hero--video .nx-hero-copy {
    position: relative !important;
    z-index: 3 !important;
}
.nx-hero--video .nx-hero-copy h1,
.nx-hero--video .nx-hero-copy p,
.nx-hero--video .nx-hero-copy .nx-kicker {
    text-shadow: 0 3px 18px rgba(0,0,0,.62) !important;
}
.nx-hero--video .nx-hero-inner {
    position: relative !important;
    z-index: 2 !important;
}
@media (prefers-reduced-motion: reduce) {
    .nx-hero--video .nx-hero-video video { display:none !important; }
}


/* NEXUS v3.9 — hard containment / stacking fix
   The homepage video must never paint over content after the Hero. */
.nx-home {
    position: relative !important;
    isolation: isolate !important;
    z-index: 0 !important;
}
.nx-hero.nx-hero--video {
    position: relative !important;
    z-index: 0 !important;
    isolation: isolate !important;
    contain: layout paint !important;
    clip-path: inset(0) !important;
}
.nx-hero--video .nx-hero-video,
.nx-hero--video .nx-hero-video video,
.nx-hero--video .nx-hero-video-overlay {
    max-width: 100% !important;
}
.nx-hero--video .nx-hero-video {
    z-index: 0 !important;
}
.nx-hero--video .nx-hero-video video {
    z-index: 0 !important;
    transform: translateZ(0) !important;
}
.nx-hero--video .nx-hero-video-overlay {
    z-index: 1 !important;
}
.nx-hero--video .nx-hero-inner {
    z-index: 2 !important;
}

/* Every section after the Hero gets its own paint layer. */
.nx-home > .nx-quick,
.nx-home > .nx-section,
.nx-home > .nx-band,
.nx-home > .nx-final,
.nx-home > footer,
.nx-home > .nx-footer {
    position: relative !important;
    z-index: 3 !important;
    isolation: isolate !important;
}

/* NEXUS v4.0 — video-first background
   The Hero video is the only homepage artwork. */
.nx-home,
.nx-home main,
.nx-home .nx-main,
.nx-home .nx-content {
    background: #070b12 !important;
}
.nx-home .nx-hero.nx-hero--video {
    background: #070b12 !important;
}
.nx-home .nx-quick,
.nx-home .nx-section,
.nx-home .nx-band,
.nx-home .nx-final {
    background-color: #080d14 !important;
}


/* NEXUS v5.0 — cross-platform cinematic carousel */
.nx-platform-carousel {
    position: relative;
    padding-top: 76px;
    padding-bottom: 70px;
    isolation: isolate;
}
.nx-platform-carousel-head {
    display:flex; align-items:flex-end; justify-content:space-between;
    gap:24px; margin-bottom:22px;
}
.nx-platform-carousel-head span {
    color:#45e0ff; font-size:10px; font-weight:800; letter-spacing:.18em;
}
.nx-platform-carousel-head h2 {
    margin:7px 0 0; color:#edf4fb;
    font:700 clamp(30px,4vw,46px)/.98 'Barlow Condensed',sans-serif;
}
.nx-platform-carousel-head h2 b { color:#45e0ff; font-weight:600; }
.nx-platform-carousel-controls { display:flex; gap:8px; flex-shrink:0; }
.nx-platform-arrow {
    width:42px; height:42px; border:1px solid #263342; background:#0c131d;
    color:#e8f2fb; font-size:27px; line-height:1; cursor:pointer;
    transition:background .2s,border-color .2s,color .2s;
}
.nx-platform-arrow:hover { background:#45e0ff; border-color:#45e0ff; color:#061016; }
.nx-platform-track {
    position:relative; width:100%; height:clamp(300px,40vw,510px);
    overflow:hidden; border:1px solid #263342; background:#080d14;
    box-shadow:0 24px 70px rgba(0,0,0,.28);
}
.nx-platform-slide {
    position:absolute; inset:0; overflow:hidden; opacity:0; visibility:hidden;
    transform:scale(1.025); transition:opacity .75s ease,transform 1.1s ease,visibility .75s;
}
.nx-platform-slide.is-active { opacity:1; visibility:visible; transform:scale(1); z-index:1; }
.nx-platform-slide>img {
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
    object-position:center; display:block;
}
.nx-platform-shade {
    position:absolute; inset:0;
    background:linear-gradient(90deg,rgba(4,8,14,.97) 0%,rgba(4,8,14,.88) 27%,rgba(4,8,14,.55) 48%,rgba(4,8,14,.08) 78%,rgba(4,8,14,.14) 100%),
               linear-gradient(0deg,rgba(4,8,14,.35),transparent 55%);
}
.nx-platform-copy {
    position:absolute; z-index:2; left:clamp(24px,5vw,66px); top:50%;
    transform:translateY(-50%); width:min(490px,52%); color:#eef5fc;
}
.nx-platform-copy>span {
    display:inline-block; color:#45e0ff; font-size:10px; font-weight:800;
    letter-spacing:.18em; margin-bottom:15px;
}
.nx-platform-copy h3 {
    margin:0 0 14px; max-width:520px; font:700 clamp(38px,5.2vw,68px)/.91 'Barlow Condensed',sans-serif;
    letter-spacing:-.015em; text-transform:uppercase; color:#f2f6fb;
    text-shadow:0 3px 24px rgba(0,0,0,.5);
}
.nx-platform-copy p {
    margin:0; max-width:440px; color:#c1ccd8; font-size:14px; line-height:1.75;
    text-shadow:0 2px 12px rgba(0,0,0,.8);
}
.nx-platform-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:20px; }
.nx-platform-tags b {
    border:1px solid rgba(69,224,255,.35); background:rgba(7,16,25,.72);
    color:#c7eefa; padding:7px 9px; font-size:9px; letter-spacing:.1em;
}
.nx-platform-cta {
    display:inline-flex; align-items:center; gap:22px; margin-top:24px;
    padding:13px 17px; background:#45e0ff; color:#061016!important;
    font-size:10px; font-weight:900; letter-spacing:.1em;
    box-shadow:0 8px 28px rgba(69,224,255,.16);
}
.nx-platform-cta i { font-style:normal; font-size:14px; }
.nx-platform-number {
    position:absolute; z-index:2; right:26px; bottom:18px;
    color:rgba(255,255,255,.78); font:600 38px/.9 'Barlow Condensed',sans-serif;
    text-shadow:0 2px 14px #000;
}
.nx-platform-carousel-foot {
    display:flex; align-items:center; gap:18px; padding:14px 2px 0;
    color:#778697; font-size:10px; letter-spacing:.12em;
}
.nx-platform-dots { display:flex; align-items:center; gap:8px; }
.nx-platform-dots button {
    width:7px; height:7px; padding:0; border:0; border-radius:50%;
    background:#3a4654; cursor:pointer; transition:all .2s;
}
.nx-platform-dots button.is-active { width:24px; border-radius:8px; background:#45e0ff; }
.nx-platform-carousel-foot>span:nth-child(2) { margin-left:2px; }
.nx-platform-carousel-foot>span:nth-child(2) b { color:#45e0ff; }
.nx-platform-carousel-foot>span:nth-child(2) i { color:#4b5867; font-style:normal; }
.nx-platform-autoplay { margin-left:auto; display:flex; align-items:center; gap:8px; }
.nx-platform-autoplay i { width:6px; height:6px; border-radius:50%; background:#45e0ff; box-shadow:0 0 10px #45e0ff; }
@media(max-width:767px) {
    .nx-platform-carousel { padding-top:52px; padding-bottom:48px; }
    .nx-platform-carousel-head { align-items:center; }
    .nx-platform-carousel-head h2 { font-size:34px; }
    .nx-platform-arrow { width:36px; height:36px; }
    .nx-platform-track { height:470px; }
    .nx-platform-slide>img { object-position:62% center; }
    .nx-platform-shade {
        background:linear-gradient(90deg,rgba(4,8,14,.94),rgba(4,8,14,.66) 65%,rgba(4,8,14,.32)),
                   linear-gradient(0deg,rgba(4,8,14,.42),transparent 70%);
    }
    .nx-platform-copy { left:22px; right:22px; top:auto; bottom:34px; transform:none; width:auto; }
    .nx-platform-copy h3 { font-size:42px; }
    .nx-platform-copy p { font-size:13px; line-height:1.6; }
    .nx-platform-number { top:17px; bottom:auto; font-size:28px; }
}
@media(prefers-reduced-motion:reduce) {
    .nx-platform-slide { transition:none; transform:none; }
}



/* NEXUS v5.8 — premium animated MMORPG credit top-up CTA */
.nx-hero .nx-actions .nx-btn-topup {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 7px 21px 7px 9px;
    overflow: visible;
    border: 1px solid rgba(255, 145, 154, .95);
    border-radius: 999px;
    background:
        linear-gradient(110deg, transparent 0%, rgba(255,255,255,.22) 43%, transparent 57%) -180% 0 / 180% 100% no-repeat,
        linear-gradient(145deg, #ff344b 0%, #d20d2c 43%, #850018 100%);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(116, 0, 17, .8), 0 5px 18px rgba(202, 0, 34, .38),
                0 0 28px rgba(255, 24, 62, .28), inset 0 1px 0 rgba(255,255,255,.38),
                inset 0 -3px 8px rgba(58, 0, 10, .28);
    animation: nxTopupGlow 2.2s ease-in-out infinite, nxTopupSweep 3.8s ease-in-out infinite;
    transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}
.nx-hero .nx-actions .nx-btn-topup::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -4px;
    border: 1px solid rgba(255, 66, 91, .7);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    animation: nxTopupEnergyRing 2.2s ease-out infinite;
}
.nx-hero .nx-actions .nx-btn-topup::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -8px;
    border: 1px solid rgba(255, 35, 67, .34);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    animation: nxTopupEnergyRing 2.2s ease-out infinite .65s;
}
.nx-hero .nx-actions .nx-btn-topup:hover {
    filter: brightness(1.16) saturate(1.12);
    transform: translateY(-3px) scale(1.045);
    box-shadow: 0 0 0 1px rgba(255, 125, 139, .9), 0 8px 24px rgba(220, 0, 38, .52),
                0 0 42px rgba(255, 24, 62, .48), inset 0 1px 0 rgba(255,255,255,.48);
}
.nx-btn-topup .nx-topup-icon {
    display: grid;
    place-items: center;
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255, 225, 170, .88);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 25%, #fff0bd 0%, #f6c45d 32%, #a85a12 100%);
    color: #5a160b;
    font-size: 23px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px rgba(255,255,255,.5);
    box-shadow: 0 0 13px rgba(255, 197, 92, .42), inset 0 1px 2px rgba(255,255,255,.8);
    animation: nxTopupCoin 3s ease-in-out infinite;
}
.nx-btn-topup .nx-topup-copy { display: block; text-align: left; line-height: 1; }
.nx-btn-topup strong, .nx-btn-topup small { display: block; }
.nx-btn-topup strong {
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: .045em;
    text-shadow: 0 1px 5px rgba(55,0,8,.55);
}
.nx-btn-topup small {
    margin-top: 5px;
    color: #ffe0df;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
}
.nx-btn-topup>i { margin-left: 3px; color: #fff; font-size: 17px; font-style: normal; }
@keyframes nxTopupGlow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(116,0,17,.8), 0 5px 16px rgba(202,0,34,.32), 0 0 22px rgba(255,24,62,.2), inset 0 1px 0 rgba(255,255,255,.38); }
    50% { box-shadow: 0 0 0 1px rgba(255,125,139,.85), 0 6px 22px rgba(220,0,38,.48), 0 0 36px rgba(255,24,62,.4), inset 0 1px 0 rgba(255,255,255,.48); }
}
@keyframes nxTopupSweep {
    0%, 20% { background-position: -180% 0, 0 0; }
    65%, 100% { background-position: 180% 0, 0 0; }
}
@keyframes nxTopupEnergyRing {
    0% { transform: scale(.96); opacity: .7; }
    78%, 100% { transform: scale(1.17); opacity: 0; }
}
@keyframes nxTopupCoin {
    0%, 100% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(22deg) scale(1.06); }
}
@media (max-width:680px) {
    .nx-hero .nx-actions .nx-btn-topup { min-height: 51px; padding-right: 16px; gap: 9px; }
    .nx-btn-topup .nx-topup-icon { flex-basis: 34px; width: 34px; height: 34px; font-size: 20px; }
    .nx-btn-topup strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-hero .nx-actions .nx-btn-topup,
    .nx-hero .nx-actions .nx-btn-topup::before,
    .nx-hero .nx-actions .nx-btn-topup::after,
    .nx-btn-topup .nx-topup-icon { animation: none !important; }
    .nx-hero .nx-actions .nx-btn-topup { transition: none; }
}
