@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: "BuranUSSR";
    src: url("../../font/battlePassSS4/BuranUSSR.ttf") format("truetype");
    font-style: normal;
}

@font-face {
    font-family: "CTS-Rattikal";
    src: url("../../font/battlePassSS4/CTS-Rattikal.ttf") format("truetype");
    font-style: normal;
}

@font-face {
    font-family: "DBOzoneXBd";
    src: url("../../font/battlePassSS4/DBOzoneXBd.ttf") format("truetype");
    font-style: normal;
}

@font-face {
    font-family: "SPACERANGERCONDENSED";
    src: url("../../font/battlePassSS4/SPACERANGERCONDENSED-YZXL.OTF") format("truetype");
    font-style: normal;
}

@font-face {
    font-family: "unoEstado";
    src: url("../../font/battlePassSS4/UNOESTADO-9YLE5.TTF") format("truetype");
    font-style: normal;
}

@font-face {
    font-family: "unoEstado";
    src: url("../../font/battlePassSS4/UNOESTADOITALIC-LGMAX.TTF") format("truetype");
    font-style: italic;
}

.fontBuranUSSR {
    font-family: "BuranUSSR", serif;
}

.fontCTS-Rattikal {
    font-family: "CTS-Rattikal", serif;
}

.fontDBOzoneXBd {
    font-family: "DBOzoneXBd";
}

.fontSpaceRangerCo {
    font-family: "SPACERANGERCONDENSED";
}


/* landingpage  */
.landingpage_mainLayout {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    padding: 20px;
    padding-top: 50px;
    font-size: 20px;

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

    font-family: "PSL319PRO", serif;
    color: #fff;

    background: url("../../img/battlePassSS4/BattlePassSS4.png");
    background-position: top;
    background-size: cover;
    overflow: hidden;
}

.landingpage_logo {
    width: 130px;
}

.landingpage_logo.Left {
    position: absolute;
    z-index: 4;
    top: 50px;
    left: 20px;
}

.landingpage_logo.right {
    position: absolute;
    z-index: 4;
    top: 55px;
    right: 20px;
}

.landingpage_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

    font-size: 30px;
    letter-spacing: 2px;
    color: white;
    text-shadow: 0.5px 0.5px #090822, 1.5px 0.5px #090822, 0.5px 1.5px #090822, 1.5px 1.5px #090822, 3px 3px 0px #fa6fff;
}

