/* ========== Enhanced Animations & Transitions ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.change-language {
    background: linear-gradient(135deg, #c7002d 0%, #8a0020 100%);
    border-radius: 30rem;
    color: white;
    padding: 2px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(199, 0, 45, 0.3);
    transition: all 0.3s ease;
}

.change-language:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 0, 45, 0.4);
}

.dropdown-toggle::after{
  color:white;
}

.is-disabled>div>a>img {
	filter: grayscale(80%);
	cursor: not-allowed;
	opacity: 0.6;
}

.is-disabled>div>.hover-1-content>button {
	cursor: not-allowed;
	opacity: 0.5;
}

.is-disabled>div>.hover-1-content {
	background: rgba(0, 0, 0, 0.6);
}

.grid-gameall-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 20px;
    padding: 10px 0;
}

.loged-content{
    margin-top: 0px !important;
}

.icon-tab img {
    max-width: 44px;
    transition: all 0.3s ease;
}

.tab-list:hover .icon-tab img {
    transform: scale(1.1) rotate(5deg);
}

.banner-promote {
    margin-bottom: 50px;
    animation: fadeInUp 0.5s ease;
}

.carousel-item-lobby {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.carousel-item-lobby:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}
.change-language .active {
    background: linear-gradient(135deg, #830505 0%, #5a0303 100%);
    color: white;
    padding: 8px 18px !important;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(131, 5, 5, 0.4);
    transition: all 0.3s ease;
}

.change-language .active:hover {
    transform: scale(1.05);
}

.owl-theme .owl-nav .disabled {
    opacity: .5;
    cursor: default;
}

.bg-tab-game{
    margin-top : 64px;
    position: relative;
    overflow: hidden;
}

.bg-tab-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(194, 0, 0, 0.1) 0%, rgba(104, 2, 25, 0.2) 100%);
    pointer-events: none;
}

/* Tab Game */
.bg-tab-game {
    background: url(../images/bg-tab-game.jpg) top;
    background-size: cover;
    padding: 20px 0px;
    backdrop-filter: blur(5px);
}

.tab-game-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 15px;
  position: relative;
  z-index: 1;
}

.is-disabled>a>img {
	filter: grayscale(80%);
	cursor: not-allowed;
	opacity: 0.6;
}

.tab-list {
    text-align: center;
    padding: 10px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tab-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-list:hover::before {
    left: 100%;
}

.wrap-menu-bar-main {
    padding: 0px 200px;
}

.tab-list:hover {
    background: linear-gradient(135deg, rgb(125, 3, 3) 0%, rgb(90, 2, 2) 100%);
    border-radius: 12px;
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 3, 3, 0.4);
}

