/*
Theme Name: IOGamesOnly
Author: IOGamesOnly
Author URI: https://iogamesonly.com
Description: IOGamesOnly is an online platform dedicated exclusively to hosting .io Games. These games are playable directly through the website without the need for downloads or installations. Dive into a diverse array of Multiplayer experiences, compete with players globally, and enjoy endless entertainment, all within the convenience of your web browser at iogamesonly.com.
*/

@font-face {
  font-family: "RobotoFlex";
  src: url("/wp-content/themes/IOGamesOnly/assets/font/RobotoFlex.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("/wp-content/themes/IOGamesOnly/assets/font/Inter.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}

a {
  color: var(--primary-color);
}
:root {
  --body-background-color: #121212;
  --header-background-color: #1d1d1de2;
  --font-color: #ffffff;
  --primary-color: #4caf50;
  --hover-primary-color: #59e260;
  --background-serch-color: #ff8a00;
  --font-text-color: #b6b6b6;
  --background-search-color: #0f0f0f;
  --hover-color: #282828;
  --background-side-color: #1d1d1d;
  --background-shadow-color: #15141471;

  --sidebar-width: 70px;
  --category-name-slid: 0px;
  --category-name-slid-top: 10px;
  --categories-page-justify-content: center;
  --categories-page-flex-direction: column;
  --popup-width-center: 220px;

  --game-trend-size: 285px;
  --game-top-size: 360px;
  --game-size: 135px;
  --game-size-square: 100px;
  --font-size: 15px;

  --games-count-in-screen: 6;

  --related-games-size: 400px;
  --related-game-size: 170px;
}

.slidbar-open {
  --sidebar-width: 220px;
  --categories-page-justify-content: left;
  --categories-page-flex-direction: row;
  --category-name-slid: 13px;
  --category-name-slid-top: 13px;
}

a {
  text-decoration: none;
  color: inherit;
}
html {
  scrollbar-width: thin;
}
body {
  font-family: "RobotoFlex", sans-serif;
  background-color: var(--body-background-color);
  color: var(--font-color);
  padding: 0;
  margin: 0;
}

p {
  color: var(--font-color);
}

#wpadminbar {
  display: none;
}

.header {
  height: 60px;
  width: calc(100% - 20px);
  top: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  transition: all 0.5s ease;
  background-color: var(--header-background-color) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  position: fixed;

  z-index: 10;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.container {
  height: calc(100vh - 60px);
  width: calc(100% - var(--sidebar-width));
  left: var(--sidebar-width);
  top: 60px;
  position: absolute;
}

.search-here-dic-iogamesonly {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 450px;
  width: 100%;
  height: 40px;
  text-align: center;
}

.iogamesonly-search-form-dic-iogamesonly {
  display: flex;
  width: 100%;
  height: 40px;
  background-color: var(--background-search-color);
  border-radius: 50px;
}

.iogamesonly-search-form-dic-iogamesonly
  .iogamesonly-search-input-dic-iogamesonly {
  outline: 0;
  flex: 1;
  border-radius: 50px 0 0 50px;
  border: none;
  height: 100%;
  width: 90%;
  color: var(--background-font-color);
  background-color: var(--background-search-color);
  text-align: left;
  padding-left: 15px;
  font-weight: bold;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

.iogamesonly-search-submit-dic-iogamesonly {
  border-radius: 0 50px 50px 0;
  border: none;
  background-color: var(--background-search-color);
  fill: #2e8b56ab;
  width: 60px;
  font-weight: bold;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iogamesonly-search-submit-dic-iogamesonly:hover {
  fill: #2e8b56de;
}

.iogamesonly-search-form-dic-iogamesonly:focus-within {
  outline: 1px solid #2e8b565b;
}
.iogamesonly-search-input-dic-iogamesonly::-webkit-search-cancel-button {
  display: none;
}

input::placeholder {
  font-weight: bold;
  color: gray;
  font-size: 14px;
  font-family: "Inter", sans-serif;
}

header .header .log-or-title {
  padding-top: 17px;
  margin-left: 5px;
  position: relative;
}

header .header .log-or-title a {
  display: flex;
  align-items: center;
  position: relative;
  height: 50px;
}

header .header .log-or-title .dot-logo {
  position: absolute;
  transition: transform 0.5s ease;
  left: -12.6px;
  margin-bottom: 22px;
}
header .header .log-or-title:hover .dot-logo {
  animation: moveDot 0.8s infinite alternate;
}
@keyframes moveDot {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

header .header .log-or-title .face {
  margin-bottom: 20px;
  border-radius: 4px;
}

header .header .log-or-title .title {
  position: absolute;
  padding: 5.1px 0 0 0;
  height: 64px;
  margin-left: 0px;
}

header .header .settings-iogamesonly {
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  padding-right: 5px;
  padding-top: 2px;
}

header .header .settings-iogamesonly svg {
  fill: var(--font-color);
  cursor: pointer;
}
header .header .settings-iogamesonly svg:hover {
  fill: var(--primary-color);
}
header .container-for-you {
  display: flex;
  flex-direction: column;
  position: fixed;
  overflow: hidden;
  background-color: var(--header-background-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  width: 220px;
  height: 220px;
  right: 20px;
  top: 80px;
  padding: 20px 30px 20px 20px;
  z-index: 10;
  font-family: "Inter", sans-serif;
  visibility: hidden;
}

.label-text-settings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #000;
  color: var(--font-color);
}

header .link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  padding: 5px;
  color: var(--font-color);
  margin-bottom: 10px;
  width: 100%;
  border-radius: 8px;
  height: 50px;
  transition: background-color 0.3s ease;
}

header .link svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  fill: var(--font-color);
}

header .link:hover {
  background-color: var(--primary-color);
}

.menu-of-slid-iogamesonly .menu-of-slid-button-iogamesonly {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  fill: var(--font-color);
}

.menu-of-slid-iogamesonly .menu-of-slid-button-iogamesonly svg {
  width: 24px;
  color: var(--background-font-color);
  fill: var(--background-font-color);
}

.checkboxDisplay {
  display: none;
}

.sidebar {
  position: absolute;
  left: 0;
  top: 60px;
  width: calc(var(--sidebar-width) - 20px);
  height: calc(100vh - 60px);
  white-space: nowrap;
  border-right: 1px solid rgba(125, 124, 124, 0.168);
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background-color: #fff;
  padding: 10px;
  background-color: var(--body-background-color);
}

.category-menu-item-slide-iogamesonly.active-menu-item-slide-iogamesonly,
.category-menu-item-slide-iogamesonly-top.active-menu-item-slide-iogamesonly {
  background-color: var(--hover-color);
  border-radius: 10px;
}

.category-menu-item-slide-iogamesonly:hover,
.category-menu-item-slide-iogamesonly-top:hover {
  border-radius: 10px;
  background-color: var(--background-side-color);
}

.category-menu-item-slide-iogamesonly.active-menu-item-slide-iogamesonly:hover,
.category-menu-item-slide-iogamesonly-top.active-menu-item-slide-iogamesonly:hover {
  border-radius: 10px;
  background-color: var(--hover-color);
}

.category-menu-item-slide-iogamesonly-top {
  display: flex;
  flex-direction: var(--categories-page-flex-direction);
  align-items: center;
  justify-content: var(--categories-page-justify-content);
}

.category-menu-item-slide-iogamesonly-top #icon-svg-side {
  width: 24px;
  margin: 10px 10px calc(var(--category-name-slid) - 4px) 5px;
  color: var(--font-color);
  fill: var(--font-color);
}
.category-menu-item-slide-iogamesonly-top .category-name-slide-iogamesonly,
.category-menu-item-slide-iogamesonly .category-name-slide-iogamesonly {
  font-weight: bold;
  font-size: var(--category-name-slid-top);
  color: var(--font-color);
  font-family: "Inter", sans-serif;
}

.category-menu-item-slide-iogamesonly {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: var(--categories-page-justify-content);
  height: 44px;
}

.category-menu-item-slide-iogamesonly img {
  width: 21px;
  height: 21px;
  margin: 10px 10px 10px 7px;
  object-fit: cover;
}

.category-menu-item-slide-iogamesonly #icon-svg-side {
  transition: all 0.5s ease;
  width: 24px;
  margin: 10px 10px 10px 5px;
  color: var(--font-color);
  fill: var(--font-color);
}

