/* Pixel product + Steam gallery + Jota-like cards */

/* store-b.css */
/* ==================== */
/* GALERIA / CARROSSEL  */
/* ==================== */
.mg-arrow {
  position: absolute;
  z-index: 10;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.mg-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.group\/gal:hover .mg-arrow {
  opacity: 1;
}

/* No touch não existe hover: mantém os controles sempre visíveis. */
@media (hover: none) {
  .mg-arrow,
  .mg-counter {
    opacity: 1;
  }
}

.mg-arrow-prev {
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.mg-arrow-next {
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.mg-zoom {
  right: 0.5rem;
  top: 0.5rem;
  width: 2rem;
  height: 2rem;
}

.mg-counter {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.6875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.group\/gal:hover .mg-counter {
  opacity: 1;
}

/* Botao de som do trailer (ele comeca mudo, como na Steam). */
.mg-sound {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mg-sound:hover {
  background: rgba(0, 0, 0, 0.85);
}

.mg-sound.is-on {
  border-color: hsl(var(--primary) / 0.6);
  background: hsl(var(--primary) / 0.85);
}

/* Os controles nativos do <video> ficam embaixo: some com o botao no hover
   para nao brigar com a barra de progresso. */
.mg-slide:hover .mg-sound {
  opacity: 0.25;
}

.mg-slide .mg-sound:hover {
  opacity: 1;
}

.mg-thumb {
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mg-thumb:hover {
  opacity: 0.9;
  border-color: hsl(var(--primary) / 0.5);
}

.mg-thumb.is-active {
  opacity: 1;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.35), 0 8px 20px -10px hsl(var(--primary) / 0.6);
}

/* Barrinha de progresso das miniaturas. */
.mg-thumbs-bar {
  display: none;
}

.mg-thumbs-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 9999px;
  background: hsl(var(--primary));
  transition: left 0.15s ease-out;
}

/* ==================== */
/* SEÇÕES DA PÁGINA DE PRODUTO */
/* ==================== */
.nv-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.25);
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.nv-section-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(150deg, hsl(var(--primary)), hsl(var(--primary) / 0.55));
  box-shadow: 0 10px 24px -12px hsl(var(--primary) / 0.9);
}

.nv-card {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.nv-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  background: rgba(0, 0, 0, 0.4);
}

.nv-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.22);
}

.nv-card-kicker {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

/* Passos numerados 01 / 02 / 03. */
.nv-step {
  position: relative;
  padding: 1.4rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}

.nv-step-icon {
  position: relative;
  width: 3rem;
  height: 3rem;
  margin: 0 auto;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.22);
}

.nv-step-num {
  position: absolute;
  top: -0.5rem;
  right: -0.6rem;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  color: lch(from hsl(var(--primary)) calc((49.44 - l) * infinity) 0 0);
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1;
}

/* FAQ e requisitos: <details> nativo, sem JS. */
.nv-faq {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.nv-faq summary,
.nv-req > summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  list-style: none;
  transition: background-color 0.2s ease;
}

.nv-faq summary::-webkit-details-marker,
.nv-req > summary::-webkit-details-marker {
  display: none;
}

.nv-faq summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.nv-req > summary {
  background: none;
  transition: none;
}

.nv-req > summary:hover {
  background: none;
}

/* Sem o brilho azul atrás do ícone dentro do painel de requisitos */
.nv-req .nv-section-icon {
  box-shadow: none;
}

.nv-faq-num {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.22);
  border-radius: 0.35rem;
  padding: 0.2rem 0.35rem;
  flex-shrink: 0;
}

.nv-faq-chevron {
  margin-left: auto;
  flex-shrink: 0;
  color: rgb(var(--muted-foreground));
  transition: transform 0.25s ease;
}

.nv-faq[open] .nv-faq-chevron,
.nv-req[open] .nv-faq-chevron {
  transform: rotate(180deg);
}

.nv-faq-body {
  padding: 0 1rem 1rem 3rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgb(var(--muted-foreground));
}

/* Requisitos: SEM efeito nenhum. O vidro do cc-panel (gradiente claro + blur) num
   painel baixo vira um clarão no canto — aqui é fundo liso, sem brilho, sem hover. */
