html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

/* ==== Font ===== */
@font-face {
    font-family: "Bakeri_DEMO_VERSION";
    src: url("../font/Bakeri-DEMO-VERSION-BF6972e7462df21.otf") format("truetype");
    /* normal */
    font-style: normal;
}

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

:root {
    /* Heading */
    --fs-h1: clamp(36px, 3vw + 20px, 72px);
    --fs-h2: clamp(30px, 2.5vw + 16px, 60px);
    --fs-h3: clamp(26px, 2vw + 14px, 48px);
    --fs-h4: clamp(22px, 1.5vw + 13px, 38px);
    --fs-h5: clamp(18px, 1vw + 12px, 30px);
    --fs-h6: clamp(16px, 0.6vw + 12px, 24px);

    /* Body */
    --fs-p: clamp(14px, 0.25vw + 13px, 16px);
    --fs-small: clamp(12px, 0.2vw + 11px, 14px);
}

html,
body {
    overflow-x: hidden !important;
}

body {
    position: relative;
    font-family: "Kanit", sans-serif;
    color: #fff;
    background: #000;

    width: 100%;
    min-height: 100dvh;
}

/* ==== font ==== */

h1,
.h1 {
    font-size: var(--fs-h1);
}

h2,
.h2 {
    font-size: var(--fs-h2);
}

h3,
.h3 {
    font-size: var(--fs-h3);
}

h4,
.h4 {
    font-size: var(--fs-h4);
}

h5,
.h5 {
    font-size: var(--fs-h5);
}

h6,
.h6 {
    font-size: var(--fs-h6);
    line-height: 22px;
}

p,
.p {
    font-size: var(--fs-p);
}

small,
.small {
    font-size: var(--fs-small);
}

/* ================
    Homepage
================ */
.newyearLandingpageMainLayout {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100dvh;
    padding-top: 150px;
    overflow: hidden;

    background: url("https://img.gnjoy.in.th/2026/13/ro_newyearevent2027/images/background/homepage.png") center / cover no-repeat;
}

.newyearLandingpagebg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.newyearLandingpagebgObject {
    position: absolute;
    z-index: 2;
    bottom: 0px;
    left: 0px;

    width: 100%;
    height: 280px;
    background: linear-gradient(0deg, rgba(0, 0, 46, 1) 0%, rgba(0, 0, 46, 0.71) 45%, rgba(0, 0, 46, 0) 100%);
}

.wave {
    position: absolute;
    z-index: 2;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 280px;
}

.wave__layer {
    position: absolute;
    inset: 0;
}

