/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  Default GeneratePress child theme
Author:       Tom Usborne
Author URI:   https://tomusborne.com
Template:     generatepress
Version:      0.1
*/
/*---------------------------*/
/*---------------------------*/
.gc-cus-h1-home{
	font-size: 16px;
	padding-top: 10px;
}
body {
  font-family: "Lexend Deca", "Segoe UI", Roboto, Arial, sans-serif;
}
:root {
  --text-color-light: #000000;
  --text-color-dark: #dddddd;
  --primary-bg: #000000;
  --blue-color: #ff8400;
  --red-color: #18b3c3;
}

/* gacha link */
.grecaptcha-badge {
  display: none !important;
}
.container-page {
  max-width: 1380px;
  margin: 0 auto;
}
body.dark-mode {
  --text-color-light: #dddddd;
  --text-color-dark: #000000;
  --primary-bg: #f2eee8;
}
/* page redirect */
/* body.page-redirect {
  background: #e7e5e2;
}
.redirect-pa.container.text-center {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 850px;
}
.redirect-pa a.custom-logo-link img {
  max-width: 250px;
  width: 250px !important;
  object-fit: cover;
}
.box_redirect {
  margin-top: 15px;
  padding: 30px 60px;
  border-radius: 12px;
  background: #dbd9d6;
}
.box_redirect h2 {
  font-size: 18px;
  font-weight: bold;
  color: #111111;
  margin-bottom: 0;
  padding-bottom: 5px;
  font-weight: 500;
}
.box_redirect p {
  color: #333333;
  font-size: 12px;
  padding-bottom: 0;
  margin-bottom: 5px;
}
.box_redirect a.btn.btn-primary.btn-lg.mb-4 {
  margin-bottom: 10px !important;
  background: #d5d1cc !important;
  border: 2px red solid;
  color: #111111;
  font-size: 14px;
  border-radius: 4px;
  padding: 8px 20px;
  cursor: pointer;
}
.box_redirect a.btn.btn-primary.btn-lg.mb-4:hover {
  background: #c2bdb5 !important;
  color: #111111 !important;
}
.box_redirect a.btn_link {
  font-size: 12px;
  color: #5c5c5c;
  text-decoration: none;
}
.box_redirect a.btn_link:hover {
  color: #000000 !important;
}
.ft-page p.mt-3 {
  font-size: 9px;
  color: #333333;
  opacity: 0.1;
  text-align: center;
}
.link-redirect {
  margin: 18px;
} */
/* end page redirect */
body.dark-mode .modal-body,
body.dark-mode .sc__rating label,
body.dark-mode p.text-center.mt-2.w-100.d-block,
body.dark-mode p.mx-auto.text-center {
  color: #eeeeee;
}
.game-right-sidebar h3.widget-title {
  color: var(--secondary-color) !important;
}

/* Cài đặt màu chữ cho chế độ Dark Mode */
html.dark-mode,
body.dark-mode {
  background: #eeeded !important;
  color: #000000 !important;
}

body.dark-mode button#menu-open {
  color: #000000;
}
/* Đặt màu chữ cho các liên kết */
body.dark-mode .featured-content p,
body.dark-mode .game-show .game-excerpt,
body.dark-mode .game-list a,
body.dark-mode .featured-game .game-title a,
body.dark-mode .featured-game a.btn-view,
body.dark-mode .game-tags a,
body.dark-mode .all-games a,
body.dark-mode .text-muted,
body.dark-mode .footer-widgets a,
body.dark-mode .footer-widgets p,
body.dark-mode .header-navigation a,
body.dark-mode .marquee-content a,
body.dark-mode .game-item-new .game-title a:hover,
body.dark-mode .list-group h5:hover,
body.dark-mode .blog-game .post-title a:hover,
body.dark-mode .mdsco-about-content,
body.dark-mode .taxonomy-content,
body.dark-mode .bg-page h2,
body.dark-mode .bg-page p,
body.dark-mode .main-blog .post-info:hover .post-title,
body.dark-mode .main-blog .post-info .post-title a:hover {
  color: #1a1814 !important; /* Màu liên kết */
}

/* Đặt màu cho SVG */
body.dark-mode .all-games svg {
  fill: #1a1814 !important; /* Màu nền SVG */
}

