* {
  margin: 0px;
  padding: 0px;
  font-family: "Noto Sans", sans-serif;
  touch-action: manipulation;
  box-sizing: border-box;
}

html,
body {
  background-color: #fff;
}

a {
  color: white;
  text-decoration: none;
}

h2 {
  color: black;
}

.lazy-load {
  display: none;
}

.detail-main-container {
  display: flex;
  justify-content: space-between;
  margin: 30px auto 0;
  max-width: 1200px;
  padding: 0 24px;
  width: 100%;
  background-color: #fff;
}

.phone {
  display: none !important;
}

.info-developer .line {
  height: 80%;
  border-right: 1px solid #b4b4b4;
  margin: 0 30px;
}

.detail-main-container .main-container {
  width: calc(100% - 321px);
}

.detail-main-container .right-rec-container {
  width: 300px;
}

.detail-info-main-cointainer {
  width: 100%;
}

.info-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  min-height: 50px;
  margin-bottom: 15px;
  gap: 24px;
}

.info-card .info-img {
  position: relative;
  border-radius: 20px;
  height: 164px;
  width: 164px;
  overflow: hidden;
  background-color: #eee;
  flex-shrink: 0;
}

.info-card .info-img .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.info-card .info-info {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
}

.info-card .info-info .info-name {
  margin-bottom: 16px;
}

.info-card .info-info .info-name h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  color: #222;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.info-card .info-info .info-developer {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.info-card .info-info .rating-container {
  margin-bottom: 0;
}

h1 {
  font-size: unset;
}

.rating-container {
  align-items: center;
  display: flex;
}

.rating-container .start {
  margin-right: 4px;
  width: 24px;
}

.about-game {
  width: 100%;
  margin-top: 30px;
  border-radius: 10px;
}

.about-game .game-info-table {
  display: grid;
  list-style: none;
  margin: 0;
  width: 100%;
}

.about-game .game-info-table li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  height: 50px;
}

.about-game .game-info-table li .info-key {
  border-bottom: none;
  text-align: left;
  color: #222;
  font-size: 16px;
  font-weight: 600;
}

