/* Custom CSS */
body {
    background-color: #1a1a1a;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    color: white;
}

/* Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.17) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 5px 0;
    margin-bottom: -72px;
    z-index: 100;
}

.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

/* Column Layout */
.navbar-column-1,
.navbar-column-3 {
    flex: 1;
    display: flex;
    align-items: center;
}

.navbar-column-1 {
    justify-content: flex-start;
}

.navbar-column-2 {
    flex: 2;
    display: flex;
    justify-content: center;
}

.navbar-column-3 {
    justify-content: flex-end;
}

.navbar-column-3 .btn-primary {
    width: 150px;
}

.btn-main-offcanvas {
    display: none;
}

#offcanvasNavbar {
    display: none;
}

/* Hide columns on mobile, show mobile menu */
@media (max-width: 991.98px) {

    .navbar-column-2 {
        display: none;
    }

    .navbar-column-3 .btn-primary.btn-join {
        display: none;
    }

    .btn-main-offcanvas {
        display: block;
    }

    #offcanvasNavbar {
        display: block;
        background: rgba(0, 0, 0, 0.733) !important;
        backdrop-filter: blur(50px);
        -webkit-backdrop-filter: blur(30px);
    }

    .offcanvas.show:not(.hiding),
    .offcanvas.showing {
        transform: none;
        height: 100vh;
        width: 50%;
    }

    .offcanvas.hiding,
    .offcanvas.show,
    .offcanvas.showing {
        visibility: visible;
        height: 100vh;
    }

    .navbar-toggler {
        border: none;
    }

    .navbar-toggler:focus {
        border: none;
        box-shadow: none;
    }

    .offcanvas-header {
        padding: 5px 32px;
    }

    .offcanvas-body {
        padding: 20px 32px;
    }

    #offcanvasNavbar .nav-link {
        color: #fff;
        font-size: 22px;
        padding: 15px 0;
    }

}

@media (max-width: 550px) {

    .offcanvas.show:not(.hiding),
    .offcanvas.showing {
        width: 80%;
    }

    #offcanvasNavbar .nav-link {
        font-size: 20px;
        padding: 12px 0;
    }
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar-brand img {
    height: 62px;
}

