body {
    font-family: "Kanit", sans-serif;
}

.navbar-overlay {
    background: rgba(12, 12, 14, 0.52);
    backdrop-filter: blur(0.175rem) saturate(180%);
    box-shadow: rgba(255, 255, 255, 0.08) 0 0.0625rem 0 inset, rgba(0, 0, 0, 0.35) 0 0.0625rem 0;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.07);
    padding: 0.4rem 0;
    z-index: 1030;
}

@supports not ((backdrop-filter: blur(0.0625rem)) or (-webkit-backdrop-filter: blur(0.0625rem))) {
    .navbar-overlay {
        background: rgba(20, 20, 22, 0.92);
    }
}

.navbar-logo {
    height: 2rem;
    width: auto;
}

.btn-navbar-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    padding: 0.35rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.2s ease;
}

.btn-navbar-outline:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1.125rem rgba(0, 0, 0, 0.35);
}

.navbar-btn-icon {
    width: 1.1rem;
    height: 1.1rem;
}

@media (max-width: 991.98px) {
    .btn-navbar-outline--icon {
        width: 2rem;
        height: 2rem;
        padding: 0;
    }
}

.btn-navbar-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: rgba(152, 95, 46, 0.6);
    box-shadow: 0 0 0 0.1rem #ffc320 inset, 0 0 0 -1.625rem #2b2412 inset;
    border: 0;
    border-radius: 0;
    transition: transform 0.28s ease, background 0.25s ease, box-shadow 0.28s ease;
}

.btn-navbar-download:hover {
    color: #fff;
    background: rgba(152, 95, 46, 0.75);
    transform: translateY(-0.125rem);
    box-shadow: 0 0 0 0.1rem #ffc320 inset, 0 0 0 -1.625rem #2b2412 inset, 0 0.5rem 1.5rem rgba(0, 0, 0, 0.4);
}

.hero {
    position: relative;
    background-image: url("../images/bg-main.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3rem 0;
}

.hero__ef-light {
    position: absolute;
    left: 49%;
    top: 0;
    transform: translateX(-50%);
    mix-blend-mode: color-dodge;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-snow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.is-mobile .desktop-fx,
.is-mobile .desktop-fx-img {
    display: none !important;
}

.hero-fx {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-flashes,
.hightlight-flashes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hightlight-flashes {
    z-index: 1;
}

.section-flash {
    position: absolute;
    width: var(--flash-size, 5rem);
    height: var(--flash-size, 5rem);
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.85) 8%, rgba(255, 255, 255, 0.25) 35%, transparent 68%);
    mix-blend-mode: screen;
    animation: section-flash-burst var(--flash-duration, 0.35s) ease-out forwards;
}

.section-flash::before,
.section-flash::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    filter: blur(1px);
    transform: translate(-50%, -50%);
}

.section-flash::before {
    width: 155%;
    height: 10%;
}

.section-flash::after {
    width: 10%;
    height: 155%;
}

@keyframes section-flash-burst {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0;
    }

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

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.hero-character {
    position: relative;
    z-index: 1;
    filter: drop-shadow(2px 4px 6px black);
    display: block;
    margin-inline: auto;
    max-width: 100%;
}

.hero-actions {
    margin-top: 1rem;
}

.hero-actions a {
    display: block;
    transition: transform 0.28s ease;
}

.hero-actions a:hover {
    transform: translateY(-0.125rem);
}

.hero-actions a:focus-visible {
    outline: 2px solid #74ff9e;
    outline-offset: 3px;
    border-radius: 0.5rem;
}

.hero-actions__btn {
    display: block;
    height: 3.75rem;
    width: auto;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.65));
    transition: filter 0.28s ease;
}

.hero-actions a:hover .hero-actions__btn {
    filter: drop-shadow(2px 6px 10px rgba(0, 0, 0, 0.75)) brightness(1.06);
}

.hero-actions__btn--download {
    height: 4.5rem;
}

.hero-light-screen {
    position: absolute;
    left: 50%;
    top: 86%;
    transform: translate(-50%, -50%);
    width: min(23vw, 22.1875rem);
    height: auto;
    z-index: 2;
    mix-blend-mode: screen;
}

