/*
 * Globals
 */

body {
    color: #fff;
    background: #000 url(../new/backdroung_pc.png) 0 0 no-repeat;
    background-position: top center;
    background-attachment: fixed;
    text-align: center;
	 background-size: cover;
}
.market{
	scale: 0.8; 
}
.market ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.market .top-img img {
  width: 100%;
  max-width: 100%; /* ảnh 1 có thể có kích thước cố định hoặc tỉ lệ linh hoạt */
}

.market .app-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  max-width: 100%; /* bằng với ảnh số 1 */
  margin: 0 auto;
  gap: 10px;
}

.market .app-icons img {
  width: 100%;
  height: auto;
}




.down-load-btn{
	background: url(../new/br_button.png) center center no-repeat;
    background-size: 100% 100%;
	padding: 7px 0;
}

.down-load-btn ul {
  list-style: none;
  padding: 0;
  margin: 0 0px;
  text-align: center; 
}

.down-load-btn li {
  display: flex;
  justify-content: center; /* căn giữa toàn bộ các ảnh */
  align-items: center;
  gap: 26px;   /* khoảng cách giữa các ảnh */
}

.down-load-btn img {
  width: auto; /* chiều rộng mỗi nút, có thể điều chỉnh theo ý */
  height: auto;
  transition: transform 0.2s ease;
}

/* Hiệu ứng hover nhẹ cho đẹp mắt */
.down-load-btn img:hover {
  transform: scale(1.05);
}









/* ====== Popup ====== */
/* Overlay phủ toàn màn hình */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Khung popup */
/* Overlay phủ nền */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none; /* ẩn mặc định */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Khung popup chính */
.popup-content {
  position: relative;
  background: #fff;
  width: 80%;
  max-width: 500px;
  height: 80vh;
  border-radius: 8px;
  overflow: hidden; /* để header không bị tràn */
  display: flex;
  flex-direction: column;
}

/* Thanh màu xanh cố định trên cùng */
.popup-header {
  position: fixed;            /* Cố định ngay trên cùng popup */
  width: 80%;
  max-width: 500px;
  background-color: #826346;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 15px;
  box-sizing: border-box;
  top: calc(50% - 40vh);      /* căn đúng vị trí popup giữa màn hình */
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  z-index: 2;
}

/* Tiêu đề */
.popup-title {
  font-size: 16px;
  font-weight: 600;
}

/* Nút đóng */
.close-btn {
  font-size: 24px;
  cursor: pointer;
  font-weight: bold;
  color: white;
}

/* Nội dung ảnh (cuộn được) */
.popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 70px 15px 20px; /* chừa khoảng trống cho header */
  box-sizing: border-box;
}

.popup-body img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  border-radius: 6px;
}








.huongdan {
    padding: 20px
}

#taigame {
    position: relative
}

#taigame iocnDoawnload {
    position: absolute
}

#taigame img {
    max-width: 100%;
}

.modal-dialog {
    background: #fff;
    color: #000;
    top: 14%;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: left;
    position: relative;
    box-shadow: 4px 4px 9px 9px #0404048c;
}

.left {
    float: left;
}

.right {
    float: right
}

.menu .left {
    margin-left: 13%;
}

.menu .right {
    margin-right: 13%;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0px;
}

.slideBaner {
    margin-top: -8px;
    z-index: -1;
}

.logo {
    width: 25%;
    text-align: center;
    margin: 0 auto;
}

.text {
    left: 0;
    width: 100%;
    text-align: center;
    top: 140px;
}

.img {
    left: 0;
    width: 100%;
    text-align: center;
    z-index: -1;
    position: relative;
    margin-top: -50px;
}

.menu {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    top: 37px;
}

.menu li {
    display: inline-block;
    width: 21%;
}


/* .menu li img {width: 100px;} */

.sologan {
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: -11px;
    position: relative;
    max-width: 597px; 
}

#txtNap {
        position: absolute;
    left: 62px;
    top: 7px;
    max-width: 79%;
}

.download {
    width: 100%;
    background: url(../new/br_button.png) center center no-repeat;
    background-size: 100% 100%;
    padding: 7px 0;
    margin-top: 0px;
}

