

/* Global CSS Reset for consistency across browsers */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    font-size: 15px; /* Default font size */
    color: #ffffff; /* Default text color */
    background-color: var(--bg-main-4); /* Default background */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Minimal height is full viewport height */
}
label {
    font-size: 15px;
}
/* Content wrap for page content, excluding footer */
.content-wrap {
    flex: 1; /* Flex-grow to take available space */
}
/* Default styles for list items */
/* li {
    font-size: 15px;
} */

    /* Adjustments for lists */
    ul, ol {
        padding-left: 25px;
        margin-bottom: 15px;
    }
    li {
        font-size: 14px;
        margin-bottom: 10px;
    }

/* Headings and Paragraphs */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #ffffff; /* White color for headings */
}

/* Default styles for links */
a {
    color: var(--bg-main-3); /* Blue */
    text-decoration: none; /* No underline */
}

a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Default styles for strong text and emphasized text */
strong, b {
    font-weight: bold;
}

em, i {
    font-style: italic;
}

/* Default styles for blockquotes */
blockquote {
    border-left: 4px solid #ccc;
    padding: 0 20px;
    margin: 20px 0;
    font-style: italic;
}

/* Default styles for images with captions */
figure {
    margin: 20px 0;
}

figcaption {
    font-size: 0.875em; /* 14px if 15px is the base */
    color: #666;
    text-align: center;
}

p {
    line-height: 1.6; /* Spacing for readability */
    font-size: 0.9rem; /* Standard size for text */
}





/* Utility classes for text */
.flashing-text {
    color: white;
    font-weight: normal;
    animation: flashing 1s infinite;
}

@keyframes flashing {
    0%, 49.9%, 100% {
        color: rgba(255, 255, 255, 0.5);
    }
    50%, 99.9% {
        color: var(--bg-main-3);
    }
}


/* Styles for tables and cards */
.table td, .table th {
    vertical-align: middle !important;
}

.card-box {
    background: var(--bg-main-2);
    box-shadow: none;
    border-radius: 5px;
    color: #ffffff;
    padding: 4px;
}



.text-main{

    background-color: var(--bg-main-3);
   background: var(--bg-main-3);
   -webkit-background-clip: text!important;
   -webkit-text-fill-color: transparent!important;
}

.hover-text-main:hover{

    background-color: var(--bg-main-3);
   background: var(--bg-main-3);
   -webkit-background-clip: text!important;
   -webkit-text-fill-color: transparent!important;
}

  .bg-main{
    background: var(--bg-main);
    background-color: var(--bg-main);
    color: #ffffff;
}

.bg-main-2{
    background: var(--bg-main-2);
    background-color: var(--bg-main-2);
    color: #ffffff;
}


.bg-main-3{

    background: var(--bg-main-3);
    background-color: var(--bg-main-3);

    color: white;
}
.bg-main-4{

    background: var(--bg-main-4);
    background-color: var(--bg-main-4);
    color: #ffffff;
}

.bg-main-hover:hover{
     background: var(--bg-main-3);
     background-color: var(--bg-main-3);
    border: none;
}




.custom-nav-section .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;  /* Ensure spacing and alignment */
    background: var(--bg-main-2);
    position: relative;
    z-index: 6;
    height: 100%;  /* Full height of the container */
}

.custom-nav-section .nav-container {
    overflow: hidden;
    flex-grow: 1;
    margin: 0;
    display: flex; /* Use flex to align items inside container */
    align-items: center; /* Aligns items vertically in the center */
}