.tab-list.active {
    background: linear-gradient(135deg, #680219 0%, #4a0112 100%);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(104, 2, 25, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}


.tab-list .txt {
    color: white;
    line-height: 1.2;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* content-owl */

.main-content-owl {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url(../images/bg-main.jpg);
    background-position: center, top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 10;
    padding-top: 40px;
    padding-bottom: 40px;
    height: auto;
}

.main-content-owl::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(194, 0, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(104, 2, 25, 0.15) 0%, transparent 50%);
    pointer-events: none !important;
    z-index: 1;
}

.title-header {
    border-left: 5px #c20000 solid;
    padding-left: 15px;
    margin-bottom: 25px;
    position: relative;
    animation: slideInRight 0.4s ease;
}

.title-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, #c20000 0%, #ff3333 50%, #c20000 100%);
    box-shadow: 0 0 10px rgba(194, 0, 0, 0.5);
}

.title-header h2,
.title-header div {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.title-header h2 {
    font-weight: 700;
    letter-spacing: 1px;
}

.game-list {
    padding: 0px 0px;
    margin-bottom: 50px;
    position: relative;
}

.owl-prev {
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translate(-50%, -50%) !important;
    transition: all 0.3s ease;
}

.owl-next {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translate(-50%, -50%) !important;
    transition: all 0.3s ease;
}

.owl-prev:hover {
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.owl-next:hover {
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.owl-prev,
.owl-next {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #c20000 0%, #8a0000 100%) !important;
    color: #ffffff;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(194, 0, 0, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: 0 4px 15px rgba(194, 0, 0, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.2);
    -moz-box-shadow: 0 4px 15px rgba(194, 0, 0, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.owl-prev:hover,
.owl-next:hover {
    background: linear-gradient(135deg, #ff0000 0%, #c20000 100%) !important;
    box-shadow: 0 6px 20px rgba(194, 0, 0, 0.6), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.owl-prev span,
.owl-next span {
    font-size: 26px;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* content-owl */
.main-content {
    background: url(../images/bg-main.jpg) left no-repeat;
    background-size: cover;
    display: flex;
    position: relative;
    z-index: 10;
    /* transform: translateY(-80px); */
    height: 1200px;
    margin-top: 180px;
  }
  
  .wrap-content-game {
    padding: 0px 50px;
  }
  
  .list-game {
    padding: 0 0.5rem;
    margin: 1rem 0 0.25rem;
    width: 25%;
  }
  
  /* Begin :: Button */
  .btn-main {
    background: linear-gradient(135deg, #fecb5e 0%, #ff6b35 50%, #880644 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(254, 203, 94, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 10px 25px;
  }
  
  .btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
  }
  
  .btn-main:hover::before {
    left: 100%;
  }
  
  .btn-main:hover {
    background: linear-gradient(135deg, #ffd76e 0%, #ff7b45 50%, #9a0753 100%);
    box-shadow: 0 6px 25px rgba(254, 203, 94, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
  }
  
  .btn-main:active {
    transform: translateY(0px);
    box-shadow: 0 2px 10px rgba(254, 203, 94, 0.3);
  }
  
  /* End :: Button */
  
  .content-partner {
    background: linear-gradient(180deg, #5b0609 0%, #000000 100%);
    padding: 40px 0;
    position: relative;
  }
  
  .content-partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(194, 0, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
  }
  
  .partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .partner-list li {
    transition: all 0.3s ease;
    filter: grayscale(20%);
    opacity: 0.8;
  }
  
  .partner-list li:hover {
    transform: translateY(-5px) scale(1.05);
    filter: grayscale(0%);
    opacity: 1;
  }
  
  .footer-custom {
    padding-top: 40px;
    background: linear-gradient(180deg, #4f0012 0%, #2a0008 100%);
    text-align: center;
    position: relative;
  }
  
  .footer-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #c20000 50%, transparent 100%);
  }
  
  .tag-footer-all {
    list-style: none;
    padding-left: 0rem;
    margin-bottom: 30px;
    margin-top: 0px;
  }
  
  .tag-footer-all li {
    cursor: pointer;
    background: linear-gradient(135deg, #c20000 0%, #8a0000 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin: 5px 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(194, 0, 0, 0.3);
    font-size: 13px;
  }
  
  .tag-footer-all li:hover {
    background: linear-gradient(135deg, #ff0000 0%, #c20000 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 0, 0, 0.5);
  }
  
  .text-power {
    padding: 25px 0px;
    background: linear-gradient(180deg, #1b0007 0%, #0a0003 100%);
    color: white;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.5px;
  }
  
  .modal-custom {
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    background-color: rgba(17, 25, 40, 0.5);
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .button-close-custom {
    position: absolute;
    right: 0px;
    top: -40px;
    z-index: 1000;
  }
  
  .btn-close-custom {
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .btn-close-custom:hover {
    transform: rotate(90deg) scale(1.1);
  }
  
  .btn-close-custom i {
    color: white;
    font-size: 28px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  
  .modal-content-custom {
    background: linear-gradient(135deg, #a61119 0%, #7a0c13 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s ease;
  }
  
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .body-content-custom {
    overflow: hidden;
    border-radius: 20px;
  }
  
  .nav-tabs-custom {
    border-bottom: none;
  }
  
  .nav-tabs-custom .nav-link {
    transition: all 0.3s ease;
  }
  
  .nav-tabs-custom .nav-link:hover {
    transform: translateY(-2px);
  }
  
  .text-contact {
    margin-top: 30px;
    text-align: center;
    color: white;
  }
  
  .text-contact span {
    color: #FFFD6D;
  }
  
  .nav-tabs-custom .nav-link.active {
    background: linear-gradient(to bottom, #ffe66a 5%, #ffc756 100%);
    background-color: #ffe66a;
    color: #510f04 !important;
    text-shadow: -1px 2px 4px #ff9d00;
    border-color: transparent;
  }
  
  .nav-link-custom {
    color: white;
    padding: 17px 0px;
    font-size: 18px;
  }
  
  .nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #ffe66a;
    transition: 00.3s;
  }
  
  .content-login {
    padding: 30px 50px;
  }
  
  .icon-user-custom {
    background: linear-gradient(to bottom, #ff6a6a 5%, #ea9f00 100%);
    background-color: #ffe66a;
    width: 36px;
    height: 36px;
    border-radius: 30rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  
  .icon-user-custom img {
    width: 20px;
  }
  
  .box-amount {
    background: #ca4236;
    border-radius: 30rem;
    padding: 3px 0px;
    padding-right: 15px !important;
    padding-left: 15px !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .box-amount i {
    color: #ffda62;
    font-size: 20px;
  }
  
  .dropdown-profile-custom {
    border-right: #ca4236 1px solid;
    padding-right: 15px;
    margin-right: 15px;
  }
  
  .dropdown-menu-profile {
    background-color: #bf2d0c;
    color: white;
    border-radius: 10px;
    z-index: 9999 !important;
    position: relative;
    border: none;
  }
  
  .dropdown-item-profile {
    color: white;
  }
  
  .dropdown-item-profile:focus,
  .dropdown-item-profile:hover {
    background-color: #ffda62;
    color: #81000d;
  }
  
  .navbar-light .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
  
  }
  
  .navbar-toggler i {
    color: white;
    font-size: 24px;
  }
  
  
  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    backdrop-filter: blur(6px) saturate(100%);
    -webkit-backdrop-filter: blur(6px) saturate(100%);
    background-color: rgba(17, 25, 40, 0.8);
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 15%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  
  .overlay a {
    padding: 10px 0px;
    text-decoration: none;
    font-size: 24px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .overlay a:hover,
  .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  
  
  .tab-bar-mobile {
    display: none;
    position: fixed;
    z-index: 9998;
    width: 100%;
    /* top:200px; */
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: url(../images/bg-menu-mobile.png) top;
    /* background: linear-gradient(90deg, rgba(35, 1, 70, 1) 0%, rgba(116, 62, 141, 1) 50%, rgba(35, 1, 70, 1) 100%); */
    padding-top: 20px;
    padding-bottom: 5px;
  }
  
  .tab-bar-mobile ul.tab-control {
    list-style: none;
    padding-left: 0px;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
  }
  
  .tab-bar-mobile .tab-control .tab-list {
    color: #ffffff;
    width: 25%;
    text-align: center;
    font-size: 14px;
    margin: 0 auto;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
  }
  
  .tab-bar-mobile .tab-control .tab-list .menu-icon {
    width: 50px;
    margin: 0 auto;
  }
  
@media (min-width: 992px) and (max-width: 1199px) {
    .bg-tab-game{
        margin-top : 49px;
    }
    .wrap-menu-bar-main {
      padding: 0px 100px;
    }
  
    .menu-bar-main {
      padding: 20px 0px;
    }
  
    .tab-list {
      padding: 5px 25px;
    }
  
    .tab-bar-mobile {
      display: block;
    }
  
    /* content-owl */
  
    .main-content-owl {
      padding-top: 30px;
      padding-bottom: 30px;
    }
    /* content-owl */
    .allgame-content {
      padding-top: 30px;
      padding-bottom: 60px;
    }
  
  }
  
  @media (min-width: 768px) and (max-width: 991px) {
    .is-disabled>.hover-1-content>button {
      filter: grayscale(60%);
      font-size: 0.7rem;
      cursor: not-allowed;
      background: none;
      box-shadow: inset 0px 0px 0px 0px #fce2c1;
      background-color: #9d8b35a6 !important;
      border-radius: 0px;
      border: 1px solid #eeb44f;
      display: inline-block;
      color: #ffffff;
      padding: 3px 12px;
      text-decoration: none;
      text-shadow: -1px 2px 4px #000000;
      transition: 0.3s;
  }
    .bg-custom {
      height: auto;
      padding-bottom: 15px;
    }
    .bg-tab-game{
        margin-top : 49px;
    }
    .wrap-menu-bar-main {
      padding: 0px 20px;
    }
  
    .menu-bar-main {
      padding: 20px 0px;
    }
  
    .change-language {
      padding: 3px 3px;
    }
  
    .change-language .active {
      padding: 5px 15px !important;
    }
  
    .change-language .language {
      padding: 4px 8px;
    }
  
    .main-content {
      margin-top: 76px;
      height: 500px;
    }
  
    .content-game-list {
      padding-top: 20px;
    }
  
    .tab-bar-mobile {
      display: block;
    }
  
    /* content-owl */
  
    .main-content-owl {
      padding-top: 30px;
      padding-bottom: 30px;
    }
  
    .game-list {
      padding: 0px 10px;
    }
  
    .owl-nav {
      width: 108%;
    }
  
    /* content-owl */
    .allgame-content {
      padding-top: 30px;
      padding-bottom: 60px;
    }
  }
  
  @media (max-width: 767px) {
    .is-disabled>.hover-1-content>button {
      filter: grayscale(60%);
      font-size: 0.7rem;
      cursor: not-allowed;
      background: none;
      box-shadow: inset 0px 0px 0px 0px #fce2c1;
      background-color: #9d8b35a6 !important;
      border-radius: 0px;
      border: 1px solid #eeb44f;
      display: inline-block;
      color: #ffffff;
      padding: 3px 12px;
      text-decoration: none;
      text-shadow: -1px 2px 4px #000000;
      transition: 0.3s;
  }
    .grid-gameall-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 10px;
    }
    .bg-custom {
      height: auto;
      padding-bottom: 15px;
    }
    .bg-tab-game{
        margin-top : 49px;
    }
    .wrap-menu-bar-main {
      padding: 0px 20px;
    }
  
    .menu-bar-main {
      padding: 15px 0px;
    }
  
    .icon-tab {
      width: 40px;
      margin: 0 auto;
    }
  
    .tab-list {
      padding: 5px 0px;
    }
  
    .change-language {
      padding: 3px 3px;
    }
  
    .change-language .active {
      padding: 5px 15px !important;
    }
  
    .change-language .language {
      padding: 4px 8px;
    }
  
    .tab-game-container {
      grid-gap: 0px;
    }
  
    .content-game-list {
      padding-top: 20px;
    }
  
    .tab-bar-mobile {
      display: block;
    }
  
    /* content-owl */
  
    .main-content-owl {
      padding-top: 30px;
      padding-bottom: 30px;
    }
  
    /* content-owl */
  
  .allgame-content {
    padding-top: 30px;
    padding-bottom: 60px;
  }
  
  }
  
  @media (max-width: 480px) {
    .bg-custom {
      height: auto;
      padding-bottom: 15px;
    }
    .bg-tab-game{
        margin-top : 49px;
    }
    .menu-bar-main {
      padding: 10px 0px;
    }
  
    .wrap-menu-bar-main {
      padding: 0px 0px;
    }
  
    .tab-list.active {
      border-radius: 5px;
    }
  
    .tab-list:hover {
      border-radius: 5px;
    }
  
    .bg-tab-game {
      padding: 10px 0px;
    }
  
    .tab-game-container {
      /* display: grid; */
      /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr; */
      grid-gap: 5px;
    }
  
    .tab-bar-mobile {
      display: block;
    }
  
    .icon-tab {
      width: 40px;
      margin: 0 auto;
    }
  
    .tab-list .txt {
      font-size: 12px;
    }
  
    .tab-list {
      padding: 5px 0px;
    }
  
    .tab-bar-mobile .tab-control .tab-list {
      font-size: 12px;
    }
  
    .tab-bar-mobile .tab-control .tab-list .menu-icon {
      width: 35px;
      margin: 0 auto;
    }
  
    .hover {
      border-radius: 10px;
  }
  
    .owl-prev {
      position: absolute;
      left: 2px;
      top: 50%;
      transform: translate(-50%, -50%) !important;
    }
  
    .owl-next {
      position: absolute;
      right: -30px;
      top: 50%;
      transform: translate(-50%, -50%) !important;
    }
  
    .owl-prev,
    .owl-next {
      width: 30px;
      height: 30px;
    }
  
    .owl-prev span,
    .owl-next span {
      font-size: 20px;
    }
    .allgame-content {
      padding-top: 0px;
      padding-bottom: 60px;
    }
  }
