/* FONT  */
@font-face {
    font-family: "Gotham";
    src: url("../font/Gotham-Black.otf") format("opentype");
    font-weight: 800;
    /* normal */
    font-style: normal;
}

@font-face {
    font-family: "Gotham";
    src: url("../font/GothamBold.ttf") format("truetype");
    font-weight: 700;
    /* normal */
    font-style: normal;
}

@font-face {
    font-family: "Gotham";
    src: url("../font/GothamMedium.ttf") format("truetype");
    font-weight: 600;
    /* normal */
    font-style: normal;
}

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

.anniv5thMainLayout {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding: 50px;
    padding-top: 150px;

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

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

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

.anniv5thLogo {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 750px;
}

.anniv5thButtonMainLayout {
    position: absolute;
    z-index: 6;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    min-height: 60px;

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

/* =========================
   BUTTON
========================= */
.anniv5thButton_img {
    position: relative;
    width: 250px;
    height: 70px;
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
    padding: 0;
    display: block;
    transform-origin: center;
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), filter .12s ease !important;
    -webkit-tap-highlight-color: transparent;
}

.anniv5thButton_img.event {
    position: relative;
    width: 650px;
    height: 70px;
}

.anniv5thButton_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    user-select: none;
    transition: opacity .3s ease !important;
}

.anniv5thButton_img img.base {
    opacity: 1;
}

.anniv5thButton_img img.active {
    opacity: 0;
}

.anniv5thButton_img:hover {
    transform: scale(1.1) rotate(0deg) !important;
}

@keyframes wiggle {
    0% {
        transform: scale(1.16) rotate(0deg);
    }

    25% {
        transform: scale(1.16) rotate(-3deg);
    }

    55% {
        transform: scale(1.16) rotate(3deg);
    }

    80% {
        transform: scale(1.16) rotate(-1.5deg);
    }

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

.anniv5thButton_img:hover img.base {
    opacity: 0;
}

.anniv5thButton_img:hover img.active {
    opacity: 1;
}

.anniv5thButton_img:active {
    transform: scale(1.06) !important;
    transition-duration: .1s;
}

.anniv5thButton_img.register:hover {
    animation: ease-in-out 1, glowPulseBlue 1s ease-in-out infinite !important;
    z-index: 2;
}

@keyframes glowPulseBlue {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(90, 170, 255, .8)) drop-shadow(0 0 26px rgba(90, 170, 255, .55)) drop-shadow(0 0 46px rgba(90, 170, 255, .3));
    }

    50% {
        filter: drop-shadow(0 0 18px rgba(140, 205, 255, 1)) drop-shadow(0 0 40px rgba(140, 205, 255, .7)) drop-shadow(0 0 70px rgba(140, 205, 255, .4));
    }
}

.anniv5thButton_img.preorder:hover {
    animation: ease-in-out 1, glowPulsePink 1s ease-in-out infinite !important;
    z-index: 2;
}

@keyframes glowPulsePink {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(255, 90, 170, .8)) drop-shadow(0 0 26px rgba(255, 90, 170, .55)) drop-shadow(0 0 46px rgba(255, 90, 170, .3));
    }

    50% {
        filter: drop-shadow(0 0 18px rgba(255, 140, 205, 1)) drop-shadow(0 0 40px rgba(255, 140, 205, .7)) drop-shadow(0 0 70px rgba(255, 140, 205, .4));
    }
}

.anniv5thButton_img.website:hover {
    animation: ease-in-out 1, glowPulseGold 1s ease-in-out infinite !important;
    z-index: 2;
}

@keyframes glowPulseGold {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(255, 210, 90, .8)) drop-shadow(0 0 26px rgba(255, 210, 90, .55)) drop-shadow(0 0 46px rgba(255, 210, 90, .3));
    }

    50% {
        filter: drop-shadow(0 0 18px rgba(255, 230, 150, 1)) drop-shadow(0 0 40px rgba(255, 230, 150, .7)) drop-shadow(0 0 70px rgba(255, 230, 150, .4));
    }
}

/* sparkle particles injected by JS */
.sparkle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    pointer-events: none;
    background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    z-index: 5;
}

@keyframes sparklePop {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.2);
    }
}

/* =========================
   OBJECT - PORING
========================= */
.anniv5thporing_1 {
    position: absolute;
    z-index: 1;
    top: 15%;
    left: 20%;

    width: 7%;
}

.anniv5thporing_2 {
    position: absolute;
    z-index: 2;
    top: 20%;
    right: 7%;

    width: 12%;
}

.anniv5thporing_3 {
    position: absolute;
    z-index: 2;
    top: 19%;
    left: 0%;

    width: 22%;
}

.anniv5thporing_4 {
    position: absolute;
    z-index: 3;
    bottom: -6%;
    left: 2%;

    width: 22%;
}