.nv-req {
  overflow: hidden;
  background: rgba(12, 14, 20, 0.96);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.nv-req > summary {
  padding: 1.25rem 1rem;
  font-size: 1rem;
  justify-content: space-between;
  border-radius: inherit;
}

@media (min-width: 640px) {
  .nv-req > summary {
    padding: 1.5rem 2rem;
  }
}


.product-hero-area {
  position: relative;
  /* O fundo lá embaixo tem `transform: scale(1.02)` para esconder as bordas moles da
     máscara — e transform ENTRA na conta do scroll: sem este corte, a página do produto
     arrastava uns pixels para o lado no celular. `clip` (e não `hidden`) corta só na
     horizontal e não vira caixa de rolagem: o fundo continua subindo atrás da navbar. */
  overflow-x: clip;
}

.product-hero {
  position: absolute;
  top: calc(var(--px-nav-h, 5rem) * -1); /* sobe atras da navbar fixa */
  left: 0;
  right: 0;
  height: calc(var(--px-nav-h, 5rem) + 85vh);
  z-index: 0;
  overflow: hidden;
  isolation: isolate;
  pointer-events: none;
  user-select: none;

  background-image: var(--product-bg, none);
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;

  /* scale tira as bordas moles que a mascara deixaria nos cantos */
  transform: scale(1.02);
  transform-origin: center top;

  /* o coracao do efeito: a camada some no fim dela mesma */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 min(74%, 100% - 5rem),
    rgba(0, 0, 0, 0.35) 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 min(74%, 100% - 5rem),
    rgba(0, 0, 0, 0.35) 90%,
    transparent 100%
  );

  opacity: 0.85;
  transition: opacity 0.5s ease;
}

/* Enquanto a foto do jogo nao chegou, o fundo e so a capa: seguramos ela mais discreta
   para a troca nao dar um solavanco. */
.product-hero.is-loaded {
  opacity: 1;
}

/* Escurece de baixo para cima: em cima a arte aparece, embaixo vira o preto da loja. */
.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgb(var(--background) / 0.92) 0%,
    rgb(var(--background) / 0.72) 12%,
    rgb(var(--background) / 0.45) 26%,
    rgb(var(--background) / 0.25) 42%,
    rgb(var(--background) / 0.12) 60%,
    rgb(var(--background) / 0.05) 78%,
    transparent 100%
  );
}

/* Vinheta de leve: fecha os cantos e da um brilho da cor da loja no alto. */
.product-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, hsl(var(--primary) / 0.14), transparent 60%),
    radial-gradient(90% 65% at 50% 105%, rgba(0, 0, 0, 0.25) 0%, transparent 55%),
    linear-gradient(90deg, rgb(var(--background) / 0.35) 0%, transparent 12%, transparent 88%, rgb(var(--background) / 0.35) 100%);
}

/* ==================== */
/* SOBRE O JOGO (estilo Apex: título + linha + GIF Steam + texto) */
/* ==================== */
.game-about {
  max-width: 100%;
}

/* No desktop TODAS as seções abaixo do topo ocupam só a coluna da galeria, com a
   borda direita alinhada numa linha reta — fino como na Apex, não a tela toda. */
@media (min-width: 1024px) {
  .package-lower > section,
  .package-lower > details {
    max-width: calc(100% - 400px - 1.5rem);
  }
}

.game-about.is-empty {
  display: none;
}

.game-about-head {
  margin-bottom: 1.15rem;
}

/* Título compacto, com ícone, como o painel da Apex */
.game-about-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: rgba(248, 250, 252, 0.98);
}

.game-about-title-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.game-about-title-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.game-about-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.game-about-title-badge .game-about-title-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: #e3e124;
}

.game-about-rule {
  margin-top: 0.8rem;
  height: 1px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(227, 225, 36, 0.75) 0%, rgba(61, 107, 255, 0.35) 45%, rgba(255, 255, 255, 0.06) 100%);
}

.game-about-body {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.92);
}

@media (min-width: 640px) {
  .game-about-body {
    font-size: 1.05rem;
    line-height: 1.75;
  }
}

.game-about-body > p {
  margin: 0 0 1rem;
}

