body {
  color: #fff;
  background: #070708;
  background-attachment: fixed;
  font-size: 14px;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
  overflow: auto !important;
}

* {
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  ::-webkit-scrollbar {
    display: none;
  }
}

a {
  text-decoration: none;
}

.layout {
  gap: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0 10px;
}

@media (width >= 992px) {
  .layout {
    grid-template-columns: 56px minmax(0, 1fr);
  }
}

main {
  grid-column: 1;
}

@media (width >= 992px) {
  main {
    grid-column: 2;
  }
}

header {
  z-index: 999;
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 56px;
  gap: 4px;
  flex-flow: wrap;
  margin: 13px 0 16px;
}

.logo-img {
  border-radius: 50%;
  align-self: flex-start;
  padding: 11px;
  background: #9747ff;
}

.logo-img svg {
  width: 34px;
  height: 34px;
  color: white;
}

.logo-img:hover, .sidebar:hover .logo-img {
  animation: 3.5s steps(10, end) infinite _vdd4;
}

.logo-img:hover .st0 {
  fill: black;
}

@keyframes _vdd4 {
  0% {
    background-color: var(--electric-lime);
  }
  10% {
    background-color: #ffc850;
  }
  20% {
    background-color: #9ce52e;
  }
  30% {
    background-color: #b099d0;
  }
  40% {
    background-color: #ff9c9c;
  }
  50% {
    background-color: #00f;
  }
  60% {
    background-color: indigo;
  }
  70% {
    background-color: violet;
  }
  80% {
    background-color: pink;
  }
  90% {
    background-color: #dc143c;
  }
  to {
    background-color: var(--electric-lime);
  }
}

.logo {
  display: flex;
  align-items: center;
  flex-direction: row;
}

input::placeholder {
  color: rgba(255, 255, 255, .6) !important;
  font-size: 18px;
}

@media only screen and (max-width: 991px) {
  header .search {
    display: none;
  }
}

.mobilesearch {
  display: none;
}

@media only screen and (max-width: 991px) {
  .mobilesearch {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    z-index: 99;
    position: relative;
  }
}

