body {
    margin: 0;
    padding: 0;
    /* font-family: "Noto Serif TC", serif; */
    font-family: 'STZhongsong', sans-serif;
    background-color: #000000;
}

/* Floating menu */
.floating-menu {
    position: fixed;
    top: 25px;
    left: 0;
    width: 194px;
    height: 480px;
    background-image: url('https://aow.playpark.com/wp-content/uploads/2025/08/194-480-float-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    transition: transform 0.3s ease;
    padding: 10px;
    padding-top: 290px;
}

.floating-menu.hidden {
    transform: translateX(-120%);
}

.close-button {
    position: absolute;
    top: 139px;
    right: 5px;
    background: #ff5555;
    color: white;
    border: none;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    background: url(https://aow.playpark.com/wp-content/uploads/2025/07/close-1.png);
}

.menu-tab {
    position: fixed;
    top: 100px;
    left: 0;
    width: 49px;
    height: 534px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    cursor: pointer;
    z-index: 8;
    transition: transform 3s ease;
    display: none;
}

.menu-tab.visible {
    display: flex;
}

/* --- Media Query for Mobile --- */
@media (max-width: 768px) {
    .floating-menu {
        /* Hide the floating menu completely on smaller screens */
        display: none;
    }

    .menu-tab,
    .menu-tab.visible {
        display: none;
    }
}

@font-face {
    font-family: 'STZhongsong';
    src: url('../font/STZhongsong.woff2') format('woff2'),
        url('../font/STZhongsong.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'ChineseSTZhongs';
    src: url('../font/chinese.stzhongs.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.main-bg {
    /* background: url(../images/main.webp); */
    background: url("../images/main.png");
    background: url("../images/main.webp");
    background-position: top;
    background-size: cover;
}

.aow-logo-left {
    position: absolute;
    z-index: 2;
}

@media screen and (max-width: 767.98px) {
    .main-bg {
        background: none
    }

    .aow-header-bg {
        background: url("../images/bg-mobile.png");
        background-position: bottom;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .aow-section-2-bg {
        background-image: url('../images/bg-mobile-sec-2.jpg');
        background: url("../images/bg-mobile-sec-2.webp");
        background-size: cover;
        background-position: center top;
    }

    .aow-logo-left {
        background: rgba(23, 45, 75, 0.80);
        text-align: center;
        position: relative;
    }
}

.aow-arrow {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 767.98px) {
    .aow-arrow {
        display: none;
    }
}

.img-arrow {
    position: absolute;
    top: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0% {
        transform: translate(0px, 0px);
    }

    50% {
        transform: translate(0px, 10px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

.aow-img-title-sec-2 {
    margin-top: 100px;
}

@media screen and (max-width: 767.98px) {
    .aow-img-title-sec-2 {
        margin-top: 50px;
    }

}

/* .aow-arrow,
.aow-tagline {
    position: relative;
    z-index: 1;

} */

.aow-text-title {
    color: #4D5377 !important;
    font-size: 18px;
}

.aow-text-title-table th {
    color: #4D5377 !important;
    font-size: 16px;
}

.aow-text-table {
    color: #4D5377 !important;
    font-size: 16px;
}

.aow-text-table td {
    color: #4D5377 !important;
    font-size: 16px;
}

.aow-text-normal {
    color: #4D5377 !important;
    font-size: 16px;
}


.aow-border-item {
    border-radius: 28px;
    background: linear-gradient(180deg, #7FA3AF 0%, #7B9EAB 30.03%, #B5D0DC 100%);
    padding: 10px;
    position: relative;
    height: 100%;
}

.aow-border-item-l2 {
    border-radius: 18px;
    background: linear-gradient(180deg, #A8C5D7 0%, #A8C5D7 100%);
    padding: 5px;
    height: 100%;
}

.aow-border-item-l3 {
    border-radius: 18px;
    background: linear-gradient(180deg, #E4F6F9 0%, #FEFCED 100%);
    height: 100%;
}

.border-custom {
    border-right: 1px solid #7FA3AF;
}

.border-line {
    border-bottom: 1px solid #7FA3AF;
}

table td,
table th {
    padding: 1rem 1.5rem;
    vertical-align: middle;
}

@media screen and (max-width: 767.98px) {
    .border-custom {
        border-right: none !important;
    }
}

.cloud img {
    position: absolute;
    right: -3%;
    bottom: -5%;
}

.text-footer {
    color: #9C9C9C;
}

/* ซ่อนเมนูบนเดสก์ท็อป */
/* .mobile-menu {
    display: none;
}

.mobile-menu {
    scrollbar-gutter: stable both-edges;
}

.mobile-menu::-webkit-scrollbar {
    height: 6px;
}

.mobile-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.mobile-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
} */

.mobile-menu-wrapper {
    position: relative;
}

.mobile-menu {
    display: none;
}

@media (max-width: 767px) {
    .swipe-hint {
        position: absolute;
        right: 20px;
        bottom: 20px;
        font-size: 36px;
        color: rgba(0, 0, 0, 0.6);
        animation: swipe 1.5s infinite;
        pointer-events: none;
    }

    @keyframes swipe {
        0% {
            transform: translateX(0);
            opacity: 0.9;
        }

        30% {
            transform: translateX(-30px);
            opacity: 1;
        }

        60% {
            transform: translateX(0);
            opacity: 0.9;
        }

        100% {
            opacity: 0;
        }
    }

    .mobile-menu {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 12px 30px;
        /* กันพื้นที่ด้านล่างไว้ให้ dot */
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
    }

    .mobile-menu a {
        flex: 0 0 auto;
        width: 80px;
        scroll-snap-align: center;
    }

    .dots {
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 6px;
        z-index: 10;
        /* ✅ บังคับให้อยู่บน */
    }

    .dots span {
        width: 10px;
        height: 10px;
        background: #ccc;
        border-radius: 50%;
        display: block;
        transition: background 0.3s, transform 0.3s;
    }

    .dots span.active {
        background: #333;
        transform: scale(1.3);
    }
}


@media (max-width: 767px) {

    /* แสดง mobile menu เฉพาะมือถือ */
    .mobile-menu {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 12px;
        overflow-y: hidden;
    }

    .mobile-menu a {
        flex: 0 0 auto;
        width: 60px;
    }

    .mobile-menu img {
        width: 100%;
        height: auto;
        display: block;
    }

    .mobile-menu::-webkit-scrollbar {
        display: none;
    }

    /* ซ่อนทุก item-box บนมือถือ */
    #aow-section-2 [id^="item-box-"] {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    /* แสดงเฉพาะที่ถูกเลือก */
    #aow-section-2 [id^="item-box-"].is-active {
        display: block;
        padding-bottom: 50px;
    }

    /* กำลัง active + fade in */
    #aow-section-2 [id^="item-box-"].is-active {
        display: block;
    }

    #aow-section-2 [id^="item-box-"].fade-in {
        opacity: 1;
    }




}

/* (ออปชัน) สไตล์ปุ่มที่ถูกเลือก */
.mobile-menu a.is-active {
    /* outline: 2px solid #fff;
    border-radius: 8px; */
    scale: 1.25;
}

.table>:not(caption)>*>* {
    background-color: transparent;
}

th,
td {
    white-space: nowrap;
}



@media screen and (max-width: 767.98px) {
    .clip-bg-blend {
        display: none !important;
    }

    .img-col img {
        max-width: 160px;
        height: auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .clip-bg-blend {
        display: block;
        mix-blend-mode: color-dodge;
        z-index: 1;
        pointer-events: none;
        opacity: .3;
    }
}

.youtube-ps {
    height: 1080px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    /* width: 100%; */
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}