.game-about-body > p:last-child {
  margin-bottom: 0;
}

/* GIF / microtrailer da Steam dentro da descrição */
.game-about-gif {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #050a14;
  border: 2px solid #e3e124;
  box-shadow:
    0 0 0 1px rgba(227, 225, 36, 0.35),
    0 0 24px -8px rgba(227, 225, 36, 0.55);
}

.game-about-gif video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* GIFs animados da descrição da Steam: proporção nativa, mesma moldura */
.game-about-gif--img {
  aspect-ratio: auto;
  margin: 1.25rem 0 0;
  line-height: 0;
}

.game-about-gif--img img,
.game-about-gif--img video {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

[data-steam-desc-gifs] {
  margin-top: 0.25rem;
}

.game-about-gif__toggle {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.game-about-gif__toggle:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.65);
}

.game-about-gif__toggle svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* ===== Descrição rica da Steam (texto + legendas + mídias no lugar certo) ===== */
/* Compacta, como a Apex: coluna limitada, letra menor, legendas em negrito. */
.game-about-body--rich {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.92);
}

@media (min-width: 640px) {
  .game-about-body--rich {
    font-size: 0.9375rem;
    line-height: 1.75;
  }
}

.game-about-body--rich h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.98);
}

.game-about-body--rich h3:first-child {
  margin-top: 0;
}

.game-about-body--rich p {
  margin: 0 0 0.85rem;
}

.game-about-body--rich p:last-child {
  margin-bottom: 0;
}

.game-about-body--rich strong {
  color: rgba(248, 250, 252, 0.98);
}

.game-about-body--rich ul,
.game-about-body--rich ol {
  margin: 0.6rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.game-about-body--rich li {
  margin: 0.25rem 0;
}

/* Mídia da descrição: proporção nativa, discreta e compacta */
.game-about-media {
  display: block;
  margin: 1.1rem 0;
  line-height: 0;
  border-radius: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050a14;
}

.game-about-media img,
.game-about-media video {
  display: block;
  width: 100%;
  height: auto;
}

/* Resumo curto do catálogo quando a descrição do painel está vazia */
.game-about-summary {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.96);
}

@media (min-width: 640px) {
  .game-about-summary {
    font-size: 1.15rem;
    line-height: 1.68;
  }
}

/* ==================== */
/* PAINÉIS ESCUROS      */
/* ==================== */
.cc-panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 45%, rgba(0, 0, 0, 0.3));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
    0 18px 40px -24px rgba(0, 0, 0, 0.9);
}

/* Glow discreto só no painel de compra. */
.cc-panel-buy {
  border-color: hsl(var(--primary) / 0.22);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px hsl(var(--primary) / 0.06),
    0 24px 50px -28px hsl(var(--primary) / 0.35);
}

.cc-panel-hover {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cc-panel-hover:hover {
  border-color: hsl(var(--primary) / 0.35);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.06),
    0 20px 45px -25px hsl(var(--primary) / 0.4);
}

.game-card {
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}

.game-card-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #111111;
  border: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  transform-origin: center center;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.game-card-frame::after {
  display: none;
}

@media (hover: hover) {
  .game-card:hover,
  .game-card:focus-visible {
    z-index: 8;
  }

  .game-card:hover .game-card-frame,
  .game-card:focus-visible .game-card-frame {
    transform: translate3d(0, -3px, 0) scale3d(1.05, 1.05, 1);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  }

  /* No carrossel da home, só sobe (sem scale) pra não empurrar os vizinhos. */
  .cat-track .game-card:hover .game-card-frame,
  .cat-track .game-card:focus-visible .game-card-frame {
    transform: translate3d(0, -3px, 0);
  }
}

.game-card-media::after {
  display: none;
}

.game-card-media {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 0.75rem 0.75rem 0 0;
  background: #111111;
}

.game-card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--card-fallback, none);
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.35) brightness(0.75);
  transform: scale(1.4);
  opacity: 0.95;
}

.game-card-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: none;
  transform-origin: center center;
  transition: none;
  backface-visibility: hidden;
}

.game-card-img.is-ready {
  opacity: 1;
}