@media only screen and (max-width: 991px) {
  .mobilesearch .search form {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}

.toggle_button {
  border-radius: 30px;
  transition: all 250ms ease;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 16px;
  box-sizing: border-box;
  padding: 0;
  background: 0 0;
  color: #eff0f7;
  height: 50px;
  margin-right: 4px;
  padding: 10px;
  box-shadow: none;
  BACKGROUND: #9747ff;
  WIDTH: 56px;
  height: 56px;
  text-align: center;
  justify-content: center;
}

.button_svg, .mobile_toggle {
  height: 24px;
  width: 24px;
  display: inline-block;
  fill: currentcolor;
  color: #eff0f7;
}

.mobile_toggle, .toggle_button {
  display: none;
}

@media (max-width: 991px) {
  .mobile_toggle, .toggle_button {
    display: flex;
  }
}

.sidebar {
  position: fixed;
  left: 10px;
  width: 56px;
  overflow-x: hidden;
  z-index: 100;
}

.sidebar {
  border-radius: 21px;
  flex-direction: column;
  gap: 8px;
  height: 100vh;
  margin-top: 13px;
  display: flex;
  /*width: 250px;*/
}

.navbar__menu {
  overflow-y: scroll;
}

.close {
  display: none;
}

@media (max-width: 991px) {
  .close {
    border-radius: 30px;
    transition: all 250ms ease;
    border: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    font-family: Nunito;
    font-weight: 800;
    font-size: 16px;
    box-sizing: border-box;
    padding: 0;
    background: 0 0;
    color: #eff0f7;
    height: 48px;
    width: 48px;
    position: absolute;
    top: 6px;
    left: 6px;
  }
}

@media (max-width: 991px) {
  .close_svg {
    height: 24px;
    width: 24px;
    display: inline-block;
    fill: #fff;
  }
}

@media (max-width: 991px) {
  .collapse:not(.show) {
    display: block;
  }
}

@media (min-width: 992px) {
  .sidebar:hover {
    width: 250px;
  }
}

@media (max-width: 991px) {
  .sidebar {
    width: 0;
    height: 100vh;
    top: 0;
  }
}

@media (max-width: 991px) {
  .sidebar .navbar-class {
    top: 60px;
    position: relative;
    padding: 10px 6px;
  }
}

.navbar-class {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: visible;
  overflow-x: hidden;
  overflow-anchor: none;
  scrollbar-width: none;
}

.bg-nav a {
  display: flex;
  padding: 16px 16px 0 16px;
}

.hr-nav {
  margin: 16px 16px 0;
  background: rgba(255, 255, 255, .08);
  border: none;
  height: 1px;
}

.game-cat {
  display: flex;
  flex-wrap: nowrap;
  width: 250px;
  gap: 16px;
  align-items: center;
}

.game-cat.active .cat-label {
  color: #c0ff47;
}

.game-cat.active .icon-nav {
  color: #c0ff47;
}

.game-cat img {
  width: 62px;
  padding: 0px 12px 0 12px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #00c2ff;
}

.icon-nav {
  width: 24px;
  height: 24px;
  will-change: transform;
  transition: .1s ease-out;
  flex-shrink: 0;
  color: #c7abff;
}

@media (min-width: 992px) {
  .game-cat:hover .icon-nav {
    transform: scale(1.4);
  }
}

.cat-label {
  transition: visibility 0s, opacity 0.3s, all 0.2s ease-in-out;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  color: #c7abff;
  transform: none !important;
}

@media (min-width: 992px) {
  .game-cat:hover [class*='cat-label'] {
    transform: translate(5px, 0) !important;
    color: #c0ff47;
  }
}

@media (min-width: 992px) {
  .game-cat:hover .icon-nav {
    color: #c0ff47;
  }
}

@media (min-width: 992px) {
  .game-cat:hover img {
    transform: scale(1.5);
    transition: 0.3s;
  }
}

@media (min-width: 992px) {
  .black-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }
}

@media (min-width: 992px) {
  .sidebar:hover + .black-screen {
    display: block;
  }
}

.bg-nav {
  scroll-snap-type: y mandatory;
  -webkit-backdrop-filter: blur(20px);
  background-color: transparent;
  scrollbar-width: none;
  border-radius: 16px;
  overflow-y: auto;
}

