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

.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 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-section img {
    width: 100%;
    height: auto;
    min-height: 500px;
}

#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: 1.2rem;
}

.content-container ul{
    font-size: 1rem;
    color: black;
}

.content-container ol{
    font-size: 1rem;
    color: black;
}

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

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

.content-text {
    color: black;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 1rem;
}

table{
    font-size: 1rem !important;
}

/* 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: -350px;
    width: 350px;
    height: 100vh;
    background: #19243A;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0 120px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    -webkit-overflow-scrolling: touch;
}

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

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

.game-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.game-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid transparent;
}

.game-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 15px;
    padding: 15px 20px;
}

.game-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.8;
    place-self: center;
}

.game-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.game-item span {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

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

.game-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid transparent;
  padding-right: 3rem;
}

.dropdown-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 3rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.dropdown-toggle.active::after {
  transform: rotate(180deg);
}

.game-item.has-dropdown .game-name {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  padding-left: 0;
  background: #2e426a;
  border-radius: 0;
  margin: 0;
  position: static;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.dropdown-menu.active {
  display: block;
  height: auto;
  min-height: 50px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 70px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  font-size: 15px;
  position: relative;
  background: rgba(25, 36, 58, 0.6);
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.dropdown-item:hover {
  background: rgba(46, 66, 106, 0.8);
  transform: translateX(5px);
  color: #ffffff;
  border-left-color: #FC7100;
}

.dropdown-item:hover::before {
  background: #FC7100;
}

.game-item:hover {
  background: rgba(46, 66, 106, 0.8);
  transform: translateX(5px);
  color: #ffffff;
  border-left-color: #FC7100;
}

.game-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  place-self: center;
}

/* 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 img{
        min-height: 150px;
        width: 100%;
    }

    #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;
    }


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

    .content-container {
        padding: 12px;
    }

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

    .content-text {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .content-container ul{
        font-size: 0.7rem;
        color: black;
        margin-left: -20px;
    }

    .content-container ol{
        font-size: 0.7rem;
        color: black;
        margin-left: -20px;
    }

    table{
        font-size: 0.7rem !important;
    }


    .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;
    }
}