.about-game .game-info-table li .info-value {
  color: #575757;
  font-weight: 400;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.editor-review {
  width: 100%;
  margin: 36px 0;
}

.editor-review .editor-review-title {
  color: #222;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  width: 100%;
}

.editor-review .desc {
  display: block;
  white-space: pre-line;
  width: 100%;
  color: #3a3a3a;
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.16px;
}

.how-to-play {
  width: 100%;
  margin-bottom: 36px;
}

.how-to-play .how-to-play-title {
  margin-bottom: 24px;
  font-weight: 600;
  width: 100%;
  color: #222;
  font-size: 22px;
}

.how-to-play .how-to-play-info {
  display: block;
  white-space: pre-line;
  width: 100%;
  color: #3a3a3a;
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
  letter-spacing: 0.16px;
}

.download-link {
  width: 100%;
  margin-top: 30px;
}

.download-link .get-the-game-down {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.download-link .get-the-game-down .down-link-item {
  background-color: #14c72d;
  border-radius: 35px;
  height: 47px;
  width: calc(50% - 20px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.download-link .get-the-game-down .down-link-item:first-child {
  background-color: #000;
}

.download-link .get-the-game-down .down-link-item img {
  width: 20px;
  margin-right: 15px;
}

.download-link .get-the-game-down .down-link-item span {
  color: #fdfdfd;
  font-size: 18px;
  font-weight: 600;
}

.screenshots {
  width: 100%;
  margin-top: 36px;
}

.screenshots .screenshots-title {
  color: #4f4f4f;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
  margin-bottom: 26px;
}

.screenshots-title span {
  color: #222;
  font-size: 22px;
  font-weight: 600;
  width: 100%;
  margin-bottom: 26px;
}

.main-screenshots {
  width: 100%;
  position: relative;
}

#main-screenshots-content::-webkit-scrollbar {
  display: none;
}

#main-screenshots-left {
  z-index: 1;
  position: absolute;
  top: 50%;
  margin-top: -29px;
  left: 10px;
  width: 58px;
  height: 58px;
  background: #ffffff;
  box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 19l-7-7 7-7' /%3E%3C/svg%3E");
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.disabled {
  opacity: 0.6;
  pointer-events: none;
}

#main-screenshots-right {
  z-index: 1;
  position: absolute;
  top: 50%;
  margin-top: -29px;
  right: 10px;
  width: 58px;
  height: 58px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  background: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7' /%3E%3C/svg%3E");
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

#main-screenshots-content {
  display: flex;
  height: 320px;
  padding: 5px 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-screenshots-sub-container {
  display: flex;
  min-width: 100%;
}

.main-screenshots-item {
  background-color: #eee;
  border-radius: 20px;
  min-width: 100px;
  margin-right: 14px;
  height: 100%;
  flex-shrink: 0;
}

.main-screenshots-img {
  height: 100%;
  width: auto;
  border-radius: 15px;
}

.rating-histogram {
  margin-top: 36px;
  width: 100%;
}

.rating-histogram .rating-histogram-title {
  margin-bottom: 26px;
  color: #222;
  font-size: 22px;
  font-weight: 600;
  width: 100%;
}

.rating-histogram .rating-box-container {
  display: flex;
  padding-left: 0;
  width: 100%;
  height: 145px;
}

.rating-histogram .rating-box-container .rating-info {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 30px;
  font-weight: 700;
  justify-content: center;
  width: 216px;
  margin-right: 50px;
}

.rating-histogram .rating-box-container .rating-info span {
  margin-left: -10px;
  color: #585454;
  font-size: 80px;
  font-weight: 700;
}

.rating-histogram .rating-box-container .histogram-info {
  width: 605px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating-histogram .rating-box-container .histogram-info .histogram-item {
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
}

.rating-histogram .rating-box-container .histogram-info .histogram-item .histogram-item-title {
  width: 50px;
  color: #585454;
  font-size: 16px;
  font-weight: 600;
}

.rating-histogram .rating-box-container .histogram-info .histogram-item .histogram-item-bar {
  width: 100%;
  height: 10px;
  background-color: #e9e9e9;
  border-radius: 5px;
  margin: 0 20px;
  position: relative;
}

.rating-histogram .rating-box-container .histogram-info .histogram-item .histogram-item-bar .histogram-item-bar-active {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #ffc107;
  border-radius: 5px;
}

.rating-histogram .rating-box-container .histogram-info .histogram-item .histogram-item-count {
  width: 50px;
  color: #585454;
  font-size: 16px;
  font-weight: 600;
}

.featured-app {
  width: 100%;
  margin-top: 36px;
}

.featured-app .featured-app-title {
  margin-bottom: 26px;
  color: #222;
  font-size: 22px;
  font-weight: 600;
  width: 100%;
}

.featured-app .featured-app-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 20px;
}

.featured-app .featured-app-container .featured-app-item {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.featured-app .featured-app-container .featured-app-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-app .featured-app-container .featured-app-item .featured-app-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-app .featured-app-container .featured-app-item .featured-app-item-info span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 90%;
}

.right-rec-container {
  margin-top: 0;
}

.right-rec-container .top-games {
  width: 100%;
  margin-bottom: 30px;
}

.right-rec-container .top-games .top-games-title {
  margin-bottom: 26px;
  color: #222;
  font-size: 22px;
  font-weight: 600;
  width: 100%;
}

.right-rec-container .top-games .top-games-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.right-rec-container .top-games .top-games-container .top-games-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  width: 100%;
  height: 80px;
  margin-bottom: 20px;
}

.right-rec-container .top-games .top-games-container .top-games-item .top-games-item-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 20px;
}

.right-rec-container .top-games .top-games-container .top-games-item .top-games-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-rec-container .top-games .top-games-container .top-games-item .top-games-item-info {
  width: calc(100% - 100px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-rec-container .top-games .top-games-container .top-games-item .top-games-item-info .top-games-item-info-title {
  color: #222;
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.right-rec-container
  .top-games
  .top-games-container
  .top-games-item
  .top-games-item-info
  .top-games-item-info-category {
  color: #585454;
  font-size: 14px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.right-rec-container .top-games .top-games-container .top-games-item .top-games-item-info .top-games-item-info-rating {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.right-rec-container
  .top-games
  .top-games-container
  .top-games-item
  .top-games-item-info
  .top-games-item-info-rating
  .top-games-item-info-rating-star {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.right-rec-container
  .top-games
  .top-games-container
  .top-games-item
  .top-games-item-info
  .top-games-item-info-rating
  .top-games-item-info-rating-value {
  color: #585454;
  font-size: 14px;
  font-weight: 600;
}

.loader {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader div {
  width: 20px;
  height: 20px;
  background-color: #000;
  border-radius: 50%;
  margin: 0 5px;
  animation: loader 1.5s infinite ease-in-out;
}

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

.loader div:nth-child(2) {
  animation-delay: 0.5s;
}

.loader div:nth-child(3) {
  animation-delay: 1s;
}

@keyframes loader {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

.play-now-button {
  width: 100%;
  height: 50px;
  background-color: #14c72d;
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 20px;
}

.play-now-button span {
  color: #fdfdfd;
  font-size: 18px;
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 15px;
  text-align: center;
  margin-top: 50px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.footer-links a {
  color: #3b82f6;
  text-decoration: none;
  margin: 0 6px;
  font-size: 14px;
}

.language-selector {
  margin-bottom: 15px;
}

.language-selector a {
  display: inline-block;
  padding: 4px 8px;
  margin: 0 2px;
  text-decoration: none;
  color: #6b7280;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.language-selector a.active {
  background-color: #3b82f6;
  color: white;
}

.footer-copyright {
  font-size: 0.8em;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Container para anúncios na página de detalhes */
.detail-ad-container {
  width: 100%;
  max-width: 1200px;
  margin: 15px auto;
  text-align: center;
  padding: 0 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1024px) {
  .detail-main-container {
    flex-direction: column;
  }

  .detail-main-container .main-container {
    width: 100%;
  }

  .detail-main-container .right-rec-container {
    width: 100%;
    margin-top: 30px;
  }

  .rating-histogram .rating-box-container {
    flex-direction: column;
    height: auto;
  }

  .rating-histogram .rating-box-container .rating-info {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .rating-histogram .rating-box-container .histogram-info {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  /* Mobile layout for info-card - image left, info right */
  .info-card {
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px !important;
  }

  .info-card .info-img {
    width: 100px !important;
    height: 100px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  .info-card .info-info {
    width: calc(100% - 116px) !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .info-card .info-info .info-name {
    margin-bottom: 8px !important;
    text-align: left !important;
  }

  .info-card .info-info .info-name h1 {
    font-size: 20px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }

  .info-card .info-info .info-developer {
    display: flex !important;
    justify-content: flex-start !important;
    margin-bottom: 8px !important;
    gap: 12px !important;
    text-align: left !important;
  }

  .info-card .info-info .info-developer .info-developer-item {
    margin: 0 !important;
  }

  .info-card .info-info .info-developer .info-developer-item .icon {
    width: 16px !important;
    height: 16px !important;
    margin-right: 6px !important;
  }

  .info-card .info-info .info-developer .info-developer-item .number {
    font-size: 14px !important;
    color: #73777a !important;
  }

  .info-card .info-info .rating-container {
    margin-bottom: 0 !important;
    justify-content: flex-start !important;
  }

  .info-card .info-info .rating-container .start {
    width: 18px !important;
    margin-right: 2px !important;
  }

  .info-card .info-info .rating-container .rating-score {
    font-size: 16px !important;
    margin-left: 6px !important;
  }

  .info-developer .line {
    display: none !important;
  }

  /* Rest of existing mobile styles remain the same */
  .download-link .get-the-game-down {
    flex-direction: column;
  }

  .download-link .get-the-game-down .down-link-item {
    width: 100%;
    margin-bottom: 10px;
  }

  /* Enhanced mobile screenshots styles */
  #main-screenshots-content {
    height: auto;
    min-height: 180px;
    max-height: none;
    padding: 10px 0;
  }

  .main-screenshots-item {
    height: auto;
    min-height: 180px;
    max-height: 400px;
    width: auto;
    min-width: 140px;
    max-width: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-screenshots-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 350px;
    min-height: 160px;
    object-fit: contain;
    border-radius: 15px;
  }

  .featured-app .featured-app-container {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .featured-app .featured-app-container .featured-app-item {
    height: 120px;
  }
}

@media screen and (max-width: 480px) {
  .detail-main-container {
    padding: 0 15px;
  }

  .info-card .info-info .info-name h1 {
    font-size: 24px;
  }

  /* Mobile screenshots - even smaller screens */
  .main-screenshots-item {
    min-width: 120px;
    max-width: 85vw;
    min-height: 160px;
    max-height: 350px;
  }

  .main-screenshots-img {
    max-height: 300px;
    min-height: 140px;
  }

  .featured-app .featured-app-container {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-gap: 10px;
  }

  .featured-app .featured-app-container .featured-app-item {
    height: 100px;
  }

  .right-rec-container .top-games .top-games-container .top-games-item {
    height: 60px;
  }

  .right-rec-container .top-games .top-games-container .top-games-item .top-games-item-img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
  }

  .right-rec-container .top-games .top-games-container .top-games-item .top-games-item-info {
    width: calc(100% - 70px);
  }
}

.max-width-1200 {
  max-width: 1200px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center {
  text-align: center;
}

.font-bold {
  font-weight: 700;
}

.text-gray-900 {
  color: #111827;
}

.bg-white {
  background-color: #fff;
}

.border-b {
  border-bottom-width: 1px;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.header-shadow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-title-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.site-title-link:hover {
  opacity: 0.8;
}

.site-title-link h1 {
  margin: 0;
  transition: color 0.2s ease;
}

.site-title-link:hover h1 {
  color: #3b82f6;
}

.download-link .get-the-game-down .play-button {
  background-color: #007aff;
  border-radius: 35px;
  height: 55px;
  width: 100%;
  margin-bottom: 15px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download-link .get-the-game-down .play-button:hover {
  background-color: #0056cc;
}

.download-link .get-the-game-down .play-button img {
  width: 24px;
  margin-right: 15px;
}

.download-link .get-the-game-down .play-button span {
  color: #fdfdfd;
  font-size: 20px;
  font-weight: 600;
}

/* Preloader Styles */
#av-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f8f9fa;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.countdown {
  text-align: center;
}
.count-number {
  font-size: 150px;
  font-weight: 700;
  color: var(--countdown-color, #ff6b6b);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1;
}
.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Ad Container Styles */
.detail-ad-container {
  width: 100%;
  margin: 30px 0;
  text-align: center;
}

.detail-ad-container.empty {
  display: none;
}

@media screen and (max-width: 700px) {
  .detail-ad-container {
    margin: 20px 0;
  }
}

@media screen and (max-width: 768px) {
  .info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-card .info-img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }

  .info-card .info-info {
    width: 100%;
    align-items: center;
  }

  .info-card .info-info .info-developer {
    justify-content: center;
  }
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.featured-app-item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.top-games-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  width: 100%;
  height: 80px;
  margin-bottom: 20px;
}

.right-rec-container .top-games .top-games-container .top-games-item {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.featured-app .featured-app-container .featured-app-item {
  width: 100%;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