.custom-nav-section .nav-items {
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari, and Opera */
.custom-nav-section .nav-items::-webkit-scrollbar {
    display: none;
}

.custom-nav-section .nav-item {
    flex-shrink: 0;
    padding: 8px 15px;
    margin: 0 5px;
    background: var(--bg-main-4);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-nav-section .nav-item.active,
.custom-nav-section .nav-item:hover,
.custom-nav-section .nav-item:focus {
    background-color: var(--bg-main-3);
}

.custom-nav-section .nav-arrow {
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    color: white;
    padding: 0 2px; /* Adjust padding as necessary */
    margin: 0; /* Adjust padding as necessary */
    display: flex;
    align-items: center; /* Center align vertically */
    justify-content: center; /* Center align horizontally */
    background-color: rgba(42, 42, 48, 0.5);
    height: 100%;  /* Make height equal to parent */
    border-radius: 3px;
    transition: background-color 0.3s, opacity 0.3s;
    z-index: 9999;
}

.custom-nav-section .nav-arrow.left-arrow {
    left: 0;
    margin-left: 1px;
    background-color: var(--bg-main-2);
}

.custom-nav-section .nav-arrow.right-arrow {
    right: 0;
    margin-right: 1px;
    background-color: var(--bg-main-2);
}

.custom-nav-section .nav-arrow.right-arrow,
.custom-nav-section .nav-arrow.left-arrow {
    background-color: var(--bg-main-2);
}

.nav-pills .nav-link{
    color: #fff;
    background: var(--bg-main);
    background-color: var(--bg-main);
}



/* Ensures that the nav-pills container does not extend beyond screen width */
.nav-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on touch devices */
    scrollbar-width: none; /* Hides scrollbar for Firefox */
}

/* Hides scrollbar for Chrome, Edge, and Safari */
.nav-pills::-webkit-scrollbar {
    display: none;
}



.nav-pills .nav-link.active,
.nav-pills .nav-link:hover,
.nav-pills .show>.nav-link {
    color: #fff;
    border: none;
    border-radius: 5px;
     background: var(--bg-main-3);
     background-color: var(--bg-main-3);

}



/* Prevents vertical stretching of nav items */
.nav-item {
    flex: 0 0 auto;
}

/* Optional: Improves the spacing and alignment of the nav links */
.nav-link {
    white-space: nowrap;
    padding: 15px; /* Adds more space between items */
}






.tabbable .nav-tabs {
    /* overflow-x: auto; */
    overflow-y:none;
    flex-wrap: nowrap;
 }
 .tabbable .nav-tabs .nav-link {
   white-space: nowrap;
 }





/* Tab styling to match game theme */
.nav-tabs .nav-link {
    border-radius: 3px;
    border: none;
    transition: all 0.3s ease;
}


.nav-tabs .nav-link.active {
    background: var(--bg-main-3);
}

.nav-tabs .nav-link img {
    transition: transform 0.3s ease;
}

.nav-tabs .nav-link:hover img {
    transform: scale(1.1);
}



.nav-tabs {
    border-bottom: none;
}



.progress-icon {
    position: absolute;
    right: 10px;
    background-color: var(--bg-main-3);
   background: var(--bg-main-3);
   -webkit-background-clip: text!important;
   -webkit-text-fill-color: transparent!important;
    top: 80%;
    transform: translateY(-40%);
    font-size: 34px;
    display: none; /* Hidden by default */
    animation: flameAnimation 1s infinite;
}

@keyframes flameAnimation {
    0% { opacity: 0.5; transform: translateY(-50%) scale(0.8); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
    100% { opacity: 0.5; transform: translateY(-50%) scale(0.8); }
}





@media (max-width:  1200px) {


.progress-h {
    height: 18px;
 }

 .progress-t {
    font-weight: bold;
    margin-top: 17px;
   font-size:11px!important;
   color: rgba(255, 255, 255, 0.7)!important;
 }

    .h-provider {
        height: 35px;
    }



}

@media (min-width: 1200px) {

     .progress-h {
        height: 20px;
     }

     .progress-t {
        margin-top: -10px;
       font-size:12px!important;
       color: rgba(255, 255, 255, 0.7)!important;
     }
    .h-provider {
        height: 55px;
    }



}





.bg-home {
    height: 70vh;
    width: 100%;
}

.text-dark {
    color: var(--bg-main-2) !important;

}

.table td,
.table th {
    vertical-align: middle !important;
}

.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 3px solid transparent;
}

.topnav a:hover {
    border-bottom: 3px solid var(--bg-main-3);
}

.topnav a.active {
    border-bottom: 3px solid var(--bg-main-3);
}


.img-shadow {
    -webkit-filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.37));
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.37));
}


#sidebar-menu>ul>li>a.active {
    color: 414d5f !important;
    background-color: #c4c4c42c;
    border-right-color: var(--bg-main-3);
    ;
}

