@font-face {
  font-family: 'Roboto';
  src: url('/fonts/Roboto_Condensed-Regular.ttf') format('ttf');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007F;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Google Sans', 'Roboto', Google Sans, sans-serif;
  text-decoration: none;
}

::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Google Sans', 'Roboto', Google Sans, sans-serif;
}

:root {
  --text_color: #000;
  --btn-rounded: 393px;
  --rounded: 15px;
  --border-color: #e6e7e8;
  /* --btn_bg: #3B82F6; */
  --btn_bg: #1877f2;
  --theme-Green: #14903e;
  /* google-style */
  --btn-text-color: #f4f4f8;
  --btn-boxShadow: 2px 2px 14px rgb(0 0 0 / 40%);
  --div-boxShadow: rgba(0, 0, 0, 0.25) 0px 12px 22px -12px;
}

img,
video {
  height: auto;
  max-width: 100%;
}

main {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  background-image: url(/assets/grid_Frame.svg);
  background-color: white;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  /* overflow-x: hidden; */
}

.bg-top {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, white, rgba(30, 31, 34, 0));
}

.bg-bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(0deg, white, rgba(30, 31, 34, 0));
}

.main_div {
  max-width: 400px;
  /* text-wrap: nowrap; */
  width: 100%;
  height: 100%;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  position: relative;
  background-color: white;
  color: var(--text_color);
  /* overflow-y: scroll; */
  /* padding: 12px 8px; */
  gap: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.pokii_game_section {
  text-align: center;
  width: 100%;
  /* padding-top: 12px; */
}

.play_btn {
  background-color: transparent;
  margin: 4px 16px 16px 16px;
  padding: 16px;
  width: 370px;
  /* box-shadow: rgba(0, 0, 0, 0.25) 0 12px 22px -12px; */
  border-radius: var(--rounded);
  border: 1px solid var(--border-color);
}

.ad-section {
  height: 280px;
}

@media (max-width: 288px) {
  .ad-section {
    height: 360px;
  }
}

.play_btn_txt {
  font-size: 16px;
  color: var(--text_color);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play_btn_txt img {
  width: 32px;
  height: 32px;
}

.redeem-coin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

#coin {
  font-weight: 600;
}

@media (max-width: 360px) {
  .play_btn_txt {
    text-wrap: wrap;
  }
}

.click_btn {
  background-color: transparent;
  padding: 10px 28px 10px 28px;
  letter-spacing: 1px;
  font-size: 14px;
  height: 42px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 600;
  border: 1px solid var(--btn_bg);
  color: #000;
  border-radius: var(--btn-rounded);
}

.play-btn {
  -webkit-transition: all 0.3s ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn svg {
  margin-left: 8px;
  height: 12.8px;
  width: 8.24px;
}

.share-btn {
  border: 1px solid var(--btn_bg);
  padding: 0px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: black;
  height: 42px;
  border-radius: var(--btn-rounded);
  gap: 5px;
}

.share-btn span {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

/* Popup background */
.share-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.share-popup.active {
  display: flex;
}

/* Popup box */
.share-popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.share-popup-content h2 {
  font-size: 20px !important;
  margin-bottom: 15px;
  font-weight: 600;
  color: #000 !important;
  text-align: center !important;
}

.close-share {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

/* Social icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.social-icons a svg {
  width: 24px;
  height: 24px;
  height: 100%;
  transition: transform 0.2s;
}

.social-icons a svg:hover {
  transform: scale(1.1);
}

.social-icons a {
  padding: 8px 10px;
  border-radius: 50%;
}

/* Link + Copy button */
#shareUrl {
  margin: 12px 0;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.text-white {
  color: white;
}

#whatsappShare {
  background-color: #25d366;
}

#facebookShare {
  background-color: #1877f2;
}

#twitterShare {
  background-color: #1da1f2;
}

#linkedinShare {
  background-color: #2d64bc;
}

#copyLinkBtn {
  background: #1877f2;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: var(--btn-rounded);
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
  -webkit-border-radius: var(--btn-rounded);
  -moz-border-radius: var(--btn-rounded);
  -ms-border-radius: var(--btn-rounded);
  -o-border-radius: var(--btn-rounded);
}

#copyLinkBtn:hover {
  background: #0f5bcc;
}