@media (min-width: 992px) {
  .sidebar:hover .bg-nav {
    background-color: rgba(29, 29, 33, .8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

.bg-nav {
  padding: 10px 0 26px 0;
}

/* HEADER */

.brand-name {
  background-color: #9747ff;
  border-radius: 66px;
  align-items: center;
  height: 56px;
  padding: 0 28px;
  display: flex;
}

.brand-name > * {
  width: auto;
  height: 34px;
  color: white;
}

.search {
  flex-grow: 1;
  align-items: center;
  gap: 4rem;
  min-width: 0;
  display: flex;
}

/* header-search */

.blur {
  z-index: 2;
  backdrop-filter: blur(5px) brightness(.15);
  -webkit-backdrop-filter: blur(5px) brightness(.15);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}

.blur.active {
  display: block;
}

.navbar-class.hide {
  display: none;
}

.hide {
  display: none;
}

/* SEARCH BOX */

.search-box {
  position: relative;
  width: 220px;
  transition: all .35s ease;
}

.search-box.active {
  /*width: 500px;*/
  flex-grow: 1;
}

/* INPUT */

.search-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 30px;
  border: none;
  outline: none;
  background: #1c1c24;
  color: #fff;
  transition: .3s;
  height: 56px;
  display: flex;
  align-items: center;
}

.search-input input {
  padding: 12px 6px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  transition: .3s;
}

.search-input:focus {
  border: 1px solid #682eb2;
}

.search-input:hover {
  box-shadow: inset 0 0 30px rgba(163, 109, 253, .64);
  outline: 1px solid #682eb2;
}

.search-input svg {
  font-size: 20px;
  color: rgba(255, 255, 255, .6);
}

/* RESULT DROPDOWN */

.search-result {
  position: absolute;
  left: 0;
  width: 100%;
  display: none;
  z-index: 1;
  border-radius: 16px;
  width: 100%;
  max-height: calc(100vh - 90px);
  margin-top: 12px;
  padding-bottom: 12px;
  position: absolute;
  overflow: auto;
}

.search-result {
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.tag-result {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-result a {
  padding: 6px 12px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1000rem;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 6px;
  display: inline-flex;
  color: white;
}

.tag-result svg {
  width: 24px;
  height: 24px;
}

.top-games {
  box-sizing: border-box;
  flex-direction: column;
  gap: 8px;
  display: flex;
  list-style: none;
  padding-left: 0;
}

.top-games img {
  width: 100px;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
}

/* SHOW */

.search-box.active .search-result {
  display: flex;
}

/* GAME result */

.game-result {
  display: flex;
  align-results: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: .2s;
}

.game-result:hover {
  background: #1e1e2a;
}

.game-result img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.game-title {
  font-size: 14px;
}

/* menu mobile */

@media (max-width: 991px) {
  header {
    position: fixed;
    padding: 5px 6px;
    margin: 0;
    height: auto;
    background: rgb(7 7 8 / 80%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

@media (max-width: 991px) {
  .sidebar {
    left: 0;
  }
}

@media (max-width: 991px) {
  .sidebar.collapse {
    background: black;
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }
}

@media (max-width: 991px) {
  .sidebar.collapse .logo {
    display: none;
  }
}

@media (max-width: 991px) {
  .brand-name {
    height: 48px;
    border-radius: 20px;
  }
}

@media (max-width: 991px) {
  .brand-name svg {
    width: 115px;
  }
}

@media (max-width: 991px) {
  .search-input {
    height: 48px;
  }
}

.toggle_button {
  position: relative;
  width: 48px;
  height: 48px;
  cursor: pointer;
}

.toggle_button:hover, .toggle_button:active {
  background: #9747ff;
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
  background: #9747ff;
}

.toggle_button .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  transition: opacity .25s ease, transform .25s ease;
  fill: white;
}

.icon-close {
  opacity: 0;
  transform: rotate(-90deg);
}

.toggle_button.is-open .icon-open {
  opacity: 0;
  transform: rotate(90deg);
}

.toggle_button.is-open .icon-close {
  opacity: 1;
  transform: rotate(0);
}

.toggle_button.is-open ~ .brand-name {
  display: none;
}

@media (max-width: 991px) {
  .search-box {
    display: none;
  }
}

.toggle_button.is-open ~ .search-box {
  flex-grow: 1;
  display: block;
}

@media (max-width: 991px) {
  .bg-nav {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    display: grid;
    width: 100%;
    padding: 10px 0px;
    overflow-y: visible;
  }
}

@media (max-width: 991px) {
  .bg-nav a {
    min-width: 0;
    color: white;
    font-size: 14px;
    font-weight: 400;
    display: block;
    padding: 0;
  }
}

@media (max-width: 991px) {
  .bg-nav .cat-label {
    color: white;
    font-size: 14px;
    font-weight: 400;
  }
}

@media (max-width: 991px) {
  .game-cat {
    border-radius: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
    display: flex;
    background: #1d1d21;
    width: auto;
    height: auto;
  }
}

@media (max-width: 991px) {
  .icon-nav {
    width: 32px;
    height: 32px;
    transform: scale(1);
    color: white;
  }
}

@media (max-width: 991px) {
  .more-about {
    display: none;
  }
}

.discover {
  display: none;
}

@media (max-width: 991px) {
  .discover {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }
}

.discover a {
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: flex;
  color: white;
}

.discover .icon {
  width: 24px;
  height: 24px;
}

/* PAGE WRAP */

#games_wrap {
  margin-top: 20px;
  padding-bottom: 20px;
}

.game-abovesection {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.game-subheading {
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}

.game-subheading a {
  color: white;
}

.game-subheading .heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.game-subheading svg {
  width: 32px;
  height: 32px;
}

.game-subheading .viewclass {
  font-size: 12px;
  color: rgba(255,255,255,.56);
}

.game-section {
  white-space: nowrap;
}

.row-games {
  display: grid;
  grid-auto-flow: row;
  gap: 8px;
  width: 100%;
  margin: 10px 0;
}

.games {
  float: left;
  border: 4px solid #6b1891;
  position: relative;
  -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 40%);
  -moz-box-shadow: 0 0 10px rgb(0 0 0 / 40%);
  box-shadow: 0 0 10px rgb(0 0 0 / 40%);
}

.games {
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 0 10px rgb(0 0 0 / 40%);
  border: unset;
  min-width: 0;
}

.games a {
  height: 100%;
}

.big {
  grid-column: span 2;
  width: auto !important;
  height: auto !important;
}

.games .thumb img {
  outline: none;
  border: none;
  width: 100%;
  height: 100%;
  float: left;
  opacity: 1;
  transition: .3s;
  object-fit: cover;
}

.thumb {
  grid-column: auto/span 1;
  grid-row: auto/span 1;
  display: block;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0 10px rgb(0 0 0 / 40%);
  transition: all .2s;
  /*overflow: hidden;*/
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.games .thumb {
  background: #50136c;
  width: 100%;
  height: 100%;
  float: left;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.games .thumb {
  border-radius: 10px;
}

.badge-hot {
  position: absolute;
  z-index: 1;
  width: auto;
  height: 35px;
  top: -6px;
  left: -8px;
  display: block !important;
}

.gametitle {
  color: rgba(255, 255, 255, .56);
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 13px;
  font-weight: 500;
  display: block;
  overflow: hidden;
  padding-bottom: 2px;
}

.row-6 .games:hover .gametitle {
  color: #d7b8ff;
  transition: 0.3s;
}

.row-6 {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 8px;
  display: grid;
}

@media (width >= 500px) {
  .row-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (width >= 640px) {
  .row-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width >= 992px) {
  .row-6 {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (width >= 1300px) {
  .row-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (width >= 992px) and (width < 1300px) {
  .row-6 .games:nth-child(n + 10) {
    display: none;
  }
}

@media (width >= 1300px) {
  .row-6 .games:nth-child(n + 13) {
    display: none;
  }
}

@media (width >= 500px) {
  .row-6 .games:nth-child(n + 13) {
    display: none;
  }
}

.row-6 .games:last-child {
  display: block;
}

@media (min-width: 1300px) {
  .row-games .thumb:hover {
    transform: scale(1.3);
    transition: transform 0.3s ease;
    z-index: 98;
  }
}

/* main content */

@media (max-width: 991px) {
  .main-content {
    margin-top: 70px;
  }
}

/* feature */

.site-features {
  display: flex;
  align-items: center;
  gap: 32px;
}

@media (max-width: 640px) {
  .site-features {
    gap: 5px;
    font-size: 12px;
    flex-direction: column;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 640px) {
  .feature-item {
    background: #1d1d21;
    padding: 5px;
    border-radius: 12px;
    width: 100%;
  }
}

.feature-icon {
  width: 44px;
  height: 44px;
}

@media (min-width: 992px) {
  .feature-content {
    color: #e6d4ff;
  }
}

/* all-game */

.all-game {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 12px;
  gap: 4px;
  transition: all .3s ease-in-out;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: 100%;
}

.sub-game {
  background-color: #29292e;
  width: 100%;
  height: auto;
  contain: strict;
  border-radius: 12px;
  grid-template: "main" 100% / 100%;
  display: grid;
  overflow: hidden;
  aspect-ratio: auto;
}

.sub-game img {
  object-fit: cover;
  grid-area: main;
  width: 100%;
  height: 100%;
  display: block;
}

.view-all {
  background: #9747ff;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}

.all-game:hover .view-all {
  background-image: linear-gradient(#9747ff 0%, #620fab 100%);
}

/* TRENDING GAMES */

:root {
  --origin: center;
}

.row-games .thumb:hover {
  transform-origin: var(--origin);
}

.row-8 .big {
  grid-column: span 2;
}

@media (max-width: 499px) {
  .row-8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width >= 500px) {
  .row-8 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (width >= 640px) {
  .row-8 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (width >= 992px) {
  .row-8 {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (width >= 1300px) {
  .row-8 {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (max-width: 499px) {
  .row-8 > :nth-child(n + 11) {
    display: none;
  }
}

@media (min-width: 500px) and (max-width: 639px) {
  .row-8 > :nth-child(n + 13) {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 991px) {
  .row-8 > :nth-child(n + 18) {
    display: none;
  }
}

@media (min-width: 200px) and (max-width: 1299px) {
  .row-8 > .big {
    grid-column: span 1;
  }
}

@media (max-width: 499px) {
  .row-8 .games:first-child {
    grid-column: span 2;
  }
}

@media (min-width: 500px) and (max-width: 639px) {
  .row-8 .games:first-child {
    grid-column: span 3;
  }
}

@media (min-width: 640px) and (max-width: 991px) {
  .row-8 > :nth-child(-n + 2) {
    grid-column: span 2;
  }
}

@media (min-width: 992px) and (max-width: 1299px) {
  .row-8 > :nth-child(-n + 3) {
    grid-column: span 2;
  }
}

@media (min-width: 992px) and (max-width: 1299px) {
  .row-8 > :nth-child(-n + 3) {
    display: block;
  }
}

@media (min-width: 1300px) {
  .row-8 > :nth-child(-n + 20) {
    display: block;
  }
}

@media (min-width: 1300px) {
  .row-8 > :nth-child(n + 20) {
    display: none;
  }
}

.row-8 .games:last-child {
  display: block;
}

/* ori */

.original-game {
  aspect-ratio: 9 / 16;
}

@media only screen and (max-width: 1920px) {
  .original-game {
    width: 260px !important;
  }
}

@media only screen and (max-width: 1400px) {
  .original-game {
    width: 216px !important;
  }
}

.original-game:hover .gametitle {
  height: 100% !important;
}

.game-section.game-row--carousel {
  position: relative;
}

.arrowcommon {
  position: absolute;
  z-index: 99;
  display: flex;
  justify-content: space-between;
  top: 50%;
  background: rgba(0, 0, 0, .667);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  color: white;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.arrowcommon.prev {
  left: 10px;
}

.arrowcommon.next {
  right: 10px;
}

.game-row--carousel .original-section {
  grid-auto-flow: column;
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 10px 0;
  padding: 5px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  overflow-anchor: none;
  scrollbar-width: none;
}

.game-row--carousel .original-section .thumb:hover {
  transform: scale(1);
}

.game-row--carousel .original-section .thumb img:hover {
  transform: scale(1.1);
}

.game-row--carousel .original-section .thumb:hover img {
  filter: brightness(1.2) saturate(1.2);
}

.original-game a {
  display: block;
  position: relative;
  height: 100%;
}

.original-game .gamecontent {
  color: white;
  font-weight: 600;
  font-size: 12px;
  background: linear-gradient(#fff 0%, transparent 0%, #1d1c26 100%);
  grid-template-rows: 1fr min-content;
  grid-template-columns: 52px 1fr;
  gap: 4px 8px;
  width: 100%;
  height: 162px;
  padding: 8px;
  display: grid;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 8px;
  overflow: hidden;
}

.original-game .gamecontent img {
  border-radius: 12px;
  flex-shrink: 0;
  grid-row: span 2;
  align-self: end;
  width: 52px;
  height: 52px;
}

.original-game .gamecontent span {
  display: block;
  align-items: flex-end;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: auto;
  overflow: hidden;
}

.original-game .gamecontent .count {
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding-bottom: 4px;
  display: flex;
}

/* row square */

.row-square .thumb {
  aspect-ratio: 1/1;
}

.row-square {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 8px;
  margin-bottom: 10px;
  display: grid;
}

@media (min-width: 500px) {
  .row-square {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px 8px;
    display: grid;
  }
}

@media (min-width: 640px) {
  .row-square {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (min-width: 992px) {
  .row-square {
    grid-template-columns: repeat(10, minmax(50px, 1fr));
  }
}

@media (min-width: 1300px) {
  .row-square {
    grid-template-columns: repeat(12, minmax(50px, 1fr));
  }
}

@media (min-width: 1520px) {
  .row-square {
    grid-template-columns: repeat(14, minmax(50px, 1fr));
  }
}

@media (max-width: 499px) {
  .row-square .games {
    display: block;
  }
}

@media (max-width: 499px) {
  .row-square .games:nth-child(n + 6) {
    display: none;
  }
}

@media (min-width: 500px) and (max-width: 639px) {
  .row-square .games {
    display: block;
  }
}

@media (min-width: 500px) and (max-width: 639px) {
  .row-square .games:nth-child(n + 12) {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 991px) {
  .row-square .games {
    display: block;
  }
}

@media (min-width: 640px) and (max-width: 991px) {
  .row-square .games:nth-child(n + 16) {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1299px) {
  .row-square .games {
    display: block;
  }
}

@media (min-width: 992px) and (max-width: 1299px) {
  .row-square .games:nth-child(n + 10) {
    display: none;
  }
}

@media (min-width: 1300px) and (max-width: 1519px) {
  .row-square .games {
    display: block;
  }
}

@media (min-width: 1300px) and (max-width: 1519px) {
  .row-square .games:nth-child(n + 12) {
    display: none;
  }
}

@media (min-width: 1520px) {
  .row-square .games {
    display: block;
  }
}

@media (min-width: 1520px) {
  .row-square .games:nth-child(n + 14) {
    display: none;
  }
}

.row-games .games:last-child {
  display: block;
}

/* TAG SECTION */

.tag-section {
  text-align: start;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  padding: 24px 0;
  display: flex;
}

.tag-section .heading {
  font-size: 23px !important;
}

.intro-tag {
  color: rgba(255,255,255,.56);
  font-size: 12px;
}

.tags {
  flex-wrap: wrap;
  justify-content: start;
  gap: 8px;
  display: flex;
}

.tag-item {
  box-sizing: border-box;
  height: 48px;
  color: white;
  background: #0d0d0f;
  box-shadow: 0 0 20px 0 #6e659d inset;
  border: 1px solid #1d1d21;
  border-radius: 1000px;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  transition: all .2s ease-in;
  display: flex;
}

.tag-item:hover {
  background: #9747ff;
}

.tag-item svg {
  width: 24px;
  height: 24px;
}

/* CONTENT SECTION */

.content-section h1 {
  font-size: 28px;
}

.content-section h2 {
  font-size: 22px;
}

.content-section h3 {
  font-size: 18px;
}

.content-section p, .content-section span {
  color: rgba(255,255,255,.6);
}

.content-section ul {
  padding-left: 0;
}

.content-section ul li {
  list-style: none;
}

.content-section ul li a {
  font-weight: 700;
}

.content-section a {
  color: #c7abff;
}

.content-section a:hover {
  color: #9ce52e;
}

/* FOOTER */

footer {
  padding-top: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* COLUMN */

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col--brand .footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-text {
  color: #94a3b8;
}

/* HEADINGS */

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  /*display: none;*/
}

/* LIST */

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list__item {
  margin-bottom: 10px;
}

.footer-link {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: #c7abff;
}

/* SOCIAL */

.footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-social__link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.25s ease;
}

.footer-social__link:hover {
  color: #ffffff;
}

/* BOTTOM */

.footer-bottom {
  text-align: center;
  margin: 15px 0;
}

.footer-copyright {
  color: #64748b;
  font-size: 13px;
  margin: 0;
}

/* ========================   RESPONSIVE======================== */

/* Tablet */

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Mobile */

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .footer-bottom {
    margin-top: 30px;
  }
}

/* ======CATEGORIES PAGE======= */

.categories-content-section {
  background: #1d1d21;
  padding: 30px;
  border-radius: 12px;
}

.category-hero-title {
  font-size: 28px;
}

.category-hero-tag {
  flex-wrap: wrap;
  justify-content: start;
  gap: 8px;
  display: flex;
}

.category-hero-tag a {
  box-sizing: border-box;
  height: 32px;
  color: white;
  background: #0d0d0f;
  box-shadow: 0 0 20px 0 #6e659d inset;
  border: 1px solid #1d1d21;
  border-radius: 1000px;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  transition: all .2s ease-in;
  display: flex;
}

.category-hero-tag a:hover {
  background: #9747ff;
}

.categories-page .row-games .games {
  display: block !important;
}

/* DETAIL PAGE */

.game-detail {
  display: grid;
  grid-template-columns: 3fr 1fr;
  /*max-height: 640px;*/
  gap: 12px;
  margin-bottom: 20px;
}

.game-player {
  background-color: linear-gradient(90deg, var(--primary-color) 60%, var(--accent-color) 100%);
  border-radius: 12px;
  color: white;
  overflow: hidden;
}

.game-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  /*height: 580px;*/
  aspect-ratio: 16/9;
  /*padding-top: 56.25%;*/
}

.game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.game-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.game-detail-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #1d1c26;
}

.game-actions-title {
  display: grid;
  align-items: center;
  gap: 10px;
  width: calc(100% - 245px);
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  grid-template-columns: auto 1fr;
}

.game-actions-title img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.game-actions-title img {
  border-radius: 10px;
}

h1.single-title {
  margin: 0;
  font-weight: bold;
  font-size: 1.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /*max-width: calc(100% - 245px);*/
}

.action-btn {
  display: flex;
  gap: 20px;
}

.action-btn > div {
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.game-actions-controls svg {
  font-size: 30px;
  padding: 6px;
}

.icon-btn {
  padding: 8px;
  background: #29292e;
  border-radius: 50%;
  color: white;
  text-decoration: none;
}

.btn-favorites {
  border-radius: 40px 40px 40px 40px;
  padding-right: 15px;
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
}

.btn-like {
  border-radius: 40px 0px 0 40px;
  margin-right: -10px;
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
}

.btn-dislike {
  border-radius: 0px 40px 40px 0px;
  border: 1px solid rgba(255,255,255,.08);
}

.btn-favorites.active {
  background: #22c55e !important;
}

.btn-like.active {
  background: #22c55e !important;
}

.btn-dislike.active {
  background: #ef4444 !important;
}

.game-actions-controls .icon-btn:hover {
  background: #4d4d4f;
  cursor: pointer;
}

.info-the-game .rating {
  margin-bottom: 10px;
  font-size: 14px;
  color: #9595d1;
}

.info-the-game .rating i {
  margin-right: 5px;
}

.game-section.random .row-8 > * {
  grid-column: auto;
  display: block;
}

/* SIDEBAR GAME */

.game-grid {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  scroll-snap-type: y mandatory;
  grid-auto-columns: 100%;
  grid-auto-flow: row;
  gap: 15px 10px;
  /*margin: 3px 0 0 3px;*/
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  /*height: 100%;*/
}

@media (max-width: 991px) {
  .game-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 767px) {
  .game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.game-grid a {
  flex-direction: column;
  gap: 6rem;
  min-width: 0;
  display: flex;
  position: relative;
}

.game-grid .thumb {
  aspect-ratio: 16/9;
}

.game-grid .thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.game-grid .title {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 5px;
  color: white;
  opacity: 0;
  width: 100%;
  font-weight: 500;
  font-size: 12px;
}

.overlay-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(to top, rgb(33 31 36 / 90%), transparent);
  position: absolute;
  bottom: 0;
  top: 15px;
  width: 100%;
  opacity: 0;
}

.game-grid a:hover .overlay-hover {
  opacity: 100%;
}

.game-grid a:hover .title {
  opacity: 100%;
}

.game-grid a:hover .thumb img {
  transform: scale(1.1);
  transition: 0.3s;
}

/* GAME-DETAIL-INFO */

.detail-content-section {
  background: #1d1d21;
  padding: 30px;
  border-radius: 12px;
}

.detail-content-section ul {
  padding-left: 15px;
}

.detail-content-section ul li {
  list-style: disc;
  color: rgba(255,255,255,.6);
}

.breadcrumb a span {
  text-decoration: none;
  color: #c7abff;
}

.breadcrumb-item + .breadcrumb-item::before {
  /*content: var(--bs-breadcrumb-divider, "»");*/
  color: #6a7282;
}

.content-section .game-title {
  font-weight: 700;
}

.add-pc, .report {
  padding: 0.5rem 1rem;
  background: #9747ff;
  border-radius: 25px;
  border: none;
  font-weight: 700;
  height: 40px;
  margin: 20px 0;
}

.report {
  background: #29292e;
}

.report:hover {
  background: #454548;
}

.add-pc:hover {
  transition: 0.3s;
  background: linear-gradient(#9747ff 0%, #620fab 100%);
}

.game-meta {
  color: #d1d5dc;
  margin-top: 1rem;
}

.meta-item {
  display: flex;
  gap: 0.5rem;
  height: 29px;
  align-items: center;
}

.meta-label {
  color: #6a7282;
  width: 105px;
}

.text-yl {
  color: #fdc700;
}

.star svg:hover {
  transform: scale(1.1);
}

.rating {
  --percent: 0%;
  font-size: 20px;
  letter-spacing: 1px;
  background: linear-gradient( 90deg, #facc15 var(--percent), #ddd var(--percent) );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-xs {
  font-size: 0.75rem;
}

/* TAG DETAIL PAGE */

.tag {
  color: #c7abff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 9px 12px;
  background: #29292e;
  border-radius: 50px;
}

.tag p {
  color: #c7abff;
}

.ml-2 {
  margin-left: 0.5rem;
}

.tag:hover {
  background: #9747ff;
  color: white;
  transition: 0.3s;
}

.tag:hover p, .tag:hover span {
  color: white;
}

.screenshot {
  scrollbar-width: none;
  gap: 16px;
  margin-left: -16px;
  margin-right: -16px;
  display: flex;
  overflow-x: auto;
}

.screenshot .screenshot-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 220px;
}

.screenshot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshot .screenshot-img:first-child {
  margin-left: 16px;
}

.screenshot .screenshot-img:last-child {
  margin-right: 16px;
}

/* CONTACT */

.txt-page.contact {
  max-width: 1000px;
  margin: 0 auto;
}

.img-contact {
  justify-content: center;
  align-items: center;
  height: 260px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.img-contact img {
  width: auto;
  max-height: 260px;
  object-fit: cover;
}

@media (width >= 961px) {
  .social-email, .ask {
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,.16);
  }
}

.social-left, .email-right {
  gap: 16px;
  flex-grow: 1;
  flex-direction: column;
  display: flex;
  font-size: 14px !important;
}

.social-email svg {
  width: 24px;
  height: 24px;
}

.social-left > *, .email-right h2 {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

.social-email ul {
  padding-left: 0;
}

.social-email ul li {
  list-style: none;
  display: flex;
  flex-direction: column;
  color: rgba(255,255,255,.4);
}

.social-email li a {
  color: #c7abff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.forminator-row {
  margin-bottom: 20px;
}

.forminator-input, .forminator-row textarea {
  background: #29292e;
  border-color: #626266;
  padding: 12px 8px;
}

.forminator-row textarea::placeholder {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
}

.forminator-input:focus, .forminator-row textarea:focus {
  background: #29292e;
}

.forminator-button, .forminator-button:hover, .forminator-button:focus {
  background: #29292e;
  color: rgba(255,255,255,.4);
  width: 300px;
  height: 50px;
  font-weight: 500;
  border-radius: 50px;
}

hr {
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 1;
}

.txt-page {
  font-size: 18px;
}

.txt-page a {
  color: #c7abff;
}

.blockquote {
  padding: 24px;
  margin: 24px;
  background: rgba(255,255,255,.1);
  border-radius: 24px;
}

.txt-page h2 {
  margin: 40px 0 24px 0;
}

.txt-page hr {
  margin: 40px 0;
}

.table > :not(caption) > * > * {
  background: transparent;
  color: white;
  border: none;
}