#sidebar-menu>ul>li>a {
    /* color: #c4c4c42c; */
    display: block;
    padding: 12px 20px;
    position: relative;
    -webkit-transition: all .4s;
    transition: all .4s;
    font-family: "Poppins", sans-serif;
    font-size: .925rem;
    border-right: 2px solid transparent;
}


.page-item.active .page-link {
    z-index: 1;
    color: white;
    background-color: var(--bg-main-3);
     background: var(--bg-main-3);
    border-color: var(--bg-main-3);
    border-radius: 3px;
}


.page-item.disabled .page-link {
    background: none !important;
}



.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: white;
    background: none;
    font-weight: bold;
    border: none;
}

.page-link:hover {
    color: white;
    background-color: var(--bg-main-3);
     background: var(--bg-main-3);
     border-radius: 3px;
}



.navbar-custom {
    padding: 10px 0px;
    width: 100%;
    z-index: 999;
    background: var(--bg-main-2);
    background-color: var(--bg-main-2);
    margin-bottom: 0px;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.navbar-custom .navbar-nav .nav-item .nav-link {
    line-height: 26px;
    color: white!important;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    background-color: transparent !important;
    padding: 6px 10px;
    margin: 0 10px;
    font-size: 15px;
}

.navbar-custom .button-menu-mobile {
    border: none;
    color: white!important;
    display: block;
    height: 70px;
    line-height: 70px;
    width: 60px;
    background-color: transparent;
    font-size: 24px;
    cursor: pointer;
}
    .navbar-toggler {
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 0px;
    color: #ffffff!important;
}



.nav-sticky.navbar-custom {
    margin-top: 0px;
    padding: 10px 0px;
    background: var(--bg-main-2);
    background-color: var(--bg-main-2)!important;
    -webkit-box-shadow: 0 10px 33px -14px rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 33px -14px rgba(0, 0, 0, 0.1);
}

.nav-sticky.navbar-custom .logo .logo-dark {
    display: inline-block;
}

.nav-sticky.navbar-custom .logo .logo-light {
    display: none;
}

.nav-sticky.navbar-custom .navbar-nav .nav-item .nav-link {
    color: white;
}


@media (max-width: 991px) {
    .navbar-custom {
        margin-top: 0px;
        padding: 10px 0px !important;
        background: var(--bg-main-2);
        background-color: var(--bg-main-2) !important;
        -webkit-box-shadow: 0 10px 33px -14px rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 33px -14px rgba(0, 0, 0, 0.1);
    }

    .navbar-custom .logo .logo-dark {
        display: inline-block;
    }

    .navbar-custom .logo .logo-light {
        display: none;
    }

    .navbar-custom .logo-light{
        height: 18px;
    }


    .navbar-custom .navbar-nav .nav-item .nav-link {
        -webkit-transition: all 0.4s;
        transition: all 0.4s;
        color: white !important;
        margin: 0px;
        padding: 6px 0px;
    }

    .navbar-custom .navbar-nav .nav-item.active .nav-link {

        color: #323a46;
    }

    .bg-home {
        padding-top: 140px;
    }
}



      /* klasemen */
      .tablink1 {
        background: var(--bg-main-3);

       color: white;
       float: left;
       border: none;
       outline: none;
       cursor: pointer;
       padding-top: 14px;
       padding-bottom: 14px;
       font-size: 12px;
       width: 25%;
       border-top-left-radius: 5px
   }

   .tablink2 {
        background: var(--bg-main-3);

       color: white;
       float: left;
       border: none;
       outline: none;
       cursor: pointer;
       padding-top: 14px;
       padding-bottom: 14px;
       font-size: 12px;
       width: 25%
   }

   .tablink3 {
        background: var(--bg-main-3);

       color: white;
       float: left;
       border: none;
       outline: none;
       cursor: pointer;
       padding-top: 14px;
       padding-bottom: 14px;
       font-size: 12px;
       width: 25%
   }

   .tablink4 {


        background: var(--bg-main-3);

       color: white;
       float: left;
       border: none;
       outline: none;
       cursor: pointer;
       padding-top: 14px;
       padding-bottom: 14px;
       font-size: 12px;
       width: 25%;
       border-top-right-radius: 5px
   }

   .tablink1:hover {
       background-color: var(--bg-main-3);
        background: var(--bg-main-3);
       color: white
   }

   .tablink2:hover {
       background-color: var(--bg-main-3);
        background: var(--bg-main-3);
       color: white
   }

   .tablink3:hover {
       background-color: var(--bg-main-3);
        background: var(--bg-main-3);
       color: white
   }

   .tablink4:hover {
       background-color: var(--bg-main-3);
        background: var(--bg-main-3);
       color: white
   }

   .tabcontent {
       color: white;
       display: none;
       height: 100%
   }

   .mt10 {
       margin-top: 80px;
       text-align: center
   }

   .m-only {
       display: none;
   }

   .d-only {
       display: block;
   }
   @media screen and (max-width: 768px) {
       .m-only {
           display: block;
       }

       .d-only {
           display: none;
       }
   }




   .tbl-strip tr:nth-child(odd) {
    background-color: var(--bg-main-4);
    }

    .tbl-strip tr:nth-child(even) {
    background-color: var(--bg-main);
    }
    .blink {
  animation: blinker 1s linear infinite!important;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}



.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.7);
    transition: opacity 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .overlay:hover {
    opacity: 1;
  }

  .button {
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: none;
     border-radius: 3px;
    font-size: 15px;
    cursor: pointer;
  }
  .maintenance{

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.767);
    transition: opacity 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
  }