.landingpage_footerMain {
    position: relative;
    z-index: 5;
    width: 100%;

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


.landingpage_footer {
    position: relative;
    z-index: 3;

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

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.landingpage_btn {
    width: 300px;
    height: 70px;
    padding-bottom: 10px;
    border: 0px;

    font-size: 20px;
    line-height: 20px;
    font-family: "unoEstado";
    font-style: italic;

    background: url("../../img/battlePassSS4/btn.png");
    background-position: center;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;

    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.landingpage_btn span {
    width: 80%;
}

.complex-effect:hover {
    animation: complexMove 0.6s ease;
    filter: drop-shadow(0 0 5px #fa6fff);
}


@keyframes complexMove {
    0% {
        transform: translateY(0) scale(1);
    }

    25% {
        transform: translateY(-5px) scale(1.02);
    }

    50% {
        transform: translateY(-10px) scale(1.05) rotate(2deg);
    }

    75% {
        transform: translateY(-5px) scale(1.02) rotate(-1deg);
    }

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

.landingpage_title {
    max-width: 800px;
    filter: drop-shadow();
}

.landingpage_title img,
.landingpage_monster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landingpage_monster {
    position: absolute;
    z-index: 3;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
}

/* TV Static Overlay */
.tv-static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.tv-static-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Clean Static Effect */
.static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px),
        radial-gradient(circle at 80% 70%,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px),
        radial-gradient(circle at 40% 60%,
            rgba(0, 0, 0, 0.08) 1px,
            transparent 1px);
    background-size: 25px 25px, 35px 35px, 20px 20px, 30px 30px, 40px 40px;

    animation: gentleStatic 0.3s ease-in-out infinite;
}

.static::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 4px,
            rgba(0, 0, 0, 0.02) 4px,
            rgba(0, 0, 0, 0.02) 6px);
    animation: softScanlines 0.2s linear infinite;
}

@keyframes gentleStatic {
    0% {
        background-position: 0 0, 0 0, 0 0;
        opacity: 0.8;
    }

    25% {
        background-position: -10px -5px, 5px -10px, -5px 8px;
        opacity: 0.9;
    }

    50% {
        background-position: 8px 12px, -8px 8px, 12px -8px;
        opacity: 0.7;
    }

    75% {
        background-position: -5px -8px, 12px -5px, -8px 5px;
        opacity: 0.85;
    }

    100% {
        background-position: 5px 5px, -12px 12px, 8px -12px;
        opacity: 0.8;
    }
}

@keyframes softScanlines {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

/* end landingpage  */

.mainLayout_btps4 {
    position: relative;
    width: 100%;
    max-width: 1000px;
    min-height: 100dvh;


    margin: 0 auto;
}

.btps4_mainLayout {
    position: relative;
    width: 100%;
    min-height: 100dvh;

    background: url("../../img/battlePassSS4/ROC_SS4Battle.png");
    background-position: top;
    background-size: cover;

    padding: 50px 20px;

}

.btps4_logo {
    width: 120px;

    position: absolute;
    top: 50px;
    left: 10px;
}

.btps4_logo2 {
    width: 180px;
    position: absolute;
    top: 40px;
    right: 0;
}

.btps4_logo img,
.btps4_logo2 img,
.reward_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* title  */
.btps4_titleLayout {
    width: 100%;
    min-height: 250px;
    padding: 20px;

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

.btps4_title01 {
    font-size: 25px;
    font-weight: 700;
    color: #F5E7AA;
    text-transform: uppercase;
    text-shadow: 2px 3px 2px #000;
    letter-spacing: 10px;
}

.btps4_wrapper {
    position: relative;
    z-index: 3;
    display: inline-block;
}

.btps4_stroke {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 90px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    -webkit-text-stroke: 5px transparent;
    /* stroke ต้องโปร่งก่อนเพื่อใส่ gradient */
    color: transparent;
    background: linear-gradient(90deg, rgba(92, 62, 141, 1) 0%, rgba(0, 8, 135, 1) 65%);
    -webkit-background-clip: text;
    background-clip: text;
    z-index: 0;
    filter: drop-shadow(2px 3px 1px #000);
    /* เงา */
    line-height: 100px;
}

.btps4_fill {
    font-size: 90px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(90deg, rgba(251, 141, 255, 1) 0%, rgba(254, 252, 251, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    z-index: 1;
    line-height: 100px;
}

.btps4_stroke02 {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 70px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    -webkit-text-stroke: 5px transparent;
    /* stroke ต้องโปร่งก่อนเพื่อใส่ gradient */
    color: transparent;
    background: linear-gradient(0deg, #ffd429 0%, #fff 65%);
    -webkit-background-clip: text;
    background-clip: text;
    z-index: 0;
    filter: drop-shadow(2px 3px 1px #000);
    /* เงา */
    line-height: 80px;
}

.btps4_fill02 {
    font-size: 70px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(90deg, #5c3e8d 0%, #000887 65%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    z-index: 1;
    line-height: 80px;

}

/* Content  */
.btps4_contentMainLayout {
    width: 100%;
    min-height: 100dvh;
    padding: 20px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
    color: #fff;
}

.btps4_normalLayout {
    width: 100%;
    background: #ff9a05;
    border-radius: 30px 30px 0px 0px;
    padding: 5px;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btps4_normalsubLayout {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btps4_premiumLayout {
    width: 100%;
    background: #040e87;
    border-radius: 30px 30px 0px 0px;
    padding: 5px;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btps4_contentTitle {
    width: 100%;
    height: 70px;
    padding: 20px;

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

    font-size: 45px;
    font-weight: bold;
    text-align: center;
    font-family: "CTS-Rattikal", serif;
    letter-spacing: 2px;

}

.btps4_contentTitle.normal {
    text-shadow: 2px 2px 3px #e46e00;
    color: #fff;
}

.btps4_contentTitle.premium {
    text-shadow: 2px 2px 3px #000329;
    color: #ffb605;
}

.btps4_tableMainLayout {
    width: 100%;
    min-height: 80px;
    display: flex;
    gap: 5px;
    font-family: "Kanit", sans-serif;

}

.btps4_tableMainLayout.high {
    min-height: 460px;
}

.btps4_tableMainLayout.high02 {
    min-height: 175px;
}

.btps4_tableTopic {
    width: 80px;
    min-width: 80px;

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

.btps4_tableTopic.normal {
    background: #ffebcd;
    font-size: 16px;
    font-weight: 500;
    color: #ff9a05;
}

.btps4_tableTopic.premium {
    background: #cdcfe7;
    font-size: 16px;
    font-weight: 500;
    color: #040e87;
}

.btps4_tableContent {
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    background: #fff;
    color: #000;
}

.btps4_tableContent.high {
    height: 180px;
}

/* reward  */
.reward_img {
    width: 30px;
    min-width: 30px;
}

.reward_MainLayout {
    width: 100px;

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

.reward_MainLayout p {
    font-size: 12px;
    line-height: 15px;

    display: flex;
    flex-direction: column;
    justify-content: start;
}

.reward_MainLayout02 {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.reward_MainLayout02 p {
    font-size: 12px;
    line-height: 15px;
}

.reward_MainLayout03 {
    width: 150px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


.reward_MainLayout03 p {
    font-size: 12px;
    line-height: 15px;
}

.reward_noteLayout {
    width: 100%;
    height: 35px;
    padding: 5px;

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

    color: #fff200;
    font-size: 16px;
}

.reward_specialTitle {
    color: #ff0000;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    text-shadow: 1px 1px 1px #fff200;
}

.reward_footer {
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 32%, rgba(228, 196, 149, 1) 69%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 0px 6px #c57600);

}

.reward_btnBack {
    position: absolute;
    top: 140px;
    left: 15px;
    z-index: 10;
    width: 130px;
    height: 30px;
    font-size: 12px;
    padding-bottom: 6px;
}