.hover-category-name,
.category-menu-item-slide-iogamesonly .category-name-slide-iogamesonly {
  display: none;
}

.slidbar-open
  .category-menu-item-slide-iogamesonly
  .category-name-slide-iogamesonly {
  display: block;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 0.5px solid #2e8b5641;
  margin: 1em 0;
  padding: 0;
}

.category-menu-item-slide-iogamesonly-top .category-name-slide-iogamesonly {
  font-weight: bold;
  font-size: var(--category-name-slid-top);
  color: var(--background-font-color);
}

.category-menu-item-slide-iogamesonly-top {
  display: flex;
  height: 50px;
  flex-direction: var(--categories-page-flex-direction);
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.slidbar-open .category-menu-item-slide-iogamesonly-top {
  display: flex;
  height: 44px;
  flex-direction: var(--categories-page-flex-direction);
  align-items: center;
  gap: 0px;
  margin-bottom: 0px;
}

.category-menu-item-slide-iogamesonly-top #icon-svg-side {
  margin-top: 0;
  margin-left: 8px;
}

.slidbar-open .category-menu-item-slide-iogamesonly-top #icon-svg-side {
  margin: 10px 10px calc(var(--category-name-slid) - 4px) 5px;
}

.active-menu-item-slide-iogamesonly .hover-category-name,
.category-menu-item-slide-iogamesonly:hover .hover-category-name {
  display: block;
  opacity: 1;
}

.slidbar-open .active-menu-item-slide-iogamesonly .hover-category-name,
.slidbar-open .category-menu-item-slide-iogamesonly:hover .hover-category-name {
  display: none;
  opacity: 0;
}

.category-menu-item-slide-iogamesonly {
  display: flex;
  flex-direction: var(--categories-page-flex-direction);
  align-items: center;
  justify-content: var(--categories-page-justify-content);
  height: 44px;
}

.hover-category-name {
  position: absolute;
  padding: 5px;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  white-space: nowrap;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
  font-size: 9px;
  height: 10px;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}
.active-menu-item-slide-iogamesonly .hover-category-name {
  background-color: var(--primary-color);
}

.the-end-slide-iogamesonly {
  margin-bottom: 20px;
}

.scroll-left-button,
.scroll-right-button {
  top: 8px;
  position: absolute;
  width: 50px;
  height: calc(100% + 4px);
  background-color: rgba(0, 0, 0, 0.754);
  transition: all 0.3s ease;
  z-index: 9;
  border: none;
  cursor: pointer;
  fill: var(--font-color);
  display: none;
  opacity: 0;
}
.scroll-right-button {
  right: 0;
}
.container-homepage {
  height: calc(100vh - 60px);
  width: calc(100% - var(--sidebar-width));
  left: var(--sidebar-width);
  top: 60px;
  position: absolute;
}
.trending-games:hover .scroll-left-button,
.trending-games:hover .scroll-right-button,
.trending-games-grid:hover .scroll-left-button,
.trending-games-grid:hover .scroll-right-button,
.trending-games-container:hover .scroll-left-button,
.trending-games-container:hover .scroll-right-button,
.container-games:hover .scroll-left-button,
.container-games:hover .scroll-right-button,
.continue-container-games:hover .scroll-left-button,
.continue-container-games:hover .scroll-right-button,
.container-games-vertical:hover .scroll-left-button,
.container-games-vertical:hover .scroll-right-button,
.explore-games:hover .scroll-left-button,
.explore-games:hover .scroll-right-button,
.live-container-games .scroll-left-button,
.live-container-games:hover .scroll-right-button {
  opacity: 1;
}




.trending-games .games-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  width: calc(100% - 12px);
  height: var(--game-trend-size);
  padding: 10px 10px 10px 2px;
}
.trending-games {
  width: calc(100% - 10px);
  height: var(--game-trend-size);
  margin: 0 0 10px 10px;
  position: relative;
}

.trending-games-grid {
    position: relative;
    margin: 0 0 10px 10px;
    height:calc(var(--game-size) * 2 + 10px) ;
}
.trending-games-grid .games-wrapper {
    display: grid;
    grid-template-columns: repeat(18, calc(var(--game-size) * 16 / 9));
    grid-template-rows: repeat(2, var(--game-size));
    gap: 10px;
    grid-template-areas:
        "item1 item1 item2 item4 item6 item6 item7 item9 item11 item11 item12 item14 item16 item16 item17 item19 item21 item21"
        "item1 item1 item3 item5 item6 item6 item8 item10 item11 item11 item13 item15 item16 item16 item18 item20 item21 item21";
    overflow: hidden;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 10px 2px 2px;


}
.trending-games-grid .game-item-grid .game-thumbnail {
    width: 100%;
    height: 100%;
}


.item1 { grid-area: item1; }
.item2 { grid-area: item2; }
.item3 { grid-area: item3; }
.item4 { grid-area: item4; }
.item5 { grid-area: item5; }

.item6 { grid-area: item6; }
.item7 { grid-area: item7; }
.item8 { grid-area: item8; }
.item9 { grid-area: item9; }
.item10 { grid-area: item10; }

.item11 { grid-area: item11; }
.item12 { grid-area: item12; }
.item13 { grid-area: item13; }
.item14 { grid-area: item14; }
.item15 { grid-area: item15; }

.item16 { grid-area: item16; }
.item17 { grid-area: item17; }
.item18 { grid-area: item18; }
.item19 { grid-area: item19; }
.item20 { grid-area: item20; }
.item21 { grid-area: item21; }

.trending-games-grid .game-item-grid {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}




.trending-games .games-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  width: calc(100% - 12px);
  height: var(--game-trend-size);
  padding: 10px 10px 10px 2px;
}
.trending-games {
  width: calc(100% - 10px);
  height: var(--game-trend-size);
  margin: 0 0 10px 10px;
  position: relative;
}