.header-container {
    position: relative;
    width: 100%;
    height: auto;
}

/* .header-box {
    color: white;
    text-align: center;
    padding: 15px 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
} */

.header-box {
    color: white;
    text-align: center;
    padding: 33px 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative; /* Adjust positioning to cover part of the iframe */
    z-index: 2;
    margin-top: -65px; /* Adjust this value to control the amount of overlay */
}



.iframe-style {
    width: 100%;
    height: 600px;
    overflow: none;
    border: 0px;
    position: relative;
    top: -64px; /* Adjust this value to control the amount of overlay */
    z-index: 1;
}

.membership-card {
    border: none;
    text-align: center;
}

.membership-card img {
    height: 120px;
    /* Fixed height for consistency */
    width: auto;
    margin-bottom: 10px;
    /* Space between image and text */
}

.membership-card h3,
.membership-card p {
    margin: 0;
    /* Remove default margin */
}


.list-group-item {
    background: none;
    border: none;
    color: white;
    display: flex;
    height: 45px;
}

.list-group-item:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.1);
    /* Striped effect */
}




.btn-primary {
    background: linear-gradient(125deg, var(--base-secondary) 50%, var(--base) 50%);
    color: #fff;
    position: relative;
    text-transform: uppercase;
    border: none;
    transition: all 0.4s;
    cursor: pointer;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--base-hover);
    color: #ffffff;
}
.btn-primary::before {
    content: "";
    position: absolute;
    background: var(--base-secondary);
    width: 110%;
    height: 100%;
    left: -150%;
    bottom: 0;
    transition: left 0.4s;
    z-index: -1;
    transform: skewX(-37deg);
}


.btn-primary:hover::before {
    left: 0;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem var(--base-secondary); /* Enhanced focus glow effect */
}