.download li {
    display: inline-block;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

img {
    max-width: 100%
}

.mobile {
    display: none
}

.nomal {
    display: block
}

.taiap {
    width: 40%;
    display: inline-block;
    margin-top: 15px;
    -webkit-filter: brightness(1.5);
    -moz-filter: brightness(1.5);
    filter: brightness(1.5);
}

.wrap-bank {
    max-width: 600px;
    margin: 0 auto;
    /* background: url(../css/bgslider.png) center center no-repeat; */
    padding: 18px 20px 10px 20px;
    background-size: 100% 100%;
}

.owl-carousel .owl-item {
    text-align: center;
}

.owl-carousel .owl-item img {
    width: auto;
    max-width: 100%;
    display: initial;
}

.slidebank .owl-item:not(.active)+.owl-item.active {
    opacity: 0.5;
}

.slidebank.owl-carousel .owl-item.last {
    opacity: 0.5;
    z-index: -1;
}

.itemSlideBank {
    position: relative;
}

.tigia {
    margin-bottom: -10px;
    /* width: 100%; */
    /* left: 0; */
    display: block;
    z-index: 11;
    position: relative;
    min-height: 22px;
}

.class-d03c3c {
    background-color: #d03c3c;
}

.class-409f56 {
    background-color: #409f56;
}

.class-f39525 {
    background-color: #f39525;
}

.class-2f65e1 {
    background-color: #2f65e1;
}

.numbertg {
    padding: 2px 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%
}

.owl-carousel {
    position: relative;
    zoom: 100%;
}
.owl-item .active{
	opacity: 0.1;
}

.iconDoawnload {
    max-width: 15%;
    top: -25px;
    position: absolute;
    right: -5px;
}

@media only screen and (max-width: 1200px) {
    .img {}
}

@media only screen and (max-width: 760px) {
    .img {}
	 
}

#footerContent {
    line-height: 50px;
}

#wpfomo {
    padding: 5px 35px;
    position: fixed;
    bottom: -250px;
    left: 0px;
    max-width: 90%;
    z-index: 9999;
    display: flex;
    align-content: center;
    align-items: center;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

#wpfomo .dot-cap-code {
    left: -9px;
    top: -24px;
}

.hom {
    position: absolute;
    z-index: -1;
    left: 30%;
    top: -73%;
}

.lingt {
    position: absolute;
    z-index: -1;
    left: 13%;
    top: -133%;
    animation: brightness 0.5s infinite;
}

#wpfomo .wpfomo-content-wrapper {
    width: 270px;
    height: 85px;
    background: url(../css/bgitem.png) center center no-repeat;
}

.money {
    color: #f5de00;
    font-weight: bold;
    font-size: 18px;
}

.money img {
    margin-top: -9px;
}

.cap-contact {
    font-size: 20px;
}

.dot-bottom {
    top: -21px;
}

#wpfomo .loader-6 {
    left: -10px;
}

#wpfomo {
    padding: 5px 0;
}

#wpfomo.is-visible {
    bottom: 100px;
    left: 0px;
}

.wpfomo-product-thumb-container {
    padding-right: 10px;
}

#wpfomo .wpfomo-product-thumb {
    max-width: 40px;
}

.wpfomo-content-wrapper p {
    margin: 0;
    padding: 0px;
}

.wpfomo-buyer-name .name {
    font-size: 13px;
    color: #4cf037;
}

.wpfomo-buyer-name {
    font-weight: bolder;
    margin-top: 4px;
    /* padding-top: 5px; */
    display: block;
}

#wpfomo .wpfomo-content-wrapper .game {
    font-size: 12px;
    color: #a3d20e;
}

.wpfomo-content-wrapper b {
    color: #e39e3e;
}

.footer {
    background: #060606c7;
    height: 50px;
    position: fixed;
    bottom: 0px;
    width: 100%;
    padding: 0 20px;
}

.footer .item span {
    padding: 0 5px;
}

.footer .item {
    margin-left: 30px;
}

.itemMoney {
    color: #f5de00;
}

.itemGame {
    color: #a3d20e;
}

.itemNickname {
    color: #4cf037;
}

.txttai {
    display: inline-block;
    width: 100%;
    margin-bottom: 3px;
    color: #ffcd30
}

