

/* 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;
}

.card, .card-body {
    border-radius: 5px;
}


.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: 8px;
    color: red;
    top: 75%;
    transform: translateY(-40%);
    font-size: 33px;
    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: 16px;
 }

 .progress-t {
    margin-top: 15.5px;
   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 {
       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)!important;
    background-color: var(--base-hover)!important;
    color: #ffffff;
}
.btn-primary::before {
    content: "";
    position: absolute;
    background: var(--base-secondary);
    background-color: 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 */
}

.floating-buttons {
    position: fixed;
    bottom: 95px; /* Adjusted bottom position */
    right: 25px;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.floating-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    color: #FFF;
    border-radius: 50%;
    margin-bottom: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

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

.icon-image {
    width: 100%;
    height: 100%;

}
/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-buttons {
        right: 15px; /* Adjusts position for smaller screens */
    }

    .floating-button {
        width: 45px; /* Smaller button size on mobile */
        height: 45px;
    }
}



.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);
    background-color: var(--base-hover);
    color: #ffffff;
}


.btn-warning::before {
    content: "";
    position: absolute;
    background: var(--base-secondary);
    background-color: var(--base-hover);
    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);
    background-color: var(--base-hover);
    color: #ffffff;
}


.btn-secondary::before {
    content: "";
    position: absolute;
    background: var(--bg-main-4);
    background-color: 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);
    background-color: var(--base-hover);
    color: #ffffff;
}


.btn-dark::before {
    content: "";
    position: absolute;
    background: var(--bg-main-2);
    background-color: 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);
    background-color: var(--base-hover);
    color: #ffffff;
}

.btn-info::before {
    content: "";
    position: absolute;
    background: var(--bg-main-4);
    background-color: 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: 100%;
    }




}

/* 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: 50px;
        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 */
    }

    #navbarMob .nav-link:active {
        background-color: var(--bg-main-3); /* Warna saat diklik */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Menambahkan bayangan untuk efek diklik */

    }

    #navbarMob .nav-link svg {
        margin-bottom: 5px;
        transition: fill 0.3s ease;
    }

    #navbarMob .nav-link span {
        font-size: 8px;
        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: var(--bg-main-3); /* Warna teks saat hover atau focus */
    }

    #navbarMob .nav-link:active svg {
        fill: var(--bg-main-3); /* Warna ikon saat aktif */
    }

    #navbarMob .nav-link:active span {
        color: #FFFFFF; /* Warna teks saat aktif */
    }


/* Media Queries for mobile-specific styles */
@media (max-width: 768px) {
    /* Mobile-specific font size adjustments for headings and text */
    h1 {
        font-size: 28px;
        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: var(--bg-main-3);
        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: var(--bg-main-3);
}

.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 var(--bg-main-3);
    transition: all 0.3s ease-in-out;
}

.picked:hover {
    color: var(--bg-main-3);
    /* 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 var(--bg-main-3), 0 0 10px var(--bg-main-3), 0 0 20px var(--bg-main-3), 0 0 10px var(--bg-main-3), 0 0 4px var(--bg-main-3), 0 0 20px var(--bg-main-3);
    }

    50% {
        text-shadow: 0 0 2px var(--bg-main-3), 0 0 4px var(--bg-main-3), 0 0 6px var(--bg-main-3), 0 0 10px var(--bg-main-3), 0 0 15px var(--bg-main-3), 0 0 20px var(--bg-main-3);
    }

    100% {
        text-shadow: 0 0 4px var(--bg-main-3), 0 0 10px var(--bg-main-3), 0 0 20px var(--bg-main-3), 0 0 10px var(--bg-main-3), 0 0 4px var(--bg-main-3), 0 0 20px var(--bg-main-3);
    }
}

.picked {
    animation: pulse 2s infinite ease-in-out;
}

/* =====================================================
   RTP GAME MODAL - MODERN BLACK / RED / GOLD
===================================================== */

.rtp-game-modal .modal-dialog {
    max-width: 620px;
    margin: 1.5rem auto;
}

.rtp-game-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(214, 162, 60, 0.25);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at top right,
            rgba(185, 21, 28, 0.18),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #15100e 0%,
            #090909 55%,
            #050505 100%
        );

    color: #fff;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 30px rgba(185, 21, 28, 0.12);
}

.rtp-game-modal .modal-header {
    padding: 18px 22px;

    background:
        linear-gradient(
            110deg,
            #8a0e13,
            #c5161d 55%,
            #7a1010
        );

    border: 0;
}

.rtp-game-modal .modal-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
}

.rtp-game-modal .modal-body {
    padding: 22px;
}

/* RTP VALUE */

.rtp-stat {
    padding: 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );
}

.rtp-stat small {
    display: block;
    margin-bottom: 4px;

    font-size: 11px;
    letter-spacing: 1.2px;

    color: #b8b8b8;
}

#rtpValue {
    display: block;

    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;

    color: #f2c35e;

    transition:
        transform .35s ease,
        color .35s ease;
}

#rtpValue.is-updating {
    transform: scale(1.08);
    color: #ff3840;
}

/* RTP PROGRESS */

.rtp-progress {
    width: 100%;
    height: 7px;

    margin: 12px 0 8px;

    overflow: hidden;

    background: rgba(255,255,255,.08);
    border-radius: 20px;
}

.rtp-progress-bar {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #781015,
            #c5161d,
            #d6a23c
        );

    box-shadow:
        0 0 12px rgba(197, 22, 29, .35);

    transition: width .8s ease;
}

/* TABS */

.rtp-game-modal .nav-tabs {
    display: flex;

    margin-top: 20px;

    background: #080808;

    border-radius: 12px;
    overflow: hidden;
}

.rtp-game-modal .nav-tabs .nav-item {
    flex: 1;
}

.rtp-game-modal .nav-tabs .nav-link {
    width: 100%;

    padding: 13px 10px;

    border: 0;
    border-radius: 0;

    text-align: center;
    font-size: 13px;
    font-weight: 600;

    color: #bcbcbc;

    background: transparent;
}

.rtp-game-modal .nav-tabs .nav-link.active {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #8c0f14,
            #c5161d
        );
}

/* ACTIVITY */

.rtp-activity-list {
    max-height: 330px;

    overflow-y: auto;

    margin-top: 12px;
}

.rtp-activity-row {
    display: grid;

    grid-template-columns: 58px 1fr auto;
    gap: 12px;

    align-items: center;

    padding: 12px 10px;

    border-bottom: 1px solid rgba(255,255,255,.06);

    animation: activityIn .35s ease;
}

.rtp-activity-row:hover {
    background: rgba(255,255,255,.025);
}

.rtp-activity-time {
    color: #888;
    font-size: 12px;
}

.rtp-activity-name {
    color: #fff;
    font-weight: 500;
}

.rtp-activity-amount {
    color: #d6a23c;
    font-weight: 600;
    text-align: right;
}