.subgame-category {
  text-align: start;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.subgame-tag {
  align-items: center;
  text-align: start;
  padding: 0px 16px;
  font-size: 16px;
  font-weight: 600;
  padding-top: 10px !important;
}

.tag-data {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 10px;
  flex-wrap: wrap;
}

.tag-data .tags {
  border: 1px solid var(--border-color);
  padding: 0px 16px;
  height: 32px;
  display: flex;
  font-weight: normal;
  align-items: center;
  text-transform: capitalize;
  border-radius: var(--btn-rounded);

}

.subgame-category span {
  font-weight: normal;
}

.toast-message {
  display: none;
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: #000;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 2px #0000001a;
  padding: 12px 10px;
  border-radius: 8px;
  font-size: 15px;
  z-index: 9999;
  max-width: 90vw;
  width: max-content;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  text-align: center;
  text-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.toast-message.show {
  display: flex;
  animation: fadeOut 3s forwards;
}

@keyframes fadeOut {

  0%,
  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    display: none;
  }
}

.play-btn:hover,
.click_btn1:hover {
  background-color: #0072d1;

  -moz-animation-duration: 2s;
  animation-duration: 2s;
}

.click_btn:hover {
  background-color: var(--btn_bg);

  -moz-animation-duration: 2s;
  animation-duration: 2s;
}

.more_game {
  width: 100%;
  margin-top: 12px;
}

.play-btn-click {
  background-color: var(--btn_bg);
  padding: 0px 18px;
  height: 42px;
  display: flex;
  align-items: center;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
  width: fit-content;
  font-weight: 600;
  color: var(--btn-text-color);
  border-radius: var(--btn-rounded);
  border: none;
  gap: 10px;
}

.play-btn-click img {
  width: 18px;
}

.click_btn_option {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  height: 42px;
  gap: 10px;
  width: 100%;
}

.click_btn_option:hover {
  color: #fff;
}

.click_btn_option:hover .cat_img {
  filter: brightness(0) invert(1);
}

.cat_img {
  width: 20px;
  height: 20px;
}

.choose_game {
  margin: 12px 16px 0 16px;
  background-color: transparent;
  padding: 16px;
  /* width: 370px; */
  width: 100%;
  border-radius: var(--rounded);
  border: 1px solid var(--border-color);
  /* box-shadow: var(--div-boxShadow); */
}

.class_flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.class_flex a {
  width: 100%;
}

.game_section {
  margin: 0px 16px 0 16px;
  border-radius: var(--rounded);
}

.img-loader,
.img-loader::after {
  right: 0;
  bottom: 0;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
}

.img-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20%;
  height: 0;
  padding-top: 20%;
}

.img-loader::after {
  content: '';
  width: 100%;
  height: 100%;
  border: 5px solid #dcdddb;
  border-top-color: #48a8ff;
  border-radius: 50%;
  -webkit-animation: 0.75s ease-out infinite loading;
  animation: 0.75s ease-out infinite loading;
  box-sizing: border-box;
}

@keyframes loading {
  0% {
    transform: rotate(0turn);
  }

  100% {
    transform: rotate(1turn);
  }
}

.loader {
  width: 14px;
  height: 14px;
  border: 2px solid #888;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.game_section1,
#search-results {
  padding: 0px 0 4px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  justify-items: center;
  max-width: 500px;
}

#show-all-wrapper {
  display: none;
  justify-content: center;
}

#show-all-btn {
  justify-content: center;
  font-size: 12px;
  color: #000;
  text-decoration: underline;
}

.resp_choose_game {
  margin-bottom: 4px;
}

.game_section2 {
  border-radius: var(--rounded);
  background-color: transparent;
  width: 100%;
  border: 1px solid var(--border-color);
  /*box-shadow: var(--div-boxShadow);
    */
  -webkit-border-radius: var(--rounded);
  -moz-border-radius: var(--rounded);
  -ms-border-radius: var(--rounded);
  -o-border-radius: var(--rounded);
}

.game_section3 {
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  height: 100%;
  width: 100%;
}

.game_section4 {
  /* display: flex; */
  position: relative;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  align-items: center;
  cursor: pointer;
  background-color: transparent;
}

.game-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.game-popup-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#gameFrame {
  width: 100%;
  height: calc(100% - 55px);
  border: none;
}


.close-btn {
  position: fixed;
  top: 20px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  padding: 8px 12px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  cursor: pointer;
}

.back-arrow {
  /* color: #3b82f6; */
  font-size: 20px;
}