/* Đặt màu chữ khi hover */
body.dark-mode a:hover,
body.dark-mode .game-item-new .game-title a,
body.dark-mode .blog-game .post-title a,
body.dark-mode .tab-update h5,
body.dark-mode .list-group h5,
body.dark-mode .featured-game .game-title a:hover,
body.dark-mode .detail .game-tags a,
body.dark-mode .main-blog .post-info .post-title,
body.dark-mode .main-blog .post-info .post-title a {
  color: var(--secondary-color) !important; /* Màu liên kết hover */
}

/* Đặt màu cho nút khi hover */
body.dark-mode .btn-row .btn:hover {
  border-color: #efedea;
  color: #000000 !important;
}

/* Đặt nền phụ cho các thành phần */
body.dark-mode .tab-update,
body.dark-mode .list-group-item,
body.dark-mode .header-navigation ul li:hover .sub-menu,
body.dark-mode .bg-page,
body.dark-mode .inside-article,
body.dark-mode .spoiler-content,
body.dark-mode .sidebar .widget {
  background: #eeeded !important; /* Màu nền phụ */
}

/* Đặt đường viền cho danh sách */
body.dark-mode .list-group > a.list-group-item {
  border-top: 1px solid #cfc9c2; /* Đường viền */
}

body.dark-mode .scoll-icon img {
  filter: brightness(0) invert(1);
}

/* Đặt màu chữ cho tiêu đề */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #e0e0e0 !important; /* Màu trắng sáng cho tiêu đề */
}

/* Đặt màu chữ nổi bật cho số đếm */
body.dark-mode .topbar-comments-user .count,
body.dark-mode .topbar-notify-user .count {
  color: #33ff00; /* Màu vàng nổi bật */
}

/* Đặt nền cho các thành phần cụ thể */
body.dark-mode .new-box .featured-game,
body.dark-mode .game-show .game-item {
  background-color: #fdfaf5; /* Nền phụ */
}

/* Đặt màu cho nút */
body.dark-mode .new-box .btn-view {
  background-color: #ffffff;
  border: 1px solid #000000;
}

/* Đặt màu cho nút khi hover */
body.dark-mode .new-box .btn-view:hover {
  background-color: #e7c292; /* Màu nền nút hover */
}

body.dark-mode .fade-overlay {
  height: 0px;
  background: linear-gradient(
    to bottom,
    rgb(255 255 255 / 0%) 0%,
    #ffffff 100%
  );
}
body.dark-mode .footer-widgets,
body.dark-mode .site-info {
  background-color: unset !important;
}

/* CSS dark-mode page redirect */
body.dark-mode td {
  background: #505050;
  color: #999999;
}
body.dark-mode .rd-safety-text h4 {
  color: #cccccc !important;
}
body.dark-mode .rd-guide,
body.dark-mode .rd-guide h5 {
  color: #b3b3b3 !important;
}
/* Toggle switch container */
.dark-mode-toggle .toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

/* Hide the default checkbox */
.dark-mode-toggle .toggle-switch input {
  display: none;
}

/* The slider */
.dark-mode-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #b7bbbdb3;
  transition: 0.4s;
  border-radius: 30px;
}

/* Circle inside the slider */
.dark-mode-toggle .slider::before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* Sun and Moon icons */
.dark-mode-toggle .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  transition: 0.4s;
}

.dark-mode-toggle .sun {
  left: 6px;
  opacity: 1;
  transition: opacity 0.4s;
}

.dark-mode-toggle .moon {
  right: 6px;
  opacity: 0;
  transition: opacity 0.4s;
}

/* When checkbox is checked */
.dark-mode-toggle input:checked + .slider {
  background-color: #cccccc;
}

.dark-mode-toggle input:checked + .slider::before {
  transform: translateX(30px);
}

.dark-mode-toggle input:checked + .slider .sun {
  opacity: 0;
}

.dark-mode-toggle input:checked + .slider .moon {
  opacity: 1;
}
.top-user.dark-mode-toggle {
  width: 60px;
}
body.dark-mode .top-bar a {
  color: #000000;
}
body.dark-mode .notify-description a {
  text-decoration: none;
  color: var(--secondary-color);
}
body.dark-mode .notify-description a:hover {
  color: #cfcfcf;
}
.header-logo h1 {
  margin-bottom: 0rem;
}
.mdsco-page-404 {
  text-align: center;
  padding: 100px 0px;
}
.no-results {
  padding: 40px 0px;
}
.btn-load-um {
  margin-top: 25px;
}
/* Container chính */
.container {
  max-width: 1320px;
  margin: 0 auto;
}

/* Lưới hiển thị game */
.grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Mỗi item trong lưới */
.grid-item {
  flex: 0 0 calc(25% - 20px); /* 4 item mỗi hàng */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}

