*{
    text-decoration: none;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  h1, h2, h3, h4, h5, h6, p, ul {
    padding: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.5rem;
    padding-bottom: 6px; 
    padding-bottom: 0px; 
  }
  h2 {
    font-size: 1.1rem;
  }
  h3 {
    font-size: 1.1rem;
    padding-bottom: 6px;
    padding-top: 22px;
  }
  a {
    color: #ccc;
  }
  a {
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}
  a:hover {
    color: #ccc;
  }
  ul {
    padding-inline-start: 20px;
  } 
  .center { 
    display: block;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
  }
  body {
    font-size: 15px;
    background: #121319;
    margin: 0 auto;
    color: var(--color-text-0);
    font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    width: 100%;
}



:root {
  --color-1: #121319;
  --color-2: #333545;
  --color-3: #202125;
  --color-4: #21232e;
  --color-text-0: #ccc;
  --color-text-1: #e4e2e2;
  --color-link-0: #e4e2e2;
  --color-link-1: #0084ff;
  --color-box-1: #111;
  --color-button-1: #191a23;
  --color-button-hover-1: #0f1016;
}


 

/* logo */
.g1 {
    text-align: center;
    margin: 15px auto 25px auto;
    width: 98%;
}
 
.g1-l {
    font-size: 40px;
    font-weight: bold;
}
.g1-r {
    color: var(--color-link-1);
    font-weight: bold;
    padding-left: 2px;
    font-size: 40px;
}
.g1-s {
    font-size: 17px;
    font-weight: bold;
    display: block;
    color: #ccc;
    letter-spacing: 7px;
    line-height: 14px;
    padding-left: 7px;
}
.g1 a {
    display: inline-block;
    color: #fff;
    border-bottom: none;
    margin: 0;
}
/* logo */



/* home_box */
.home {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: center;
  margin-bottom: 25px;
}
.home_box {
  width: 98%;
  max-width: 800px;
  border-radius: 10px;
  background: #3e3e3e;
  box-shadow: rgba(3, 3, 13, 0.03) 0px 1px 2px 0px, rgba(3, 3, 13, 0.05) 0px 1px 3px 0px, rgba(255, 255, 255, 0.15) 0px 1px 0px 0px inset;
}
.box_game {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 10px 10px 0 0;
  border-bottom: solid 1px #0000006b;
}
.box_game img {
    width: 70px;
    margin-right: 12px;
    box-shadow: 0 0 5px var(--color-box-1);
    border-radius: 10px;
}
.box_game_name span:nth-child(1) {
    font-size: 1.5rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    white-space: normal;
}
.box_game_name span:nth-child(2) {
    font-size: 1rem;
    font-weight: normal;    
}

.box_game_name span:nth-child(2) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2; /* Giới hạn hiển thị 2 dòng */
  white-space: normal; /* Đảm bảo dòng không bị cắt */
}

.box_game_menu {
    padding: 9px 15px 15px 15px;
}
.box_game_menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  background: #222;
  margin-top: 6px;
  padding: 12px;
  border-radius: 7px;
  transition: 0.3s;
} 

span.shop {
  background: #3957bf;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: center;
  align-items: center;
  margin-left: 5px;
  min-width: 90px;
}
span.shop:hover {
  background: #2a439e;
}

.box_game_menu a:hover {
  background: #1b1b1b;
}
.box_game_menu .action {
  background: #21232e;
}
.box_game_title {
  padding: 15px;
}


.box_game_content {
  padding: 15px;
  background: #21232e;
  border-radius: 0 0 10px 10px;
}
.note {
  margin: 10px auto;
  width: 100%;
}
/* home_box */
 
.qa {
  margin-bottom: 25px;
  width: 98%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

.lienhe {
  background: #3e3e3e;
  padding: 15px;
  border-radius: 7px;
  width: 98%;
  margin: 30px auto;
  max-width: 800px;
  box-shadow: rgba(3, 3, 13, 0.03) 0px 1px 2px 0px, rgba(3, 3, 13, 0.05) 0px 1px 3px 0px, rgba(255, 255, 255, 0.15) 0px 1px 0px 0px inset;
}
.lienhe a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  background: #222;
  margin-top: 6px;
  padding: 12px;
  border-radius: 4px;
  transition: 0.3s;
}

.lienhe a:hover {
  background: #1b1b1b;
}



.i {
  background: var(--color-4); 
  margin-bottom: 20px;
  width: 98%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  padding: 10px 14px 10px 14px;
  box-shadow: 0 4px 4px #00000040;
  /* border: 1px solid hsl(0deg 0% 30.34% / 30%); */
}

img.filter-img {
  width: 100%;
  height: auto; 
  /* background: rgb(67 67 67 / 62%);   */
  border-radius: 7px;
}
img.style_ur {background: #27a1c454;border-bottom: solid 2px #27a1c4;}
img.style_sp {background: #8f4646a3;border-bottom: solid 2px #dc1f1f;}

img.style_ssr {background: #89632699;border-bottom: solid 2px #ccff00;}
img.style_d {
background: #595b6999;
}
/* img.style_sp:hover {
background: #8f4646;
}
img.style_ssr:hover {
background: #89632699;
} */







.post {
  padding: 15px;
}



#search {
  margin-top: 15px;
}
#search button {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  font-size: 20px;
  color: #ccc;
  background: #3957bf;
  box-shadow: 0px 0px 5px var(--color-box-1);
  border: 0;
  transition: 0.3s;
}
#search button:hover {
  background-color: #223a8f;
}