/* Navigation Links */
.navbar-column-2 .navbar-nav {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

.navbar-column-2 .nav-item {
    margin: 0 1rem;
}

.navbar-column-2 .nav-link {
    color: #FFFFFF !important;
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-column-2 .nav-link:hover,
.navbar-column-2 .nav-link.active {
    color: #FF0000 !important;
    border-bottom: 2px solid #FF0000;
}

.btn-primary {
    background-color: #880001;
    border: none;
    border-radius: 0px;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
}

.btn-primary:hover {
    background-color: #880001;
    filter: brightness(1.2);
    color: #fff;
}

.btn-secondary {
    background-color: #fff;
    border: none;
    border-radius: 0px;
    font-size: 20px;
    font-weight: 400;
    color: #000;
}

.btn-secondary:hover {
    background-color: #fff;
    filter: brightness(.8);
    color: #000;
}

.btn-text {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
}

.btn-text:hover {
    color: #FF0000;
}

.text-grey {
    color: #BABABA;
}

.text-red {
    color: #FF0000;
}

.content-title {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 0px;
}

.content-subtitle {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 1.4;
}

.content-description {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.border-gradient01 {
    opacity: 1;
    background: radial-gradient(circle, #0D8DA0 0%, rgba(0, 95, 108, 0) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    height: 2px;
    border: none;
    width: 50%;
    margin: 0 auto;
}

.border-gradient02 {
    opacity: .3;
    background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    height: 2px;
    border: none;
    width: 40%;
    margin: 0 auto;
}

@media (max-width: 550px) {

    .content-title {
        font-size: 32px;
    }

    .content-subtitle {
        font-size: 24px;
    }

}

/* Hero Section */
.hero-section {
    background: url(../images/bg-s-01.png?v=4.69) no-repeat center/cover;
    width: 100%;
    min-height: 100vh;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: end;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content-bottom {
    background-color: rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
}

.hero-content-bottom h1 {
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 10px;
}

.hero-content-bottom p {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-content-bottom .button-col {
    max-width: 150px;
    width: 100%;
}

.button-col .btn {
    width: 100%;
}

.warpaer-section-2-3 {
    width: 100%;
    background: url(../images/bg-02.png?v=4.69) no-repeat top center/cover;
}

.warpaer-section-4-5 {
    width: 100%;
    background: url(../images/bg-03.png?v=4.69) no-repeat top center/cover;
}

@media (max-width: 1024px) {

    .hero-content-bottom {
        margin-bottom: 70px;
    }
}

@media (max-width: 550px) {

    .hero-content-bottom {
        padding: 25px;
        width: 88%;
    }

    .hero-content-bottom h1 {
        font-size: 48px;
    }

    .hero-content-bottom p {
        font-size: 24px;
    }

    .hero-content-bottom .button-col {
        max-width: 120px;
    }

}


/* About Section */
.about-section {
    width: 100%;
    padding: 30px 0px;
}

.about-section .rounded-corners {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.about-section .content-description {
    font-size: 18px;
}

@media (max-width: 992px) {

    /* .about-section .content-title {
        margin-top: 30px;
    } */

    .about-section .content-subtitle {
        margin-top: 30px;
    }

}

@media (max-width: 550px) {

    .about-section .content-description {
        font-size: 16px;
    }

}

/* Section 3: Partner Section */
.partner-section {
    padding: 80px 0;
}

.partner-section p {
    font-size: 28px;
    font-weight: 400;
}

.partner-section .btn-primary {
    width: 150px;
}

.partner-section .card {
    border: none;
}

.partner-section .card-img-top {
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.partner-section .card-title {
    font-size: 28px;
    font-weight: 400;
}

.partner-section .btn-link {
    color: #FFFFFF;
    font-size: 16px;
    text-decoration: none;
}

/* Logo Carousel */
.logo-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logo-carousel-inner {
    display: inline-block;
    animation: scroll-logos 20s linear infinite;
}

.logo-carousel-inner img {
    height: 50px;
    /* Adjust as needed */
    margin: 0 20px;
    /* Space between logos */
    vertical-align: middle;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-swiper {
    padding: 20px 0;
    background: #fff;
}

.logo-swiper .swiper-slide {
    width: auto;
    /* สำคัญมากสำหรับโลโก้หลายขนาด */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-swiper img {
    max-width: 100%;
    height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.logo-swiper img:hover {
    filter: grayscale(0%);
}


/* Partner Card Slider Styles */
.partner-card {
    background: transparent;
    border: none;
    text-align: center;
}

.partner-card-img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid #373737;
}

.partner-card-title {
    font-size: 28px;
    font-weight: 400;
    color: white;
    text-decoration: none;
}

/* Carousel Navigation Arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: #FFFFFF;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 0, 0, 0.8);
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: none;
    color: #ffffff00;
    text-decoration: none;
}

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

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
    width: 34px;
    height: 34px;
}


.custom-arrow {
    width: 100%;
    height: auto;
}

.owl-theme .owl-nav {
    margin: 0;
    position: absolute;
    top: 22%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0%;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .partner-card-title {
        font-size: 24px;
    }

    .btn-text {
        font-size: 14px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }

    .partner-section {
        padding: 40px 0;
    }


}

@media (max-width: 550px) {

    .partner-section {
        padding: 30px 0;
    }

    .partner-section p {
        font-size: 24px;
    }

}

@media (min-width: 375px) {

    .owl-theme .owl-nav {
        top: 25%;
        padding: 0%;
    }
}

@media (min-width: 400px) {

    .owl-theme .owl-nav {
        top: 26%;
        padding: 0%;
    }
}

@media (min-width: 550px) {

    .owl-theme .owl-nav {
        top: 32%;
        padding: 0%;
    }
}

@media (min-width: 768px) {

    .owl-theme .owl-nav {
        top: 22%;
        padding: 0 4%;
    }
}

@media (min-width: 768px) {

    .owl-theme .owl-nav {
        top: 22%;
        padding: 0 4%;
    }
}

@media (min-width: 1024px) {

    .owl-theme .owl-nav {
        top: 25%;
        padding: 0 4%;
    }
}

@media (min-width: 1200px) {

    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel button.owl-dot {
        width: 50px;
        height: 50px;
    }

    .owl-theme .owl-nav {
        top: 30%;
        padding: 0 4%;
    }
}

@media (min-width: 1400px) {

    .owl-theme .owl-nav {
        top: 26%;
        padding: 0 6%;
    }
}

@media (min-width: 1440px) {

    .owl-theme .owl-nav {
        top: 27%;
        padding: 0 5%;
    }
}

@media (min-width: 1920px) {

    .owl-theme .owl-nav {
        top: 36%;
        padding: 0 5%;
    }
}

@media (min-width: 2560px) {

    .owl-theme .owl-nav {
        top: 34%;
        padding: 0 3%;
    }
}

/* Logo Carousel Section */

.logo-carousel-section {
    overflow: hidden;
    border-radius: 10px;
}

.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-carousel-track {
    display: flex;
    align-items: center;
    animation: scroll-logos 20s linear infinite;
    width: calc(200%);
    /* Double width to accommodate duplicated logos */
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: brightness(1.2);
}

.logo-img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Keyframe animation for smooth horizontal scrolling */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move by half the width since we duplicated the logos */
    }
}

/* Responsive adjustments for logo carousel */
@media (max-width: 768px) {
    .logo-carousel-section {
        padding: 0;
    }

    .logo-item {
        margin: 0 20px;
    }

    .logo-img {
        height: 45px;
        max-width: 90px;
    }

    @keyframes scroll-logos {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }
}

@media (max-width: 550px) {
    .logo-carousel-section {
        padding: 20px 0;
    }

    .logo-item {
        margin: 0 15px;
    }

    .logo-img {
        height: 35px;
        max-width: 70px;
    }

    .logo-carousel-section {
        padding: 30px 0;
        margin-top: 0 !important;
    }
}

/* Games Section */
.games-section {
    padding: 80px 0;
}

.games-section .card {
    border: none;
    margin-bottom: 2rem;
}

.col-card-game {
    position: relative;
    width: 100%;
}

.col-card-game.comingsoon {
    position: relative;
    width: 100%;
}

.col-card-game.comingsoon::after {
    content: "";
    display: block;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000c2;
    z-index: 3;
}

.banner-game {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    /* border: 1px solid #373737; */
    border-radius: 20px;
}

.box-banner-game {
    position: relative;
    width: 100%;
}

.box-banner-game::after {
    content: "";
    display: block;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.344), rgba(0, 0, 0, 0.919));
    z-index: 1;
}

.col-card-game.comingsoon .box-banner-game::after {
    content: "coming soon";
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    position: absolute;
    top: 42%;
    left: 34%;
    width: 32%;
    height: 16%;
    background: #fff;
    color: #FF0000;
    z-index: 5;
    padding: 5px 10px;
    font-size: 20px;
}

.box-icon-platform {
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 2;
}

.icon-platform {
    width: 100%;
    max-width: 180px;
    object-fit: contain;
}

.card-title {
    font-size: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 80%;
    text-align: start;
}

.games-section .btn-primary {
    width: 150px;
}

/* Join Hall of Fame Section */
.join-hall-of-fame-section {
    padding: 0;
}

.join-hall-of-fame-section .partner-card-title:hover {
    color: #FF0000;
}

.join-hall-of-fame-section .content-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.img-executive {
    width: 140%;
    margin-left: 40px;
}

.col-name-join {
    display: flex;
    align-items: center;
}

.box-main-position {
    padding-left: 15px;
    border-left: 1px solid #D0D0D0;
}

.hotposition::before {
    content: "hot position";
    font-size: 18px;
    color: #FF0000;
}

.hotposition::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('../images/ic-hot.png?v=4.69') no-repeat/contain;
    margin-left: 8px;
    vertical-align: middle;
}

.bestposition::before {
    content: "best position";
    font-size: 18px;
    color: #FF0000;
}

.bestposition::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('../images/ic-pin.png?v=4.69') no-repeat/contain;
    margin-left: 8px;
    vertical-align: middle;
}

.join-hall-of-fame-section .btn-primary {
    width: 150px;
}

@media (max-width: 1024px) {

    .col-card-game.comingsoon .box-banner-game::after {
        top: 40%;
        left: 31%;
        width: 38%;
        height: 20%;
        font-size: 18px;
    }

    .card-title {
        font-size: 18px;
        -webkit-line-clamp: 2;
        width: 74%;
    }

    .icon-platform {
        max-width: 140px;
    }

    .img-executive {
        width: 136%;
        margin-left: 116px;
    }

}

@media (max-width: 992px) {

    .row-join {
        display: flex;
        flex-direction: column-reverse;
    }

    .img-executive {
        width: 70%;
        margin: 0;
    }

}

@media (max-width: 550px) {

    .col-name-join {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* Footer Section */
.footer-section {
    padding: 0;
}

.footer-section .social-icons a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-section .social-icons a:hover {
    color: #e74c3c !important;
}

.footer-section .list-inline-item .content-description-footer {
    color: #ccc;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
    font-family: "Goldman", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.footer-section .list-inline-item .content-description {
    color: #ccc;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.footer-section .list-inline-item a:hover {
    color: #e74c3c;
}


.box-main-social .content-description {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.box-social {
    background: #ffffff1f;
    padding: 60px;
    border-radius: 30px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.footer-bottom.content-description {
    font-size: 14px;
}


/* Responsive Design */

@media (max-width: 1024px) {

    .box-main-social .content-description {
        font-size: 14px;
    }

    .box-main-social {
        height: 70%;
    }

    .footer-section .social-icons a {
        font-size: 1.5rem;
    }

}

@media (max-width: 992px) {

    .list-inline.menu {
        display: none;
    }

}

@media (max-width: 768px) {

    .box-social {
        padding: 40px;
    }

}

@media (max-width: 550px) {

    .box-main-social {
        height: fit-content;
        margin-bottom: 20px;
    }

    .box-social {
        padding: 40px 40px 20px 40px;
    }

}