@keyframes activityIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

@media (max-width: 576px) {

    .rtp-game-modal .modal-dialog {
        margin: 10px;
    }

    .rtp-game-modal .modal-content {
        border-radius: 14px;
    }

    .rtp-game-modal .modal-body {
        padding: 16px;
    }

    #rtpValue {
        font-size: 27px;
    }

    .rtp-activity-row {
        grid-template-columns: 48px 1fr;
    }

    .rtp-activity-amount {
        grid-column: 2;
        text-align: left;
    }
}

/* RTP CHANGE ANIMATION */

[id^="progressValue_"] {
    display: inline-block;
    transition:
        transform .25s ease,
        color .25s ease,
        text-shadow .25s ease;
}

[id^="progressValue_"].rtp-value-changing {
    transform: scale(1.15);
    color: #d6a23c !important;
    text-shadow:
        0 0 10px rgba(214, 162, 60, .55);
}


/* PROGRESS BAR SMOOTH */

[id^="progressBar_"] {
    transition:
        width .8s ease-in-out !important;
}


/* JACKPOT / ACTIVITY ROW */

.rtp-demo-row {
    animation:
        jackpotRowIn .45s ease;
}

@keyframes jackpotRowIn {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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


.rtp-demo-time {
    color: #9b9b9b;
    font-size: 12px;
}

.rtp-demo-name {
    color: #ffffff;
}

.rtp-demo-amount {
    margin-left: 5px;
    font-weight: 600;
}

/* ==================================================
   LIVE ONLINE COUNTER
================================================== */

.live-online-number {
    display: inline-block;
    font-weight: 700;
    color: #ffffff;

    transition:
        transform .25s ease,
        color .25s ease,
        text-shadow .25s ease;
}

.live-online-label {
    margin-left: 3px;
    color: #ffffff;
    font-weight: 600;
}

.live-online-demo {
    margin-left: 4px;
    color: #8f8f8f;
    font-size: 10px;
}

.online-changing .live-online-number {
    transform: scale(1.12);

    color: #d6a23c;

    text-shadow:
        0 0 10px rgba(214, 162, 60, .55);
}

/* ======================================================================
   PITUNG88 PREMIUM UI V2 — UI ONLY
   No RTP / Online / Jackpot JavaScript logic is changed here.
   ====================================================================== */

/* ---------- PAGE / BACKDROP ---------- */
body {
    background:
        radial-gradient(circle at 50% -10%, rgba(185, 21, 28, .10), transparent 34%),
        #050505;
}

.modal.show {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-backdrop.show {
    opacity: .86 !important;
    background: #020202 !important;
}

/* ---------- PROVIDER NAV ---------- */
.custom-nav-section .nav-wrapper {
    padding: 6px;
    border: 1px solid rgba(214, 162, 60, .14);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(24, 20, 19, .98), rgba(9, 9, 9, .98));
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

.custom-nav-section .nav-item {
    position: relative;
    margin: 0 4px;
    padding: 8px 13px !important;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.custom-nav-section .nav-item:hover,
.custom-nav-section .nav-item:focus {
    transform: translateY(-1px);
    border-color: rgba(214, 162, 60, .28);
    background: rgba(214, 162, 60, .06);
    text-decoration: none;
}

.custom-nav-section .nav-item.active {
    border-color: rgba(214, 162, 60, .42);
    background: linear-gradient(180deg, rgba(214, 162, 60, .10), rgba(185, 21, 28, .08));
    box-shadow: inset 0 -2px 0 #d6a23c;
}

.custom-nav-section .nav-arrow {
    min-width: 30px;
    border-radius: 9px;
    background: #0d0d0d !important;
    color: #d6a23c;
}

/* ---------- GAME CARDS ---------- */
#game .row.px-1 > [class*="col-"] {
    padding: 5px !important;
}

#game .card {
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, .055) !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #171311 0%, #0a0a0a 100%) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

#game .card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(214, 162, 60, .28) !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .42), 0 0 0 1px rgba(185, 21, 28, .06);
}

#game .card .image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 11px 11px 0 0;
    background: #0b0b0b;
}

#game .card .image-container > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
    transform: scale(1.002);
    transition: transform .35s ease, filter .35s ease;
}

#game .card:hover .image-container > img {
    transform: scale(1.045);
    filter: saturate(1.05) contrast(1.03);
}

#game .card .image-container .overlay {
    inset: 0;
    opacity: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .78));
    transition: opacity .25s ease;
}

#game .card:hover .image-container .overlay {
    opacity: 1;
}

#game .card .image-container .overlay .btn {
    transform: translateY(8px);
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 999px !important;
    padding: 7px 16px !important;
    font-size: 10px;
    letter-spacing: .7px;
    background: rgba(8, 8, 8, .80) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .25s ease, background .25s ease;
}

#game .card:hover .image-container .overlay .btn {
    transform: translateY(0);
    background: linear-gradient(135deg, #a70f16, #d11b23) !important;
}

#game .card .badge {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .45px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
}

#game .progress-h {
    height: 21px !important;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .04);
    border-radius: 0 0 11px 11px !important;
    background: #070707 !important;
}

#game [id^="progressBar_"] {
    min-width: 34px;
    border-radius: 0 !important;
    box-shadow: inset -10px 0 18px rgba(255, 255, 255, .06);
}

#game .progress-bar.bg-danger {
    background: linear-gradient(90deg, #8d1016 0%, #ca1820 52%, #f0444b 100%) !important;
}

#game .progress-bar.bg-primary {
    background: linear-gradient(90deg, #0d6595 0%, #148aca 52%, #36b8ef 100%) !important;
}

#game .progress-t {
    display: block;
    width: 100%;
    margin: 0 !important;
    line-height: 21px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}

/* ======================================================================
   PREMIUM GAME MODAL V2
   ====================================================================== */
.rtp-game-modal .modal-dialog {
    width: auto;
    max-width: 680px;
    margin: 20px auto;
}

.rtp-game-modal .modal-content {
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(214, 162, 60, .24) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 88% 4%, rgba(185, 21, 28, .20), transparent 28%),
        radial-gradient(circle at 10% 100%, rgba(214, 162, 60, .06), transparent 26%),
        linear-gradient(155deg, #181210 0%, #0b0b0b 46%, #050505 100%) !important;
    box-shadow:
        0 34px 90px rgba(0, 0, 0, .72),
        0 0 0 1px rgba(185, 21, 28, .07),
        0 0 40px rgba(185, 21, 28, .10);
}

.rtp-game-modal .modal-content::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    left: 28px;
    right: 28px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d6a23c, #e9c66f, transparent);
    opacity: .85;
}