/* Ảnh đại diện */
.game-thumbnail {
  height: 200px;
  background-color: #f0f0f0;
}

.game-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tiêu đề */
.entry-title-list {
  margin: 10px 0;
  font-size: 1.25em;
}

/* Phân trang */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.pagination a,
.pagination span {
  color: #cccccc;
  background-color: #707070;
  border: 1px solid #222222;
  padding: 8px 12px;
  margin: 0 5px;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #ff8c55;
  color: #000000;
  border-color: #ff8c55;
}

.pagination .current {
  background-color: #ff8c55;
  color: #000000;
  border-color: #ff8c55;
}

/* Căn chỉnh ảnh đại diện */
.post-thumbnail img {
  max-width: 100%;
  height: auto;
}

/* Tiêu đề */
.entry-title {
  font-size: 2em;
  margin-bottom: 20px;
}

/* Danh mục và thẻ */
.game-category,
.game-tags {
  font-size: 1em;
  margin-bottom: 15px;
}
.game-category a,
.game-tags a {
  color: #ff8c55;
  text-decoration: none;
}

/*---------------------------*/
/*---------------------------*/

/* CSS author */
.table-info a {
  text-decoration: none;
}
li.wl_guide {
  padding-top: 5px;
}
.site-footer .social-icons.follow-icons a {
  display: flex;
  align-items: center;
}
.site-footer .social-icons.follow-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 5px;
}
.footer-widget-3 .widget {
  margin-bottom: 10px;
}
.mdsco-info .um-clear a {
  display: flex;
  align-items: center;
  font-size: 14px;
  text-decoration: none;
}
.game-tags svg.bi.bi-book {
  margin-right: 5px;
  color: var(--primary-color);
  font-weight: bold;
}
.game-tags li {
  list-style: none;
  font-size: 14px;
}
.mdsco-about-content .um-clear {
  display: none;
}
.mdsco-about-content.content__lessmore.show_more .um-clear {
  padding-bottom: 20px;
}
.top-bar-tt a {
  color: var(--secondary-color);
  text-decoration: none;
  text-transform: uppercase;
}
/* CSS cho Game Download Row */
.game-download-row {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #1c1c1c;
  background-color: #101010;
  margin-bottom: 16px;
  transition: box-shadow 0.3s ease;
}

.game-download-row:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* CSS cho các cột */
.download-column {
  flex: 1; /* Mỗi cột chiếm cùng một phần không gian */
  display: flex;
  align-items: center;
  justify-content: center; /* Căn giữa nội dung trong mỗi cột */
}

/* CSS cho OS và Version */
.game-download-row .download-os,
.game-download-row .download-version {
  font-size: 14px;
  color: #aaaaaa;
  /* 	background-color: #000000; */
  padding: 6px 14px;
  border-radius: 20px;
  /* 	border: 1px solid #222222; */
  display: block;
  width: 100%;
  min-width: 140px;
  align-items: center;
  gap: 8px;
}

.download-version::before {
  content: "\1F4D7"; /* Icon cho Version */
  font-size: 16px;
  color: #c63ed0;
}
.mdsco-download-game .mdsco-download-content {
  border-radius: 12px;
  overflow: hidden;
}
/* CSS cho Download Links */
.download-links {
  display: block; /* Chuyển sang flexbox cho các nút */
}

button.download-button.download-link {
  background: #000000;
  color: #ea5db0;
  border: 1px solid #ea5db0 !important;
  position: relative;
  margin-bottom: 10px;
}
.download-links i {
  position: absolute;
  right: 0;
  top: -10px;
  fill: yellow;
  color: red;
  -webkit-animation-name: fa-shake;
  animation-name: fa-shake;
  animation-duration: 1.8s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-delay: 0;
  animation-direction: normal;
}
.download-links i svg {
  width: 24px;
  height: 24px;
}
.download-links .download-button {
  display: inline-block;
  padding: 8px 14px;
  background-color: #ff8c19;
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0px 2px 5px rgba(0, 115, 230, 0.3);
  min-width: 80px; /* Đảm bảo các nút có chiều rộng tối thiểu */
}

.download-links .download-button:hover {
  background-color: #ffa44a;
  transform: translateY(-2px);
  box-shadow: 0px 4px 10px rgba(0, 115, 230, 0.2);
}

/* Nút cuối cùng không có khoảng cách bên phải */
.download-links .download-button:last-child {
  margin-right: 0;
}