/* Basic styles for the modal */
.modal {
    display: none;
    position: fixed;
    /* z-index: 2; */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: var(--color-1);
    /* height: calc(100% - 40px) */
    /* box-sizing: border-box;  */
    
}
/* Modal content styles */
.modal-content {
  background: var(--color-1);
  margin: 0 auto;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  max-width: 730px;
  border-radius: 7px;
  padding-bottom: 40px;
  padding-top: 5px;
}


.close {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #9699aa;
  border-radius: 50%;
  margin: 0 6px;
  justify-content: center;
  display: flex;
  align-items: center;
  z-index: 9999;
}
.close:hover,
.close:focus {  
  text-decoration: none;
  cursor: pointer;
}


.close img {
    width: 60px;
    border-radius: 50%;
    filter: opacity(80%);
    border: solid 1px;
}
.close img:hover {
  filter: opacity(90%);
}
 




#closeModal2 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #9699aa;
  border-radius: 50%;
  margin: 0 6px;
  justify-content: center;
  display: flex;
  align-items: center;
  z-index: 9999;
}
#closeModal2:hover,
#closeModal2:focus {  
  text-decoration: none;
  cursor: pointer;
}
#closeModal2 img {
  width: 60px;
  border-radius: 50%;
  filter: opacity(80%);
  border: solid 1px;
}
#closeModal2 img:hover {
filter: opacity(90%);
}



#closeModal1 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #9699aa;
  border-radius: 50%;
  margin: 0 6px;
  justify-content: center;
  display: flex;
  align-items: center;
  z-index: 9999;
}
#closeModal1:hover,
#closeModal1:focus {  
  text-decoration: none;
  cursor: pointer;
}
#closeModal1 img {
  width: 60px;
  border-radius: 50%;
  filter: opacity(80%);
  border: solid 1px;
}
#closeModal1 img:hover {
filter: opacity(90%);
}








.info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 5px;
  /* border-bottom: solid 1px #1c1c1c; */
  font-weight: bold; 
}
.info span {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.info span:nth-child(2) {
  font-size: 14px;
}
.info span img {
  width: 33px;
  border-radius: 50%;
  margin-right: 5px;
}
.info a {
  background: rgb(67 67 67 / 62%);
  margin-left: 5px;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: normal;
  /* border: solid 1px #191a23de; */
}
.info a:hover {
  background: #303030;
}
a.buy {
  background: #3957bf;
}
a.buy:hover {
  background: #223a8f;
}


.infox {
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
  text-transform: uppercase;
  font-weight: bold;
}

.gia {
  background: #111218;
  margin-left: 3px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.gia a {
  border-radius: 0 4px 4px 0;
  background: #3957bf;
  padding: 3px 8px;
  border-bottom: none;
}
.gia a:hover {
  background: #2c4396;
}

.gia span:nth-child(1) {
  padding: 3px 8px;
  text-align: center;
  display: block;
  text-transform: none;
}

.thanhtoan {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #ffffff;
  border-radius: 7px;
  margin: 10px 0;
}
.thanhtoan img {
  width: 100%;
  max-width: 350px;
  border-radius: 7px;
}


#countdown-timer {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 20px;
}
video {
  width: 100%;
  border-radius: 7px;
}

 
.modal-content h2 {
  margin-bottom: 10px;
}


#modal-body .i {
  width: 100%;
  max-width: 100%;
}
#modal-body .mua {
  display: none;
}

.copy-btn {
    cursor: pointer;
    background: #007bff;
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 5px;
    margin-left: 5px;
}



/* Thiết lập chiều rộng của thanh cuộn */
::-webkit-scrollbar {
  width: 17px;
  position: absolute;
  top: 5px; /* Cách top modal 5px */
  right: 5px; /* Cách bên phải modal 5px */
}

/* Thiết lập màu nền cho thanh cuộn */
::-webkit-scrollbar-track {
  background: #181b1ff2;
}

/* Thiết lập màu của phần cuộn của thanh cuộn */
::-webkit-scrollbar-thumb {
  background: #4e4d4d;
  border-radius: 2px;
  margin: 2px;
}

/* Thiết lập màu nền của thanh cuộn khi di chuột qua */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.server {
  border-top: solid 1px #32333975;
  border-bottom: solid 1px #32333975;
  margin: 10px 0 15px 0;
  padding: 3px;
}
.server a {
  text-decoration: none;
  cursor: pointer;
  color: var(--color-link-0);
  border-bottom: none;
  display: inline-block;
  padding: 5px 15px;
  margin: 0;
  border-radius: 7px;
}
.server a:hover {
  box-shadow: 0 0 5px #000;
  background: #2b2c36;
  background: #303030;
  cursor: pointer;
}

.gim {
  text-align: center;
  padding: 30px;
  margin: 42px;
  border-top: 1px solid #24274373;
  border-bottom: 1px solid #24274373;
  width: 98%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
footer {
  text-align: center;
  margin: 20px auto;
  width: 98%;
  max-width: 800px;
}
footer a {
  margin: 0 6px;
}

span.hide {
  display: none;
}


#modal-price {
  font-weight: bold;
  color: #fff;
}
#modal-id {
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
}



.chat-menu {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 9999;
}
.chat-menu a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: solid 2px #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}
.chat-menu a img:hover {
  transform: scale(1.1);
}





.faq-item {
  border: 1px solid #3c3c4c;
  margin-bottom: 5px;
  border-radius: 7px;
  overflow: hidden;
}

.faq-question {
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #1b1d26;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
 

.faq-answer.open {
  padding: 0 15px 15px 15px;
  max-height: 500px; /* đủ lớn để chứa nội dung */
}






@media screen and (max-width: 492px){
.modal-content {
  width: 100%;
  height: 100%;
  border-radius: 0;
  margin: 0;
  padding-bottom: 60px;
  padding-top: 5px;
}

}