.hero-character-spacer {
    visibility: hidden;
}

.section-divider {
    width: 100%;
    line-height: 0;
}

.section-divider__img {
    display: block;
    width: 100%;
    height: auto;
}

.new-server {
    position: relative;
    overflow: hidden;
    background-image: url("../images/new-server-bg.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3rem 0;
}

.new-server .container {
    position: relative;
    z-index: 2;
}

.new-server__char {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: auto;
    max-width: min(39vw, 37rem);
    height: auto;
    max-height: 90%;
    pointer-events: none;
    z-index: 1;
}

.new-server__char--left {
    left: 0;
}

.new-server__char--right {
    right: 0;
}

.new-server__text {
    margin-bottom: 0;
    color: #fff;
    text-shadow: 0 4px 20.2px #000, 0 4px 20.2px #000;
    font-family: "Kanit", sans-serif;
    font-size: 2rem;
    font-style: italic;
    font-weight: 400;
    line-height: normal;
}

.new-server__text-line {
    display: block;
}

.new-server__text-line span {
    text-shadow: 0 4px 20.2px #00000000, 0 4px 20.2px #00000000;
    font-family: "Kanit", sans-serif;
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 600;
    line-height: normal;
    background: linear-gradient(180deg, #ffe83d 0%, #ff007b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.new-server__note {
    display: flex;
    width: 760px;
    max-width: 100%;
    margin-inline: auto;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
    border: 1px solid #FF3BF9;
    background: rgba(42, 10, 39, 0.65);
    box-shadow: 0 0 9.6px 0 rgba(255, 116, 253, 0.76), 0 0 9.6px 0 rgba(255, 116, 253, 0.76) inset;
    backdrop-filter: blur(2px);
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 1rem;
}

.new-server__note span {
    color: #F6E561;
    text-align: center;
    font-family: "Kanit", sans-serif;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.hightlight {
    position: relative;
    overflow: hidden;
    background-image: url("../images/bg-hightlight.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3rem 0;
}

.hightlight-fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hightlight .container {
    position: relative;
    z-index: 2;
}

.hightlight__ball-effect-wrap {
    position: absolute;
    left: 50%;
    top: 65%;
    z-index: 9;
    pointer-events: none;
    line-height: 0;
    mix-blend-mode: screen;
}

@supports (mix-blend-mode: plus-lighter) {
    .hightlight__ball-effect-wrap {
        mix-blend-mode: plus-lighter;
    }
}

.hightlight__ball-effect {
    display: block;
    width: min(42vw, 40rem);
    height: auto;
    transform: translate(-50%, -50%);
}

.hightlight__text {
    color: #fff;
    text-align: center;
    text-shadow: 0 4px 20.2px #000, 0 4px 20.2px #000;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.hightlight__card {
    display: block;
    width: 368px;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-sizing: border-box;
    text-decoration: none;
    transition: transform 0.28s ease;
}

.hightlight__card-img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.65));
    transition: filter 0.28s ease;
}

.hightlight__card:hover {
    transform: translateY(-0.25rem);
}

.hightlight__card:hover .hightlight__card-img {
    filter: drop-shadow(2px 6px 10px rgba(0, 0, 0, 0.75)) brightness(1.06);
}

.hightlight__card:focus-visible {
    outline: 2px solid #74ff9e;
    outline-offset: 3px;
    border-radius: 0.75rem;
}

.hightlight__card:active {
    transform: translateY(-0.125rem);
}

.hightlight__card:active .hightlight__card-img {
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.65)) brightness(0.98);
}

.hightlight__char-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
}

.hightlight__char-title {
    height: auto;
}

.hightlight__char {
    display: none;
    width: 100%;
    height: auto;
}

.hightlight__cards-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.hightlight__cards-row--overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4%;
    z-index: 2;
    padding: 0 2%;
    box-sizing: border-box;
}

.hightlight__cards-row--overlay .hightlight__card {
    width: min(31%, 23rem);
}

.hightlight__cards-row--triple {
    justify-content: center;
    width: 100%;
    gap: 2.75rem;
}

.hightlight__card--offset-down {
    margin-top: 1.25rem;
}