.search-results-list img {
  border-radius: 0.5rem;
}
/* CSS breadcrumb*/
.mdsco-breadcrumb {
  padding-top: 10px;
}
.mdsco-breadcrumb a {
  font-size: 14.4px;
  text-decoration: none;
}
.mdsco-breadcrumb .last a {
  color: var(--pirmary-color) !important;
}
.mdsco-breadcrumb span.last {
  font-size: 14.4px;
  color: var(--pirmary-color) !important;
}
/* End CSS breadcrumb*/

.separate-containers .comments-area {
  padding: 0px;
}
/* CSS single post */
.single-image img {
  width: 100%;
  border-radius: 0.5rem;
}
.single-image {
  margin-bottom: 15px;
}
.single-game .mdsco-blog-game h2 {
  font-size: 16px !important;
}
.single-game .mdsco-blog-game p,
.content-post {
  font-size: 14px;
}

/* CSS Button Error */
.btn-error svg.bi.bi-exclamation-triangle {
  margin-right: 5px;
}
button.btn-error {
  color: #000000;
  background-color: #f52b10;
  border-color: #115dc9;
  display: flex;
  margin-top: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
  -ms-user-select: none;
  user-select: none;
  align-items: center;
}
button.btn-error:hover {
  color: #000000;
  background-color: #1368e0;
  border-color: #2a7aed;
}

.error-link-form textarea.wpcf7-form-control.wpcf7-textarea {
  margin-top: 10px;
  border: 1px solid #333333;
  width: 100% !important;
  border-radius: 5px;
  padding: 5px 15px;
  font-size: 15px;
  color: #cabfad;
}
.error-link-form input.wpcf7-form-control.wpcf7-submit.has-spinner {
  padding: 0 10px;
  border: none;
  border-radius: 5px;
  line-height: 35px;
  color: #000000;
  font-size: 13px;
  min-width: 50px;
  cursor: pointer;
  background-color: #e7ede0;
  font-weight: 600;
}
.error-link-form p {
  margin-bottom: 10px;
}
.error-link-form label {
  font-weight: bold;
}
.error-link-form .modal-content {
  top: 100px;
}
.detail-form {
  display: none;
}
.error-link-form span.sub-des {
  font-weight: 400;
  color: red;
}
/* Thiết lập vòng tròn với 100% chiều rộng và chiều cao */
.c100 {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0;
  background-color: #b7b1ab;
}

/* Vòng tròn bên trong */
.c100:after {
  position: absolute;
  top: 8px;
  left: 8px;
  display: block;
  content: " ";
  border-radius: 50%;
  background-color: #dcd6cf;
  width: 164px;
  height: 164px;
  transition: all 0.2s ease-in;
}

