/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
h2{
	font-size: 28px;
}
h3{
	font-size: 24px;
}
h4{
	font-size: 15px;
}
p{
	font-size: 17px;
}
.ux-menu-icon{
	filter: invert(1);
}
.menu-item:hover{
	filter: brightness(0) saturate(100%) invert(74%) sepia(73%) saturate(2752%) hue-rotate(139deg) brightness(101%) contrast(107%);
}
.header-button-1 .button.primary.is-large:hover, 
.header-button-2 .button.primary.is-large:hover{
	background-color: #2CCCFF !important;
	box-shadow: unset !important;
}
.column-feature{
	padding: 0px;
}
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* hoặc màu nền bạn muốn */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}


.absolute-footer{
	background-color: #0099CC;
}
.copyright-footer{
	color: white;
}
.logo-footer{
	filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7420%) hue-rotate(60deg) brightness(113%) contrast(93%);
}
.menu1-footer .ux-menu-link,
.menu2-footer .ux-menu-link{
	border-bottom: 1px dotted white;
	color: white;
}
.provider-row .col{
	padding-bottom: 0;
}
.page-id-15 #wrapper{
	background-color: #fff;
}
/* Đặt ảnh nền cố định cho toàn bộ wrapper của trang page ID 18 */
.page-id-18 #wrapper,
.page-id-22 #wrapper{
    background-image: url('/wp-content/uploads/2025/06/egame-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed; 
}
.page-id-20 #wrapper{
	background-image: url('/wp-content/uploads/2025/06/pbg-live.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
.page-id-24 #wrapper{
	background-image: url('/wp-content/uploads/2025/06/fishing4_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
.page-id-30 #wrapper{
	background-image: url('/wp-content/uploads/2025/06/bg-cq9-far.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

.casino-accordion {
  display: flex;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.casino-accordion .panel {
  flex: 1;
  background-size: cover;
  background-position: center;
  transition: flex 0.5s ease-in-out;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.casino-accordion {
  display: flex;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.casino-accordion .panel {
  width: 93px;
  flex: 0 0 auto;
  position: relative;
  transition: width 0.4s ease-in-out;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

/* Overlay mặc định */
.casino-accordion .panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}

/* Hover: mở rộng panel + mất overlay */
.casino-accordion .panel:hover {
  width: 533px;
  z-index: 2;
}
.casino-accordion .panel:hover::before {
  opacity: 0;
}
/* Label hiển thị ở dưới ảnh */
.casino-accordion .label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 6px 15px;
  font-size: 14px;
  border-radius: 12px;
  white-space: nowrap;
}
.marquee-container {
  background-color: #00BFFF;
  color: white;
  padding: 5px;
  font-size: 18px;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
	height: 40px; /* Thêm chiều cao cố định */
}
.marquee-container i {
  margin-right: 10px;
  flex-shrink: 0;
}
.marquee {
  flex: 1;
  white-space: nowrap;
}
.marquee-item {
  white-space: nowrap;
	display: flex;
}





@media (min-width: 768px) {
  .row:has(.column-egame){
		gap: 15px;
	}
	.column-egame{
		background: linear-gradient(180deg, #5c5c5c, #191919);
		border-radius: 20px;
		border-radius: 25px;
		cursor: pointer;
		flex: 1;
		overflow: hidden;
		padding: 5px;
	}
	.column-egame img{
		background-position: 50%;
		background-repeat: no-repeat;
		background-size: cover;
		border-radius: 20px 20px 0 0;
		width: 100%;
	}
	.column-egame .box-text{
		background: linear-gradient(180deg, #5c5c5c, #191919);
		color: #fff;
		font-size: 24px;
		padding: 10px;
		text-align: center;
	}
	
	.hotgame-tag{
		align-items: center;
		display: flex;
		gap: 6px;
		width: 100%;
		margin-bottom: 10px;
	}
	.tag-hot{
		background: #25aae1 !important;
		color: #fff;
		font-size: 14px;
		height: 20px;
		line-height: 20px;
		min-width: 45px;
		text-align: center;
	}
	.tag-new{
		background: #25aae1 !important;
		color: #fff;
		font-size: 14px;
		height: 20px;
		line-height: 20px;
		min-width: 45px;
		text-align: center;
	}
	.hotgame-column{
		align-items: center;
		background-color: #262624;
		border-radius: 10px;
		color: #fff;
		cursor: pointer;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		margin-bottom: 10px;
		margin-right: 16px;
		min-height: 250px;
		padding: 10px 17px;
		position: relative;
		max-width: calc(16.666% - 16.666px);
	}
	.hotgame-column .box-text{
		padding: 0;
	}
	.hotgame-column .box-text h3{
		line-height: 0.6 !important;
	}
}
.thethao-row .box-text.text-center{
	background-color: rgba(19, 57, 198, 0.9);
	bottom: 0% !important;
}
.thethao-row .box-text.text-center h4{
	color: white;
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.row:has(.column-egame){
		gap: 0px;
	}
	.column-egame{
		background: linear-gradient(180deg, #5c5c5c, #191919);
		border-radius: 20px;
		border-radius: 25px;
		cursor: pointer;
		padding: 5px;
	}
	.column-egame img{
		background-position: 50%;
		background-repeat: no-repeat;
		background-size: cover;
		border-radius: 20px 20px 0 0;
		width: 100%;
	}
	.column-egame .box-text{
		background: linear-gradient(180deg, #5c5c5c, #191919);
		color: #fff;
		font-size: 24px;
		padding: 10px;
		text-align: center;
		border-radius: 15px;
	}
	
	.hotgame-tag{
		align-items: center;
		display: flex;
		gap: 6px;
		width: 100%;
		margin-bottom: 10px;
	}
	.tag-hot{
		background: #25aae1 !important;
		color: #fff;
		font-size: 14px;
		height: 20px;
		line-height: 20px;
		min-width: 45px;
		text-align: center;
	}
	.tag-new{
		background: #25aae1 !important;
		color: #fff;
		font-size: 14px;
		height: 20px;
		line-height: 20px;
		min-width: 45px;
		text-align: center;
	}
	.hotgame-column{
		align-items: center;
		background-color: #262624;
		border-radius: 10px;
		color: #fff;
		cursor: pointer;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		margin-bottom: 10px;
		margin-right: 0px;
		min-height: 250px;
		padding: 10px 17px;
		position: relative;
/* 		max-width: calc(16.666% - 16.666px); */
	}
	.hotgame-column .box-text{
		padding: 0;
	}
	.hotgame-column .box-text h3{
		line-height: 0.6 !important;
	}
	.header-button-2 .button{
		width: 102px !important;
	}
	.header-button-2 .header-button a{
		animation: animate-register 1300ms infinite;
	}

}
@keyframes animate-register{
	0% {
		background-color: #0099cc;
		box-shadow: 0 0 5px #0099cc;
	}
	50% {
		background-color: #0099cc;
		box-shadow: 0 0 20px #0099cc;
	}
	100% {
		background-color: #0099cc;
		box-shadow: 0 0 5px #0099cc;
	}
}