.hightlight__card-title {
    margin: 0;
    color: #f6e561;
    text-align: center;
    font-family: "Kanit", sans-serif;
    font-size: 1.625rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.hightlight__card-desc {
    margin: 0;
    color: #fff;
    text-align: center;
    font-family: "Kanit", sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.hightlight__cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.hightlight__cards-mobile .row > [class*="col-"] {
    display: flex;
}

.hightlight__cards-mobile .hightlight__card {
    width: 100%;
    max-width: 100%;
}

.calendar {
    position: relative;
    overflow: hidden;
    background-image: url("../images/bg-calendar.png");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3rem 0;
}

.calendar .container {
    position: relative;
    z-index: 2;
}

.calendar__text {
    color: #fff;
    text-align: center;
    text-shadow: 0 4px 20.2px #000, 0 4px 20.2px #000;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.footer {
    background: #000;
    padding: 2em 0;
    text-align: center;
}

.footer img {
    width: 100%;
    height: auto;
    max-width: 200px;
}

.footer__text {
    color: #fff;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 200 !important;
    line-height: normal;
}

.floating-banner {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1020;
    line-height: 0;
}

.floating-banner__img {
    display: block;
    width: auto;
    max-width: min(18vw, 16rem, 100%);
    height: auto;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.5));
    transform-origin: bottom center;
}

.floating-banner:hover .floating-banner__img {
    animation: floating-banner-bounce 0.65s ease-out;
}

@keyframes floating-banner-bounce {
    0% {
        transform: translateY(0) scale(1);
    }

    20% {
        transform: translateY(-0.875rem) scale(1.08, 0.94);
    }

    40% {
        transform: translateY(0.2rem) scale(0.94, 1.06);
    }

    60% {
        transform: translateY(-0.4rem) scale(1.04, 0.97);
    }

    80% {
        transform: translateY(0.08rem) scale(0.98, 1.02);
    }

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

.floating-banner:focus-visible {
    outline: 2px solid #74ff9e;
    outline-offset: 3px;
    border-radius: 0.75rem;
}

.yg-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.yg-box__cap {
    display: block;
    width: 100%;
    height: auto;
    flex-shrink: 0;
}

.yg-box__body {
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    background-image: url("../images/box-center.png");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
    padding: 0.5rem 1rem;
    color: #fff;
    text-align: center;
    min-height: 11rem;
}

@media (max-width: 1199.98px) {
    .hightlight__ball-effect-wrap {
        top: 69%;
    }
}

@media (max-width: 991.98px) {
    .navbar-overlay,
    .hightlight__card,
    .new-server__note {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero {
        background-image: url("../images/bg-main-mb.png");
        background-position: center bottom;
        background-size: cover;
        background-repeat: no-repeat;
        padding: 3rem 0;
    }

    .new-server {
        background-image: url("../images/new-server-bg-mb.png");
    }

    .hightlight {
        background-image: url("../images/bg-hightlight-mb.png");
    }

    .calendar {
        background-image: url("../images/bg-calendar-mb.png");
    }

    .new-server__char {
        display: none;
    }

    .new-server__text {
        font-size: clamp(0.625rem, 2.5vw, 0.875rem);
        line-height: 1.35;
    }

    .new-server__text-line span {
        font-size: clamp(0.75rem, 3vw, 1.0625rem);
    }

    .new-server .row.g-3 > [class*="col-"] {
        display: flex;
    }

    .new-server .yg-box {
        flex: 1 1 auto;
        min-height: 14rem;
    }

    .new-server .yg-box__body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 7rem;
    }

    .new-server__note {
        white-space: nowrap;
        font-size: clamp(0.5625rem, 2.6vw, 0.875rem);
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .hightlight__ball-effect-wrap {
        display: none;
    }

    .hightlight__char {
        display: block;
    }

    .hero-actions__btn {
        height: 3rem;
    }

    .hero-actions__btn--download {
        height: 3.5rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-logo {
        height: 1.65rem;
    }

    .btn-navbar-outline:not(.btn-navbar-outline--icon),
    .btn-navbar-download {
        padding: 0.3rem 0.85rem;
        font-size: 0.875rem;
    }

    .btn-navbar-outline--icon {
        width: 1.85rem;
        height: 1.85rem;
    }
}