.game-details {
  position: relative;
  max-height: 320px;
  overflow: hidden;
  padding: 0px 16px;
  transition: max-height 0.5s ease;
}

.game-details::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  /* height of the fade */
  background: linear-gradient(to top, white, #ffffff59);
  pointer-events: none;
  /* allows clicks to pass through */
  transition: opacity 0.3s ease;
}

/* when expanded, hide gradient */
.game-details.expanded::after {
  opacity: 0;
  visibility: hidden;
}

.game-details.expanded {
  max-height: 1000px;
}

.toggle-btn {
  background: none;
  text-decoration: underline;
  width: 100%;
  border: none;
  /* color: #007bff; */
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  padding-top: 10px;
}

.game-details h1,
.game-details h2 {
  text-align: start;
  margin-bottom: 10px;
  font-size: 22px;
  color: #0009;
}

.game-details p span {
  font-weight: 600;
}

.min-name {
  display: none;
}

@media (max-width: 400px) {
  .min-name {
    display: flex;
  }

  .max-name {
    display: none;
  }
}

.game-details p {
  text-align: start;
  color: #888;
  line-height: 22px;
}

.gamebox {
  border: 1px solid var(--border-color);
  padding: 16px 4px 12px;
  border-radius: var(--rounded);
}

.game_section_img {
  width: 100%;
  height: 100%;
  border-top-left-radius: var(--rounded);
  border-top-right-radius: var(--rounded);
}

.user-coin {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  justify-content: space-evenly;
}

.subgame-data .user-coin {
  justify-content: flex-start;
}

.liveUser {
  font-size: 12px;
  color: var(--theme-Green);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: auto;
  font-weight: 500;
}

.give-coin {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #000;
  font-size: 14px;
}

.give-coin img {
  width: 16px;
  height: 16px;
}

.ad-tag-earn {
  position: absolute;
  top: 0;
  right: -10px;
  color: #8a8e91;
  font-size: 10px;
  letter-spacing: 0px;
  text-transform: capitalize;
}

.earn-coin-btn {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
}

.earn-coin-btn button {
  cursor: pointer;
  background: var(--btn_bg);
  color: #fff;
  border: none;
  height: 42px;
  padding: 10px 0px;
  width: 100%;
  border-radius: var(--btn-rounded);
  border-color: var(--border-color);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.earn-coin-btn button img {
  width: 24px;
  height: 24px;
}

.earn-coin-btn button::before,
.earn-coin-btn button::after {
  content: '';
  position: absolute;
  cursor: pointer;
  top: 0;
  left: -150%;
  height: 100%;
  width: 10%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0) 100%);
  animation: shimmer 2s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.me-1 {
  margin-right: 4px;
}

.greenDott {
  height: 10px;
  width: 10px;
  background-color: var(--theme-Green);
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
}