.game-card:hover .game-card-img,
.game-card:focus-visible .game-card-img,
.game-card:hover .game-card-img.is-fallback,
.game-card:focus-visible .game-card-img.is-fallback {
  transform: none;
  filter: none;
}

.game-card-img.is-fallback {
  object-fit: contain;
  padding: 0 0.35rem;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.75));
}

.game-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.75rem 0.75rem 0.8rem;
  background: #1c1c1c;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .game-card-body {
    padding: 0.9rem 0.875rem 1rem;
  }
}

/* "À vista no Pix": linha discreta embaixo do preço (Nuvem Games). */
.game-card-pix {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.game-card-title-wrap {
  min-width: 0;
  flex-shrink: 0;
  margin: 0 0 0.5rem;
  padding: 0 0 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.game-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  color: #fff;
}

.game-card-footer,
.game-card-footer.home-carousel-card__footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 0.75rem;
  margin-top: auto;
  min-width: 0;
  padding-right: 2.35rem;
}

.game-card-steam,
.game-card-steam.home-carousel-card__steam,
a.game-card .game-card-steam.home-carousel-card__steam {
  position: absolute !important;
  right: 0.7rem !important;
  bottom: 0.72rem !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
  z-index: 3 !important;
}

.game-card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

/* Linha de cima: preço antigo riscado + pílula verde de desconto (Nuvem Games). */
.game-card-price-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.game-card-off {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  flex-shrink: 0;
  padding: 0.2rem 0.46rem;
  border-radius: 9999px;
  background: rgba(227, 225, 36, 0.16);
  color: #e3e124;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.game-card-off svg {
  width: 0.68rem;
  height: 0.68rem;
  display: block;
}

.game-card-price-old {
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: line-through;
  color: #a1a1aa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-price-now {
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  white-space: nowrap;
}

.game-card-key {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.18rem;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.52);
  white-space: nowrap;
}

.game-card-key-icon {
  width: 0.82rem;
  height: 0.82rem;
  color: hsl(var(--primary));
}