.btn-warning {
    background: linear-gradient(125deg, var(--base-secondary) 50%, var(--base) 50%);
    color: #fff;
    position: relative;
    text-transform: uppercase;
    border: none;
    transition: all 0.4s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btn-warning:hover, .btn-warning:focus {
    background: var(--base-hover);
    color: #ffffff;
}


.btn-warning::before {
    content: "";
    position: absolute;
    background: var(--base-secondary);
    width: 110%;
    height: 100%;
    left: -150%;
    bottom: 0;
    transition: left 0.4s;
    z-index: -1;
    transform: skewX(-37deg);
}

.btn-warning:hover::before {
    left: 0;
}

.btn-warning:focus {
    box-shadow: 0 0 0 0.2rem var(--base); /* Enhanced focus glow effect */
}




.btn-secondary {
    background: linear-gradient(125deg, var(--bg-main-4) 50%, var(--bg-main) 50%);
    color: #fff;
    position: relative;
    text-transform: uppercase;
    border: none;
    transition: all 0.4s;
    cursor: pointer;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btn-secondary:hover, .btn-secondary:focus {
    background: var(--base-hover);
    color: #ffffff;
}


.btn-secondary::before {
    content: "";
    position: absolute;
    background: var(--bg-main-4);
    width: 110%;
    height: 100%;
    left: -150%;
    bottom: 0;
    transition: left 0.4s;
    z-index: -1;
    transform: skewX(-37deg);
}


.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem var(--base); /* Enhanced focus glow effect */
}

/*  */

.btn-dark {
    background: linear-gradient(125deg, var(--bg-main-2) 50%, var(--bg-main) 50%);
    color: #fff;
    position: relative;
    text-transform: uppercase;
    border: 0.5px solid rgba(207, 207, 207, 0.171);
    transition: all 0.4s;
    cursor: pointer;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btn-dark:hover, .btn-dark:focus {
    background: var(--base-hover);
    color: #ffffff;
}


.btn-dark::before {
    content: "";
    position: absolute;
    background: var(--bg-main-2);
    width: 110%;
    height: 100%;
    left: -150%;
    bottom: 0;
    transition: left 0.4s;
    z-index: -1;
    transform: skewX(-37deg);
}

.btn-dark:hover::before {
    left: 0;
}

.btn-dark:focus {
    box-shadow: 0 0 0 0.2rem var(--bg-main-2); /* Enhanced focus glow effect */
}



.btn-info {
    background: var(--bg-main-4);
    color: #fff;
    position: relative;
    text-transform: uppercase;
    border: none;
    transition: all 0.4s;
    cursor: pointer;
    border-radius:0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btn-info:hover, .btn-info:focus {
    background: var(--base-hover);
    color: #ffffff;
}

.btn-info::before {
    content: "";
    position: absolute;
    background: var(--bg-main-4);
    width: 110%;
    height: 100%;
    left: -150%;
    bottom: 0;
    transition: left 0.4s;
    z-index: -1;
    transform: skewX(-37deg);
}

.btn-info:hover::before {
    left: 0;
}

.btn-info:focus {
    box-shadow: 0 0 0 0.2rem var(--bg-main-2); /* Enhanced focus glow effect */
}

/*  */


/* Adjusted clip path for a more subtle effect */
.clip-path {
    border-radius: 3px;
}
.clip-path-large {
border-radius: 3px;
}
.clip-path-small {
    border-radius: 3px;
}



.text-line {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Maksimum jumlah baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}



.two-line-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maksimum jumlah baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.one-line-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Maksimum jumlah baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}




::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 rgba(255, 255, 255, 0.849), 0.048 !important;

}

::-webkit-scrollbar-thumb {
    background: #ffffff2a !important;

}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-main-3) !important;
}



#slider .alert {
    display: flex; /* Flexbox layout */
    align-items: center; /* Vertical alignment */
    justify-content: space-between; /* Space between items */
    gap: 4px; /* Gap between items */
    padding: 0.5rem; /* Padding around the alert */
    color: white; /* Text color */
}

#slider .running-text {
    flex-grow: 1; /* Allows the text container to expand */
    white-space: nowrap;
    overflow: hidden;
    margin-left: 10px; /* Margin to separate from the button */
}

#slider .running-text {
display: flex; /* Use flexbox to layout the child elements */
align-items: center; /* Vertically center the content within the container */
height: 100%; /* Ensure the container fills the height of its parent if not set */
white-space: nowrap;
overflow: hidden;
flex-grow: 1; /* Allows the text container to expand */
}

#slider .running-text p {
margin: 0; /* Removes default margin from the paragraph for consistent alignment */
animation: marquee 30s linear infinite;
animation-play-state: running; /* Ensure the text scrolls */
}
#slider .btn {
    white-space: nowrap; /* Prevents text in the button from wrapping */
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

#slider .btn-spin {
white-space: nowrap; /* Prevent text from wrapping */
padding: 0.375rem 1.5rem; /* Adjust padding to reduce button size */
}
@media (max-width: 768px) {

    #slider .btn-spin {
white-space: nowrap; /* Prevent text from wrapping */
padding: 0.375rem 1.5rem; /* Adjust padding to reduce button size */
font-size: 0.2rem; /* Reduce font size of the button text */
}


#slider .running-text p {
font-size: 11px; /* Smaller font size for better readability on mobile */
}
}