.game_section5 {
  background-color: transparent;
  border-bottom-right-radius: var(--rounded);
  border-bottom-left-radius: var(--rounded);
  padding: 8px 5px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.game_section6 {
  color: var(--text_color);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

.play_btn_txt1 {
  display: flex;
  line-height: 18px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.game_section6 p {
  margin-bottom: 0px;
  text-align: center;
  color: #000000;
  text-transform: capitalize;
}

.game_section5 button {
  background-color: var(--btn_bg);
  padding: 10px 0px;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
  height: 42px;
  width: 95%;
  font-weight: 600;
  color: var(--btn-text-color);
  border-radius: var(--btn-rounded);
  margin-bottom: 4px;
  border: none;
  -webkit-border-radius: var(--btn-rounded);
  -moz-border-radius: var(--btn-rounded);
  -ms-border-radius: var(--btn-rounded);
  -o-border-radius: var(--btn-rounded);
}

.about_section {
  margin-top: 20px;
  width: 100%;
  padding: 0px 16px;
}

.about_section h1 {
  margin: auto;
  margin-bottom: 15px;
  color: #0009;
  font-size: 24px;
}

.about_section p {
  text-align: start;
  color: #888;
  font-size: 16px;
  margin-bottom: 10px;
}

footer {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 7px 16px;
  color: white !important;
}

.anchor_text {
  color: black;
}

.anchor_text:hover {
  text-decoration: underline;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-data {
  background: #fff;
  padding: 20px 20px 20px;
  border-radius: 15px;
  text-align: center;
  max-width: 370px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

.popup-data .oops-img {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
}

.popup-data .main-text {
  font-weight: bold;
  font-size: 16px;
  color: #222;
  margin: 50px 0 10px;
}

.popup-data .sub-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.watch-btn-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.watch-btn {
  background: var(--btn_bg);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: var(--btn-rounded);
  width: 100%;
  font-size: 14px;
  cursor: pointer;
  height: 42px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  /*neededforshimmer*/
  z-index: 1;
}

.watch-btn::before,
.watch-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  height: 100%;
  width: 10%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0) 100%);

  animation: shimmer 2s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

.ad-tag {
  position: absolute;
  top: 0;
  right: -15px;
  color: #000;
  font-size: 10px;
  letter-spacing: 0px;
  text-transform: capitalize;
}

.popup-data .watch-btn .play-icon {
  font-size: 18px;
}

.popup-data .skip-btn {
  margin-top: 8px;
  background: none;
  border: none;
  color: #666;
  width: fit-content;
  margin: 8px auto 0px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}

.popup-data .congrats-stars {
  width: 80px;
  margin-bottom: 10px;
}

.congrats-heading {
  font-family: 'Comic Sans MS', cursive;
  font-size: 22px;
  color: #e36414;
  margin-bottom: 8px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  max-width: 398px;
  width: 100%;
  margin: 0 auto;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

@media (max-width: 500px) {
  header {
    max-width: 500px;
  }
}

header.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.extra-s1space {
  max-width: 160px;
  width: 100%;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  font-size: 14px;
  width: 100%;
  border-radius: var(--rounded);
  background-color: #fff;
  height: 40px;
  outline: none;
  padding-left: 10px;
  border: 1px solid var(--border-color);
}

.search-icon {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border-top-right-radius: var(--rounded);
  border-bottom-right-radius: var(--rounded);
  border: 1px solid #3079ed;
  color: #fff;
  background: var(--btn_bg);
  pointer-events: none;
}

.search-icon svg {
  fill: #fff;
}

.gsc-search-box-tools .gsc-search-box .gsc-input {
  padding: 0;
}

.gsc-search-button-v2 {
  width: auto !important;
  padding: 11px 10px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

.gsc-input-box {
  padding-top: 6px;
  padding-bottom: 5px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.getapp-section {
  height: 100%;
  display: flex;
  align-items: center;
}

.getapp-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* background: var(--btn_bg); */
  color: white;
  height: 42px;
  border-radius: var(--btn-rounded);
  /* padding: 0px 16px; */
  gap: 5px;
}

.getapp-inner img {
  /* filter: brightness(0) invert(1); */
  width: 18px;
  height: 18px;
}

.getapp-inner span {
  /* margin-top: 2px; */
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

@media (max-width: 380px) {
  .getapp-inner span {
    display: none;
  }

  .getapp-inner {
    padding: 0px 10px;
  }
}

.header-class {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0px 16px;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
}

.header-logo {
  max-height: 20px;
  max-width: 108px;
  width: 100%;
  height: 100%;
}

.header-logo img {
  width: 100%;
  height: 100%;
}

.coin-won-text {
  font-size: 20px;
  color: #f7941d;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.coin-won-text .coin-img {
  width: 22px;
  height: 22px;
}

.close-icon {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #888;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  opacity: 0;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 1000;
  pointer-events: none;
}

.popup-content {
  position: relative;
  height: auto;
  border: 1px solid #888;
  color: #fff;
  border-radius: 5px;
  margin: 0 auto;
  width: 600px;
  padding: 10px;
  position: absolute;
  pointer-events: auto;
  z-index: 1001;
}

.popup {
  align-items: center;
}

.game-card {
  display: block;
  position: relative;
  overflow: hidden;
}

.main-card {
  background-color: white;
  height: 280px;

  position: relative;
  --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color),
    0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow);
}

.main-img {
  height: 222px;
  /* opacity: 0.7; */
}

.main-img::before {
  content: '';
  position: absolute;
  inset: 0;
  height: 222px;
  background-color: #ffffff87;
  z-index: 1;
}

.bottom-overlay {
  position: absolute;
  bottom: 0;
  background-color: white;
  width: 100%;
  padding: 8px 16px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.bottom-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.game-control {
  display: flex;
  gap: 14px;
  align-items: center;
}

.game-control img {
  height: 24px;
  width: 24px !important;
  cursor: pointer;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

/* Base style */
.prev-btn,
.next-btn {
  width: 48%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--btn-rounded);
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition: all 0.2s ease;
  gap: 10px;
}

.prev-btn.active,
.next-btn.active {
  /* background: #007bff; */
  color: #000;
  cursor: pointer;
  border: 1px solid var(--btn_bg);
}

.prev-btn.active:hover,
.next-btn.active:hover {
  background: var(--btn_bg);
  color: #fff;
}

.prev-btn.disabled,
.next-btn.disabled {
  background: transparent;
  color: var(--border-color);
  border: 1px solid var(--border-color);
}

.bottom-data img {
  width: 40px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.subgame-title {
  font-size: 14px;
  font-weight: 600;
  text-align: start;
}

.subgame-data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.main-img .sub-img {
  width: 100%;
  height: 222px;
  object-fit: cover;
}

.main-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  text-align: center;
  z-index: 2;
  align-items: center;
  justify-items: center;
}

.close-popup {
  outline: none;
  background-color: #ffffff;
  border: 1px solid #000;
  border-radius: 20%;
  color: #000;
  cursor: pointer;
  font-family: arial;
  font-size: 25px;
  font-weight: 700;
  height: 30px;
  line-height: 25px;
  margin-bottom: 10px;
  position: relative;
  text-align: center;
  width: 30px;
  z-index: 1003;
}

.bottom-ad {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  text-align: center;
  background-color: transparent;
  color: white;
  padding: 10px 16px 0px 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: none;
  animation: slideUp 0.5s ease-out forwards;
}

.btn1,
.click_btn1 {
  width: 100%;
}

.click_btn1 {
  background-color: var(--btn_bg);
  padding: 10px 28px 10px 28px;
  letter-spacing: 1px;
  font-size: 14px;
  height: 42px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 600;
  color: var(--btn-text-color);
  border-radius: var(--btn-rounded);
  /* box-shadow: var(--btn-boxShadow); */
  border: none;
  -webkit-border-radius: var(--btn-rounded);
}

.resp_footer {
  border-top: 1px solid #e5e7eb;
}

.resp_play_btn,
.resp_choose_game,
.resp_more_game,
.resp_about_section,
.resp_footer,
.resp_play_btn {
  display: flex;
  justify-content: center;
}

/* -------------------------------------------media----------------------------------------------- */

@media (max-width: 500px) {
  .main_div {
    min-width: 100%;
    width: 100%;
    padding: 0px;
    border: none;
  }

  main {
    background-image: none;
  }
}

/* @media(max-width:500px) and (min-width:420px) {
    .game_section1, #search-results {
        width: fit-content;
        margin: 0px auto;
    }

} */

@media (max-width: 400px) {
  /* .game_section5 button {
        padding: 10px 45px;
    } */

  .about_section {
    padding: 0 16px 16px 16px;
  }

  footer {
    padding: 7px 16px;
  }
}

/* @media(max-width:360px) {
    .game_section5 button {
        padding: 10px 35px;
    }
} */

/* @media(max-width:320px) {
    .game_section5 button {
        padding: 10px 20px;
    }
} */

@media (max-width: 280px) {
  .game_section {
    margin: 16px 12px 0 12px;
  }

  .click_btn {
    text-wrap: nowrap;
    font-size: 12px;
  }

  .click_btn1 {
    text-wrap: nowrap;
    font-size: 12px;
  }

  .class_flex {
    gap: 4px;
  }
}

@media (max-width: 346px) {
  .cat_img {
    width: 15px;
    height: 15px;
  }

  .game_section1,
  #search-results {
    gap: 0.5rem;
  }
}

@media (max-width: 450px) {
  .game_section {
    border: none;
    padding: 0;
  }

  .game_section5 button {
    text-wrap: nowrap;
  }

  .click_btn,
  .click_btn1 {
    font-size: 14px;
    text-wrap: nowrap;
  }

  .click_btn_option {
    padding: 10px 15px;
  }
}

/* @media (max-width: 500px) {
    .game_section2 {
        width: 180px;
    }
} */

@media (max-width: 420px) {

  .game_section2,
  .choose_game,
  .play_btn,
  .more_game {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .popup-content {
    width: 350px;
  }
}

@media screen and (max-width: 470px) {
  .popup-content {
    width: 100%;
  }
}

@media screen and (max-width: 386px) {
  .bottom-ad {
    width: 100%;
  }
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(100%);
  }

  to {
    transform: translateX(-50%) translateY(0);
  }
}