/* Global Styles */
body {
    background: url('../images/background/default.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cursor-pointer {
    cursor: pointer;
}

.custom-container {
    width: 70%;
    margin: 0 auto;
    max-width: 1600px;
    padding: 0 20px;
}

/* Colors and Text */
.bg-custom-dark {
    background: #19243A;
}

.text-primary {
    color: #FC7100 !important;
}

/* Button Styles */
.btn-custom-primary, .btn-custom-secondary {
    font-family: Tahoma, bold;
    font-size: 16px;
    padding: 5px 20px;
    color: #fff;
    width: 150px;
}

.btn-custom-primary {
    background: linear-gradient(180deg,rgba(255, 178, 23, 1) 0%, rgba(252, 113, 0, 1) 95%, rgba(255, 189, 135, 1) 100%);
}

.btn-custom-secondary {
    background: linear-gradient(180deg,rgba(67, 110, 194, 1) 0%, rgba(36, 57, 101, 1) 95%, rgba(67, 110, 194, 1) 100%);
}

.btn-custom-primary:hover, .btn-custom-secondary:hover {
    opacity: 0.8;
    color: #fff;
}

/* Header Styles */
header img[alt="Logo"] {
    max-width: 120px;
}

/* Banner Section */
.banner-section {
    background: url('../images/banner/home.webp') no-repeat center center;
    background-size: cover;
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#banner-play-now-button {
    position: absolute;
    left: 22%;
    top: 60%;
    transform: translateX(35%);
}

/* Content Section Styles */
.content-tab {
    color: #fff;
    text-decoration: none;
}

.content-tab:hover {
    color: #fff;
    text-decoration: none;
}

.content-section .content {
    display: none;
}

.content-section .content.active {
    display: block;
}

.content-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    height: 800px;
    overflow-y: auto;
}

.content-header {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #eee;
    margin-bottom: 40px;
    border-radius: 50px;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #000;
    font-size: 24px;
}

.content-banner {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 24px;
}

.content-title {
    font-size: 24px;
    font-weight: bold;
    color: #19243A;
    margin-bottom: 16px;
}

.content-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Scrollbar Styles */
.content-container::-webkit-scrollbar {
    width: 2px;
}

.content-container::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 4px;
}

.content-container::-webkit-scrollbar-thumb {
    background: #f1f1f1;
    border-radius: 4px;
}

.content-container::-webkit-scrollbar-thumb:hover {
    background: #f1f1f1;
}

/* Swiper Styles */
.swiper-pagination-bullet {
    width: 50px;
    height: 8px;
    border-radius: 8px;
    background: #b0b6c1;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #1D3261;
}

.swiper-wrapper {
    padding-bottom: 40px;
}

#content-home-section .swiper-wrapper {
    padding-bottom: 80px;
}

/* Trusted Partners Section */
.trusted-partners-section {
    background: #1D3261;
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
    padding: 48px 0 32px 0;
}

.trusted-partners-title {
    color: #ffb217;
    font-weight: bold;
    margin-bottom: 32px;
    font-size: 1rem;
}

.trusted-partners-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.trusted-partner-logo {
    background: #b0b6c1;
    border-radius: 8px;
    width: 120px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
}

.trusted-divider {
    border: none;
    border-top: 1px solid #b0b6c1;
    margin: 24px 0;
}

.trusted-content-title {
    color: #ffb217;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.trusted-content {
    color: #fff;
    font-size: 1rem;
}

/* Footer Styles */
.footer {
    padding: 20px 0;
    background: white;
}

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
}

.footer-powered-by {
    color: #19243A;
    font-size: 14px;
    text-align: left;
    position: absolute;
    left: 0;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 8px;
}

.footer-copyright {
    color: #19243A;
    font-size: 12px;
    opacity: 0.8;
}

/* Side Menu Styles */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #19243A;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 0 0 20px;
}

.side-menu.active {
    left: 0;
}

#sideMenu .auth-btn-container {
    display: none;
}

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

.game-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.game-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.game-item span {
    font-size: 16px;
}

.game-item:hover {
    background: #2e426a;
    color: #fff;
    cursor: pointer;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.overlay.active {
    display: block;
}

/* Play Button Styles */
.content-play-button {
    position: absolute;
    width: 100px;
    top: 60%;
    background: transparent;
    border: none;
    left: 5%;
}

.content-play-button span {
    position: absolute;
    font-size: 8.5px;
    left: 35%;
    top: 25%;
    transform: translateX(10%);
    font-weight: bold;
    color: #fff;
}

.content-play-button img {
    width: 100px;
}

.menu-btn-list .btn-dark img {
    width: 28px;
    height: 28px;
}

/* Responsive Styles */
@media (min-width: 1920px) {
    .content-play-button {
        width: 125px;
        left: 5%;
        transform: translateX(5%) translateY(5%);
    }

    .content-play-button img {
        width: 125px;
    }

    .content-play-button span {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    #banner-play-now-button {
        left: 10%;
        transform: translateX(20%);
        width: 200px;
    }

    .footer-wrapper {
        display: block;
        text-align: center;
    }

    .footer-powered-by {
        position: static;
        text-align: center;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .custom-container {
        width: 100%;
        padding: 0 20px;
        margin: 0;
        max-width: none;
    }

    .banner-section {
        min-height: 150px;
    }

    #banner-play-now-button {
        /*left: 15%;*/
        top: 65%;
        font-size: 10px;
        padding: 1px 8px;
        transform: translateX(15%);
        width: 80px;
    }

    header img[alt="Logo"] {
        max-width: 70px;
    }

    .content-tab {
        font-size: 10px;
    }

    .content-tab img {
       /* width: 40px;*/
    }

    .swiper-pagination-bullet {
        width: 30px;
        height: 4px;
    }

    .content-container {
        padding: 12px;
    }

    .content-header {
        font-size: 18px;
    }
    
    .content-title {
        font-size: 18px;
    }

    .content-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .trusted-content-title {
        font-size: 0.8rem;
    }

    .trusted-content {
        font-size: 0.7rem;
    }

    #sideMenu .auth-btn-container {
        display: block;
    }

    .footer-wrapper {
        display: block;
        text-align: center;
    }

    .footer-powered-by {
        position: static;
        text-align: center;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .menu-btn-list .btn-custom-primary,
    .menu-btn-list .btn-custom-secondary {
        display: none;
    }

    .menu-btn-list .btn-dark img {
        width: 20px;
        height: 20px;
    }
}