@font-face {
    font-family: "sd_prototype";
    src: url("../fonts/sd_prototype.ttf") format("truetype");
    font-weight: 800;
    /* normal */
    font-style: normal;
}

.font-sd_prototype {
    font-family: "sd_prototype", sans-serif;
}

.nxaMainLayout {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding: 50px;
    padding-bottom: 0px;
    overflow: hidden;

    background: url("https://img.gnjoy.in.th/2026/13/roc_NewDungeonNoggRoad_AbyssGlastheim/bg.png");
    background-position: center;
    background-size: cover;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;

    color: #fff;
}

.footerBg_object {
    position: absolute;
    z-index: 3;
    bottom: 0px;
    left: 0px;

    width: 100%;
    height: 200px;

    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 49%, rgba(0, 0, 0, 1) 100%);
}

.nxaDarkLordCharacter {
    position: absolute;
    z-index: 1;
    top: -50px;
    right: -200px;
    width: 1700px;
    height: auto;
}

.nxaWolfCharacter {
    position: absolute;
    z-index: 2;
    top: 50px;
    left: 0;
    width: 1100px;
    height: auto;
}

.nxaContentLogoMainLayout {
    position: relative;
    z-index: 4;
    width: 100%;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.nxaLogoNoggRoad {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.nxaSpan {
    width: 100%;
    max-width: 120px;
    margin: 0px 80px;
}

.nxaLogoAbyss {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.nxaContentFooterLayout {
    position: relative;
    z-index: 4;

    width: 100%;
    min-height: 50px;
    margin-bottom: 0px;
    padding: 0px 100px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-family: "sd_prototype", sans-serif;
}

.nxaContentFooterLayout .text-effect {
    position: relative;
    display: inline-block;

    font-size: 60px;
    line-height: 60px;
    letter-spacing: 1px;
    font-style: italic;
}

.text-shadow {
    position: absolute;
    inset: 0;
    color: #2b0300;
    transform: translate(0px, 10px);
    filter: blur(4px);
    z-index: 1;
}

.text-outline {
    position: absolute;
    inset: 0;
    color: #000;
    -webkit-text-stroke: 5px #000;
    z-index: 2;
}

.gradient-text {
    position: relative;
    z-index: 3;

    background: linear-gradient(180deg,
            rgba(164, 164, 164, 1) 0%,
            rgba(255, 255, 255, 1) 49%,
            rgba(190, 190, 190, 1) 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.nxaContentFooterLayout #des {
    font-size: 30px;
    line-height: 30px;
    color: #bebebe;
    text-shadow: 2px 1px 2px #000000;
}

.nxaContentFooterMenuLayout {
    position: relative;
    z-index: 4;
    width: 100%;
    min-height: 45px;
    padding: 20px 20px;
    padding-bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.nxaHr {
    width: 2px;
    min-width: 2px;
    height: 40px;
    border-radius: 20px;
    margin: 0px 20px;

    background: #9999999a;
}

.nxaButton {
    width: fit-content;
    min-width: 130px;
    height: 45px;
    border: 0px;
    border-bottom: 2px solid #7b2a1b;

    background: transparent;
    color: #fff;
    font-family: "sd_prototype", sans-serif;
    font-size: 30px;
    line-height: 30px;
    font-weight: 800;

    transition: .5s all;
}

.nxaButton span {
    position: relative;
    z-index: 3;

    background: linear-gradient(180deg,
            #11100e 0%,
            #efefef 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: .5s all;
}

.nxaButton:hover {
    border-bottom: 2px solid #7efee4;
}

.nxaButton:hover span {
    position: relative;
    z-index: 3;

    background: linear-gradient(180deg,
            #efefef 0%,
            #efefef 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ==============
   ANIMATION
   ============== */
.nxaDarkLordCharacter,
.nxaWolfCharacter,
.nxaLogoNoggRoad,
.nxaSpan,
.nxaLogoAbyss,
.nxaContentFooterLayout .text-effect,
.nxaContentFooterLayout #des {
    opacity: 0;
    will-change: transform, opacity, filter;
}

@keyframes nxaWolfEnter {
    0% {
        opacity: 0;
        transform: translateX(-140px) scale(0.85) rotate(-4deg);
        filter: drop-shadow(0 0 0px rgba(255, 120, 30, 0));
    }

    55% {
        opacity: 1;
        transform: translateX(18px) scale(1.04) rotate(1.5deg);
        filter: drop-shadow(0 0 35px rgba(255, 120, 30, 0.9));
    }

    75% {
        transform: translateX(-8px) scale(0.99) rotate(-0.5deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 16px rgba(255, 120, 30, 0.5));
    }
}

@keyframes nxaWolfGlowPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 14px rgba(255, 110, 20, 0.45));
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(255, 150, 50, 0.85));
    }
}

.nxaWolfCharacter {
    animation:
        nxaWolfEnter 0.8s cubic-bezier(.22, 1, .36, 1) 0.12s forwards,
        nxaWolfGlowPulse 2.4s ease-in-out 0.95s infinite;
}

.nxaWolfCharacter img {
    transition: transform 0.35s ease-out;
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

@keyframes nxaDarkLordEnter {
    0% {
        opacity: 0;
        transform: translateX(140px) scale(0.85) rotate(4deg);
        filter: drop-shadow(0 0 0px #ff781e00);
    }

    55% {
        opacity: 1;
        transform: translateX(18px) scale(1.04) rotate(1.5deg);
        filter: drop-shadow(0 0 35px #50ffdcbf);
    }

    75% {
        transform: translateX(8px) scale(0.99) rotate(-0.5deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 16px #50ffdc59);
    }
}

@keyframes nxaDarkLordAuraPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 12px #50ffdc59);
    }

    50% {
        filter: drop-shadow(0 0 28px #50ffdcbf);
    }
}

.nxaDarkLordCharacter {
    animation:
        nxaDarkLordEnter 0.8s ease-out 0.22s forwards,
        nxaDarkLordAuraPulse 3s ease-in-out 1.1s infinite;
}

.nxaDarkLordCharacter img {
    transition: transform 0.35s ease-out;
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

@keyframes nxaLogoFireEnter {
    0% {
        opacity: 0;
        transform: translateY(45px) scale(0.8);
    }

    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.06);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nxaLogoNoggRoad {
    animation:
        nxaLogoFireEnter 0.6s cubic-bezier(.34, 1.56, .64, 1) 0.65s forwards,
        nxaLogoBreathe 2.8s ease-in-out 1.3s infinite;
}

@keyframes nxaLogoBreathe {

    0%,
    100% {
        scale: 1;
    }

    50% {
        scale: 1.035;
    }
}


.nxaSpan {
    position: relative;
    opacity: 1;
}

@keyframes nxaXClashEnter {
    0% {
        opacity: 0;
        transform: scale(3) rotate(25deg);
    }

    50% {
        opacity: 1;
        transform: scale(0.85) rotate(-8deg);
    }

    70% {
        transform: scale(1.12) rotate(4deg);
    }

    85% {
        transform: scale(0.96) rotate(-1deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.nxaSpan img {
    opacity: 0;
    animation: nxaXClashEnter 0.45s cubic-bezier(.36, .07, .19, .97) 1.1s forwards;
}

.nxaSpan::after {
    content: "";
    position: absolute;
    inset: -30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    animation: nxaXSpark 0.4s ease-out 1.25s forwards;
}

@keyframes nxaXSpark {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    40% {
        opacity: 0.9;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.7);
    }
}

@keyframes nxaLogoIceEnter {
    0% {
        opacity: 0;
        transform: translateY(45px) scale(0.8);
    }

    40% {
        opacity: 0.3;
    }

    48% {
        opacity: 0.05;
    }

    60% {
        opacity: 0.9;
        transform: translateY(-6px) scale(1.04);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nxaLogoAbyss {
    animation:
        nxaLogoIceEnter 0.65s ease-out 1.4s forwards,
        nxaLogoBreathe 2.8s ease-in-out 2.1s infinite;
}

.nxaContentFooterLayout .text-effect {
    clip-path: inset(0 100% 0 0);
    animation:
        nxaTitleWipe 0.65s cubic-bezier(.22, 1, .36, 1) 1.9s forwards,
        nxaTitleFadeIn 0.1s linear 1.9s forwards;
}

@keyframes nxaTitleFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes nxaTitleWipe {
    to {
        clip-path: inset(0 0 0 0);
    }
}

.nxaContentFooterLayout #des {
    transform: translateY(15px);
    animation: nxaDesFadeIn 0.6s ease-out 2.4s forwards;
}

@keyframes nxaDesFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nxaContentFooterMenuLayout>a,
.nxaContentFooterMenuLayout>.nxaHr {
    opacity: 0;
}

@keyframes nxaMenuItemRise {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nxaHrGrow {
    0% {
        opacity: 0;
        transform: scaleY(0);
    }

    100% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.nxaContentFooterMenuLayout>a {
    animation: nxaMenuItemRise 0.45s cubic-bezier(.22, 1, .36, 1) forwards;
}

.nxaContentFooterMenuLayout>.nxaHr {
    transform-origin: center;
    animation: nxaHrGrow 0.4s ease-out forwards;
}

.nxaContentFooterMenuLayout>a:nth-child(1) {
    animation-delay: 3s;
}

.nxaContentFooterMenuLayout>.nxaHr:nth-child(2) {
    animation-delay: 3.1s;
}

.nxaContentFooterMenuLayout>a:nth-child(3) {
    animation-delay: 3.2s;
}

.nxaContentFooterMenuLayout>.nxaHr:nth-child(4) {
    animation-delay: 3.3s;
}

.nxaContentFooterMenuLayout>a:nth-child(5) {
    animation-delay: 3.4s;
}

@keyframes nxaShake {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    20% {
        transform: translate3d(-6px, 3px, 0);
    }

    40% {
        transform: translate3d(6px, -3px, 0);
    }

    60% {
        transform: translate3d(-4px, 2px, 0);
    }

    80% {
        transform: translate3d(4px, -2px, 0);
    }
}

.nxaMainLayout.nxa-shake {
    animation: nxaShake 0.4s ease-in-out;
}

/* @media (prefers-reduced-motion: reduce) {

    .nxaDarkLordCharacter,
    .nxaWolfCharacter,
    .nxaLogoNoggRoad,
    .nxaSpan,
    .nxaSpan img,
    .nxaSpan::after,
    .nxaLogoAbyss,
    .nxaContentFooterLayout .text-effect,
    .nxaContentFooterLayout #des,
    .nxaLogoNoggRoad::after,
    .nxaLogoAbyss::after,
    .nxaContentFooterMenuLayout>a,
    .nxaContentFooterMenuLayout>.nxaHr,
    .nxaWolfCharacter img,
    .nxaDarkLordCharacter img {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        filter: none !important;
    }

    .nxaLogoNoggRoad::after,
    .nxaLogoAbyss::after {
        opacity: 0 !important;
    }
} */

.nxaMainLayout.nxa-force-visible .nxaDarkLordCharacter,
.nxaMainLayout.nxa-force-visible .nxaWolfCharacter,
.nxaMainLayout.nxa-force-visible .nxaLogoNoggRoad,
.nxaMainLayout.nxa-force-visible .nxaSpan,
.nxaMainLayout.nxa-force-visible .nxaSpan img,
.nxaMainLayout.nxa-force-visible .nxaLogoAbyss,
.nxaMainLayout.nxa-force-visible .nxaContentFooterLayout .text-effect,
.nxaMainLayout.nxa-force-visible .nxaContentFooterLayout #des,
.nxaMainLayout.nxa-force-visible .nxaContentFooterMenuLayout>a,
.nxaMainLayout.nxa-force-visible .nxaContentFooterMenuLayout>.nxaHr {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
}

/* ==============
   RESPONSIVE
   ============== */
@media (max-width: 1575px) {
    .nxaWolfCharacter {
        left: -100px;
        width: 900px;
    }

    .nxaDarkLordCharacter {
        top: 10px;
        right: -240px;
        width: 1400px;
    }
}

/* ========== Extra Extra Large ≥1400px ========== */
@media (max-width: 1400px) {}

/* ========== Extra Large ≥1200px ========== */
@media (max-width: 1200px) {
    .nxaContentFooterLayout #des {
        font-size: 25px;
        line-height: 25px;
    }

    .nxaSpan {
        max-width: 90px;
        margin: 0px 60px;
    }

    .nxaWolfCharacter {
        left: -100px;
        width: 700px;
        top: 120px;
    }
}

/* ========== Large ≥992px ========== */
@media (max-width: 992px) {
    .nxaMainLayout {
        padding: 50px 20px;
    }

    .nxaWolfCharacter {
        left: -100px;
        width: 580px;
        top: 150px;
    }

    .nxaDarkLordCharacter {
        top: 85px;
        right: -190px;
        width: 1000px;
    }

    .nxaContentFooterLayout .text-effect {
        font-size: 50px;
        line-height: 50px;
    }

    .nxaContentFooterLayout #des {
        font-size: 22px;
        line-height: 22px;
    }

    .text-outline {
        -webkit-text-stroke: 4px #000;
    }

}

/* ========== Medium ≥768px ========== */
@media (max-width: 768px) {
    .nxaContentFooterLayout .text-effect {
        font-size: 40px;
        line-height: 40px;
    }

    .nxaSpan {
        max-width: 60px;
        margin: 0px 20px;
    }

    .nxaLogoNoggRoad {
        max-width: 350px;
    }

    .nxaLogoAbyss {
        max-width: 350px;
    }

    .nxaWolfCharacter {
        width: 450px;
        top: 150px;
    }

    .nxaDarkLordCharacter {
        top: 85px;
        width: 800px;
    }

    .nxaContentFooterLayout {
        padding: 0px 0px;
    }

    .nxaButton {
        width: fit-content;
        min-width: 80px;
        font-size: 25px;
        line-height: 25px;
    }
}

/* ========== Small ≥576px ========== */
@media (max-width: 576px) {
    .nxaContentLogoMainLayout {
        flex-direction: column;
    }

    .nxaLogoNoggRoad {
        max-width: 250px;
    }

    .nxaLogoAbyss {
        max-width: 250px;
    }

    .nxaContentFooterLayout .text-effect {
        font-size: 35px;
        line-height: 35px;
    }

    .nxaContentFooterLayout #des {
        font-size: 20px;
        line-height: 20px;
    }

    .nxaContentFooterMenuLayout {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 0px;
    }

    .nxaHr {
        display: none;
    }

    .nxaButton {
        font-size: 25px;
        line-height: 25px;
    }

    .nxaMainLayout {
        position: relative;
        width: 100%;
        min-height: 100dvh;
        padding: 50px 10px;
        padding-top: 105px;
        background: url("https://img.gnjoy.in.th/2026/13/roc_NewDungeonNoggRoad_AbyssGlastheim/bg_mobile.png");
        background-position: top;
        background-size: cover;
        justify-content: end;
    }

    .nxaDarkLordCharacter,
    .nxaWolfCharacter {
        display: none;
    }

    .footerBg_object {
        height: 500px;
    }

}