#comments_area,
#list_comment a {
  color: var(--primary-title) !important;
}

#board-and-header {
  margin: 0 auto !important;
}

#rating {
  font-family: inherit;
  color: inherit;
}

#rating .text-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  overflow: hidden;
  height: 24px;
  line-height: 24px;
}

#rating .rating-element {
  display: inline-block;
  color: inherit;
  margin: 0;
  line-height: 24px;
}

#default-demo {
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  margin-right: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#default-demo img {
  width: 24px;
}

.rate-info {
  line-height: 24px;
  letter-spacing: -0.5px;
  font-size: 18px;
}

.rate-info>span {
  display: none;
}

#averagerate {
  display: block;
}

.home__heading {
  font-size: 22px;
  margin-bottom: 1rem;
  font-weight: bold;
}

body {
  margin: 0;
}

button,
select {
  text-transform: none;
}

.LandingCategory_pagination__Nt8AE {
  margin: 1rem 0;
}

.home__heading:hover a {
  color: #FF9F1B;
}

.home__heading a {
  color: var(--primary-title);
}

.d-flex {
  display: flex;
}

.rating-element {
  margin-left: 0.5rem;
}

.jc {
  justify-content: center;
}

.al {
  align-items: center;
}

[hidden] {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  text-rendering: optimizeLegibility;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.home__container--games {
  margin-bottom: 2rem;
}

a {
  text-decoration: none;
  cursor: pointer;
  background-color: transparent;
  outline: none;
  color: inherit;
}

ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

input,
button {
  border: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
  margin: 0;
}

.content-box {
  color: var(--primary-title);
}

.comments-wrap *,
.rate-info * {
  color: var(--primary-title);
}

.home__container--games>div {
  grid-row: unset !important;
  grid-column: unset !important;
}

.Menu_itemContainer__gpEeP {
  height: 100%;
}

.contact-box {
  margin: 1rem 0;
}

.GameCardDescription_container__6A3TY .GameCardDescription_description__LG0dg .GameCardDescription_descriptionContainer__phWVV .GameCardDescription_descriptionDetail__HDRuy .GameCardDescription_category__LTdNv {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@media (max-width: 500px) {
  .Header_container__B7_rr {
    column-gap: 5px;
    padding: 23px 10px;
  }

  .Logo_logo__H5Fps {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .Logo_logo__H5Fps>img {
    height: 30px;
  }
}

.iframe-default {
  /* min-height: 568px !important; */
}

.SingleGame_gameList__bIsPu .GameCard_container__UNh_d.GamesChunk_gameCard__m_sJC:last-child {
  display: block;
}

.modal {
  position: absolute;
  min-width: 100px;
  max-width: 100%;
  height: fit-content;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 99999;
}

.modal__request {
  padding: 40px 48px;
  border-radius: 10px;
  background-color: #fff;
  border: 1px #ccc;
  box-shadow: 1px 1px 1px #ccc;
}

.modal__text {
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  color: #605d61;
  margin-bottom: 15px;
}

.modal__input {
  padding: 16px 14px;
  width: 100%;
  border: 2px solid transparent;
  border-radius: 8px;
  line-height: 22px;
  font-size: 16px;
  outline: 1px solid transparent;
  color: #1b181e;
  font-weight: 500;
  background: #f5f4f7;
  font-family: Proxima Soft, sans-serif;
  box-shadow: 0 0 0 3px transparent;
  transition: box-shadow 0.3s linear, border 0.15s linear;
  height: 56px;
  max-height: 56px;
}

.modal__input:hover {
  box-shadow: 0 0 0 3px #8b56f0;
}

.modal__input:focus {
  box-shadow: 0 0 0 3px #8b56f0;
}

.modal__field {
  margin-bottom: 36px;
  position: relative;
}

.modal__error-validate {
  position: absolute;
  display: flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: -0.02em;
  color: #f55d66;
}

.modal__form {
  width: 384px;
  max-width: 100%;
}

.modal__close {
  position: absolute;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 15px;
  right: 15px;
  cursor: pointer;
}

.color__modal--open p {
  color: #f24335 !important;
}

.color__modal--open:hover {
  background-color: #f24335;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal__submit {
  margin-top: 35px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--gradient-blue);
  padding: 10px 14px;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  border-radius: 8px;
  position: relative;
}

.modal__submit:disabled {
  opacity: 0.4;
}

html[data-theme="dark"] .modal__request {
  background-color: var(--gray);
}

html[data-theme="dark"] .modal__close path {
  fill: #fff;
}

html[data-theme="dark"] .modal__input {
  background-color: var(--light-gray);
  color: var(--primary-title);
}

html[data-theme="dark"] .SingleGame_descriptionBlock__n_gYf {
  color: var(--primary-title);
}

.content--title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.content--sub-title {
  font-size: 28px;
  font-weight: 600;
}

.hidden {
  display: none;
}

.swiper {
  overflow: visible;
  position: relative;
}

.header-game-extend>span>svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.Description_textDescription__sQZF_ * {
  margin: revert;
}

.Description_textDescription__sQZF_ a {
  color: var(--purple);
}

.Description_textDescription__sQZF_ a:hover {
  font-weight: bold;
  text-decoration: underline;
}

.Description_textDescription__sQZF_ ul,
.Description_textDescription__sQZF_ li,
.Description_textDescription__sQZF_ ol {
  list-style-type: disc;
  list-style-position: inside;
}

.Description_textDescription__sQZF_ img {
  max-width: 100%;
  height: auto;
}

/* Modal Mask (background overlay) */
.modal__mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Modal Container */

.modal__favorite {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  z-index: 999999;
  width: 480px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: fadeIn 0.3s ease-in-out;
  border: 1px solid #ccc;
}

/* Modal Header */
.modal_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: bold;
  font-size: 18px;
  border-bottom: 1px solid #ddd;
  background-color: #f9f9f9;
}

/* Close Icon */
.modal--icon {
  cursor: pointer;
  font-size: 14px;
  color: #888;
  transition: color 0.2s ease;
}

.modal--icon:hover {
  color: #000;
}

/* Modal Content */
.modal_content {
  padding: 20px;
}

/* Tabs List */
.tab_list {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0 0 15px 0;
  border-bottom: 2px solid #eee;
}

/* Tab Item */
.tab_item {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  font-weight: 700;
}

.tab_item:hover {
  color: #000;
}

.tab_item.selected {
  color: #000;
  border-bottom: 2px solid #007bff;
}



.tab_item_mobile {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  font-weight: 700;
}

.tab_item_mobile:hover {
  color: #000;
}

.tab_item_mobile.selected {
  color: #000;
  border-bottom: 2px solid #007bff;
}


/* Tab Content */
.tab_content {
  min-height: 100px;
  /* content-specific styles go here */
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.game_thumb--modal {
  width: 100%;
  height: auto;
  border-radius: 4px;
	aspect-ratio: 16/9;
	display:block;
}

.game_item--modal {
  position: relative;
  display: block;
  height: auto;
  width: fit-content;
}

.favorite-btn.active svg path {
  fill: var(--purple);
}

.games_grid--modal {
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 20px;
  padding: 1rem 0.5rem;
  scrollbar-width: thin;
}

.modal--icon {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
  background-color: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal--icon path {
  fill: #fff;
}

.modal--icon:hover {
  background-color: red;
}

.game_title--modal {
  position: absolute;
  padding-bottom: 15px;
  padding-left: 10px;
  padding-top: 5px;
  opacity: 0;
  transition: 0.5s ease-in-out;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  width: 100%;
  bottom: 0;
  font-weight: 700;
}

.game_item--modal:hover .game_title--modal {
  opacity: 1;
}

.notfound__modal {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 1rem 0;
  justify-content: center;
}

.notfound__modal>img {
  width: 100%;
  height: auto;
}

.load_more--wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  align-items: center;
}

.load_more--modal {
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: capitalize;
  background-color: var(--purple);
  color: var(--white);
}

.load_more--modal:hover {
  opacity: 0.7;
}

.loading__modal {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  padding: 2rem 0;
  color: var(--purple);
}

.favorite__button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  background-color: var(--light-gray);
}

.favorite__button:hover path {
  fill: #FA4A35;
}

.close__modal:hover {
  color: var(--purple);
  cursor: pointer;
}

.close__modal:hover path {
  fill: var(--purple);
}

html[data-theme="dark"] .modal__favorite {
  background-color: #000;
  border-color: var(--gray);
}

html[data-theme="dark"] .modal_header {
  background-color: #000;
  color: var(--white);
  border-color: var(--gray);
}

html[data-theme="dark"] .tab_list {
  border-color: var(--gray);
}

html[data-theme="dark"] .tab_item:hover {
  color: var(--white);
}


html[data-theme="dark"] .tab_item.selected {
  color: var(--white);
}


#favoriteModalMobile {
  left: -40px;
}


.favorite__mobile {
  display: none;
}



.Footer_container__1Z6fg {
  margin-top: 4rem;
}

@media (max-width: 500px) {
  .game_item--modal {
    max-width: 100%;
  }

  .favorite__mobile {
    display: flex;
  }

  .favorite__desktop {
    display: none;
  }

  .modal__favorite {
    max-width: 320px;
  }

  .games_grid--modal {
    overflow-x: hidden;
    grid-template-columns: repeat(1, minmax(280px, 1fr));
    padding: 0;
  }

  .game_item--modal {
    margin: 0 1rem;
  }

  .game_item--modal:first-child {
    margin-top: 1rem;
  }
}


.Modal_modal__Kv5pC {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background: rgba(27, 24, 30, .478);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99993;
  scroll-behavior: unset;
  opacity: 0;
  will-change: transform, opacity;
  transition: transform .3s ease, opacity .3s ease;
  visibility: hidden;
  /* pointer-events: none; */
}

.Modal_modal__Kv5pC.active {
  opacity: 1;
  visibility: visible;
}