.rtp-game-modal .modal-content > .modal-header:first-child {
    position: sticky;
    top: 0;
    z-index: 5;
    min-height: 66px;
    padding: 20px 24px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, .065) !important;
    background: rgba(18, 10, 10, .90) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.rtp-game-modal .modal-content > .modal-header:first-child::after {
    content: " • LIVE RTP";
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid rgba(214, 162, 60, .30);
    border-radius: 999px;
    color: #e7c66d;
    background: rgba(214, 162, 60, .07);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .9px;
}

.rtp-game-modal .modal-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: .5px;
    color: #fff;
}

/* top information section */
.rtp-game-modal .modal-content > .modal-body:first-of-type {
    padding: 22px 24px 18px !important;
}

.rtp-game-modal .modal-content > .modal-body:first-of-type > .row {
    margin: -6px;
    align-items: stretch;
}

.rtp-game-modal .modal-content > .modal-body:first-of-type > .row > .col {
    padding: 6px !important;
}

.rtp-game-modal .modal-content > .modal-body:first-of-type > .row > .col:first-child img {
    width: 100% !important;
    height: 100%;
    min-height: 224px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .38);
}

.rtp-game-modal .modal-content > .modal-body:first-of-type > .row > .col:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 17px 18px !important;
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02);
}

.rtp-game-modal .modal-content > .modal-body:first-of-type p {
    margin-bottom: 3px !important;
}

.rtp-game-modal .modal-content > .modal-body:first-of-type p.w3-small,
.rtp-game-modal .modal-content > .modal-body:first-of-type p.text-white-50 {
    margin-top: 9px !important;
    color: #85888e !important;
    font-size: 10px !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .85px;
}

.rtp-game-modal .modal-content > .modal-body:first-of-type p.w3-small:first-child {
    margin-top: 0 !important;
}

.rtp-game-modal .modal-content > .modal-body:first-of-type p:not(.w3-small) {
    color: #f2f2f2;
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.35;
}

.rtp-game-modal [id^="progressValue_"] {
    display: inline-block;
    margin-top: 1px;
    color: #f2ca6b !important;
    font-size: 27px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.5px;
    text-shadow: 0 0 18px rgba(214, 162, 60, .12);
}

.rtp-game-modal .live-online-number {
    color: #fff;
    font-weight: 800;
}

.rtp-game-modal .live-online-label {
    color: #d7d7d7;
    font-size: 11px;
    letter-spacing: .45px;
}

.rtp-game-modal .live-online-demo {
    display: inline-block;
    margin-left: 5px;
    padding: 2px 6px;
    border: 1px solid rgba(214, 162, 60, .18);
    border-radius: 999px;
    color: #b7a16a;
    background: rgba(214, 162, 60, .045);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .4px;
    vertical-align: 1px;
}

.rtp-game-modal .w3-text-green {
    margin-left: 4px;
    filter: drop-shadow(0 0 5px rgba(46, 204, 113, .45));
}

/* modal tabs */
.rtp-game-modal > .modal-dialog .nav-pills {
    margin: 0 24px !important;
    padding: 5px;
    gap: 6px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 14px;
    background: rgba(0, 0, 0, .36);
}

.rtp-game-modal > .modal-dialog .nav-pills .nav-item {
    flex: 1 1 0;
    margin: 0;
}