/* Hiển thị điểm */
.c100 .txt-rating {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 180px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

/* Phần số điểm */
.c100 .txt-rating span.number-rating {
  font-size: 60px;
  font-weight: 600;
  color: #000000;
  line-height: 60px;
}

/* Phần title của điểm */
.c100 .txt-rating span.title-rating {
  font-size: 20px;
  color: #000000;
}

/* Phần bar của vòng tròn */
.c100 .bar,
.c100 .fill {
  position: absolute;
  border: 8px solid #ffff00;
  width: 180px;
  height: 180px;
  clip: rect(0, 90px, 180px, 0);
  border-radius: 50%;
  transform: rotate(0);
}

/* Phần bar ban đầu */
.c100 .bar {
  transform: rotate(180deg); /* Cái này giúp vòng tròn đầy 100% */
}

/* Phần fill ban đầu */
.c100 .fill {
  transform: rotate(180deg); /* Cái này giúp phần fill đầy 100% */
}

/* Phần fill sẽ được cập nhật trong JS */
.c100 .fill {
  transition: transform 0.5s ease;
}

/* CSS single Video */
.perfmatters-lazy-youtube {
  position: relative;
  width: 100%; /* Đặt chiều rộng bằng 100% để video chiếm toàn bộ chiều rộng của container */
  height: 0;
  padding-bottom: 59.23%; /* Tỷ lệ khung hình 16:9 (480px/360px = 1.3333, 1/1.3333 = 0.75 -> 75%) */
  overflow: hidden;
  background-color: #ffffff; /* Màu nền để làm nổi bật video */
}

/* Đảm bảo iframe chiếm toàn bộ diện tích của container */
.perfmatters-lazy-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* End CSS single Video */

.hidden-content {
  display: none; /* Nội dung ban đầu ẩn đi */
}

.mdsco-load-more {
  background-color: #b350af;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

.mdsco-load-more:hover {
  background-color: #ba5fb6;
}

/* CSS single thông tin game */
.mdsco-info-game {
  padding-bottom: 10px;
}
h3.mdsco-title {
  margin-bottom: 0;
  font-size: 15px;
}
.spoiler-content {
  padding: 10px;
  background-color: #f0f0f0;
  border: 1px solid #222222;
  margin-top: 10px;
  font-size: 14px;
  display: none; /* Hidden by default */
}

.mdsco-load_more {
  background-color: #d6cec6;
  color: var(--secondary-color);
  padding: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
}

.mdsco-load_more:hover {
  background-color: var(--secondary-color);
}

/* Begin CSS Footer */
.footer-widgets,
.site-info {
  background-color: unset !important;
}

.inside-footer-widgets a {
  color: var(--primary-color);
  font-size: 1rem; /* 16px by default */
  font-weight: 600;
  text-decoration: none;
}
.inside-footer-widgets ul li {
  list-style-type: disc;
  margin-bottom: 0.2em;
}
.inside-footer-widgets ul {
  padding-left: 30px;
}
.widget-title {
  font-size: 1.25rem; /* 20px */
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}
.inside-footer-widgets p {
  font-size: 1rem; /* 16px */
  color: var(--primary-color);
}
.footer-widgets-container.grid-container {
  border-top: 3px solid var(--footer-border);
}
.footer-widgets-container {
  padding: 30px 0;
}
/* End CSS Footer */

/* Begin CSS Slider */
/* Định dạng chung cho slider */
.slider {
  position: relative;
  overflow: unset;
  width: 100%;
}

/* Wrapper của slider */
.game-slider-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Các slide trong slider */
.game-slider {
  display: flex;
  transition: transform 0.5s ease;
  max-width: 1200px;
  margin: 0 auto;
}

/* Mỗi slide */
.slide {
  min-width: 100%;
  display: none; /* Mặc định không hiển thị các slide */
}

/* Hiển thị slide active */
.slide.active {
  display: block;
}

/* Đảm bảo ảnh trong slider có cùng kích thước, width full, height cố định và tỷ lệ 16:9 */
.slider-image{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}

/* Các chỉ báo carousel */
.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.carousel-indicators li {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 40px;
  height: 3px;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #000000;
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.carousel-indicators .active {
  background-color: #000000;
}

/* Nút điều hướng slider */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  transform: translateY(-50%);
  background-color: #000000;
  color: var(--secondary-color);
  border: none;
  padding: 0px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
  box-shadow: 0 3px 5px 0 rgb(49 49 49);
}

.slider-prev {
  left: -20px;
}

.slider-next {
  right: -20px;
}

.slider-prev:hover,
.slider-next:hover {
  background-color: var(--secondary-color);
}

/* .game-slider-wrapper::before {
content: '';
position: absolute;
right: 0;
bottom: 0px;
left: 0;
background: linear-gradient(85.19deg, #d59b00 -133.27%, #50b700 105.93%);
height: 3px;
} */
/* End CSS Slider */

/* Begin CSS block 6 game */
.block-game {
  display: none;
}
/* End CSS block 6 game */

/* Begin CSS game Hot */
.title__wrapper {
  display: grid;
  grid-template-columns: 30px auto 1fr;
  align-items: center;
  margin-top: 1.5rem;
}
.title-game {
  margin: 0 10px;
}
.line--left {
  background-color: #d6cec6;
  width: 100%;
  height: 3px;
}
h3.title-game {
  padding: 0px 20px;
  margin: 0;
  background: unset;
  text-transform: uppercase;
  font-size: 22.4px;
  font-weight: bold;
}
.title-game span {
  color: var(--secondary-color);
}
.game-hot:before {
  display: none !important;
}
/* Bố cục tổng */
.new-box {
  /* display: flex;
	flex-wrap: wrap;
	gap: 20px; */
  margin-top: 20px;
}

/* Phần bên trái - bài viết nổi bật */
.new-box .featured-game {
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #000000;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.05);
}
.new-box .featured-img,
.game-thumbnail-new,
.post-thumbnail-new,
.tabup-img,
.thumbnail,
.single-image {
  position: relative;
  overflow: hidden; /* Đảm bảo hiệu ứng không vượt khỏi phần tử chính */
}

.new-box .featured-img::before,
.game-thumbnail-new::before,
.post-thumbnail-new::before,
.tabup-img:before,
.thumbnail::before,
.single-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%; /* Bắt đầu ngoài khung nhìn */
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
  animation: none; /* Mặc định không chạy */
}

.new-box .featured-img:hover::before,
.game-thumbnail-new:hover::before,
.post-thumbnail-new:hover::before,
.tabup-img:hover::before,
.thumbnail:hover::before,
.single-image:hover::before {
  animation: slide 0.6s ease-in-out forwards; /* Chỉ chạy khi hover */
}

/* Keyframes cho hiệu ứng */
@keyframes slide {
  0% {
    left: -120%;
  }
  100% {
    left: 120%; /* Trượt hoàn toàn sang phải */
  }
}

.new-box .featured-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.new-box .featured-content {
  padding: 15px;
}
.featured-content h2 {
  font-size: 17px;
  color: var(--primary-color);
  font-weight: bold;
}
.featured-content p {
  font-size: 16px;
  color: var(--primary-color);
}
.featured-content a {
  font-size: 13px;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: bold;
}
.new-box .btn-view {
  display: inline-block;
  padding: 5px 20px;
  background-color: #000000;
  text-decoration: none;
  border-radius: 5px;
  border: 1px var(--primary-color) solid;
}

/* Phần bên phải - danh sách bài viết */
.game-list {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.game-show {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: scroll;
  overflow-x: hidden;
  outline: 0;
}
.game-show .game-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  padding: 10px;
  cursor: pointer;
  background-color: #000000;
  border-radius: 0.5rem;
  border: 1px solid transparent;
}

.game-show .game-thumbnail img {
  width: 100px;
  height: 56px;
  object-fit: cover;
  border-radius: 5px;
}
.game-show a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}
.game-show .game-title {
  font-size: 16px;
  margin: 0;
}
.game-show .game-excerpt {
  font-size: 14px;
  color: var(--primary-color);
  margin-top: 5px;
}
.game-show .game-thumbnail {
  height: auto;
  background-color: unset;
}
.game-show::-webkit-scrollbar {
  display: none;
}
.game-show .game-info p {
  width: 500px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 0;
}

