* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    overflow-x: hidden;
    background: #000;
}

.text-gold {
    color: #FFD700;
}

/* SEO Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

/* Custom Container */
.container-custom {
    max-width: 82.5rem;
    /* 1320px */
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.9375rem;
    /* 15px */
    padding-right: 0.9375rem;
    /* 15px */
    width: 100%;
}

@media (min-width: 576px) {
    .container-custom {
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
}

@media (min-width: 768px) {
    .container-custom {
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
}

@media (min-width: 992px) {
    .container-custom {
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
}

@media (min-width: 1200px) {
    .container-custom {
        padding-left: 0.9375rem;
        padding-right: 0.9375rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    /* padding: 3rem 0 !important; */
    background: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 0;
    display: flex;
    align-items: center;
}

.chinese-building {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(139, 0, 0, 0.8), transparent);
}

.character-img {
    position: absolute;
    bottom: -211px;
    left: 100px;
    z-index: 10;
    height: 100%;
    width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.character-img img {
    height: 120vh;
    width: auto;
    object-fit: contain;
    object-position: bottom left;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.5));
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}



.btn-bright img {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.btn-bright:hover img {
    filter: brightness(1.15);
    transform: scale(1.02);
}



.btn-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Love Missions Section */
.love-missions-section {
    background-image: url('../images/sec2-bg-top.png'), url('../images/sec2-bg.jpg');
    background-position: top center, center;
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, cover;
    padding: 80px 0;
    position: relative;
    /* overflow: hidden; */
    z-index: 1;
}

.love-missions-section .container,
.news-section-container,
.hilight-section,
.caster-container {
    position: relative;
    z-index: 10;
}

.parallax-flower {
    position: absolute;
    pointer-events: none;
    z-index: 5;
}

/* Parallax Container */
.parallax-container {
    position: relative;
    overflow: visible;
}

/* Parallax Elements */
.parallax-element {
    position: absolute;
    z-index: 22;
    will-change: transform;
}

.pa-element-1 {
    width: 150%;
    top: -3%;
    left: -10%;
}

.pa-element-2 {
    width: 100%;
    top: 7%;
    left: -10%;
}

.pa-element-3 {
    width: 130%;
    top: -6%;
    right: -10%;
}

.rose-1 {
    top: 620px;
    right: 70px;
    width: 500px;
    opacity: 0.8;
}

.rose-2 {
    top: 920px;
    left: 70px;
    width: 500px;
    opacity: 0.8;
}

.rose-3 {
    top: 1440px;
    right: 70px;
    width: 500px;
    opacity: 0.8;
}

.rib-r {
    top: 1440px;
    right: 70px;
    width: 500px;
    opacity: 0.8;
}

.rose-4 {
    top: 1840px;
    left: 0px;
    width: 915px;
    opacity: 0.8;
}


.section-desc {
    font-size: 2.4rem;
    color: #FFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    max-width: 1070px;
    margin: 0 auto;
}



.mission-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.card-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-frame .img-main,
.card-frame .img-hover,
.card-frame .video-main {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 450ms cubic-bezier(0.4, 0, 0.2, 1), transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.card-frame .video-main {
    border-radius: 20px;
    object-fit: cover;
}

.card-frame .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}

.mission-card:hover .img-main {
    opacity: 0;
}

.mission-card:hover .img-hover {
    opacity: 1;
}





.btn-hover-scale {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-hover-scale:hover {
    transform: scale(1.1);
}





.caster-showcase img {
    /* border: 6px solid #FFD700; */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.caster-showcase img:hover {
    transform: scale(1.02);
}



.news-section-container {
    margin: 100px 0 0;
}



.news-carousel .owl-stage-outer {
    overflow: visible;
    padding: 40px 0;
    position: relative;
}

.news-carousel .owl-item {
    position: relative;
}

.news-carousel .owl-item {
    position: relative;
    z-index: 1;
}

.news-carousel .owl-item.active.center {
    z-index: 10;
}

.news-carousel .item {
    transition: all 0.4s ease;
    transform: scale(0.85);
    opacity: 0.6;
    position: relative;
}

.news-carousel .owl-item.active.center .item {
    transform: scale(1.25);
    opacity: 1;
}

.news-carousel .item a {
    display: block;
}

.news-carousel .item img {
    width: 100%;
    display: block;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Owl Navigation Buttons */
.news-carousel .owl-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

.news-carousel .owl-nav button {
    position: absolute;
    top: 39%;
    transform: translateY(-50%);
    background-color: rgba(255, 215, 0, 0.9) !important;
    color: #8B0000 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    border: 2px solid #FFF !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 20;
    pointer-events: all;
}

.news-carousel .owl-nav button.owl-prev {
    left: 30%;
}

.news-carousel .owl-nav button.owl-next {
    right: 30%;
}

.news-carousel .owl-nav button:hover {
    background-color: #FF4500 !important;
    color: #FFF !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
}

/* Owl Dots */
.news-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.news-carousel .owl-dot {
    width: 15px !important;
    height: 15px !important;
    border-radius: 50% !important;
    background-color: #FFD700 !important;
    border: 2px solid #FFF !important;
    opacity: 0.5;
    margin: 0 8px !important;
    display: inline-block;
    transition: all 0.3s ease;
    background: #FFD700 !important;
    background-image: none !important;
}

.news-carousel .owl-dot.active {
    opacity: 1;
    background-color: #FF4500 !important;
    background: #FF4500 !important;
    transform: scale(1.2);
}

.news-carousel .owl-dot span {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
}

/* Footer */
.footer {
    background: #000;
    padding: 40px 0 20px;
}

.footer-logos img {
    max-width: 100% !important;
    margin: 0 auto;
    display: inline-block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logos img:hover {
    opacity: 1;
}

.copyright {
    color: #888;
    font-size: 0.85rem;
    margin-top: 20px;
}

.header-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    mix-blend-mode: screen;
}

/* Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .news-carousel .item {
        transform: scale(0.9);
    }

    .news-carousel .owl-item.active.center .item {
        transform: scale(1.15);
    }
}

@media (max-width: 768px) {

    .card-frame .video-main {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .section-desc {
        font-size: 1.5rem !important;
    }

    .news-carousel {
        margin-top: 0px !important;
    }

    .hilight-section,
    .caster-container {
        margin-top: 50px !important;
    }

    .news-section-container {
        margin: 50px 0 !important;
    }



    .btn-row {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .btn-row a {
        flex: 1;
        max-width: 150px;
    }



    .character-img {
        max-width: 300px;
        margin: 0 auto;
    }

    .love-missions-section {
        padding: 0px;
    }

    /* Lantern Decorations */
    .hero-section::before,
    .hero-section::after {
        /* content: 'ÃƒÂ°Ã…Â¸Ã‚ÂÃ‚Â®'; */
        position: absolute;
        font-size: 3rem;
        animation: swing 3s ease-in-out infinite;
    }

    .hero-section::before {
        top: 50px;
        left: 50px;
    }

    .hero-section::after {
        top: 50px;
        right: 50px;
        animation-delay: 1.5s;
    }

    .news-carousel {
        padding: 20px 0 80px;
    }

    .news-carousel .owl-stage-outer {
        padding: 20px 0;
    }

    .news-carousel .item {
        transform: scale(0.9) !important;
    }

    .news-carousel .owl-item.active.center .item {
        transform: scale(1.0) !important;
    }

    .news-carousel .owl-stage {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .news-carousel .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }

    .news-carousel .owl-nav button.owl-prev {
        left: 5%;
    }

    .news-carousel .owl-nav button.owl-next {
        right: 5%;
    }

    .rose-1 {
        width: 150px;
        left: -30px;
        top: 20px;
    }
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: rgba(139, 0, 0, 0.85);
    border: 2px solid #FFD700;
    color: #FFD700;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:not(.show) {
    transform: translateY(20px);
}

.back-to-top:hover {
    background: #DC143C;
    color: #FFF;
    border-color: #FFF;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Floating Banner */
.floating-banner {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 250px;
    z-index: 999;
    animation: slideInBanner 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@keyframes slideInBanner {
    from {
        transform: translateX(120%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.floating-banner:hover {
    transform: translateY(-5px);
}

.floating-banner img {
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
}

.close-banner {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 26px;
    height: 26px;
    background: #DC143C;
    border: 2px solid #FFD700;
    color: #FFF;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.close-banner:hover {
    background: #8B0000;
    color: #FFD700;
    transform: scale(1.1) rotate(90deg);
}

@media (max-width: 768px) {
    .floating-banner {
        display: none !important;
    }
}

/* Side Navigation Menu */
.side-nav-menu {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.side-nav-menu.collapsed {
    transform: translateY(-50%) translateX(-100%);
}

.menu-container {
    position: relative;
    background: rgba(139, 0, 0, 0.45);
    /* Red tint with transparency */
    backdrop-filter: blur(25px) saturate(160%) contrast(110%);
    -webkit-backdrop-filter: blur(25px) saturate(160%) contrast(110%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    /* Subtle gold border */
    border-left: none;
    border-radius: 0 20px 20px 0;
    padding: 15px 0;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    width: 220px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-nav-menu.collapsed .menu-container {
    width: 200px;
    /* Keep width but we rely on the main container's translateX */
    border-color: #FFD700;
}

.menu-toggle-btn {
    position: absolute;
    left: 100%;
    top: 85px;
    width: 35px;
    height: 60px;
    background: rgba(139, 0, 0, 0.45);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-left: none;
    color: #FFD700;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
}

.menu-toggle-btn:hover {
    background: rgba(255, 215, 0, 0.3);
    color: #FFF;
}

.side-nav-menu.collapsed .menu-toggle-btn {
    background: rgba(139, 0, 0, 0.6);
}

.side-nav-menu.collapsed .menu-toggle-btn i {
    transform: rotate(0);
}

.side-nav-menu:not(.collapsed) .menu-toggle-btn i {
    transform: rotate(180deg);
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    padding: 2px 0;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 14px 25px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid transparent;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    padding-left: 30px;
}

.menu-icon {
    width: 30px;
    font-size: 1.1rem;
    margin-right: 15px;
    color: #FFD700;
    text-align: center;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.menu-text {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Active State for Menu */
.menu-link.active {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border-left-color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Animation for menu items when opening */
.side-nav-menu:not(.collapsed) .menu-item {
    animation: slideInRight 0.4s ease forwards;
    opacity: 0;
}

.side-nav-menu:not(.collapsed) .menu-item:nth-child(1) {
    animation-delay: 0.1s;
}

.side-nav-menu:not(.collapsed) .menu-item:nth-child(2) {
    animation-delay: 0.2s;
}

.side-nav-menu:not(.collapsed) .menu-item:nth-child(3) {
    animation-delay: 0.3s;
}

.side-nav-menu:not(.collapsed) .menu-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInRight {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .side-nav-menu {
        display: none !important;
    }
}

.news-carousel {
    overflow: hidden;
}