.game-item-trend {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.shadow-game {
  box-shadow: 0 -45px 25px var(--background-shadow-color) inset;
  border-radius: 8px;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: opacity 0.3s ease;
  z-index: 1;
  opacity: 0;
}

.vertical-image-trend {
  flex: 0 0 auto;
  height: var(--game-trend-size);

  width: calc(var(--game-trend-size) * 2 / 3);
}

.screenshot-image-trend {
  position: relative;
  height: var(--game-trend-size);
  width: calc(var(--game-trend-size) * 16 / 9);
  flex: 1;
}

.blur-image-trend {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.logo-image-trend {
  position: absolute;
  width: 40%;
  width: calc(var(--game-trend-size) * 16 / 9 / 2.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

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

.category-name-homepage {
  padding: var(--font-size) 10px calc(var(--font-size) * 0.2) 12px;
  margin: 0;
  display: flex;
  align-items: center;
  fill: var(--font-color);
  font-family: "Inter", sans-serif;
  font-size: calc(var(--font-size) * 1.05);
  font-weight: bold;
  color: var(--font-color);
}

.category-name-homepage h2 {
  font-size: calc(var(--font-size) * 1.05);
  font-weight: bold;
  color: var(--font-color);
}

.category-name-homepage a {
  font-size: calc(var(--font-size) / 1.3);
  transition: color 0.3s;
  color: var(--primary-color);
  padding: calc(var(--font-size) / 4.5) 0 0 6px;
}

.category-name-homepage a:hover {
  color: var(--hover-primary-color);
}

.category-name-homepage-with-svg {
  display: flex;
  align-items: center;
  fill: var(--font-color);
  padding: var(--font-size) 10px calc(var(--font-size) * 0.2) 12px;
  color: var(--font-color);
  font-family: "Inter", sans-serif;
}
.category-name-homepage-with-svg h2 {
  margin: 0;
  font-size: calc(var(--font-size) * 1.05);
  font-weight: bold;
  display: inline-block;
}
.category-name-homepage-with-svg svg {
  padding: 3px 0px 0px 5px;
}

.container-games .games-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  width: calc(100% - 12px);
  height: var(--game-size);
  padding: 10px 10px 10px 2px;
  scroll-behavior: smooth;
}

.container-games {
  width: calc(100% - 10px);
  height: var(--game-size);
  margin: 0 0 10px 10px;
  position: relative;
}

.game-item {
  height: var(--game-size);
  width: calc(var(--game-size) * 16 / 9);
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.trending-games-container .games-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  width: calc(100% - 12px);
  height: calc(var(--game-size) * 1.8);
  padding: 10px 10px 10px 2px;
  scroll-behavior: smooth;
}

.trending-games-container {
  width: calc(100% - 10px);
  height: calc(var(--game-size) * 1.8);
  margin: 0 0 10px 10px;
  position: relative;
}

.trending-full-game-item {
  height: calc(var(--game-size) * 1.8);
  width: calc(var(--game-size) * 1.8 * 16 / 9);
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.continue-container-games .games-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  width: calc(100% - 12px);
  height: calc(var(--game-size) + 32px);
  padding: 10px 10px 10px 2px;
}

.continue-container-games {
  width: calc(100% - 10px);
  height: calc(var(--game-size) + 32px);
  margin: 0 0 10px 10px;
  position: relative;
}

.game-item-continue,
.game-item-continue-empty {
  width: calc(var(--game-size) * 16 / 9);
  height: calc(var(--game-size) + 32px);
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.game-thumbnail-continue {
  width: calc(var(--game-size) * 16 / 9);
  height: calc(var(--game-size));
  object-fit: cover;
}

.blur-image-continue {
  position: relative;
  overflow: hidden;
  height: 32px;
  width: 100%;
}
.blur-image-continue img {
  filter: blur(32px);
  object-fit: fill;
}

.blur-image {
  position: relative;
  height: 30px;
  width: calc(var(--game-size) * 1.1);
  overflow: hidden;
}
.blur-image img {
  filter: blur(30px);
}

.game-title-overlay-continue {
  position: absolute;
  bottom: 8px;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  color: var(--font-color);
  font-weight: bold;
  font-family: "Inter", sans-serif;
  font-size: calc(var(--font-size) * 0.8);
  width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-time-continue {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  color: var(--font-color);
  font-weight: bold;
  font-family: "Inter", sans-serif;
  font-size: calc(var(--font-size) * 0.8);
}
.time-continue {
  color: var(--font-color);
  margin: 0 3px;
}

.game-title-overlay-square {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: calc(var(--font-size) * 0.9);
  color: var(--font-color);
  font-weight: 600;
}
.empty .game-title-overlay-continue,
.empty .game-title-overlay-square {
  top: 42%;
}

.remove-game-from-most-played {
  position: absolute;
  right: 7px;
  top: 7px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  line-height: 24px;
  display: none;
  transition: background-color 0.3s ease;
  z-index: 2;
}
.remove-game-from-most-played:hover {
  background-color: var(--hover-primary-color);
}
.game-item-continue:hover .remove-game-from-most-played,
.game-item-like:hover .remove-game-from-most-played,
.game-item-my-game:hover .remove-game-from-most-played {
  display: block;
}

#confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInScaleUp 0.3s ease-out;
  z-index: 11;
}

@keyframes fadeInScaleUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#modal-content {
  color: var(--font-color);
  padding: 35px 25px;
  border-radius: 10px;
  background-color: var(--header-background-color);
  text-align: center;
  max-width: 90%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#modal-content strong {
  font-size: 18px;
  color: var(--font-color);
}

#confirm-yes,
#confirm-no {
  background-color: var(--primary-color);
  color: white;
  margin: 10px;
  padding: 12px 24px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  font-weight: bold;
}
#confirm-yes:hover,
#confirm-no:hover {
  background-color: var(--hover-primary-color);
}

.explore-games {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  scrollbar-width: none;
  width: calc(100% - 10px);
  height: calc(var(--game-size) * 1.6 + 12px);
  padding: 0 0 0px 10px;
}
.explore_games-thumbnail {
  height: calc(var(--game-size) * 1.6);
  width: calc((var(--game-size) * 1.6) * 16 / 9);
  padding: 10px 0;
}
.explore_games-thumbnail img {
  border-radius: 8px;
}

.container-explore-games .games-wrapper {
  display: grid;
  grid-template-columns: repeat(20, min-content);
  padding: 10px 10px 10px 10px;
  width: calc(100% - 20px);
  gap: 10px;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  height: calc(var(--game-size) * 1.6);
}

.container-explore-games {
  width: calc(100% - (var(--game-size) * 1.6) * 16 / 9);
  height: calc(var(--game-size) * 1.6);
  position: relative;
}

.game-item-explore {
  height: calc(var(--game-size) * 1.6 / 2 - 5px);
  width: calc((var(--game-size) * 1.6 / 2 - 5px) * 16 / 9);
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.container-games-vertical .games-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  width: calc(100% - 12px);
  height: var(--game-top-size);
  padding: 10px 10px 10px 2px;
}

.container-games-vertical {
  width: calc(100% - 10px);
  height: var(--game-top-size);
  margin: 0 0 10px 10px;
  position: relative;
}

.game-item-vertical {
  height: var(--game-top-size);
  width: calc(var(--game-top-size) * 2 / 3);
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}


.hover-item-vertical{
  height: var(--game-top-size);
  width: calc(var(--game-top-size) * 2 / 3);
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  position: absolute;
  overflow: hidden;
  background-color: #000;

  display: none;
}


.hover-item-vertical .video-preview {
  height: 37.5%;
  width: calc(var(--game-top-size) * 2 / 3);
  position: relative;

}


.hover-item-vertical .video-preview video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svg-bottom {
  height: 62.5%;
  position: relative;
  background: linear-gradient(to bottom, #6EE7B7 20%, #047857 20%);
}

.play-in-top-game {

 width: 70%;
 height: calc(var(--game-top-size) / 7.4);
 margin-top: 10px;
 background-color: #fff;
 border-radius: 100px;
 border: none;
 cursor: pointer;
 transition: all 0.3s ease;
 font-size: var(--font-size);
 font-weight: bold;
}
.play-in-top-game:hover {
 background-color: #ffffffe3;
}
.number-top {
  position: absolute;
  z-index: 4;
  background: linear-gradient(180deg, #2e8b57, #4caf50, #81c784);
  width: calc(var(--game-top-size) / 8.6);
  height: calc(var(--game-top-size) / 6.4);
  margin: 0;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: calc(var(--game-top-size) / 23);
  border-radius: 8px 0 8px;
  gap: 3px;
  top: 0%;
  left: 0%;
  transition: opacity 0.3s ease;
}

.game-item-vertical:hover .number-top {
  opacity: 0;
}

.number-top p {
  margin: 0;
  padding: 0;
}

.game-title-overlay {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--font-size);
  color: var(--font-color);
  font-weight: 600;
  z-index: 3;
  transition: bottom 0.3s ease;
}
.game-item-vertical .game-title-overlay{
    bottom: -25%;
      font-size: calc(var(--font-size) * 1.1);
}
.game-item-explore .game-title-overlay {
  font-size: calc(var(--font-size) * 0.8);
  bottom: -20%;
}
.game-item .game-title-overlay, .game-item-grid-small .game-title-overlay {
  font-size: calc(var(--font-size) * 0.9);
  bottom: -20%;
}
.game-item-single .game-title-overlay {
  font-size: calc(var(--font-size) * 0.8);
  bottom: -20%;
}

.game-item-grid-larg .game-title-overlay {
  font-size: calc(var(--font-size) * 1);
  bottom: -10%;
}


.game-item-trend:hover,
.game-item:hover,
.game-item-square:hover,
.game-item-explore:hover,
.game-item-vertical:hover,
.game-item-stream:hover,
.trending-full-game-item:hover,
.game-item-search:hover,
.game-item-archive:hover,
.game-item-single:hover,
.game-item-continue:hover,
.game-item-like:hover,
.game-item-grid:hover,
.game-item-my-game:hover {
  outline: 2px solid var(--primary-color);
}
.game-item-single:hover .shadow-game,
.game-item-vertical:hover .shadow-game,
.game-item-explore:hover .shadow-game,
.game-item:hover .shadow-game,
.game-item-grid:hover .shadow-game,
.trending-full-game-item:hover .shadow-game,
.game-item-trend:hover .shadow-game {
  opacity: 1;
}
.game-item-vertical:hover .hover-item-vertical{
  display: block;
}
.trending-full-game-item:hover .game-title-overlay {
  bottom: 7%;
}

.game-item-trend:hover .game-title-overlay {
  bottom: 7%;
}

.game-item-vertical:hover .game-title-overlay {
  bottom: 6%;
}

.game-item-explore:hover .game-title-overlay {
  bottom: 10%;
}



.game-item-grid-larg:hover .game-title-overlay {
    bottom: 5%;
}


.game-item:hover .game-title-overlay,
.game-item-grid-small:hover .game-title-overlay,
.game-item-single:hover .game-title-overlay {
  bottom: 9%;
}

.border-search-results {
  border-radius: 20px 20px 0 0;
}
#search-results {
  position: absolute;
  width: calc(100% - 20px);
  min-height: 100px;
  height: auto;
  top: 40px;
  background-color: var(--background-search-color);
  max-height: 400px;
  overflow: auto;
  padding: 10px 10px 10px 10px;
  border-radius: 0 0 20px 20px;
  display: none;
  z-index: 2;
  scrollbar-width: none;
}

.no-results-pop {
  font-weight: bold;
  color: var(--font-color);
  text-align: center;
  padding-top: 35px;
}

.search_value {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 5px;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 5px;
  width: calc(100% - 10px);
}

.search_value:hover {
  background-color: #333;
}

.search_value_img {
  height: 50px;
  width: 90px;
  border-radius: 5px;
  margin-right: 10px;
  object-fit: cover;
}

.search_value_text {
  display: flex;
  flex-direction: column;
  width: calc(100% - 115px);
}

.search_value_titel {
  height: 20px;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--font-color);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search_value_views {
  font-weight: bold;
  font-size: 14px;
  color: var(--font-text-color);
  display: flex;
  flex-direction: row;
  visibility: hidden;
}

.container-single {
  height: calc(100vh);
  width: calc(100% - var(--sidebar-width));
  display: flex;
  overflow: hidden;
  left: var(--sidebar-width);
  top: 0;
  position: absolute;
}

.container-iframe-content-single {
  height: calc(100vh - 80px);
  padding: 80px 20px 20px 20px;
  width: calc(100% - var(--related-games-size) - 20px);
  overflow: auto;
  scrollbar-width: none;
}

.iframe-bar-single {
  height: auto;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.iframe-bar-single .iframe-single {
  width: 100%;
  height: calc(
    (100vw - var(--sidebar-width) - var(--related-games-size) - 40px) * 9 / 16
  );
  max-height: 710px;
  border: none;
  background-color: var(--header-background-color);
}

.iframe-single iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: var(--header-background-color);
}

.iframe-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.iframe-image-container .iframe-image-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.disabled-iframe .iframe-image-container .iframe-image-bg, .disabled-iframe .image-game-iframe {
    filter: grayscale(100%);

}
.disabled-iframe h2{
  margin-top: 10px;
  font-size: 24px;
  color: var(--font-color);
}
.iframe-image-container .blur-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  z-index: 1;
}