.wave__layer--dark {
    background-color: #3E3D76;
    background-image: radial-gradient(ellipse 1.5px 1px at 2.5px 8px, #5C5A91 99%, transparent 100%);
    background-size: 10px 10px;
    clip-path: polygon(0.00% 100.00%, 2.75% 99.73%, 5.48% 99.36%, 8.19% 98.89%, 10.89% 98.32%, 13.57% 97.65%, 16.23% 96.88%, 18.87% 96.01%, 21.49% 95.05%, 24.09% 94.00%, 26.67% 92.86%, 29.23% 91.62%, 31.76% 90.30%, 34.27% 88.89%, 36.76% 87.40%, 39.22% 85.82%, 41.65% 84.16%, 44.06% 82.42%, 46.44% 80.60%, 48.79% 78.70%, 51.11% 76.72%, 53.40% 74.67%, 55.66% 72.55%, 57.89% 70.35%, 60.09% 68.09%, 62.25% 65.75%, 64.38% 63.35%, 66.48% 60.88%, 68.54% 58.35%, 70.56% 55.75%, 72.55% 53.10%, 74.50% 50.38%, 76.41% 47.60%, 78.29% 44.77%, 80.12% 41.89%, 81.91% 38.94%, 83.66% 35.95%, 85.37% 32.91%, 87.04% 29.81%, 88.67% 26.67%, 90.24% 23.48%, 91.78% 20.25%, 93.27% 16.98%, 94.71% 13.66%, 96.11% 10.30%, 97.45% 6.90%, 98.75% 3.47%, 100.00% 0.00%, 100% 100%, 0% 100%);
}

.wave__layer--purple {
    background-color: #603FCF;
    background-image: radial-gradient(ellipse 1px 1.5px at 5px 3.5px, #805CD9 99%, transparent 100%);
    background-size: 10px 10px;
    clip-path: polygon(0.00% 100.00%, 2.67% 99.69%, 5.33% 99.31%, 7.97% 98.86%, 10.60% 98.35%, 13.22% 97.76%, 15.83% 97.12%, 18.42% 96.40%, 20.99% 95.63%, 23.55% 94.79%, 26.09% 93.88%, 28.61% 92.92%, 31.11% 91.89%, 33.59% 90.81%, 36.05% 89.66%, 38.49% 88.46%, 40.90% 87.20%, 43.29% 85.88%, 45.66% 84.51%, 48.00% 83.08%, 50.32% 81.60%, 52.61% 80.06%, 54.87% 78.47%, 57.10% 76.83%, 59.30% 75.14%, 61.48% 73.40%, 63.62% 71.61%, 65.73% 69.78%, 67.81% 67.89%, 69.85% 65.96%, 71.86% 63.98%, 73.84% 61.96%, 75.78% 59.89%, 77.68% 57.78%, 79.55% 55.63%, 81.37% 53.44%, 83.16% 51.20%, 84.91% 48.93%, 86.61% 46.62%, 88.28% 44.27%, 89.90% 41.88%, 91.48% 39.45%, 93.02% 36.99%, 94.51% 34.50%, 95.95% 31.97%, 97.35% 29.41%, 98.70% 26.81%, 100.00% 24.18%, 100% 100%, 0% 100%);
}

/* Character */
.newyearLpCharacter {
    position: absolute;
    z-index: 1;
    right: -100px;
    bottom: 0px;

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

.newyearLpCharacter_2 {
    position: absolute;
    z-index: 2;
    right: 100px;
    bottom: 100px;

    width: 220px;
}

/* ====================
    Homepage > Content
   =================== */
.newyearLandingpageContentLayer {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 100dvh;
}

.newyearLpNavMenuMainLayout {
    position: absolute;
    top: 15px;
    right: 15px;

    width: fit-content;
    min-width: 80px;
    min-height: 80px;

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

.newyearLpContentLayout {
    width: 100%;
    max-width: 800px;
    min-height: 100dvh;
    padding: 20px;

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

.newyearLpLogo {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%) !important;

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

.newyearLpLogoEvent {
    position: relative;
    width: 100%;
    max-width: 550px;
}

/* ====================
    Homepage > Content > Button
   =================== */
.newyearLpNavBtn {
    position: relative;
    width: 105px;
    height: 105px;
    padding: 20px;

    border: 0px solid transparent;
    background: url("../images/btn/homepage.png") center / cover;

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

    font-size: 15px;
    line-height: 17px;
    font-weight: 600;
    color: #fff;
    filter: drop-shadow(1px 1px 5px #ffffff79);
    transition:
        transform .5s cubic-bezier(0.22, 1, 0.36, 1),
        filter .5s ease;
    will-change: transform, filter;
}

.newyearLpNavBtn:hover {
    background: url("../images/btn/homepageActive.png") center / cover;
    filter: drop-shadow(1px 1px 10px #fff);
}

.newyearLpBtn {
    position: relative;
    width: 230px;
    height: 50px;
    padding: 10px;
    border-radius: 10px;

    background: url("../images/btn/btn.png") center / cover;
    border: 0px solid transparent;

    font-family: "Bakeri_DEMO_VERSION", "Kanit", sans-serif;
    color: #fff;
    font-size: 20px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 1px;

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

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

    transition:
        transform .5s cubic-bezier(0.22, 1, 0.36, 1),
        filter .5s ease;
    will-change: transform, filter;
}

.newyearLpBtn span {
    text-shadow: 2px 2px 2px #000000be;
}

.newyearLpBtn:hover {
    background: url("../images/btn/btnActive.png") center / cover;
    filter: drop-shadow(1px 1px 10px #fff);
}

/* ==============================
   Minimal Global Scrollbar
============================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #2e1c746c;
    border-radius: 10px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #2e1c746c;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #dca5f554 transparent;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}