.rtp-game-modal > .modal-dialog .nav-pills .nav-link {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    color: #979ba2 !important;
    background: transparent !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .35px;
    text-decoration: none !important;
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.rtp-game-modal > .modal-dialog .nav-pills .nav-link:hover {
    color: #fff !important;
    border-color: rgba(214, 162, 60, .14) !important;
    background: rgba(255, 255, 255, .025) !important;
}

.rtp-game-modal > .modal-dialog .nav-pills .nav-link.active {
    color: #fff !important;
    border-color: rgba(238, 74, 81, .20) !important;
    background: linear-gradient(135deg, #981017 0%, #cb1820 60%, #b71017 100%) !important;
    box-shadow: 0 7px 18px rgba(185, 21, 28, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* tab content shell */
.rtp-game-modal .tab-content {
    margin: 12px 24px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 16px;
    background: rgba(3, 3, 3, .40);
}

.rtp-game-modal .tab-content > .tab-pane > .modal-body {
    padding: 16px !important;
}

/* first tab rows */
.rtp-game-modal .tab-pane[id^="home"] > .modal-body:first-child p {
    position: relative;
    margin: 0 0 8px !important;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 10px;
    color: #dfe1e5;
    background: rgba(255, 255, 255, .018);
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.45;
}

.rtp-game-modal .tab-pane[id^="home"] > .modal-body:first-child p:last-child {
    margin-bottom: 0 !important;
}

/* NOTE block */
.rtp-game-modal .tab-pane[id^="home"] > .modal-header {
    margin: 2px 16px 0;
    padding: 12px 14px !important;
    border: 1px solid rgba(214, 162, 60, .15) !important;
    border-radius: 11px !important;
    background: linear-gradient(90deg, rgba(214, 162, 60, .09), rgba(185, 21, 28, .06)) !important;
}

.rtp-game-modal .tab-pane[id^="home"] > .modal-header .modal-title {
    color: #e7c76f;
    font-size: 11px !important;
    letter-spacing: .8px;
}

.rtp-game-modal .tab-pane[id^="home"] > .modal-header + .modal-body {
    padding: 12px 16px 16px !important;
}

.rtp-game-modal .tab-pane[id^="home"] > .modal-header + .modal-body p {
    margin: 0 !important;
    color: #a9abb0;
    font-size: 11px !important;
    line-height: 1.75;
}

/* jackpot activity */
.rtp-game-modal .tab-pane[id^="profile"] > .py-2 {
    max-height: 340px !important;
    padding: 8px !important;
    overflow-y: auto !important;
}

.rtp-game-modal .table-responsive {
    overflow-x: hidden;
    border-radius: 12px;
}

.rtp-game-modal .rtp-jackpot-table {
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0 5px;
    background: transparent !important;
}

.rtp-game-modal .rtp-jackpot-table tr {
    background: transparent !important;
}

.rtp-game-modal .rtp-jackpot-table td {
    padding: 10px 11px !important;
    border: 0 !important;
    background: rgba(255, 255, 255, .026);
    font-size: 12px;
    vertical-align: middle !important;
}

.rtp-game-modal .rtp-jackpot-table td:first-child {
    width: 72px;
    border-radius: 9px 0 0 9px;
    color: #777d84;
    white-space: nowrap;
}

.rtp-game-modal .rtp-jackpot-table td:last-child {
    border-radius: 0 9px 9px 0;
    color: #d9d9db;
}

.rtp-game-modal .rtp-demo-time {
    color: #7e848b;
    font-size: 11px;
}

.rtp-game-modal .rtp-demo-name {
    color: #fff;
    font-weight: 600;
}

.rtp-game-modal .rtp-demo-amount,
.rtp-game-modal .text-warning {
    color: #f0bf4e !important;
    font-weight: 700;
}

/* close/OK area */
.rtp-game-modal .tab-content + br {
    display: none;
}

.rtp-game-modal .modal-content > .text-center.mt-2.mb-4 {
    margin: 14px 0 20px !important;
}

.rtp-game-modal .modal-content > .text-center .btn-primary {
    min-width: 142px;
    min-height: 40px;
    padding: 9px 24px !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #c99a34 0%, #e0b34c 44%, #be171d 45%, #d51c24 100%) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .30);
    color: #fff !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
}

.rtp-game-modal .modal-content > .text-center .btn-primary:hover,
.rtp-game-modal .modal-content > .text-center .btn-primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .38), 0 0 0 3px rgba(214, 162, 60, .08);
}

/* scrollbar inside premium modal */
.rtp-game-modal .modal-content::-webkit-scrollbar,
.rtp-game-modal .tab-pane[id^="profile"] > .py-2::-webkit-scrollbar {
    width: 4px;
}

.rtp-game-modal .modal-content::-webkit-scrollbar-thumb,
.rtp-game-modal .tab-pane[id^="profile"] > .py-2::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: rgba(214, 162, 60, .24) !important;
}

/* ---------- TABLET ---------- */
@media (max-width: 767.98px) {
    #game .row.px-1 > [class*="col-"] {
        padding: 4px !important;
    }

    #game .card {
        border-radius: 10px !important;
    }

    #game .card .image-container {
        border-radius: 9px 9px 0 0;
    }

    #game .progress-h {
        height: 19px !important;
        border-radius: 0 0 9px 9px !important;
    }

    #game .progress-t {
        line-height: 19px !important;
        font-size: 10px !important;
    }

    .rtp-game-modal .modal-dialog {
        max-width: calc(100vw - 24px);
        margin: 12px auto;
    }

    .rtp-game-modal .modal-content {
        max-height: calc(100vh - 24px);
        border-radius: 18px !important;
    }

    .rtp-game-modal .modal-content > .modal-header:first-child {
        min-height: 58px;
        padding: 16px 18px !important;
    }

    .rtp-game-modal .modal-title {
        font-size: 14px !important;
    }

    .rtp-game-modal .modal-content > .modal-header:first-child::after {
        min-height: 22px;
        padding: 3px 7px;
        font-size: 8px;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type {
        padding: 16px 16px 14px !important;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type > .row > .col:first-child img {
        min-height: 190px;
        border-radius: 13px !important;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type > .row > .col:last-child {
        padding: 14px !important;
        border-radius: 13px;
    }

    .rtp-game-modal [id^="progressValue_"] {
        font-size: 23px;
    }

    .rtp-game-modal > .modal-dialog .nav-pills {
        margin: 0 16px !important;
    }

    .rtp-game-modal .tab-content {
        margin: 10px 16px 0;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 575.98px) {
    .rtp-game-modal {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rtp-game-modal .modal-dialog {
        width: auto;
        max-width: none;
        margin: 8px;
    }

    .rtp-game-modal .modal-content {
        max-height: calc(100dvh - 16px);
        border-radius: 16px !important;
    }

    .rtp-game-modal .modal-content::before {
        left: 18px;
        right: 18px;
    }

    .rtp-game-modal .modal-content > .modal-header:first-child {
        min-height: 54px;
        padding: 14px 14px !important;
    }

    .rtp-game-modal .modal-title {
        font-size: 13px !important;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type {
        padding: 12px !important;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type > .row {
        display: grid;
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 8px;
        margin: 0;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type > .row > .col {
        width: auto;
        max-width: none;
        flex: none;
        padding: 0 !important;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type > .row > .col:first-child img {
        min-height: 0;
        height: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 12px !important;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type > .row > .col:last-child {
        padding: 11px 12px !important;
        border-radius: 12px;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type p.w3-small,
    .rtp-game-modal .modal-content > .modal-body:first-of-type p.text-white-50 {
        margin-top: 6px !important;
        font-size: 8px !important;
        letter-spacing: .6px;
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type p:not(.w3-small) {
        font-size: 11px !important;
    }

    .rtp-game-modal [id^="progressValue_"] {
        font-size: 20px;
    }

    .rtp-game-modal .live-online-label {
        font-size: 9px;
    }

    .rtp-game-modal .live-online-demo {
        margin-left: 3px;
        padding: 1px 4px;
        font-size: 6px;
    }

    .rtp-game-modal > .modal-dialog .nav-pills {
        margin: 0 12px !important;
        padding: 4px;
        gap: 4px;
        border-radius: 12px;
    }

    .rtp-game-modal > .modal-dialog .nav-pills .nav-link {
        min-height: 38px;
        padding: 8px 6px !important;
        border-radius: 8px !important;
        font-size: 9px;
        letter-spacing: .15px;
    }

    .rtp-game-modal .tab-content {
        margin: 8px 12px 0;
        border-radius: 13px;
    }

    .rtp-game-modal .tab-content > .tab-pane > .modal-body {
        padding: 11px !important;
    }

    .rtp-game-modal .tab-pane[id^="home"] > .modal-body:first-child p {
        padding: 8px 9px;
        margin-bottom: 6px !important;
        border-radius: 8px;
        font-size: 10px !important;
    }

    .rtp-game-modal .tab-pane[id^="home"] > .modal-header {
        margin: 1px 11px 0;
        padding: 9px 10px !important;
    }

    .rtp-game-modal .tab-pane[id^="home"] > .modal-header + .modal-body {
        padding: 9px 11px 12px !important;
    }

    .rtp-game-modal .tab-pane[id^="home"] > .modal-header + .modal-body p {
        font-size: 9px !important;
        line-height: 1.65;
    }

    .rtp-game-modal .tab-pane[id^="profile"] > .py-2 {
        max-height: 280px !important;
        padding: 5px !important;
    }

    .rtp-game-modal .rtp-jackpot-table {
        border-spacing: 0 4px;
    }

    .rtp-game-modal .rtp-jackpot-table td {
        padding: 8px 7px !important;
        font-size: 10px;
    }

    .rtp-game-modal .rtp-jackpot-table td:first-child {
        width: 54px;
    }

    .rtp-game-modal .rtp-demo-time {
        font-size: 9px;
    }

    .rtp-game-modal .modal-content > .text-center.mt-2.mb-4 {
        margin: 11px 0 14px !important;
    }

    .rtp-game-modal .modal-content > .text-center .btn-primary {
        min-width: 120px;
        min-height: 36px;
        padding: 8px 20px !important;
        font-size: 10px;
    }
}

/* ---------- VERY SMALL MOBILE ---------- */
@media (max-width: 380px) {
    #game .row.px-1 > [class*="col-"] {
        padding: 3px !important;
    }

    .rtp-game-modal .modal-content > .modal-header:first-child::after {
        content: "• LIVE RTP";
    }

    .rtp-game-modal .modal-content > .modal-body:first-of-type > .row {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    }

    .rtp-game-modal [id^="progressValue_"] {
        font-size: 18px;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    #game .card,
    #game .card img,
    [id^="progressBar_"],
    [id^="progressValue_"],
    .live-online-number,
    .rtp-demo-row {
        transition: none !important;
        animation: none !important;
    }
}


/* ======================================================================
   PREMIUM MODAL SCROLL FIX
   Single-scroll modal for desktop, tablet, and mobile.
   ====================================================================== */
.rtp-game-modal {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.rtp-game-modal .modal-dialog.modal-dialog-centered {
    display: block !important;
    min-height: 0 !important;
    margin: 12px auto !important;
}

.rtp-game-modal .modal-content {
    height: auto !important;
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(214, 162, 60, .72) rgba(255, 255, 255, .04);
}

/* Use one scroll area for the whole detail modal, not nested scroll areas. */
.rtp-game-modal .tab-content {
    overflow: visible !important;
}

.rtp-game-modal .tab-pane[id^="profile"] > .py-2 {
    max-height: none !important;
    overflow: visible !important;
}

/* Keep the main header visible while scrolling. */
.rtp-game-modal .modal-content > .modal-header:first-child {
    position: sticky !important;
    top: 0;
    z-index: 20;
}

/* Visible scrollbar in Chromium/Safari. */
.rtp-game-modal .modal-content::-webkit-scrollbar {
    width: 7px;
}

.rtp-game-modal .modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .035) !important;
}

.rtp-game-modal .modal-content::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(214, 162, 60, .72) !important;
    background-clip: padding-box !important;
}

.rtp-game-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(214, 162, 60, .95) !important;
    background-clip: padding-box !important;
}

@media (max-width: 767.98px) {
    .rtp-game-modal .modal-dialog.modal-dialog-centered {
        width: auto !important;
        max-width: none !important;
        margin: 8px !important;
    }

    .rtp-game-modal .modal-content {
        max-height: calc(100vh - 16px) !important;
        max-height: calc(100dvh - 16px) !important;
    }
}

/* ======================================================================
   MODAL OPEN POSITION FIX — CENTER ON OPEN + INNER SCROLL ONLY
   ====================================================================== */

/* The Bootstrap modal itself becomes a fixed viewport flex container.
   This prevents the dialog from opening below the visible viewport. */
.rtp-game-modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 12px !important;
}

/* Disable Bootstrap's centered-dialog pseudo spacing and keep the dialog
   inside the viewport at all times. */
.rtp-game-modal .modal-dialog.modal-dialog-centered {
    display: block !important;
    width: min(680px, calc(100vw - 24px)) !important;
    max-width: 680px !important;
    min-height: 0 !important;
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 0 !important;
    transform: none;
}

.rtp-game-modal .modal-dialog-centered::before {
    display: none !important;
    height: 0 !important;
    content: none !important;
}

/* Only the content scrolls. The modal shell stays fixed and centered. */
.rtp-game-modal .modal-content {
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto !important;
}

/* Keep the premium header visible while the detail body scrolls. */
.rtp-game-modal .modal-content > .modal-header:first-child {
    position: sticky !important;
    top: 0 !important;
    z-index: 30 !important;
}

/* Remove nested vertical scroll from the tab areas. */
.rtp-game-modal .tab-content,
.rtp-game-modal .tab-pane,
.rtp-game-modal .tab-pane[id^="profile"] > .py-2 {
    max-height: none !important;
    overflow: visible !important;
}

/* Tablet / mobile: edge-safe dimensions, still vertically centered. */
@media (max-width: 767.98px) {
    .rtp-game-modal.show {
        padding: 8px !important;
    }

    .rtp-game-modal .modal-dialog.modal-dialog-centered {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        max-height: calc(100vh - 16px) !important;
        max-height: calc(100dvh - 16px) !important;
        margin: 0 !important;
    }

    .rtp-game-modal .modal-content {
        max-height: calc(100vh - 16px) !important;
        max-height: calc(100dvh - 16px) !important;
    }
}

/* Very short screens: start nearer the top instead of squeezing the dialog. */
@media (max-height: 620px) {
    .rtp-game-modal.show {
        align-items: flex-start !important;
    }
}

/* ==========================================================
   PREMIUM HOT & NEW BADGES
   UI ONLY — NO JS
========================================================== */


/* ==========================================================
   HOT BADGE
   Fire / heat animation
========================================================== */

#game .card .w3-display-topright {
    z-index: 8;
    overflow: visible;
}


/* HOT */

#game .card .badge-success {

    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    height: 23px;

    padding: 4px 9px 4px 18px !important;

    overflow: visible;

    border:
        1px solid rgba(255, 202, 78, .65) !important;

    border-radius:
        999px !important;

    color:
        #fff8e7 !important;

    background:
        linear-gradient(
            135deg,
            #7d0c0c 0%,
            #e51d24 48%,
            #ff7a00 100%
        ) !important;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .32),
        0 0 8px rgba(255, 76, 0, .55),
        inset 0 1px 0 rgba(255, 255, 255, .22);

    font-size: 9px !important;
    font-weight: 900 !important;
    letter-spacing: .7px;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, .55);

    animation:
        hotBadgePulse 1.65s
        ease-in-out infinite;

}


/* flame icon */

#game .card .badge-success::before {

    content: "🔥";

    position: absolute;

    left: -5px;
    top: 50%;

    transform:
        translateY(-50%)
        rotate(-8deg);

    font-size: 17px;
    line-height: 1;

    filter:
        drop-shadow(
            0 0 5px
            rgba(255, 110, 0, .85)
        );

    transform-origin:
        50% 80%;

    animation:
        hotFlameDance
        .72s
        ease-in-out
        infinite alternate;

}


/* heat glow */

#game .card .badge-success::after {

    content: "";

    position: absolute;

    inset: -5px;

    z-index: -1;

    border-radius:
        inherit;

    background:
        radial-gradient(
            circle,
            rgba(255, 80, 0, .35),
            transparent 68%
        );

    opacity: .55;

    animation:
        hotGlow
        1.3s
        ease-in-out
        infinite;

}


@keyframes hotBadgePulse {

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

    50% {
        transform:
            scale(1.055);
    }

}


@keyframes hotFlameDance {

    0% {
        transform:
            translateY(-50%)
            rotate(-12deg)
            scale(.92);
    }

    50% {
        transform:
            translateY(-56%)
            rotate(4deg)
            scale(1.08);
    }

    100% {
        transform:
            translateY(-52%)
            rotate(-3deg)
            scale(1);
    }

}


@keyframes hotGlow {

    0%,
    100% {
        opacity:
            .35;

        transform:
            scale(.95);
    }

    50% {
        opacity:
            .85;

        transform:
            scale(1.08);
    }

}



/* ==========================================================
   NEW BADGE
   Different style:
   shimmer + sparkle animation
========================================================== */

#game .card .badge-danger {

    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 48px;
    height: 23px;

    padding:
        4px 18px 4px 9px !important;

    overflow: hidden;

    border:
        1px solid rgba(
            134,
            219,
            255,
            .60
        ) !important;

    border-radius:
        999px !important;

    color:
        #ffffff !important;

    background:
        linear-gradient(
            115deg,
            #4b1b8b 0%,
            #7a35d8 38%,
            #227dd4 72%,
            #22b8e6 100%
        ) !important;

    background-size:
        180% 100% !important;

    box-shadow:
        0 4px 12px
        rgba(0, 0, 0, .30),

        0 0 10px
        rgba(58, 166, 255, .38),

        inset 0 1px 0
        rgba(255, 255, 255, .22);

    font-size:
        9px !important;

    font-weight:
        900 !important;

    letter-spacing:
        .8px;

    text-shadow:
        0 1px 3px
        rgba(0, 0, 0, .45);

    animation:
        newGradientMove
        3s linear infinite;

}


