.main {
  position: relative;
}
/* menuMain */
.menuMain {
  padding: 0 0.5rem;
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background: var(--bg-04);
  --bg-04: rgba(0, 0, 0, 0.7);
  border: var(--border-01);
  border-radius: 0.5rem;
}
.menuMain-ul {
  list-style: none;
  display: flex;
  align-items: center;
  & li {
    display: flex;
  }
}
.menuMain-a {
  height: 100%;
  padding: 0.25rem 0.5rem;
  font-weight: 300;
  text-decoration: none;
  color: var(--col-01);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  & ion-icon {
    font-size: 1.1rem;
  }
  &:hover {
    background: var(--col-03);
  }
}
.boxAvatar {
  display: flex;
  align-items: center;
  & img {
    height: 1.5rem;
    width: 1.5rem;
    object-fit: cover;
  }
}
.wishlist {
  background: var(--col-04);
  &:hover {
    background: var(--col-03);
  }
}
.cartlist {
  --bg-06: #567340;
  background: var(--bg-06);
  &:hover {
    background: var(--col-green);
  }
}

/* Search */
.search-wrapper {
  height: 2.2rem;
  margin: 0 0.55rem;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease-in-out;
}
.search-wrapper input[type='search'] {
  background: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  color: var(--col-01);
  font-size: 0.9rem;
  width: 10rem;
  flex: 1;
}
.search-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}
.search-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px var(--col-03);
}
.search-wrapper ion-icon[name='search'] {
  color: var(--col-01);
  font-size: 1.1rem;
  margin-right: 0.4rem;
}
.clear-btn {
  display: none;
  background: none;
  border: none;
  color: var(--col-01);
  cursor: pointer;
  font-size: 1rem;
}
.clear-btn ion-icon {
  pointer-events: none;
  display: flex;
}

/* Mostra botão clear só quando há texto */
.search-wrapper input:not(:placeholder-shown) ~ .clear-btn {
  display: inline;
}
/* Remove o X padrão do Chrome/Safari */
input[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
/* Remove no Firefox (não tem cancel, mas previne) */
input[type='search']::-moz-search-clear {
  display: none;
}

/* Nav */
.sideMenu {
  width: 12rem;
  padding: 20px;
  color: var(--col-01);
  position: absolute;
  top: 2.3rem;
  left: 0;
  bottom: 0;
  overflow-y: auto;
}
.sideMenu h3 {
  margin: 1rem 0;
  padding-bottom: 5px;
  font-size: 1rem;
  color: var(--col-02);
  border-bottom: var(--border-01);
}
.sideMenu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.sideMenu li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.player-li {
  margin-bottom: 12px;
}
.sideMenu li img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--col-03);
}
.username {
  flex-grow: 1;
  font-size: 0.95rem;
}
.status {
  font-size: 1rem;
}
.status.online {
  color: var(--col-green);
}
.status.offline {
  color: var(--bg-03);
}
/* Mask */
.sM-Mark {
  & a {
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    color: var(--col-01);
    gap: 0;
    &:hover {
      font-weight: 700;
    }
  }
}
.sM-Mark_li {
  margin-bottom: 0.2rem;
}
.generos {
  margin-top: 0.25rem;
  h4 {
    margin-top: 0.75rem;
    font-size: 0.9rem;
  }

  a {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--col-02);
    &:hover {
      color: var(--col-03);
    }
  }
}
/* primary content*/
.mainContent {
  height: auto;
  width: 75%;
  margin-left: 12rem;
  padding: 3.75rem 0.25rem;
  flex-grow: 1;
  overflow-y: auto;
}
.Space-h2 {
  margin: 0.75rem 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--col-01);
}
/* Slide */
.highlightSection {
  margin-bottom: 1rem;
  padding: 1rem 0;
  color: var(--col-01);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 0.5rem;
}
.highlightCenter {
  height: 402px;
  display: flex;
}
.highlightMain img.mainBanner {
  height: 400px;
  width: 690px;
  border-radius: 0.5rem 0 0 0.5rem;
  object-fit: cover;
}
.highlightInfo {
  padding: 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-radius: 0 0.5rem 0.5rem 0;
  background: hsla(0, 0%, 100%, 0.09);
}
.highlightInfo h2 {
  font-size: 1.5rem;
}
.thumbGallery {
  margin-bottom: 0.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
}
.thumbGallery img {
  height: 110px;
  width: 210px;
  cursor: pointer;
  object-fit: cover;
  border-radius: 0.3rem;
  transition: transform 0.3s;
}
.thumbGallery img:hover {
  transform: scale(1.03);
}
.tagline {
  font-size: 1rem;
}
.tag-recommend {
  color: var(--col-green);
  font-weight: bold;
}
.highlighttags {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.highlighttag {
  padding: 0.1rem 0.5rem;
  font-size: 0.9rem;
  border-radius: 0.3rem;
  background-color: var(--col-03);
}
.priceLabel {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--col-02);
}
.carouselDots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.dot {
  width: 10px;
  height: 10px;
  background-color: #555;
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.3s;
  cursor: pointer;
}
.dot.active {
  background-color: var(--col-03);
  transform: scale(1.2);
}
/* Transição suave no banner */
.mainBanner {
  transition: opacity 0.4s ease;
  opacity: 1;
}
.mainBanner.fade-out {
  opacity: 0;
}
.mainBanner.fade-in {
  opacity: 1;
}