.image-and-button-container-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.image-game-iframe {
  width: 280px;
  height: 157.5px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 16px;
  outline: 3px solid var(--primary-color);
}

.play-icon {
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.button-iframe {
  appearance: button;
  background-color: #2e8b57;
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-family: din-round, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 30px;
  margin: 0;
  outline: none;
  padding: 13px 16px;
  text-align: center;
  touch-action: manipulation;
  transform: translateZ(0);
  transition: filter 0.2s;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  width: 280px;
  margin-top: 30px;
  position: relative;
  align-items: center;
  justify-content: center;
}

.button-iframe:after {
  background-clip: padding-box;
  background-color: var(--primary-color);
  border: solid transparent;
  border-radius: 16px;
  border-width: 0 0 4px;
  bottom: -4px;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
  transition: background-color 0.3s ease;
}

.button-iframe:active {
  border-width: 4px 0 0;
  background: none;
}

.button-iframe:hover::after {
  background-color: #3a993f;
}

.container-iframe-content-single .bar-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  background-color: #1d1d1d7c;
  width: calc(100% - 20px);
  font-weight: 700;
  padding: 0 10px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.bar-info-blur {
  width: 100%;
  position: absolute;
  object-fit: fill;
  left: 0;
  z-index: -1;
  filter: blur(40px);
}

.container-iframe-content-single .bar-info .buttons {
  display: flex;
  align-items: center;
}
.container-iframe-content-single .bar-info .buttons button {
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  margin-left: 10px;
}
.buttons .dislike, .buttons .like{
    margin-left: 0px !important; 
}

.dislike-count{
  display: none;
   margin-right: 10px;
}
.like-count{
  display: none !important;
}
.container-iframe-content-single .bar-info .buttons .button-fullscreen{
  border-radius: 30px;
}

.container-iframe-content-single .bar-info .buttons .button-fullscreen,
.container-iframe-content-single .bar-info .buttons .like,
.container-iframe-content-single .bar-info .buttons .like-count,
.container-iframe-content-single .bar-info .buttons .like-count-p,
.container-iframe-content-single .bar-info .buttons .dislike,
.container-iframe-content-single .bar-info .buttons .button-control,
.container-iframe-content-single .bar-info .buttons .button-qrcode
{
  background-color: #ffffff0b;
  border-radius: 30px;
  width: 40px;
  height: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.buttons .likes-button-snap, .dislikes-button-snap{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;

}

.buttons .likes-button-snap:hover .like svg, .buttons .active-like .like svg{
  fill: var(--primary-color) !important;
}
.buttons .likes-button-snap:hover  {
  background-color: #59e2602d;
}
.buttons .dislikes-button-snap:hover .dislike svg , .buttons .active-dislike .dislike svg{
  fill: #af4c4c !important;
}
 .buttons .dislikes-button-snap:hover {
  background-color: #e259592d;
}



.buttons  .likes-button-snap{
  border-radius: 30px 0 0 30px;

}
.buttons  .dislikes-button-snap{
  border-radius: 0 30px 30px 0;
}

.container-iframe-content-single .bar-info .buttons .dislike{
  border-radius: 0 30px 30px 0;
  width: 50px;
}
.container-iframe-content-single .bar-info .buttons .like-count, .container-iframe-content-single .bar-info .buttons .like-count-p{
  border-radius: 0 ;
  width: auto;
  padding-right: 15px;
  border-right: 2px solid rgba(255, 255, 255, 0.098);

}
.container-iframe-content-single .bar-info .buttons .like{
  border-radius: 30px 0 0 30px;
    width: 50px;
}

.container-iframe-content-single .bar-info .buttons svg {
  display: flex;
  align-items: center;
  fill: var(--font-color);
  height: 30px;
}
/* 
.container-iframe-content-single .bar-info .buttons .count {
  margin: 0 20px 0 5px;
} */

.container-iframe-content-single .bar-info .buttons button:hover svg {
  fill: var(--primary-color);
}

.button-fullscreen:disabled svg path {
  fill: #494949;
}
.button-fullscreen:disabled svg {
  cursor: default;
}

.button-fullscreen:disabled:hover svg path {
  fill: #494949;
}

.container-control , .qrcode-container{
  position: absolute;
  height: 300px;
  width: 400px;
  bottom: 70px;
  right: 20px;
  display: none;
  flex-direction: column;
  align-items: left;
  background-color: #1d1d1d;
  font-weight: 700;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  z-index: 12;
  border-radius: 20px;
  padding: 20px !important;

  transition: bottom 0.5s ease;
}

.close-window{
  position: absolute;
  background-color: #17171766;
  right: 20px;
  color: #fff;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  width: 38px;
  height: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;

}
.close-window:hover{
  background-color: var(--hover-primary-color);
}

#qrcode canvas {
  border-radius: 8px;
  display: block; 
  margin-bottom: 5px;
}

.container-control::-webkit-scrollbar , .qrcode-container::-webkit-scrollbar {
  display: none;
}
.container-control h2 {
    font-size: 24px;
    color: var(--font-color);
    padding-bottom: 5px;

}
.qrcode-container h2 {
    font-size: 24px;
    color: var(--font-color);
    padding: 10px 0;
}
.qrcode-container p {
    color: #d6d6d6;
    font-weight: 500;
    font-size: 16px;
}

.container-control ul li {
    color: #d6d6d6;
    font-weight: 500;
    font-size: 16px;
    margin-left: 20px;
}
.container-control ul {
    margin: 7px 0px 10px 0px;
}
.container-control strong {
    color: #e3e3e3;
    font-size: 16px;
    font-weight: bold;
    line-height: 160%;
}

.container-control ul li::marker, .container-control ol li::marker, .container-control a{
    color: var(--primary-color);
    font-weight: bold;
}



.control-container-blur , .qrcode-container-blur {
    width: 100%;
    position: absolute;
    object-fit: fill;
    top: 0;
    left: 0;
    z-index: -1;
    filter: blur(140px);
}

.content-single {
  padding: 10px;
  color: var(--font-color);
  font-weight: bold;
  overflow: hidden;
  background-color: var(--header-background-color);
  margin-top: 10px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.top-game-info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-family: "Inter", sans-serif;
}

.top-game-info .image-wrapper {
  width: 116px;
  height: 65px;
  margin-right: 20px;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  overflow: hidden;
}

.top-game-info .info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.top-game-info .info-wrapper .categories a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}
.top-game-info .info-wrapper .categories a:hover {
  color: var(--hover-primary-color);
}