/* sparkle */

#game .card .badge-danger::before {

    content: "✦";

    position: absolute;

    right: 5px;
    top: 50%;

    transform:
        translateY(-50%)
        scale(.8);

    color:
        #ddf8ff;

    font-size:
        11px;

    text-shadow:
        0 0 5px #fff,
        0 0 9px
        rgba(67, 206, 255, .95);

    animation:
        newSparkle
        1.25s
        ease-in-out
        infinite;

}


/* moving shine */

#game .card .badge-danger::after {

    content: "";

    position: absolute;

    top: -40%;
    bottom: -40%;

    left: -45%;

    width: 26%;

    transform:
        rotate(18deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.55),
            transparent
        );

    animation:
        newShimmer
        2.4s
        ease-in-out
        infinite;

}


@keyframes newGradientMove {

    0% {
        background-position:
            0% 50%;
    }

    100% {
        background-position:
            180% 50%;
    }

}


@keyframes newSparkle {

    0%,
    100% {
        opacity:
            .45;

        transform:
            translateY(-50%)
            rotate(0deg)
            scale(.75);
    }

    50% {
        opacity:
            1;

        transform:
            translateY(-50%)
            rotate(180deg)
            scale(1.15);
    }

}


@keyframes newShimmer {

    0% {
        left:
            -45%;

        opacity:
            0;
    }

    20% {
        opacity:
            .85;
    }

    55% {
        left:
            125%;

        opacity:
            .5;
    }

    100% {
        left:
            125%;

        opacity:
            0;
    }

}