/* End CSS game Hot */

/* Begin CSS game New */
.title__wrapper.title__all {
  grid-template-columns: 30px auto 1fr auto;
}
.all-games span {
  padding: 0 5px;
  font-size: 14px;
  font-weight: bold;
}
.all-games {
  padding-left: 20px;
}
.all-games svg {
  fill: var(--primary-color);
  width: 1.3rem;
  height: 1.3rem;
}
.all-games a {
  text-decoration: none;
  color: var(--primary-color);
}
.game-new .line--left {
  background-color: red;
}
.game-new .game-thumbnail-new,
.game-thumbnail-hot {
  height: auto;
  background-color: #f0f0f0;
  border-radius: 0.5rem;
}

.game-new-grid .game-tags {
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  min-height: 2.5rem;
  margin-bottom: 0.3rem;
}
.game-new-grid h3.game-title,
.btn-row .btn,
.game-show .game-title {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-top: 0px;
  margin-bottom: 0px;
}
.game-new-grid .game-item {
  padding: 15px 0px;
}
.game-title a {
  font-size: 16px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
}
.game-info-btn .btn-row a {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}
.game-info-btn .btn-row a:focus {
  color: #000000;
}

.game-info-btn .btn-row {
  display: flex;
  gap: 10px;
}
.btn-row .btn {
  background-color: #d6cec6;
  border-color: #efedea;
  font-size: 12px;
  border-radius: 0.3rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-row .btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}