.fab-wrapper {
    position: fixed;
    bottom: 15rem;
    right: 2rem;
    opacity: 0; /* Initially hidden */
    visibility: hidden;
    transition: opacity 4s ease, visibility 0s linear 2s;
    z-index: 1000; /* Ensure it's above other content */
}

.fab-checkbox {
    display: none;
}

.fab {
    width: 45px;
    height: 45px;
    background: linear-gradient(125deg, var(--base-secondary) 50%, var(--base) 50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fab:hover {
    background-color: var(--base-secondary);
    color: white;
}

.fab-checkbox:checked + .fab i {
    transform: rotate(180deg); /* Rotates the icon, not the button */
}

.fab i {
    font-size: 22px;
    color: white;
    transition: transform 0.3s;
}

.fab-wheel {
    position: absolute;
    bottom: 55px;
    right: 0;
    width: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0);
    transform-origin: bottom center;
    transition: transform 0.3s ease;
}

.fab-checkbox:checked ~ .fab-wheel {
    transform: scale(1);
}

.fab-action {
    width: 45px;
    height: 45px;
    background: linear-gradient(125deg, var(--base-secondary) 50%, var(--base) 50%);
    margin-bottom: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.3s, transform 0.3s;
}

.fab-action:hover {
    transform: scale(1.1);
    background-color: var(--base-secondary);
    color: white;
}

@media (max-width: 768px) {
    .fab-wrapper {
        bottom: 6.5rem!important;
        right: 1rem;
    }

    .fab {
    width: 42px;
    height: 42px;
}


}


.card-img-container {
    height: 180px; /* Set a fixed height */
    overflow: hidden; /* Ensures no overflow of the image outside the container */
}

.card-img-container img {
    width: 100%; /* Ensure the image covers the full width of the container */
    height: 100%; /* Fit the fixed height of the container */
    object-fit: cover; /* Cover the area without distorting ratio */
    object-position: center; /* Center the image within the container */
}

@media (max-width: 768px) {
    .card-img-container {
        height: 125px;
    }




}

/* Styles for the game cards */
#game .card {
    background: var(--bg-main-2);
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius: 3px; /* Slightly rounded corners for a softer look */
}

/* Hover effects for game cards */
#game .card:hover {
    transform: scale(1.02); /* Slight scale on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#game .card img {
    width: 100%;
    transition: transform 0.3s ease;
    border-radius: 3px; /* Rounded top corners */
}

#game .card .image-container .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
    transition: opacity 0.3s ease;
}

#game .card .image-container:hover .overlay {
    opacity: 1;
}

/* Modal backdrop styling */
.modal-backdrop.show {
    opacity: 0.9 !important; /* Less transparency */
    background-color: var(--bg-main);
}


/* More styles follow here... */

/* Ensuring that nav-pills container does not extend beyond screen width */
.nav-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on touch devices */
    scrollbar-width: none; /* Hides scrollbar for Firefox */
}

/* Hides scrollbar for Chrome, Edge, and Safari */
.nav-pills::-webkit-scrollbar {
    display: none;
}

/* Prevents vertical stretching of nav items */
.nav-item {
    flex: 0 0 auto;
}

/* Optional: Improves the spacing and alignment of the nav links */
.nav-link {
    white-space: nowrap;
    padding: 15px; /* Adds more space between items */
}

/* Tab styling to match game theme */
.nav-tabs .nav-link {
    border-radius: 3px;
    border: none;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background: var(--bg-main-3);
}

.nav-tabs .nav-link img {
    transition: transform 0.3s ease;
}

.nav-tabs .nav-link:hover img {
    transform: scale(1.1);
}