/* ==========================================================
   HOVER ENHANCEMENT
========================================================== */

#game .card:hover .badge-success {

    box-shadow:

        0 5px 15px
        rgba(0, 0, 0, .38),

        0 0 14px
        rgba(255, 78, 0, .75),

        0 0 24px
        rgba(255, 160, 0, .18);

}


#game .card:hover .badge-danger {

    box-shadow:

        0 5px 15px
        rgba(0, 0, 0, .38),

        0 0 15px
        rgba(69, 174, 255, .58),

        0 0 26px
        rgba(125, 64, 255, .20);

}



/* ==========================================================
   MOBILE
========================================================== */

@media (
    max-width: 575.98px
) {

    #game .card
    .badge-success,

    #game .card
    .badge-danger {

        min-width:
            38px;

        height:
            20px;

        padding-top:
            3px !important;

        padding-bottom:
            3px !important;

        font-size:
            7px !important;

        letter-spacing:
            .45px;

    }


    #game .card
    .badge-success {

        padding-left:
            14px !important;

        padding-right:
            7px !important;

    }


    #game .card
    .badge-success::before {

        left:
            -4px;

        font-size:
            14px;

    }


    #game .card
    .badge-danger {

        padding-left:
            7px !important;

        padding-right:
            15px !important;

    }


    #game .card
    .badge-danger::before {

        right:
            4px;

        font-size:
            9px;

    }

}



/* ==========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================== */

@media (
    prefers-reduced-motion:
    reduce
) {

    #game .card
    .badge-success,

    #game .card
    .badge-success::before,

    #game .card
    .badge-success::after,

    #game .card
    .badge-danger,

    #game .card
    .badge-danger::before,

    #game .card
    .badge-danger::after {

        animation:
            none !important;

    }

}

/* ============================================================
   PREMIUM ACTIVITY HUB
============================================================ */

.pah {
    --pah-main: #b9151c;
    --pah-accent: #d6a23c;
    --pah-accent-light: #ffd76b;

    position: fixed;

    top: 74px;
    left: 50%;

    width: min(820px, calc(100vw - 32px));
    min-height: 118px;

    z-index: 999999;

    display: grid;

    grid-template-columns:
        84px
        minmax(0, 1fr)
        60px;

    align-items: center;

    gap: 18px;

    padding:
        17px
        22px
        22px;

    overflow: hidden;

    border:
        1px solid
        rgba(214, 162, 60, .48);

    border-radius:
        22px;

    background:
        radial-gradient(
            circle at 0% 50%,
            rgba(185, 21, 28, .30),
            transparent 30%
        ),
        radial-gradient(
            circle at 100% 50%,
            rgba(214, 162, 60, .10),
            transparent 30%
        ),
        linear-gradient(
            115deg,
            rgba(42, 4, 4, .98),
            rgba(14, 5, 5, .985) 52%,
            rgba(5, 5, 5, .99)
        );

    box-shadow:
        0 24px 65px
        rgba(0, 0, 0, .72),

        0 0 30px
        rgba(185, 21, 28, .15),

        inset 0 1px 0
        rgba(255, 255, 255, .055);

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translate(-50%, -24px)
        scale(.97);

    transition:
        opacity .42s ease,
        transform .48s
        cubic-bezier(.18,.89,.32,1.2),
        visibility .42s ease;
}


/* ACTIVE */

.pah.is-visible {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translate(-50%, 0)
        scale(1);

}


/* TOP GOLD LINE */

.pah::before {

    content: "";

    position: absolute;

    top: 0;
    left: 24px;
    right: 24px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #d6a23c,
            #ffe395,
            #d6a23c,
            transparent
        );

    box-shadow:
        0 0 12px
        rgba(255, 196, 71, .55);

}


/* BACKGROUND RED SWEEP */

.pah::after {

    content: "";

    position: absolute;

    z-index: -1;

    width: 330px;
    height: 190px;

    right: -80px;
    bottom: -100px;

    transform:
        rotate(-14deg);

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(227, 38, 46, .20),
            transparent 66%
        );

}


/* ============================================================
   SHINE
============================================================ */

.pah__shine {

    position: absolute;

    top: -60%;
    bottom: -60%;

    left: -28%;

    width: 16%;

    pointer-events: none;

    transform:
        rotate(18deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 226, 156, .18),
            rgba(255,255,255,.25),
            transparent
        );

    animation:
        pahShine
        5.5s
        ease-in-out
        infinite;

}