/* =========================
   BUTTON - MAIN
========================= */
.btnMainWeb {
    width: 200px;
    height: 55px;
    padding: 10px;
    border: 0px solid transparent;

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

    font-size: 20px;
    font-weight: 700;
    font-family: 'Kanit';

    background: url("../images/button/btn.png");
    background-position: center;
    background-size: cover;
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.btnMainWeb span {
    color: #fcdc9e;

    text-shadow:
        -1px -1px 0 #3e2520,
        0 -1px 0 #3e2520,
        1px -1px 0 #3e2520,
        -1px 0 0 #3e2520,
        1px 0 0 #3e2520,
        -1px 1px 0 #3e2520,
        0 1px 0 #3e2520,
        1px 1px 0 #3e2520;



    transition: transform 0.25s ease;
}

.btnMainWeb:hover {
    transform: translateY(-3px) scale(1.03);
    filter:
        drop-shadow(0 0 4px rgba(255, 233, 89, 0.8)) drop-shadow(0 0 12px rgba(255, 233, 89, 0.55));
}

.btnMainWeb:hover span {
    transform: scale(1.02);
}

.btnMainWeb:active {
    transform: translateY(1px) scale(0.98);
    filter:
        drop-shadow(0 0 4px rgba(255, 233, 89, 0.5));
}

.anniv5thButtonEvent {
    width: 600px;
    height: 55px;
    border: 1px solid transparent;
    padding: 5px 10px;

    background: url("../images/button/btnEvent.png");
    background-position: center;
    background-size: cover;

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

    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.anniv5thButtonEvent:hover {
    transform: translateY(-4px) scale(1.08);
    filter:
        brightness(1.08) drop-shadow(0 0 4px rgba(255, 220, 120, 0.7)) drop-shadow(0 0 10px rgba(255, 190, 70, 0.5));
}

.anniv5thButtonEvent:active {
    transform: translateY(-1px) scale(0.99);
}

.gradientOutlineText {
    position: relative;
    display: inline-block;
    color: #5a321d;
}

.gradientOutlineText::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: 0;
    color: #5a321d;
    -webkit-text-stroke: 3px #5a321d;
    pointer-events: none;
}

.gradientOutlineText>span {
    position: relative;
    z-index: 1;
    background: linear-gradient(0deg,
            #ffe35b 0%,
            #ffffff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================
   RESPONSIVE
========================= */
/* ========== Extra Extra Large ≥1400px ========== */
@media (max-width: 1400px) {
    .anniv5thporing_2 {
        right: 3%;
        width: 220px;
    }

    .anniv5thporing_3 {
        top: 25%;
        width: 350px;
    }

    .anniv5thporing_4 {
        width: 350px;
    }
}

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

/* ========== Large ≥992px ========== */
@media (max-width: 992px) {
    .anniv5thporing_2 {
        right: 2%;
        width: 180px;
        top: 12%;
    }

    .anniv5thporing_1 {
        left: 42%;
        width: 100px;
    }

    .anniv5thporing_3 {
        top: 22%;
        width: 250px;
    }

    .anniv5thLogo {
        max-width: 600px;
    }

    .anniv5thButton_img {
        position: relative;
        width: 230px;
    }

    .anniv5thButtonMainLayout {
        bottom: 14%;
    }

    .btnMainWeb {
        width: 150px;
        height: 42px;
        font-size: 15px;
    }
}

/* ========== Medium ≥768px ========== */
@media (max-width: 768px) {
    .anniv5thButton_img {
        position: relative;
        width: 250px;
        height: 70px;
    }

    .anniv5thporing_2 {
        right: 2%;
        width: 140px;
        top: 12%;
    }

    .anniv5thporing_1 {
        left: 40%;
        width: 100px;
    }

    .anniv5thporing_3 {
        top: 22%;
        width: 200px;
    }

    .anniv5thLogo {
        max-width: 600px;
    }

    .anniv5thporing_4 {
        width: 300px;
    }

    .anniv5thButtonMainLayout {
        position: relative;
        z-index: 6;
        bottom: 0%;
        left: 0%;
        transform: translateX(0%);
    }

    .anniv5thMainLayout {
        padding: 50px 20px;
        padding-top: 150px;
    }

    .anniv5thButton_img.event {
        position: relative;
        width: 500px;
        height: 50px;
    }

    .anniv5thButtonEvent {
        width: 500px;
        height: 48px;
        font-size: 13px;
    }
}

/* ========== Small ≥576px ========== */
@media (max-width: 576px) {
    .anniv5thButton_img {
        position: relative;
        width: 180px;
        height: 55px;
    }

    .anniv5thporing_3 {
        top: 26%;
        width: 150px;
    }

    .anniv5thporing_2 {
        right: 0%;
        width: 100px;
        top: 21%;
    }

    .anniv5thporing_1 {
        left: 35%;
        width: 80px;
    }

    .anniv5thporing_4 {
        width: 200px;
    }


    .anniv5thLogo {
        max-width: fit-content;
        width: 450px;
        min-width: 450px;
    }

    .anniv5thButton_img.event {
        position: relative;
        width: 400px;
        height: 40px;
    }

    .anniv5thButtonEvent {
        background: url("../images/button/btnEventMobile.png");
        background-position: center;
        background-size: cover;

        width: 280px;
        height: 65px;
        padding: 5px 32px;
        line-height: 15px;
        font-size: 13px;
    }
}

@media (max-width: 460px) {
    .anniv5thLogo {
        width: 380px;
        min-width: 380px;
    }

    .anniv5thButton_img.event {
        position: relative;
        width: 350px;
        height: 35px;
    }
}

@media (max-width: 350px) {
    .anniv5thLogo {
        width: 100%;
        min-width: fit-content;
    }

    .anniv5thMainLayout {
        padding: 50px 5px;
        padding-top: 150px;
    }

    .anniv5thButton_img.event {
        position: relative;
        width: 280px;
        height: 30px;
    }
}