.nav-tabs {
    border-bottom: none;
}
    #navbarMob .nav-link {
        display: flex;
        background: var(--bg-main-2);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 60px;
        transition: background-color 0.3s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
    }

    #navbarMob .nav-link:hover, #navbarMob .nav-link:focus {
        background-color: var(--bg-main-3); /* Warna saat hover atau focus */
        transform: translateY(-5px);
        cursor: pointer;
    }

    #navbarMob .nav-link:active {
        background-color: var(--bg-main-1); /* Warna saat diklik */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Menambahkan bayangan untuk efek diklik */
        transform: translateY(-2px); /* Sedikit mengangkat saat diklik */
    }

    #navbarMob .nav-link svg {
        margin-bottom: 4px;
        transition: fill 0.3s ease;
    }

    #navbarMob .nav-link span {
        font-size: 10px;
        line-height: 1;
        transition: color 0.3s ease;
    }

    #navbarMob .nav-link:hover svg, #navbarMob .nav-link:focus svg {
        fill: #FFFFFF; /* Warna ikon saat hover atau focus */
    }

    #navbarMob .nav-link:hover span, #navbarMob .nav-link:focus span {
        color: #FFFF00; /* Warna teks saat hover atau focus */
    }

    #navbarMob .nav-link:active svg {
        fill: #FFFF00; /* Warna ikon saat aktif */
    }

    #navbarMob .nav-link:active span {
        color: #FFFFFF; /* Warna teks saat aktif */
    }
</style>



/* Media Queries for mobile-specific styles */
@media (max-width: 768px) {
    /* Mobile-specific font size adjustments for headings and text */
    h1 {
        font-size: 28px; /* Slightly reduced for mobile */
        margin-bottom: 20px;
    }
    h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }
    h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    h4 {
        font-size: 18px;
        margin-bottom: 14px;
    }
    h5 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    h6 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    p, .text, small, .small {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    small, .small {
        font-size: 12px;
    }



    /* Adjustments for lists */
    /* ul, ol {
        padding-left: 25px;
        margin-bottom: 15px;
    } */
    li {
        font-size: 13px;
        margin-bottom: 10px;
    }

    /* Styling for links */
    a {
        font-size: 13px;
        color: #007bff;
        text-decoration: none;
    }
    a:hover, a:focus {
        text-decoration: underline;
    }

    /* Form element styles */
    label {
        font-size: 13px;
    }
    input[type="text"], input[type="email"], input[type="password"], textarea, select {
        display: block;
        width: 100%;
        padding: 8px;
        margin-bottom: 12px;
        font-size: 13px;
        border-radius: 4px;
    }




}





.table {
    width: 100%;
    margin-bottom: 1.5rem;
    color: whitesmoke;
}

table {
    width: 100%;
    color: whitesmoke;
    background: none;
    font-family: 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', 'sans-serif';
}

tr:nth-child(odd) {
    background-color: var(--bg-main);
}

tr:nth-child(even) {
    background-color: var(--bg-main-2);
}

th,
.blue {
    background-color: var(--bg-main-4);
}

.green {
    background-color: var(--bg-main-2);
}

.ahlive,
.one,
.two,
.three,
.four,
.five,
.one_rate,
.two_rate,
.three_rate,
.four_rate,
.five_rate,
.one_ahou,
.two_ahou,
.three_ahou,
.four_ahou,
.five_ahou,
.live_ah,
.live_ou {
    text-align: center;
}

.picked {
    color: #007bff;
}

.timez,
img[src*="livestream_icon.png"],
.betweentables,
a[href*="oddschart.cfm"],
a[href*="oddsouchart.cfm"] {
    display: none;
}
.picked {
    color: #ebebeb;
    /* Bright green to attract attention */
    font-weight: bold;
    text-shadow: 0px 0px 5px rgba(192, 44, 44, 0.7);
    transition: all 0.3s ease-in-out;
}

.picked:hover {
    color: #087f23;
    /* Darker shade of green on hover */
    cursor: pointer;
    transform: scale(1.1);
    /* Slightly enlarge on hover */
}

/* Keyframes for a pulsating effect */
@keyframes pulse {
    0% {
        text-shadow: 0 0 4px #af4c4c, 0 0 10px #af4c4c, 0 0 20px #af4c4c, 0 0 10px #af4c4c, 0 0 4px #af4c4c, 0 0 20px #af4c4c;
    }

    50% {
        text-shadow: 0 0 2px #af4c4c, 0 0 4px #af4c4c, 0 0 6px #af4c4c, 0 0 10px #af4c4c, 0 0 15px #af4c4c, 0 0 20px #af4c4c;
    }

    100% {
        text-shadow: 0 0 4px #af4c4c, 0 0 10px #af4c4c, 0 0 20px #af4c4c, 0 0 10px #af4c4c, 0 0 4px #af4c4c, 0 0 20px #af4c4c;
    }
}

.picked {
    animation: pulse 2s infinite ease-in-out;
}