@media only screen and (max-width: 520px) {
	.market{
		scale: 0.95;
		margin: 0 10px;
	} 
	.down-load-btn{
		scale: 0.95;
	}
	.down-load-btn li {
	  display: flex;
	  justify-content: center; /* căn giữa toàn bộ các ảnh */
	  align-items: center; 
	  gap: 6px; /* khoảng cách giữa các ảnh */
	}
	 .sologan { 
		scale: 0.9;
	}
	
    .item80 img {
        max-width: 86px
    }
    #taidns img {
        max-width: 150px
    }
	#txtNap {
    position: absolute;
    left: 29px;
    top: 7px;
    max-width: 79%;
}
    .slideBaner {
        width: 105%;
        zoom: 0.5;
		
    }
    #wpfomo {
        zoom: 0.6;
    }
    .slideBaner {
        width: auto;
        zoom: 0.75;
    }
	
    .logo {
        width: 32%;
    }
	
    body {
          
		  background: #000 url(../new/backdroung mobi.png) 0 0 no-repeat;
        background-position: top center;
        background-attachment: fixed;
        text-align: center;
        overflow: hidden;
         background-size: cover;
    }
    .menu li {
        width: 25%;
    }
    .menu .left {
        margin-left: 3%;
    }
    .menu .right {
        margin-right: 3%;
    }
    .container {
        /* margin-top: 80px; */
    }
    .mobile {
        display: block;
        margin-top: 20px
    }
    .nomal {
        display: none
    }
    .logo {
        top: 30px;
    }
    .text {
        top: 130px;
    }
    .text img {
        width: 90%;
    }
    /* .img {top: 270px;} */
    .img img {
        width: 125%;
        margin-left: -18%;
        max-width: initial
    }
    .menu {
        position: relative;
        top: 26px;
    }
    /* .menu li img {
        width: 75px;
    } */
    .download {
        font-size: 9px;
        margin-top: -5px;
        padding: 27px 0 0 0;
        background-size: 115%;
        margin-bottom: -20px
    }
    .download li {
        width: 42%;
        margin-bottom: 0px;
    }
    .download li img {
        width: 170px;
    }
    .img {
        margin-top: 50px;
    }
    .download li.item100 {
        width: 100%;
    }
    .download li.item80 {
        width: 100%;
        margin: 13px 0;
    }
    .download li.item80 a {
        margin-left: 3px
    }
}

@keyframes brightness {
    0% {
        filter: brightness(70%);
    }
    50% {
        filter: brightness(135%);
    }
    100% {
        filter: brightness(70%);
    }
}


/* Firefox < 16 */

@-moz-keyframes brightness {
    0% {
        filter: brightness(70%);
    }
    50% {
        filter: brightness(135%);
    }
    100% {
        filter: brightness(70%);
    }
}


/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes brightness {
    0% {
        filter: brightness(70%);
    }
    50% {
        filter: brightness(135%);
    }
    100% {
        filter: brightness(70%);
    }
}


/* Internet Explorer */

@-ms-keyframes brightness {
    0% {
        filter: brightness(70%);
    }
    50% {
        filter: brightness(135%);
    }
    100% {
        filter: brightness(70%);
    }
}


/* Opera < 12.1 */

@-o-keyframes brightness {
    0% {
        filter: brightness(70%);
    }
    50% {
        filter: brightness(135%);
    }
    100% {
        filter: brightness(70%);
    }
}

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 /* -------------------------------------------------
   SLOGAN
   ------------------------------------------------- */
.sologan {
    max-width: 600px;
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.sologan img {
    width: 100%;
    max-width: 100%;
    display: block;
}

/* -------------------------------------------------
   CONTENT WRAPPER (căn giữa, thẳng hàng với các khối khác)
   ------------------------------------------------- */
.content-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* -------------------------------------------------
   MARKET – NÚT WEB + APP
   ------------------------------------------------- */
.market {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

/* Nút Web (ảnh lớn phía trên) */
.top-img {
    width: 100%;
}
.top-img img.btn-web {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* 2 nút App Store & Google Play */
.app-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}
.app-icons img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.2s ease;
}
.app-icons img:hover {
    transform: scale(1.03);
}

/* -------------------------------------------------
   RESPONSIVE (mobile)
   ------------------------------------------------- */
@media (max-width: 768px) {
    .sologan { max-width: 90%; gap: 6px; }
    .content-wrapper { padding: 0 10px; }
    .app-icons { gap: 8px; }
}
@media (max-width: 480px) {
    .sologan { gap: 5px; }
}