@keyframes pahShine {

    0%,
    60% {
        left: -28%;
        opacity: 0;
    }

    70% {
        opacity: .85;
    }

    100% {
        left: 120%;
        opacity: 0;
    }

}


/* ============================================================
   AVATAR
============================================================ */

.pah__avatar-shell {

    position: relative;

    width: 78px;
    height: 78px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #ffdb72,
            #a20f15
        );

    box-shadow:
        0 0 0 4px
        rgba(214, 162, 60, .09),

        0 0 24px
        rgba(214, 162, 60, .24);

}


.pah__avatar {

    width: 70px;
    height: 70px;

    display: block;

    object-fit: cover;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #421010,
            #0b0b0b
        );

    border:
        2px solid
        rgba(22, 5, 5, .92);

}


/* DEMO BADGE */

.pah__avatar-badge {

    position: absolute;

    right: -6px;
    bottom: -4px;

    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 35px;
    height: 25px;

    padding:
        0 7px;

    border:
        2px solid #130606;

    border-radius:
        999px;

    background:
        linear-gradient(
            135deg,
            #d6a23c,
            #f0c75c
        );

    color:
        #2e1700;

    font-size:
        7px;

    font-weight:
        900;

    letter-spacing:
        .6px;

    box-shadow:
        0 4px 10px
        rgba(0,0,0,.36);

}


/* ============================================================
   CONTENT
============================================================ */

.pah__content {

    position: relative;

    z-index: 2;

    min-width: 0;

}


.pah__meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 5px;

}


.pah__type {

    display: inline-flex;

    align-items: center;

    min-height: 24px;

    padding:
        3px 10px;

    border:
        1px solid
        rgba(214,162,60,.32);

    border-radius:
        999px;

    background:
        rgba(214,162,60,.065);

    color:
        #f5ce6e;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .75px;

}


.pah__time {

    color:
        rgba(255,255,255,.43);

    font-size:
        9px;

    font-weight:
        600;

    letter-spacing:
        .5px;

}


.pah__name {

    margin-bottom:
        5px;

    overflow:
        hidden;

    white-space:
        nowrap;

    text-overflow:
        ellipsis;

    color:
        #fff;

    font-size:
        22px;

    line-height:
        1.15;

    font-weight:
        800;

    letter-spacing:
        -.3px;

}


.pah__message {

    color:
        #c8c8cb;

    font-size:
        13px;

    line-height:
        1.5;

    font-weight:
        500;

}


.pah__amount {

    color:
        #ffd05b;

    font-weight:
        800;

    text-shadow:
        0 0 10px
        rgba(214,162,60,.18);

}


.pah__highlight {

    color:
        #fff;

    font-weight:
        700;

}


/* ============================================================
   ICON
============================================================ */

.pah__icon-shell {

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(214,162,60,.18);

    border-radius:
        16px;

    background:
        linear-gradient(
            145deg,
            rgba(214,162,60,.10),
            rgba(185,21,28,.07)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.035);

}


.pah__icon {

    color:
        #f2bf4d;

    font-size:
        29px;

    filter:
        drop-shadow(
            0 0 7px
            rgba(214,162,60,.24)
        );

}


/* ============================================================
   CLOSE
============================================================ */

.pah__close {

    position: absolute;

    z-index: 10;

    top: 8px;
    right: 9px;

    width: 27px;
    height: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.055);

    border-radius:
        50%;

    outline: none;

    background:
        rgba(255,255,255,.025);

    color:
        rgba(255,255,255,.42);

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;

}


.pah__close:hover {

    color: #fff;

    background:
        rgba(185,21,28,.30);

    transform:
        rotate(90deg);

}


/* ============================================================
   TIMER BAR
============================================================ */

.pah__progress {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 4px;

    overflow: hidden;

    background:
        rgba(255,255,255,.035);

}


.pah__progress span {

    display: block;

    width: 100%;
    height: 100%;

    transform-origin:
        left center;

    background:
        linear-gradient(
            90deg,
            #a70e15,
            #e3262e,
            #d6a23c,
            #ffe486
        );

    box-shadow:
        0 0 12px
        rgba(214,162,60,.32);

}


/* ============================================================
   TYPE VARIANTS
============================================================ */


/* JACKPOT */

.pah--jackpot {

    --pah-main: #b9151c;

}


.pah--jackpot
.pah__icon-shell {

    animation:
        pahJackpotGlow
        1.8s
        ease-in-out
        infinite;

}


@keyframes pahJackpotGlow {

    50% {

        box-shadow:
            0 0 20px
            rgba(214,162,60,.18),

            inset 0 1px 0
            rgba(255,255,255,.05);

    }

}


/* WITHDRAW */

.pah--withdraw
.pah__type {

    color:
        #84e7b0;

    border-color:
        rgba(69,210,130,.25);

    background:
        rgba(69,210,130,.07);

}


.pah--withdraw
.pah__icon {

    color:
        #60dd96;

}


/* BIG WIN */

.pah--bigwin
.pah__type {

    color:
        #ff9c7b;

    border-color:
        rgba(255,91,60,.30);

    background:
        rgba(255,91,60,.07);

}


.pah--bigwin
.pah__icon {

    color:
        #ff704f;

}


/* TREND */

.pah--trend
.pah__type {

    color:
        #8dd9ff;

    border-color:
        rgba(60,174,255,.25);

    background:
        rgba(60,174,255,.065);

}


.pah--trend
.pah__icon {

    color:
        #58c6ff;

}


/* ============================================================
   MOBILE
============================================================ */

@media (
    max-width: 575.98px
) {

    .pah {

        top: auto;

        left: 10px;
        right: 10px;
        bottom: 68px;

        width: auto;

        min-height: 91px;

        grid-template-columns:
            58px
            minmax(0,1fr)
            36px;

        gap: 10px;

        padding:
            12px
            13px
            17px;

        border-radius:
            17px;

        transform:
            translateY(24px)
            scale(.97);

    }


    .pah.is-visible {

        transform:
            translateY(0)
            scale(1);

    }


    .pah__avatar-shell {

        width: 55px;
        height: 55px;

    }


    .pah__avatar {

        width: 49px;
        height: 49px;

    }


    .pah__avatar-badge {

        min-width: 26px;
        height: 19px;

        right: -4px;

        padding:
            0 4px;

        font-size:
            5px;

    }


    .pah__name {

        margin-bottom:
            3px;

        font-size:
            15px;

    }


    .pah__message {

        padding-right:
            6px;

        font-size:
            10px;

        line-height:
            1.4;

    }


    .pah__type {

        min-height:
            19px;

        padding:
            2px 7px;

        font-size:
            6px;

    }


    .pah__time {

        font-size:
            6px;

    }


    .pah__icon-shell {

        width:
            34px;

        height:
            34px;

        border-radius:
            10px;

    }


    .pah__icon {

        font-size:
            20px;

    }


    .pah__close {

        top: 5px;
        right: 5px;

        width: 22px;
        height: 22px;

        font-size: 12px;

    }

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media (
    prefers-reduced-motion:
    reduce
) {

    .pah,
    .pah__shine,
    .pah__icon-shell {

        animation:
            none !important;

        transition:
            none !important;

    }

}

/* ==========================================================
   SIMPLE PREMIUM PROMO EXPAND
========================================================== */

.promo-expand-card {

    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(214, 162, 60, .18);

    border-radius:
        17px;

    background:
        linear-gradient(
            145deg,
            #12100f,
            #080808
        );

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.28);

    transition:
        border-color .25s ease,
        box-shadow .25s ease;

}