/* Basedgames Section */
.basedGames {
  margin: 2rem 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--bg-02);
}
.basedG-Slide {
  width: 80%;
  margin: 0 auto;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  scroll-snap-type: x mandatory;
}
.basedG-Slide::-webkit-scrollbar {
  display: none;
}
.gameCard {
  height: 8rem;
  width: 240px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  z-index: 2;
  scroll-snap-align: start;
  border-radius: 0.5rem;
  background-color: var(--bg-01);
  box-shadow: 0 0 0 1px var(--bg-03);
  transition: transform 0.3s ease;
}
.gameCard:hover {
  transform: scale(1.02);
}
.gameCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.5rem;
}
.tag {
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--col-01);
  position: absolute;
  bottom: 0.3rem;
  left: 0.3rem;
  background-color: var(--col-03);
  border-radius: 0.25rem;
}
.price {
  background-color: var(--col-green);
}
.free {
  background-color: var(--col-03);
}
.BtnArrows {
  width: 68.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  position: absolute;
  top: 35%;
}
.BtnLeftArrow,
.btnRightArrow {
  padding: 0.5rem;
  font-size: 2rem;
  color: var(--col-03);
  cursor: pointer;
  display: flex;
  cursor: pointer;
  pointer-events: all;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.BtnLeftArrow:hover,
.btnRightArrow:hover {
  background: var(--col-03);
  color: var(--bg-01);
}
.basedDots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
}
.based-Dot {
  width: 10px;
  height: 10px;
  cursor: pointer;
  background-color: var(--bg-03);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.based-DotActive {
  background-color: var(--col-03);
}
/* Censorship */
.Censorship {
  margin: 2rem 0;
  padding: 0.75rem;
  border-radius: 0.25rem;
  background: var(--col-03);
  & p {
    color: var(--bg-01);
  }
}
/* Categ Squad */
.categSection {
  margin: 1.25rem 0;
}
.categBox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}
.categCard {
  aspect-ratio: 1 / 1;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}
.categCard img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  object-fit: cover;
  filter: saturate(0.25) brightness(0.75);
  transition: filter 0.3s ease;
}
.categCard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 80%);
  transition: background 0.3s ease;
}
.categCard p {
  width: max-content;
  padding: 0.2rem 0.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--col-01);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: 0.5rem;
  background: var(--bg-01);
  transition: all 0.3s ease;
}
/* HOVER */
.categCard:hover img {
  filter: saturate(0.6) brightness(1);
}
.categCard:hover::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
}
.categCard:hover p {
  opacity: 1;
  transform: translate(-50%, -10%);
}
/* Squad Dev & Distr */
.SquadSection {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.squadSection {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.squadCard {
  width: 10rem;
  padding: 1rem;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: var(--bg-02);
  border-radius: 0.75rem;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}
.squadCard:hover {
  transform: translateY(-7px);
}
.squadCard img {
  height: 5rem;
  width: 5rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid var(--col-03);
}
.squadCard p {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--col-01);
  font-weight: 600;
}
/* Buttons */
.buttonSection {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
}
.homePageButton {
  width: 11rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--bg-01);
  border-radius: 0.5rem;
  background: var(--col-03);
  &:hover {
    color: var(--col-01);
    background: var(--col-04);
  }
}
/* Recomend |Section */
.recomendSetion {
  padding: 1rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  background: var(--bg-02);
  & .recomendSetionCenter {
    display: flex;
  }
}
.gameBox {
  min-width: 300px;
  position: relative;
  flex: 1;
  & img {
    width: 100%;
    object-fit: cover;
    border-radius: 0.3rem;
  }
}
.priceTag {
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--col-01);
  position: absolute;
  right: 0.7rem;
  bottom: 0.5rem;
  border-radius: 0.2rem;
  background: rgba(0, 0, 0, 0.8);
}
.reviewBox {
  padding: 0 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}