.top-game-info .info-wrapper .views,
.top-game-info .info-wrapper .views-word,
.top-game-info .info-wrapper .categories,
.top-game-info .info-wrapper .rating {
  margin-right: 15px;
  font-size: 15px;
  font-weight: bold;
}
.views{
  display: none;
}
.hr-single {
  border-top: 1px solid rgba(128, 128, 128, 0.753);
}

.game-description-single,
.category-description-page {
  margin: 10px;
  margin-top: -10px;
  padding: 0;
  max-width: 1200px;
  font-family: "Inter", sans-serif;
}

.game-description-single .wp-block-heading,
.category-description-page .wp-block-heading {
  margin-top: 25px;
  font-size: 18px;
  font-weight: 700;
  line-height: 120%;
  color: var(--font-color);
}

.game-description-single p,
.category-description-page p {
  color: var(--font-text-color);
  font-size: 15px;
  font-weight: 500;
  line-height: 160%;
  padding: 0 10px 0 0;
  margin: 7px 0px 10px 0px;
}

.game-description-single strong,
.category-description-page strong {
  color: var(--font-text-color);
  font-size: 15px;
  font-weight: 700;
  line-height: 160%;
}

.game-description-single ul,
.category-description-page ul {
  margin: 7px 0px 10px 0px;
}

.game-description-single ul li,
.category-description-page ul li {
  color: var(--font-text-color);
  font-weight: 500;
  font-size: 14px;
  margin-left: 20px;
}

.game-description-single ul li::marker,
.category-description-page ul li::marker,
.game-description-single ol li::marker,
.category-description-page ol li::marker,
.game-description-single a,
.category-description-page a {
  color: var(--primary-color);
}

.game-description-single .favicon-url {
  width: auto;
  height: 40px;
  display: inline-flex;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  margin: 5px 0;
  background-color: rgba(63, 63, 63, 0.3);
}

.game-description-single .favicon-url a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.game-description-single .favicon-url .blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(50px);
  z-index: -1;
}

.game-description-single .favicon-url .icon {
  width: 25px;
  height: 25px;
  z-index: 1;
  margin: 5px;
  border-radius: 50%;
  object-fit: cover;
}

.game-description-single .favicon-url span {
  margin-right: 15px;
  color: var(--font-color);
  font-size: 14px;
}

.game-description-single .favicon-url:hover {
  outline: 2px solid var(--primary-color);
}

.additional-info {
  display: flex;
  justify-content: center;
}

.info-container {
  text-align: center;
  margin: 0 20px;
  flex-direction: column;
  align-items: center;
  display: flex;
  justify-content: center;
  background-color: var(--body-background-color);
  border-radius: 8px;
  padding: 10px;
  width: calc(var(--game-size) * 1.4);
  height: calc(var(--game-size) * 0.6);
}

.info-title {
  margin-bottom: 5px;
}

.info-value {
  margin-top: 5px;
  color: var(--font-text-color);
  font-size: 13px;
}

.games-container-single {
  width: calc(var(--related-games-size) - 20px);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 80px 20px 0 0;
  padding: 75px 0px 10px 0px;
  border-radius: 8px 8px 0 0;
  background-color: var(--header-background-color);
  justify-content: center;
  align-items: center;
  position: relative;
}
.ad-1{
  background-color: #2c2c2c;
  width: 350px;
  height:270px;
  display: flex;
  justify-content: center; 
  align-items: center; 
  border-radius: 8px;
  
}
.ad-1 .ad{
  margin-left: 10px;
  background-color: #535353;
  width: 300px;
  height:250px;
}
.ad-1 .ad-title{
  color:  #ffffff;
  font-size: 12px;
  width: 40px;
  font-weight: bold;
  display: flex;
  justify-content: center; 
  align-items: center; 
  transform: rotate(90deg);

}

@media (max-width: 500px) {
  .ad-1 {
    display: none;
  }
}

.ad-2{
  background-color: #2c2c2c;
  width: 778px;
  height:110px;
  display: flex;
  justify-content: center; 
  align-items: center; 
  border-radius: 8px;
}

.ad-2 .ad{
  margin-left: 10px;
  background-color: #535353;
  width: 728px;
  height:90px;
}
.ad-2 .ad-title{
  color:  #ffffff;
  font-size: 12px;
  width: 40px;
  font-weight: bold;
  display: flex;
  justify-content: center; 
  align-items: center; 
  transform: rotate(90deg);

}

@media (max-width: 1450px) {
  .ad-2 {
    display: none;
  }
}

.iframe-ad {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 50px); /* ارتفاع ثابت لا يتغير */
  background-color: var(--header-background-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* يمنع التمدد */
  z-index: 9999;
}

.iframe-ad .ad {
  width: 800px;
  height: 400px;
  background-color: #535353;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.close-ad {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 25px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
}
.close-ad:hover {

  background: var(--hover-primary-color);

}
@media (max-width: 1550px) {
  .iframe-ad {
    display: none;
  }
}