/* Ícone Steam branco — visível em todos os cards, menos Game Pass / Minecraft Microsoft. */
.game-card-steam,
.game-card-steam[hidden] {
  display: inline-flex !important;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.game-card-steam svg {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
}

.game-card.is-xbox .game-card-steam {
  display: none !important;
}

@media (min-width: 640px) {
  .game-card-title-wrap {
    padding-bottom: 0.75rem;
    margin-bottom: 0.55rem;
  }

  .game-card-title {
    font-size: 1.02rem;
  }

  .game-card-off {
    font-size: 0.66rem;
    padding: 0.22rem 0.5rem;
  }

  .game-card-price-old {
    font-size: 0.8rem;
  }

  .game-card-price-now {
    font-size: 1.42rem;
  }

  .game-card-steam,
  .game-card-steam svg {
    width: 2.05rem;
    height: 2.05rem;
  }

  a.game-card .game-card-steam.home-carousel-card__steam {
    right: 0.85rem !important;
    bottom: 0.95rem !important;
  }
}

@media (min-width: 1024px) {
  .game-card-title {
    font-size: 1.08rem;
  }

  .game-card-price-old {
    font-size: 0.84rem;
  }

  .game-card-price-now {
    font-size: 1.5rem;
  }

  .game-card-steam,
  .game-card-steam svg {
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-card-frame,
  .game-card-img,
  .product-card-shine,
  .product-card-shine::after,
  .game-card-media::after {
    transition-duration: 0.01ms !important;
  }

  .game-card:hover .game-card-frame,
  .game-card:focus-visible .game-card-frame,
  .cat-track .game-card:hover .game-card-frame,
  .cat-track .game-card:focus-visible .game-card-frame {
    transform: none;
  }

  .game-card:hover .game-card-img,
  .game-card:focus-visible .game-card-img,
  .game-card:hover .game-card-img.is-fallback,
  .game-card:focus-visible .game-card-img.is-fallback {
    transform: none;
    filter: none;
  }

  .group:hover .product-card-shine::after {
    transform: translateX(-200%);
  }
}

.store-category__track .game-card:hover .game-card-frame,
.store-category__track .game-card:focus-visible .game-card-frame {
  transform: translate3d(0, -3px, 0);
}

.game-card.home-carousel-card {
  width: 100%;
  height: 100%;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}

.game-card-auto {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  max-width: calc(100% - 1rem);
  padding: 0.28rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(10,14,20,.82);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(0.35rem);
  pointer-events: none;
  transition: opacity .35s ease, transform .4s ease;
}
.game-card-auto-icon { width: .78rem; height: .78rem; color: #e3e124; }
.game-card:hover .game-card-auto,
.game-card:focus-visible .game-card-auto { opacity: 1; transform: none; }

.badge-glow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .55rem;
  border-radius: 999px;
  background: rgba(227,225,36,.16);
  color: #e3e124;
  font-size: .72rem;
  font-weight: 700;
}

/* Catálogo: visual de antes. O ícone Steam fica só no canto direito. */
.game-card-body.home-carousel-card__body {
  padding: 0.65rem 0.7rem 0.75rem !important;
  border-top: 0 !important;
}

.game-card-title-wrap {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 0 !important;
}

.game-card-title.home-carousel-card__title {
  min-height: calc(1.28em * 2);
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.28 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  -webkit-line-clamp: 2;
}

.game-card-footer.home-carousel-card__footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0.18rem !important;
  margin-top: auto;
  padding-top: 0.5rem !important;
  padding-right: 2.15rem !important;
}

.game-card-price-now,
.game-card-price-now.home-carousel-card__price {
  font-size: 1.15rem !important;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.game-card-steam,
.game-card-steam.home-carousel-card__steam,
.game-card-steam svg,
a.game-card .game-card-steam.home-carousel-card__steam {
  width: 1.7rem !important;
  height: 1.7rem !important;
}

a.game-card .game-card-steam,
a.game-card .home-carousel-card__steam,
.game-card-steam.home-carousel-card__steam {
  position: absolute !important;
  right: 0.65rem !important;
  bottom: 0.62rem !important;
  left: auto !important;
  top: auto !important;
  margin: 0 !important;
}

.game-card:hover .game-card-frame,
.game-card:focus-visible .game-card-frame,
.cat-track .game-card:hover .game-card-frame,
.cat-track .game-card:focus-visible .game-card-frame,
.store-category__track .game-card:hover .game-card-frame,
.store-category__track .game-card:focus-visible .game-card-frame {
  transform: none;
}

.game-card-auto {
  display: none !important;
}

.store-category .reveal-fade-up,
.store-category .reveal-fade-up.visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

@media (max-width: 767px) {
  .store-category .game-card-frame,
  .store-category .game-card:hover .game-card-frame,
  .store-category .game-card:active .game-card-frame,
  .store-category .game-card:focus-visible .game-card-frame,
  .store-category .game-card-img,
  .store-category .home-carousel-card__img,
  .store-category .game-card:hover .game-card-img,
  .store-category .game-card:hover .home-carousel-card__img {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
  }

  .game-card-title.home-carousel-card__title {
    font-size: 0.68rem !important;
  }

  .game-card-price-now,
  .game-card-price-now.home-carousel-card__price {
    font-size: 0.92rem !important;
  }
}

.px-about-body {
  position: relative;
}

.px-about-wrap.is-collapsed .px-about-body {
  max-height: 36rem;
  overflow: hidden;
}

.px-about-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.5rem;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(19, 19, 22, 0.55) 38%, #131316 100%);
}

.px-about-wrap.is-collapsed .px-about-fade {
  opacity: 1;
}

.px-about-jump {
  display: block;
  width: 100%;
  margin: 1.15rem 0 0.15rem;
  padding: 0.35rem 0.5rem;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
}

.px-about-jump:hover {
  color: #f5f35a;
}

.px-about-jump[hidden] {
  display: none;
}

.px-steam-key {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 1.75rem;
  margin: 0;
  padding: 0 0.6rem;
  border-radius: 0;
  background: linear-gradient(180deg, #f5f35a 0%, #e3e124 100%);
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
  box-shadow: none;
  pointer-events: none;
  transform: none;
}

.px-steam-key svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
  flex: none;
}

.game-card.is-xbox .px-steam-key {
  display: none !important;
}
