body.modal-open {
    padding-right: 0 !important;
}

.modal {
    padding-right: 0 !important;
}

/* =========== 
    FONT 
===========*/
@font-face {
    font-family: "PSLTextSP";
    src: url("../font/PSLTextSP/PSL001SP.TTF") format("truetype");
    font-weight: 600;
    /* normal */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PSLTextSP";
    src: url("../font/PSLTextSP/PSL002SP.TTF") format("truetype");
    font-weight: 700;
    /* normal */
    font-style: normal;
    font-display: swap;
}

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

.shadowDreamMainLayout {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 50px;
    padding-bottom: 20px;

    background: url("https://img.gnjoy.in.th/2026/13/BattlePassShadowedDream/bbgMain.png") top / cover;
    background-color: #050806;
    isolation: isolate;

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

    color: #fff;
}

.shadowDreamContentMainLayout {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: 200px;
    padding-bottom: 10px;

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

.shadowDreamLogo {
    width: 100%;
    max-width: 700px;

    filter:
        drop-shadow(1px 1px 5px #579530);
}

.shadowDreamBtnWeb {
    width: fit-content;
    min-width: 180px;
    min-height: 35px;
    padding: 5px 25px;
    border: 0px solid transparent;

    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(255, 240, 153, 0) 0%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(255, 252, 235, 0) 100%);

    font-family: "PSLTextSP", sans-serif;
    font-size: 25px;
    line-height: 22px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;

    filter:
        drop-shadow(0px 0px 2px #3d701d) drop-shadow(0px 0px 5px #3d701d) drop-shadow(0px 0px 10px #3d701d);
}

.shadowDreamBtnWeb:hover,
.shadowDreamBtnWeb:focus-visible {
    text-decoration: none;
}

.shadowDreamBtnWeb span {
    color: #b2ff83;
    text-shadow:
        1px 1px 2px #ffffff4d,
        -1px -1px 2px #ffffff4d,
        0 0 6px #ffffff4d,
        0 0 10px #ffffff4d;
}

.shadowDreamBtnWeb.mini {
    min-width: 140px;
    font-size: 20px;
    line-height: 20px;

    filter:
        drop-shadow(0px 0px 2px #3d701d) drop-shadow(0px 0px 5px #3d701d);
}

/* =========
Character + Object
========= */
.shadowDreamCharacter_main {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    min-width: 50%;
    max-width: 960px;
}

.shadowDreamCharacter_2 {
    position: absolute;
    z-index: 2;
    bottom: 10%;
    left: 18%;

    width: 100%;
    min-width: 22%;
    max-width: 350px;
}

.shadowDreamCharacter_3 {
    position: absolute;
    z-index: 3;
    bottom: 0%;
    right: 15%;

    width: 100%;
    min-width: 22%;
    max-width: 350px;
}

.shadowDreamObject_1 {
    position: absolute;
    z-index: 2;
    bottom: 0%;
    left: 10%;

    width: 100%;
    min-width: 60%;
    max-width: 1200px;

    opacity: .8;
    filter: brightness(0.5) contrast(1.2);
}

.shadowDreamObject_2 {
    position: absolute;
    z-index: 3;
    top: 5%;
    left: 0px;

    width: 100%;
    min-width: 45%;
    max-width: 800px;

    opacity: .7;
    filter: brightness(1.5);
}

.shadowDreamObject_3 {
    position: absolute;
    z-index: 4;
    bottom: 5%;
    right: 0px;

    width: 100%;
    min-width: 40%;
    max-width: 700px;

    opacity: .7;
}

/* =========
MENU
========= */
.shadowDreamMenuMainLayout {
    position: absolute;
    z-index: 5;
    right: 20px;
    padding: 50px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;

    width: fit-content;
    min-width: 150px;
    height: 100%;
}

.shadowDreamMenu {
    width: 140px;
    height: 35px;
    border: 0px solid transparent;

    background: url("../images/btn/button.png") center / cover;

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

    font-family: "PSLTextSP", sans-serif;
    font-size: 21px;
    line-height: 18px;
    font-weight: 700;

    filter:
        drop-shadow(1px 1px 5px #000000) drop-shadow(1px 1px 10px #000000);
}

.shadowDreamMenu span {
    color: #91c87d;
    text-shadow:
        0 0 1px #000,
        0 0 3px #000,
        0 0 6px #000,
        0 0 12px #000,
        0 0 25px #000,
        0 0 40px rgba(0, 0, 0, 0.85);
}

.shadowDreamMenuHr {
    width: 100%;
    margin: 10px 0px;
    border-bottom: 2px dashed #c9ffb5b0;
}

/* =========================
   HOVER ACTIONS
   ========================= */

.shadowDreamMenu {
    cursor: pointer;
    transition:
        transform .2s ease,
        filter .25s ease;
}

.shadowDreamMenu span {
    transition: color .25s ease, text-shadow .25s ease;
}

.shadowDreamMenu:hover,
.shadowDreamMenu:focus-visible {
    transform: translateY(-2px);
    filter:
        brightness(1.22) contrast(1.05) saturate(1.1) drop-shadow(0 4px 6px rgba(0, 0, 0, .9));
    outline: none;
}

.shadowDreamMenu:hover span,
.shadowDreamMenu:focus-visible span {
    color: #c9f5b0;
    text-shadow:
        0 0 2px #000,
        0 0 6px rgba(160, 255, 120, .65),
        0 0 14px rgba(111, 212, 90, .45),
        0 0 3px #000;
}

.shadowDreamMenu:active {
    transform: translateY(1px);
    filter:
        brightness(.92) drop-shadow(0 1px 2px rgba(0, 0, 0, .9));
}

.shadowDreamMenu.is-active {
    filter: brightness(1.15) drop-shadow(1px 1px 8px #000);
}

.shadowDreamMenu.is-active span {
    color: #c9f5b0;
}

.shadowDreamBtnWeb,
.shadowDreamBtnGlow {
    position: relative;
    cursor: pointer;
    transition: transform .2s ease, filter .25s ease;
}

.shadowDreamBtnWeb img,
.shadowDreamBtnGlow img {
    transition: filter .25s ease, transform .2s ease;
}

.shadowDreamBtnWeb:hover,
.shadowDreamBtnWeb:focus-visible,
.shadowDreamBtnGlow:hover,
.shadowDreamBtnGlow:focus-visible {
    transform: scale(1.08);
    outline: none;
    filter:
        drop-shadow(0 0 4px #c8ff5a) drop-shadow(0 0 12px #6fd45a) drop-shadow(0 0 24px rgba(87, 149, 48, .9));
    animation: sdGlowPulse 1.3s ease-in-out infinite;
}

.shadowDreamBtnWeb:hover img,
.shadowDreamBtnWeb:focus-visible img,
.shadowDreamBtnGlow:hover img,
.shadowDreamBtnGlow:focus-visible img {
    filter: brightness(1.35) saturate(1.2);
}

.shadowDreamBtnWeb:active,
.shadowDreamBtnGlow:active {
    transform: scale(.96);
    animation: none;
}

@keyframes sdGlowPulse {

    0%,
    100% {
        filter:
            drop-shadow(0 0 4px #c8ff5a) drop-shadow(0 0 10px #6fd45a) drop-shadow(0 0 20px rgba(87, 149, 48, .8));
    }

    50% {
        filter:
            drop-shadow(0 0 6px #e6ff8a) drop-shadow(0 0 16px #8dff6a) drop-shadow(0 0 32px rgba(111, 212, 90, 1));
    }
}

@media (hover: none) {

    .shadowDreamMenu:hover,
    .shadowDreamBtnWeb:hover,
    .shadowDreamBtnGlow:hover {
        transform: none;
    }
}


/* =========
RESPONSIVE
========= */
@media (max-width: 1659.98px) {
    .shadowDreamCharacter_2 {
        bottom: 13%;
        left: 10%;
        max-width: 480px;
    }

    .shadowDreamCharacter_3 {
        right: 10%;
        max-width: 430px;
    }
}

/* ≤ 1399.98px (xl ลงมา) */
@media (max-width: 1399.98px) {}

/* ≤ 1199.98px (lg ลงมา) */
@media (max-width: 1199.98px) {}

/* ≤ 991.98px (md ลงมา) */
@media (max-width: 991.98px) {
    .shadowDreamMainLayout {
        padding: 20px;
        padding-bottom: 20px;
        align-items: center;
    }

    .shadowDreamMenuMainLayout {
        position: relative;
        z-index: 5;
        right: 0px;
        padding: 0px 0px;
        padding-top: 0px;
    }

    .shadowDreamCharacter_2 {
        bottom: 13%;
        left: 0%;
        max-width: 400px;
    }

    .shadowDreamCharacter_3 {
        right: 0%;
        max-width: 400px;
    }
}

/* ≤ 767.98px (sm ลงมา) */
@media (max-width: 767.98px) {
    .shadowDreamObject_1 {
        display: none;
    }
}

/* ≤ 575.98px (xs / mobile เล็กสุด) */
@media (max-width: 575.98px) {
    .shadowDreamCharacter_3 {
        right: 0%;
        max-width: 300px;
    }

    .shadowDreamCharacter_2 {
        left: 0%;
        max-width: 300px;
    }

    .shadowDreamMainLayout {
        padding: 20px 0px;
    }
}