.promo-expand-card:hover {

    border-color:
        rgba(214, 162, 60, .38);

    box-shadow:
        0 14px 35px
        rgba(0,0,0,.38);

}


/* ==========================================================
   IMAGE
========================================================== */

.promo-expand-image {

    position: relative;

    overflow: hidden;

    cursor: pointer;

}


.promo-expand-image img {

    display: block;

    width: 100%;

    transition:
        transform .35s ease,
        filter .35s ease;

}


.promo-expand-card:hover
.promo-expand-image img {

    transform:
        scale(1.025);

}


.promo-expand-image-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(0,0,0,.45);

    opacity: 0;

    transition:
        opacity .25s ease;

}


.promo-expand-image:hover
.promo-expand-image-overlay {

    opacity: 1;

}


.promo-expand-image-overlay span {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding:
        7px 13px;

    border:
        1px solid
        rgba(255,217,118,.45);

    border-radius:
        999px;

    background:
        rgba(12,8,5,.78);

    color:
        #f5ce70;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .6px;

}


/* ==========================================================
   HEADER
========================================================== */

.promo-expand-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding:
        12px 15px;

}


.promo-expand-title-wrap {

    min-width: 0;

}


.promo-expand-label {

    display: block;

    margin-bottom:
        3px;

    color:
        #d6a23c;

    font-size:
        7px;

    font-weight:
        900;

    letter-spacing:
        1.3px;

}


.promo-expand-title {

    margin:
        0 0 2px;

    color:
        #fff;

    font-size:
        14px;

    font-weight:
        800;

}


.promo-expand-desc {

    margin: 0;

    color:
        rgba(255,255,255,.42);

    font-size:
        9px;

}


/* ==========================================================
   DETAIL BUTTON
========================================================== */

.promo-expand-detail-btn {

    flex:
        0 0 auto;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        4px;

    padding:
        8px 12px;

    border:
        1px solid
        rgba(214,162,60,.34);

    border-radius:
        10px;

    outline:
        none !important;

    background:
        rgba(214,162,60,.05);

    color:
        #f1c863;

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        .5px;

    cursor: pointer;

    transition:
        .2s ease;

}


.promo-expand-detail-btn:hover {

    background:
        #d6a23c;

    color:
        #1b1003;

}


/* ==========================================================
   EXPANDED CONTENT
========================================================== */

.promo-expand-content {

    padding:
        5px 15px 16px;

    border-top:
        1px solid
        rgba(255,255,255,.055);

    animation:
        promoExpandFade
        .35s ease;

}


@keyframes promoExpandFade {

    from {

        opacity: 0;

        transform:
            translateY(-6px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.promo-expand-content-title {

    display: flex;

    align-items: center;

    gap: 6px;

    margin:
        12px 0 6px;

    color:
        #f0c763;

    font-size:
        11px;

    font-weight:
        800;

}


.promo-expand-intro {

    margin:
        0 0 13px;

    color:
        rgba(255,255,255,.57);

    font-size:
        10px;

    line-height:
        1.6;

}


/* ==========================================================
   TERMS
========================================================== */

.promo-expand-section-title {

    margin-bottom:
        8px;

    color:
        #fff;

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .5px;

}


.promo-expand-terms {

    margin:
        0;

    padding-left:
        20px;

    color:
        rgba(255,255,255,.65);

    font-size:
        9px;

    line-height:
        1.65;

}


.promo-expand-terms li {

    margin-bottom:
        7px;

    padding-left:
        3px;

}


.promo-expand-terms li::marker {

    color:
        #d6a23c;

}


/* ==========================================================
   NOTE
========================================================== */

.promo-expand-note {

    display: flex;

    align-items:
        flex-start;

    gap:
        9px;

    margin-top:
        12px;

    padding:
        10px 11px;

    border:
        1px solid
        rgba(214,162,60,.14);

    border-radius:
        11px;

    background:
        rgba(214,162,60,.035);

}


.promo-expand-note > i {

    color:
        #d6a23c;

    font-size:
        17px;

}


.promo-expand-note strong {

    display:
        block;

    margin-bottom:
        2px;

    color:
        #eac76b;

    font-size:
        8px;

}


.promo-expand-note p {

    margin: 0;

    color:
        rgba(255,255,255,.47);

    font-size:
        8px;

    line-height:
        1.55;

}


/* ==========================================================
   ACTIONS
========================================================== */

.promo-expand-actions {

    display: flex;

    justify-content:
        flex-end;

    gap:
        8px;

    margin-top:
        13px;

}


.promo-expand-close-btn,
.promo-expand-claim-btn {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        35px;

    padding:
        7px 13px;

    border-radius:
        9px;

    font-size:
        8px;

    font-weight:
        800;

    text-decoration:
        none !important;

}


.promo-expand-close-btn {

    border:
        1px solid
        rgba(255,255,255,.10);

    background:
        rgba(255,255,255,.035);

    color:
        rgba(255,255,255,.68);

    cursor:
        pointer;

}


.promo-expand-close-btn:hover {

    background:
        rgba(255,255,255,.075);

    color:
        #fff;

}


.promo-expand-claim-btn {

    border:
        1px solid
        rgba(214,162,60,.42);

    background:
        linear-gradient(
            135deg,
            #edce70,
            #be801a
        );

    color:
        #1b1002;

}


.promo-expand-claim-btn:hover {

    color:
        #090502;

    filter:
        brightness(1.06);

}


/* ==========================================================
   MOBILE
========================================================== */

@media (
    max-width: 575.98px
) {

    .promo-expand-header {

        padding:
            10px 11px;

    }


    .promo-expand-title {

        font-size:
            11px;

    }


    .promo-expand-desc {

        font-size:
            7px;

    }


    .promo-expand-detail-btn {

        padding:
            6px 9px;

        font-size:
            7px;

    }


    .promo-expand-content {

        padding:
            4px 11px 13px;

    }


    .promo-expand-terms {

        font-size:
            8px;

    }


    .promo-expand-actions {

        display: grid;

        grid-template-columns:
            1fr 1fr;

    }

}