.reviewText {
  font-size: 0.9rem;
  color: var(--col-01);
}
.readMore {
  font-size: 0.8rem;
  text-decoration: underline;
  color: var(--col-03);
}
.reviewerInfo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.reviewerAvatar {
  height: 2rem;
  width: 2rem;
  object-fit: cover;
  border-radius: 50%;
}
.reviewerDetails {
  font-size: 0.75rem;
  color: var(--col-01);
}
.recomendDots {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.recomd-Dot {
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  border-radius: 0.2rem;
  background: var(--bg-03);
  &:hover {
    scale: 1.05;
    background: var(--col-03);
  }
}
.recomendDotsActive {
  scale: 1.05;
  background: var(--col-03);
}
/* Modal Review */
.reviewModal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 0.3s ease;
}
.reviewModal.hidden {
  display: none;
}
.reviewModalOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}
.reviewModalContent {
  background: var(--bg-01);
  color: var(--col-01);
  padding: 1.5rem;
  border-radius: 0.5rem;
  max-width: 600px;
  width: 90%;
  z-index: 1000;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
.modalCloseBtn {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: transparent;
  font-size: 1.5rem;
  color: var(--col-01);
  border: none;
  cursor: pointer;
}
.modalReviewBody {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* PopularSection */
.tabsNav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
}
.tab {
  background: transparent;
  border: none;
  color: var(--col-02);
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: color 0.2s, border-bottom 0.2s;
  position: relative;
}
.tab:hover {
  color: var(--col-01);
}
.tab.active {
  color: var(--col-01);
  font-weight: bold;
}
.tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--col-03); /* Cor de destaque */
}
.emptyState {
  width: 100%;
  padding: 2rem;
  text-align: center;
  background: var(--bg-02);
  color: var(--col-02);
  font-size: 1rem;
  border-radius: 0.5rem;
  font-style: italic;
  opacity: 0.8;
}

.popularSection {
  display: flex;
  gap: 1rem;
  background: var(--bg-01);
  border-radius: 0.5rem;
  padding: 1rem;
  color: var(--col-01);
}
.popularList {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.gameItem {
  text-decoration: none;
  display: flex;
  align-items: center;
  background: var(--bg-02);
  padding: 0.6rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
  & h4 {
    color: var(--col-01);
  }
}
.gameItem:hover {
  background: var(--bg-03);
}
.gameItem img {
  width: 8rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 0.3rem;
  margin-right: 0.75rem;
}
.gameDetails {
  flex: 1;
}
.gameDetails h4 {
  font-size: 0.95rem;
  margin: 0;
}
.gameDetails p {
  font-size: 0.7rem;
  color: var(--col-02);
}
.discountTag {
  background: var(--col-green);
  color: #000;
  padding: 0.25rem 0.5rem;
  font-weight: bold;
  border-radius: 0.3rem;
  margin-left: auto;
}
.priceBox {
  text-align: right;
  font-size: 0.75rem;
  margin-left: 1rem;
}
.oldPrice {
  text-decoration: line-through;
  color: #aaa;
  display: block;
}
.newPrice {
  color: var(--col-01);
  font-weight: bold;
}
.releaseDate {
  font-size: 0.65rem;
  color: #ccc;
  display: block;
  margin-top: 0.2rem;
}
/* Itens */
.gameHighlight {
  flex: 1;
  background: var(--bg-02);
  border-radius: 0.5rem;
  padding: 0.75rem;
}
.gameHighlight h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.rating {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}
.rating span {
  color: var(--col-green);
  font-weight: bold;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
}
.tags span {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.3rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.65rem;
}
.screenshots {
  display: grid;
  gap: 0.3rem;
}
.screenshots img {
  height: 190px;
  width: 100%;
  border-radius: 0.3rem;
  object-fit: cover;
}