svg.bi.bi-star-fill {
  fill: #a3ae70;
}
.btn-row .btn-secondary {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-item-new {
  padding-top: 0 !important;
  margin-top: 15px;
  position: relative;
}
.game-item-new .mdsco-tt {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
}
.game-info-left {
  display: inline-block;
  width: auto;
}
.game-info-right {
  position: absolute;
  width: auto;
  display: inline-block;
  top: 0;
  right: 0;
  width: auto;
  padding: 5px 8px;
}
span.label-new {
  width: 100%;
  line-height: 16px;
  font-size: 16px;
  color: yellow;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-version {
  background: #7e28bd;
  color: #000000;
  padding: 0px 5px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 5px;
}
.game-release-date {
  background: #dd5d4e;
  color: #000000;
  padding: 0px 5px;
  border-radius: 0 4px 4px 0;
}
.game-info-left span {
  font-weight: 600;
  color: #000000;
  font-size: 12px;
}
.game-info-right {
  top: -10px;
  padding: 8px 12px !important;
}
.game-info-btn .btn-row i.icon-dw {
  line-height: 22px;
  font-size: 22px;
  display: inline-block;
  margin-right: 5px;
}
.label-new svg.bi.bi-star-fill {
  fill: yellow !important;
  /*     stroke: white;
	stroke-width: 2; */
  width: 20px;
  height: 20px;
}
/* End CSS game New */

/* Begin CSS game completed */
.game-info-btn.completed-btn a.btn-secondary {
  display: block;
  text-wrap: nowrap;
}
.game-info-btn.completed-btn a {
  display: flex;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  align-items: baseline;
}
.list-group-item {
  border: none;
  padding: 10px 15px;
  transition: background-color 0.3s ease;
}

.list-group-item:hover {
  background-color: #706050;
}

.list-group-item img {
  border: 1px solid #222222;
  border-radius: 5px;
}

.list-group-item h5 {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.list-group-item p {
  font-size: 14px;
  color: #807372; /* Màu xám ngày tháng */
  margin-bottom: 0;
}

.nav-tabs .nav-link {
  font-weight: bold;
  color: #000000;
  background-color: var(--red-color);
  margin-right: 5px;
  border-radius: 5px 5px 0 0;
}

.nav-tabs .nav-link.active {
  background-color: #c0c318;
  color: #000000;
}
/* Đảm bảo ảnh căn giữa và có kích thước đồng đều */
.list-group-item .flex-shrink-0 {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* End CSS game completed */

.blog-list {
  margin-top: 15px;
}
.blog-list a {
  text-decoration: none;
  padding-top: 10px;
  font-size: 16px;
  color: var(--primary-color);
  font-weight: bold;
}
.blog-list h3.post-title a {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 20px;
}
.blog-list img.img-fluid {
  border-radius: 10px;
}
/* End CSS HOME */

.nut-ko-link {
  padding: 5px;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  background-color: #d6cec6;
  border-color: #efedea;
  font-size: 12px;
  border-radius: 0.3rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #000000;
}
.game-category a,
.game-tags a,
.game-tags > a {
  cursor: pointer !important;
}

/* CSS Page Redirect */
body.page-redirect {
  font-size: 13px;
  color: #b3b3b3;
  background: #191610;
  margin: 0;
  font-weight: 400;
}
.rd-table {
  margin: 0;
}
.rd-wrapper {
  max-width: 650px;
  margin: 50px auto;
  text-align: center;
  padding: 0 15px;
}

/* Nút Back xanh đậm */

.rd-back,
.rd-dl-btn {
  background-color: #ffb2d9;
  color: #000000 !important;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  align-items: center;
  transition: opacity 0.3s;
  width: 100%;
  display: block;
  text-align: center;
  padding: 8px 5px 8px 38px;
  position: relative;
  overflow: hidden;
  max-width: 150px;
  margin: 0 auto 20px;
}

.rd-back:hover,
.rd-dl-btn:hover {
  opacity: 0.9;
}

.rd-back i,
.rd-dl-btn i {
  margin-right: 15px;
  padding: 0 9px;
  align-items: center;
  font-size: 15px;
  border-right: 1px solid rgba(0, 0, 0, 0.02);
  width: 33px;
  line-height: 32px;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  position: absolute;
  left: 0;
  top: 0;
  justify-content: center;
}

/* Title kèm dấu tick xanh */
.rd-title {
  font-weight: 800;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 30px;
  margin-bottom: 40px;
}
.rd-title .tick {
  color: #ffb2d9;
  font-size: 24px;
}

/* Bảng thông số thông tin */
.rd-card {
  background: #000000;
  border-radius: 15px;
  border: 1px solid #222222;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 35px;
}
.rd-table {
  width: 100%;
  border-collapse: collapse;
}
.rd-table td {
  padding: 1em 1.41575em;
  text-align: left;
  vertical-align: top;
  border: 1px solid #d0d0d0;
  border-color: #26241f;
}
.rd-label {
  background: #505050;
  font-weight: 600;
  color: #999999;
  width: 40%;
}
.more-content {
  padding-top: 30px;
  max-width: 450px;
  margin: auto;
}
/* Safety Guarantee Box */
.rd-safety {
  background: #170b02;
  border-radius: 20px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  border: 1px solid #2e1606;
  margin-bottom: 40px;
}
.rd-safety-text {
  text-align: center;
}
.rd-safety-text a {
  font-size: 14px;
  font-weight: 500;
  color: #e16f00;
  text-decoration: none;
}
.rd-safety-text a:hover {
  text-decoration: underline;
}
.rd-icon {
  background: #de690c;
  color: #000000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.rd-safety-text h4 {
  margin: 0 0 5px 0;
  color: #cccccc;
}
.rd-safety-text p {
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.5;
  color: #bbbbbb;
}

/* Nút Download chính */

.rd-verified {
  margin-top: 15px;
  color: #d758ba;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Hướng dẫn cài đặt */
.rd-guide {
  border-radius: 20px;
  max-width: 450px;
  text-align: left;
  background: #707070;
  border: 1px solid #d0d0d0;
  margin: 15px 0;
  font-size: 13px;
  line-height: inherit;
  padding: 0 15px;
  overflow: hidden;
}
.rd-guide h5 {
  margin-bottom: 0.5rem;
  padding-top: 15px;
  font-size: 13px;
}
.rd-guide p {
  margin-bottom: 0.5rem;
}
/* Media Queries for Mobile */
@media (max-width: 739px) {
  .comments-mb,
  .notify-mb {
    display: none;
  }
  .dark-mode-mobi {
    position: absolute;
    top: 25px;
    bottom: auto;
    right: 52px;
  }
  /* 	begin css scroll */
  .game-list {
    padding-top: 10px;
  }
  .game-show {
    position: relative;
    padding: 0;
  }
  .game-show .game-info p {
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
  /* 	End css scroll */
  .box_redirect {
    padding: 15px;
  }
  /* Display none Silebar */
  .sidebar.sidebar-sticky {
    display: none;
  }
  .top-bar-col {
    margin-top: 0;
  }
  .top-bar {
    padding-bottom: 0rem;
  }
}

/* Media Queries for ipad */
@media (min-width: 740px) and (max-width: 1024px) {
  .container {
    padding-right: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .slider .slider-prev {
    left: 10px !important;
  }
  .slider .slider-next {
    right: 10px !important;
  }
  .game-show {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: scroll;
    overflow-x: hidden;
    outline: 0;
  }
  .game-show .game-info p,
  .game-show a {
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
  /* Display none Silebar */
  .sidebar.sidebar-sticky {
    display: none;
  }
}

@media (max-width: 541px) {
  .slider .slider-prev {
    left: 10px !important;
  }
  .slider .slider-next {
    right: 10px !important;
  }
  .slider-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    aspect-ratio: 16/9;
  }
  .game-download-row {
    display: flex !important;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 1rem !important;
  }
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  background-color: white;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  width: 300px;
  padding: 10px;
}

.notify-description {
  margin-bottom: 15px;
}

.notify-description i {
  font-size: 14px;
  color: #cccccc;
}

.post-date {
  display: block;
  font-size: 12px;
  color: #999999;
}

.dropdown-btn {
  cursor: pointer;
}



.game-thumbnail-new img{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}


.gp-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--contrast-2);
  color: var(--base);
  transition: all .25s ease;
}

.gp-social-icons a:hover {
  background: var(--accent);
  color: #000000;
}

.gp-social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}


/* 2.1 Chặn flash trắng */
html, body {
  background: #f4f0eb;
  color: #17120c;
}

/* 2.2 Variables */
:root{
  --bg:#000000;
  --text:#eeeeee;
}

html[data-theme="dark"]{
  --bg:#f4f0eb;
  --text:#17120c;
}

body{
  background: var(--bg);
  color: var(--text);
}

/* 2.3 Toggle UI: bạn đang dùng .toggle-switch input + .slider */
.toggle-switch{
  display:inline-block;
  position:relative;
}

.toggle-switch input{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
}

/* Thanh gạt */
.toggle-switch .slider{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:64px;
  padding:6px 10px;
  border-radius:999px;
  cursor:pointer;
  user-select:none;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(20,25,35,.9);
  color:#000000;
}

/* Light theme thì nút sáng màu hơn */
html[data-theme="light"] .toggle-switch .slider{
  background: rgba(255,255,255,.9);
  color:#eeeeee;
  border:1px solid rgba(0,0,0,.12);
}

/* Icon */
.toggle-switch .icon{
  font-size:16px;
  line-height:1;
}

/* Quan trọng: icon hiển thị theo theme */
html[data-theme="dark"] .toggle-switch .icon.sun{ display:none; }
html[data-theme="dark"] .toggle-switch .icon.moon{ display:inline; }

html[data-theme="light"] .toggle-switch .icon.sun{ display:inline; }
html[data-theme="light"] .toggle-switch .icon.moon{ display:none; }