@media (min-width: 1551px) {
  .iframe-ad {
    display: flex;
  }
}
.end-games-container-single {
  height: 1px;
  width: calc(var(--related-games-size) - 20px);
}
.games-container-single-for-you,
.games-container-single-trending {
  width: calc(var(--related-games-size) - 20px);
  gap: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.games-container-single-trending {
  display: none;
}

.buttons-related-games {
  border-radius: 8px 8px 0 0;
  width: calc(var(--related-games-size) - 44px);
  background-color: rgba(46, 46, 46, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px;
  position: fixed;
  top: 80px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}
.buttons-related-games button {
  width: calc(var(--related-game-size) - 5px);
  background-color: #1b1b1b;
  color: var(--font-color);
  cursor: pointer;
  border: none;
  height: 35px;
  margin: 5px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.buttons-related-games .active-single-btn {
  background-color: var(--primary-color);
}

.game-item-single {
  width: var(--related-game-size);
  height: calc(var(--related-game-size) * 9 / 16);
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.container-page {
  height: calc(100vh - 80px);
  width: calc(100% - var(--sidebar-width) - 40px);
  left: var(--sidebar-width);
  padding: 20px;
  padding-bottom: 0px;
  top: 60px;
  position: absolute;
}

.page-title {
  text-align: center;
  width: 100%;
  padding: 20px 0;
  border-radius: 8px 8px 0 0;
  font-size: calc(var(--font-size) * 1.7);
  background-color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.line-under-title {
  width: 100%;
  height: 10px;
  background-color: #81c784;
  margin-bottom: 20px;
  border-radius: 0 0 8px 8px;
}

.games-list-container .outer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.games-list-container .image-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 100px;
}

.games-list-container .image {
  width: 80%;
  height: auto;
}

.games-list-container .title {
  font-size: calc(var(--font-size) * 1.6);
  font-weight: 500;
  color: var(--font-color);
}

.games-list-container {
  height: calc(100vh - 100px);
  width: calc(100% - var(--sidebar-width) - 40px);
  left: var(--sidebar-width);
  padding: 20px;
  top: 60px;
  position: absolute;
}

.games-list-container .end {
  height: 20px;
}

.container-archive,
.container-search {
  width: calc(100% - var(--sidebar-width) - 40px);
  left: var(--sidebar-width);
  padding: 20px;
  top: 60px;
  position: absolute;
}

.category-name-archive {
  width: 100%;
  padding-bottom: 20px;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.category-name-archive h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 55px;
  color: var(--font-color);
  background-color: transparent;
  text-align: center;
  border-radius: 8px;
  outline: 2px solid var(--header-background-color);
  padding-right: var(--sidebar-width);
  width: 100%;
}
.dropdown-container {
  position: relative;
  width: 380px;
  margin-right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-button {
  font-size: 15px;
  font-weight: 700;
  line-height: 35px;
  color: var(--font-color);
  background-color: var(--header-background-color);
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: 2px solid var(--font-text-color);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dropdown-button:hover {
  outline: 2px solid var(--primary-color);
}

.dropdown-menu {
  position: absolute;
  width: 100%;
  left: 0;
  top: 65px;
  text-align: left;
  line-height: 55px;
  background-color: var(--header-background-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 11;
  border-radius: 8px;
  font-size: 14px;
  overflow: hidden;
  display: none;
}

.dropdown-item {
  padding-left: 10px;
  margin: 0;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: var(--primary-color);
}

.archive-games,
.search-results,
.my-likes,
.my-games {

  display: grid;
  grid-template-columns: repeat(var(--games-count-in-screen), 1fr);
  gap: 10px;
  margin-bottom: auto;
}

.search-results,
.my-likes,
.my-games {
  margin-top: 0px;
}

.game-item-archive,
.game-item-search,
.game-item-like,
.game-item-my-game {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.game-title-archive,
.game-title-search,
.game-title-like,
.game-title-my-game {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  color: var(--font-color);
  font-weight: bold;
  font-family: "Inter", sans-serif;
  font-size: calc(var(--font-size) * 0.8);
  width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-rating-archive,
.game-rating-search,
.game-rating-like,
.game-time-my-game {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  color: var(--font-color);
  font-weight: bold;
  font-family: "Inter", sans-serif;
  font-size: calc(var(--font-size) * 0.8);
}

.star-archive,
.star-search,
.star-like {
  color: var(--font-color);
  margin: 0 3px;
}

.blur-image-archive,
.blur-image-search,
.blur-image-like,
.blur-image-my-game {
  width: 100%;
  height: 34px;
  overflow: hidden;
  margin-top: -5px;
  border-radius: 0px 0px 8px 8px;
}
.blur-image-archive img,
.blur-image-search img,
.blur-image-like img,
.blur-image-my-game img {
  filter: blur(30px);
  object-fit: fill;
}

.no-results {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  text-align: center;
  border-radius: 10px;
  padding: 30px;
  margin: 0 0 20px 0;
  gap: 10px;
}

.no-results h1 {
  font-size: 23px;
  color: #333;
  font-weight: bold;
}
.no-results p {
  color: #525252;
  font-weight: bold;
  font-size: 13px;
}

.pagination-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  flex-wrap: wrap;
  background-color: var(--header-background-color);
  padding: 10px;
  width: 300px;
  border-radius: 50px;
  margin: 0 auto;
  margin-top: 20px;
  font-family: "Inter", sans-serif;
}

.pagination-prev,
.pagination-next {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 8px 16px;
  background-color: var(--primary-color);
  fill: var(--font-color);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  border-radius: 50px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-prev:hover,
.pagination-next:hover {
  background-color: #30a764;
}

.pagination-page-info {
  font-size: 16px;
  font-weight: 600;
  color: var(--font-color);
  background-color: transparent;
  border: none;
  width: 100px;
}

.disabled {
  cursor: default;
  background-color: #2e8b5636;
  fill: var(--font-text-color);
  pointer-events: none;
}

.disabled svg {
  fill: var(--font-text-color);
}

.disabled:hover {
  background-color: #2e8b5636;
  transform: none;
}

.container-single-explore {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.explore-container {
  display: flex;
  height: calc(100vh - 100px);
  width: calc(100% - var(--sidebar-width) - 40px);
  left: var(--sidebar-width);
  padding: 20px;
  top: 60px;
  position: absolute;
}

.install-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: absolute;
  top: 0;
}

.iframe-single-explore-page,
.iframe-install-page {
  width: 100%;
  height: 100%;
  background-color: black;
  overflow: hidden;
}
.iframe-single-explore-page .single-iframe-explore,
.iframe-install {
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-explore-page {
  width: calc(100% - 98px);
  height: 100%;
  background-color: black;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}
.iframe-explore-page .iframe-explore {
  width: 100%;
  height: 100%;

  border: none;
}

.container-single-explore {
  position: absolute;
  top: 0;
  height: calc(100%);
}

.info-sidebar-explore .buttons-explore button {
  margin-bottom: 15px;
}

.info-explore-page,
.info-install-page {
  position: absolute;
  width: 0px;
  height: calc(100% - 46px);
  background-color: var(--header-background-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid var(--primary-color);
  border-left: none;
  border-right: none;
  right: 120px;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.3);
  transition: width 0.3s ease;
  overflow: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
}

.info-install-page {
  height: calc(100% - 6px);
  right: 89px;
}

.info-explore-page .game-title-single,
.info-install-page .game-title-single {
  width: 360px;
  margin: 20px 20px 10px 20px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--body-background-color);
  font-size: 18px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}
.info-sidebar-explore .buttons-explore button:hover svg,
.info-sidebar-install .buttons-install button:hover svg {
  fill: var(--primary-color);
}

.info-explore-page .game-title-single:hover {
  background-color: var(--primary-color);
}
.info-explore-page .game-description-single,
.info-install-page .game-description-single {
  width: 360px;
  padding: 10px;
}

.info-sidebar-explore,
.info-sidebar-install {
  width: 98px;
  height: calc(100% - 46px);
  background-color: var(--header-background-color);
  border-radius: 0 8px 8px 0;
  border: 3px solid var(--primary-color);
  border-left: none;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.info-sidebar-install,
.iframe-install-page {
  border-radius: 0;
}

.info-sidebar-explore .image-explore,
.info-sidebar-install .image-install {
  width: 100%;
  padding: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.image-fullscreen-single {
  margin-top: 20px;
}
.info-sidebar-explore .buttons-explore,
.info-sidebar-install .buttons-install {
  text-align: center;
}

.info-sidebar-explore .buttons-explore span,
.info-sidebar-install .buttons-install span {
  color: var(--font-color);
  font-size: 14px;
  font-weight: bold;
  padding-top: 5px;
  display: inline-block;
}

.info-sidebar-explore .buttons-explore button,
.info-sidebar-explore .chnage-explore .button-chnage-explore,
.info-sidebar-install .buttons-install button {
  margin-top: 15px;
  width: 63px;
  height: 63px;
  background-color: var(--body-background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.info-sidebar-explore .buttons-explore button span,
.info-sidebar-install .buttons-install button span {
  position: absolute;
  color: var(--font-color);
  font-size: 10px;
  background-color: #272727;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index: 1;
  border-radius: 8px;
  padding: 5px 8px;
  margin-bottom: 60px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-sidebar-explore .buttons-explore button:hover span,
.info-sidebar-install .buttons-install button:hover span {
  opacity: 1;
}

.info-sidebar-explore .chnage-explore .button-chnage-explore span {
  position: absolute;
  color: var(--font-color);
  font-size: 8px;
  background-color: var(--body-background-color);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index: 1;
  border-radius: 8px;
  padding: 5px;
  margin-top: 72px;
}

.info-sidebar-explore .chnage-explore .button-chnage-explore {
  background-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.info-sidebar-explore .chnage-explore .button-chnage-explore svg {
  width: 55px;
  height: 55px;
  fill: var(--font-color);
}

.info-sidebar-explore .buttons-explore .like-explore svg,
.info-sidebar-explore .buttons-explore .dislike-explore svg,
.info-sidebar-install .buttons-install .like-install svg,
.info-sidebar-install .buttons-install .dislike-install svg {
  width: 22px;
  height: 22px;
}

.info-sidebar-explore .buttons-explore svg,
.info-sidebar-install .buttons-install svg {
  width: 30px;
  height: 30px;
  fill: var(--font-color);
}

.info-sidebar-explore .buttons-explore img,
.info-sidebar-install .buttons-install img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  outline: 3px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.fullscreen-single-install,
.fullscreen-single-explore {
  width: 60px;
  height: 60px;
  position: absolute;
  padding: 0;
  margin: -1px 0px 0px 0px !important;
  border-radius: 8px !important;
  outline: 3px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  background-color: #1111116c !important;
}

.fullscreen-single-explore {
  width: 60px;
  height: 60px;
  position: absolute;

  font-size: 28px;
  text-align: center;
  line-height: 60px;
  opacity: 0;
  transition: opacity 1s ease;
}

.fullscreen-single-explore p {
  width: 60px;
  height: 60px;
  position: absolute;

  font-size: 28px;
  text-align: center;
  line-height: 60px;
}

.fullscreen-single-explore svg {
  visibility: hidden;
}

.fullscreen-single-install:hover,
.fullscreen-single-explore:hover {
  background-color: #11111191 !important;
}
.fullscreen-single-install svg,
.fullscreen-single-explore svg {
  width: 40px !important;
  height: 40px !important;
}

.button-chnage-explore-svg {
  transition: transform 0.5s ease;
}

.live-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 60px);
  width: calc(100% - var(--sidebar-width));
  left: var(--sidebar-width);
  top: 60px;
  position: absolute;
  overflow: hidden;
}

.categories-live {
  overflow: hidden;
  overflow-x: auto;

  display: flex;
  justify-content: left;
  align-items: center;
  position: absolute;
  width: 100%;
  padding-left: 20px;
  height: 72px;
  white-space: nowrap;
  scrollbar-width: none;
  margin-bottom: 0px;
  z-index: 4;
  background-color: #121212cb;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.categories-live .game-title-live {
  display: inline-block;
  margin-right: 10px;
  padding: 10px 15px;
  background-color: var(--header-background-color);
  color: var(--font-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.categories-live .game-title-live:hover {
  background-color: var(--hover-primary-color);
}

.categories-live .game-title-live-active {
  background-color: var(--primary-color);
}

.live-container-streams {
  display: grid;
  grid-template-columns: repeat(var(--games-count-in-screen), 1fr);
  gap: 15px;
  padding: 75px 20px 20px 20px;
  width: calc(100% - 40px);
  height: auto;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  position: relative;
}

.game-item-stream {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.game-title-overlay-stream {
  color: var(--font-color);
  font-weight: bold;
  font-family: "Inter", sans-serif;
  font-size: calc(var(--font-size) * 0.8);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-streamer-and-views {
  color: var(--font-text-color);
  font-weight: 600;
  font-family: "Inter", sans-serif;
  font-size: calc(var(--font-size) * 0.8);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-thumbnail-stream-square {
  position: absolute;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  width: 40px;
  bottom: 7px;
  left: 7px;
  z-index: 2;
}

.game-title-and-streamer {
  position: absolute;
  height: 40px;
  overflow: hidden;
  width: calc(100% - 58px);
  bottom: 9px;
  left: 54px;
  z-index: 2;
  gap: 1px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
}

.blur-image-stream {
  width: 100%;
  height: 56px;
  overflow: hidden;
  margin-top: -5px;
  border-radius: 0px 0px 8px 8px;
}
.blur-image-stream img {
  filter: blur(30px) brightness(70%);
  object-fit: fill;
}

.streamer-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  height: calc(100vh - 100px);
  width: calc(100% - var(--sidebar-width) - 40px);
  left: var(--sidebar-width);
  margin: 20px;
  top: 60px;
  position: absolute;
}

.stream-container {
  width: calc(100% - 350px);
  height: 100%;
  background-color: var(--header-background-color);
  overflow: hidden;
  border-radius: 8px;
}
.stream-container .stream-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: var(--header-background-color);
}

.stream-details-and-chat {
  width: 350px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--hover-color);
}

.details-container {
  width: 100%;
  height: 110px;
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  position: relative;
}

.stream-image-and-fullscreen {
  position: relative;
  height: 70px;
  width: 70px;
  left: 20px;
  overflow: hidden;
  border-radius: 8px;
  outline: 3px solid var(--primary-color);
}
.stream-image-and-fullscreen img,
.stream-image-and-fullscreen .stream-fullscreen {
  position: absolute;
  height: 70px;
  width: 70px;
  left: 0px;
  bottom: 0;
  object-fit: cover;
}
.stream-image-and-fullscreen .stream-fullscreen {
  position: absolute;
  border: none;
  height: 70px;
  width: 70px;
  left: 0px;
  bottom: 0;
  background-color: #00000049;
  transition: background-color 0.3s ease;
  fill: var(--font-color);
  cursor: pointer;
}
.stream-image-and-fullscreen .stream-fullscreen:hover {
  background-color: #00000085;
}

.title-and-meta {
  position: relative;
  height: 70px;
  width: calc(100% - 105px);
  left: 30px;
  bottom: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  overflow: hidden;
}

.title-and-meta .stream-title {
  color: var(--font-color);
  font-weight: bold;
  font-family: "Inter", sans-serif;
  font-size: calc(var(--font-size) * 1.3);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.title-and-meta .stream-meta {
  color: var(--font-text-color);
  font-weight: 600;
  font-family: "Inter", sans-serif;
  font-size: calc(var(--font-size) * 0.8);

  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.chat-container {
  width: 100%;
  height: calc(100% - 110px);
  background-color: #331b1b;
}
.chat-container {
  background-color: #18181b;
}

.chat-container .chat-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #18181b;
  overflow: hidden;
}

.container-404 {
  height: calc(100vh - 60px);
  width: calc(100% - var(--sidebar-width) - var(--sidebar-width) - 40px);
  padding: 20px;
  left: var(--sidebar-width);
  top: 60px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.container-404 .error-text {
  font-size: calc(var(--font-size) * 14);
  font-weight: bold;
  color: #4caf50;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.5), 5px 5px 0 #2d662f;
  margin-bottom: 30px;
  font-family: monospace;
  position: relative;
  animation: arcade 2s infinite;
}

@keyframes arcade {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.container-404 .message {
  color: #fff;
  font-size: calc(var(--font-size) * 1.4);
  margin-bottom: 40px;
  opacity: 0.9;
}

.container-404 .home-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: calc(var(--font-size) * 1.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 0 #2d662f;
}

.container-404 .home-button:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #2d662f;
}

.container-404 .home-button:active {
  transform: translateY(4px);
  box-shadow: none;
}

.label-on-game {
  position: absolute;
  top: 0;
  padding: 5px;
  margin: 5px;
  border-radius: 8px;
  font-weight: 600;
  font-size: calc(var(--game-size) / 12);
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}
.game-item-single .label-on-game {
  font-size: 10.5px;
}

.game-item:hover .label-on-game,
.game-item-single:hover .label-on-game,
.game-item-trend:hover .label-on-game {
  opacity: 0;
}

.footer-container {
  width: calc(100% - 20px);
  padding: 20px 10px 10px 10px;
}
.footer-content {
  width: calc(100% - 40px);
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--header-background-color);
  padding: 20px;
}

.footer-content h1 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 120%;
  color: var(--font-color);
}
.footer-content a {
  color: var(--primary-color);
  transition: color 0.3s;
}
.footer-content a:hover {
  color: var(--hover-primary-color);
}
.footer-content p {
  color: var(--font-text-color);
  font-size: 15px;
  font-weight: 500;
  line-height: 160%;
  padding: 0 10px 0 0;
  margin: 7px 0px 10px 0px;
}

.footer-content strong {
  color: var(--font-text-color);
  font-size: 15px;
  font-weight: 700;
  line-height: 160%;
}

@media (max-width: 900px) {
  .menu-of-slid-iogamesonly {
    display: none;
  }
}
@media (max-width: 750px) {
  .log-or-title .title {
    display: none;
  }
}

@media (min-width: 0px) and (max-width: 479px) {
  :root {

    --game-trend-size: calc(0.6 * 285px);
    --game-top-size: calc(0.6 * 360px);
    --game-size: calc(0.6 * 135px);

    --font-size: 11px;
    --games-count-in-screen: 2;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  :root {
    --game-trend-size: calc(0.7 * 285px);
    --game-top-size: calc(0.7 * 360px);
    --game-size: calc(0.7 * 135px);

    --font-size: 12px;
    --games-count-in-screen: 3;
  }
}

@media (min-width: 768px) and (max-width: 1223px) {
  :root {
    --game-trend-size: calc(0.8 * 285px);
    --game-top-size: calc(0.8 * 360px);
    --game-size: calc(0.8 * 135px);

    --font-size: 13px;
    --games-count-in-screen: 3;
  }
}

@media (min-width: 1224px) and (max-width: 1599px) {
  :root {
    --game-trend-size: calc(0.9 * 285px);
    --game-top-size: calc(0.9 * 360px);
    --game-size: calc(0.9 * 135px);

    --font-size: 16px;
    --games-count-in-screen: 5;
  }
.iframe-bar-single .iframe-single {
  width: 100%;
  height: calc(
    (100vw - var(--sidebar-width) - var(--related-games-size) - 180px) * 9 / 16
  );
  max-height: 710px;
  border: none;
  background-color: var(--header-background-color);
}
}

@media (min-width: 1600px) {
}

.container-shorts {
  margin: 0 auto;
  display: flex;
  align-items: center;
  width: calc(100% - 30px);
  height: calc(100vh - 60px);
  top: 60px;
  position: fixed;
  margin-left: 30px;
}

.iframe-info-shorts {
  width: calc(calc(100vh + 60px) * 9 / 16);
  height: calc(100vh - 60px);
  margin: 0 auto;
  position: relative;
}

.arrow-shorts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: absolute;
  right: 20px;
}

.arrow-shorts button {
  background: var(--header-background-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1px 1px 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.disabled-button {
  background-color: #181818 !important;
  cursor: default !important;
}
.disabled-button svg {
  fill: #303030 !important;
}
.arrow-shorts button svg {
  fill: var(--font-color);
  width: 30px;
  height: 30px;
}

.arrow-shorts button:hover {
  background: #9292922f;
}

.iframe-buttons-shorts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  position: absolute;
}

.iframe-buttons-shorts .iframe-shorts {
  margin: 15px;
  background-color: var(--header-background-color);
  height: calc(100% - 30px);
  width: 100%;
  border-radius: 10px;
  border: none;
  z-index: 1 !important;
}

.info-iframe-buttons-shorts {
  z-index: 1 !important;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}

.info-iframe-buttons-shorts button {
  margin-top: 15px;
  width: 58px;
  height: 58px;
  background-color: var(--header-background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.info-iframe-buttons-shorts button:hover svg {
  fill: var(--primary-color);
}

.info-iframe-buttons-shorts button svg {
  width: 22px;
  height: 22px;
  fill: var(--font-color);
}
.info-iframe-buttons-shorts .about-game svg {
  width: 24px;
  height: 24px;
}
.info-iframe-buttons-shorts img {
  margin-top: 15px;
  width: 55px;
  height: 55px;
  background-color: var(--body-background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  outline: 3px solid var(--primary-color);
}

.fullscreen-shorts-single {
  position: absolute;
  display: none;
  visibility: hidden;
}

.info-iframe-buttons-shorts:hover {
  background-color: var(--hover-background-color);
}

.image-blur-shorts {
  border-radius: 10px;
  background-color: #000000;
  width: calc(calc(100vh - 200px) * 9 / 16);
  height: calc(100vh - 650px);
  margin-left: 40px;
  z-index: 0 !important;
  position: absolute;
  opacity: 0.6;
  filter: blur(100px);
}

.iframe-buttons-shorts-two,
.iframe-buttons-shorts-three {
  transform: translateY(100%);
}

.info-iframe-buttons-shorts button span {
  position: absolute;
  color: var(--font-color);
  font-size: 10px;
  background-color: #272727;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index: 1;
  border-radius: 8px;
  padding: 5px 8px;
  margin-bottom: 60px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.info-iframe-buttons-shorts button:hover span {
  opacity: 1;
}

.box-about-game-short {
  background-color: var(--header-background-color);
  color: var(--font-color);
  width: 280px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: 115px;
  margin-left: 400px;
  border-radius: 20px 20px 20px 5px;
  transition: opacity 0.3s ease-in-out;
  display: none;
}

.show-box-about {
  display: block;
}
.about-game {
  position: relative;
}

.box-about-game-short .box-name-one,
.box-about-game-short .box-name-two,
.box-about-game-short .box-name-three {
  font-size: 18px;
  font-weight: bold;
  text-align: left;
}

.box-about-game-short .line {
  border-top: 1px solid #ddd;
  padding-bottom: 10px;
  margin-top: 10px;
}

.box-about-game-short .box-description-one,
.box-about-game-short .box-description-two,
.box-about-game-short .box-description-three {
  color: var(--font-text-color);
  text-align: left;
  font-size: 14px;
  font-weight: bold;
}

@keyframes slideInFromUp {
  0% {
    transform: translateY(calc(-100% - 60px));
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slideInFromDown {
  0% {
    transform: translateY(calc(100% + 60px));
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slideOutToUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-100% - 60px));
  }
}

@keyframes slideOutToDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(100% + 60px));
  }
}

.contact-container {
  height: calc(100vh - 60px);
  width: calc(100% - var(--sidebar-width) - var(--sidebar-width));
  left: var(--sidebar-width);
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  padding: 2rem;
  width: 100%;
  max-width: 450px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.1);
}

.count .heartBeat {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--font-color);
  display: inline-block;
  animation: heartBeat 2s infinite;
  opacity: 0.5;
}
.views .heartBeat {
  color: var(--font-color);
  display: inline-block;
  animation: heartBeat 2s infinite;
  padding-right: 1px;
  opacity: 0.5;
}

.heartBeat:nth-child(1) {
  animation-delay: 0s;
}

.heartBeat:nth-child(2) {
  animation-delay: 0.3s;
}

.heartBeat:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 32px);
  object-fit: cover;
  z-index: 1;
}
.shadow-game{
    z-index: 2;
}
.game-item-single video , .game-item video, .game-item-vertical video , .game-item-explore video, .game-item-trend video, .game-item-grid video{
  height:100%;
}

.game-item-trend:hover .blur-image-trend{
    z-index: 3;
}

.bar-info .title {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bar-info .title svg {
    fill: var(--primary-color);
    width: 22px;
    height: 22px;
    margin-left: 5px;
 
}
.tooltip-verified-badge {
  position: relative;
  background-color: #30a76421;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 8px;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}


.tooltip-verified-badge::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -12px; 
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent #30a76421 transparent transparent;
}

.bar-info .title svg:hover + .tooltip-verified-badge {
  opacity: 1;
}