/* Hero home — acento #8ec5ff */
.hero-steam {
  --hero-accent: #8ec5ff;
}

.hero-steam-shell {
  min-height: 14rem;
  background: transparent;
}

/* ——— Home ——— */
.hero-steam--home {
  --hero-home-accent: #8ec5ff;
  --hero-home-copy-max: 30rem;
  --hero-card-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-cards-stage-h: 480px;
  --hero-cards-wrap-w: min(50rem, 100%);
  --hero-prelabel-space: 2.75rem;
  --hero-games-pad-top: 0.25rem;
  /* Limite inferior dos cards exemplares (prelabel + stage) */
  --hero-cards-stack-bottom: calc(
    var(--hero-games-pad-top) + var(--hero-prelabel-space) + var(--hero-cards-stage-h)
  );
  overflow: visible;
}

.hero-steam--home::before,
.hero-steam--home::after {
  content: '';
  display: none;
}

.hero-steam--home .hero-steam-shell--home {
  min-height: 18rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-steam--home .hero-steam-shell--home::before {
  display: none;
}

.hero-steam--home .hero-home-grid {
  padding: 0.25rem 0;
}

@media (min-width: 1024px) {
  .hero-steam--home .hero-home-grid {
    align-items: center;
  }

  /* Centraliza o texto com o leque de cards (ignora o prelabel acima dos cards) */
  .hero-steam--home .hero-home-copy {
    padding-top: calc(var(--hero-prelabel-space, 2.75rem) * 0.45);
  }

  .hero-steam--home .hero-home-games {
    justify-content: center;
  }
}

.hero-steam--home .hero-home-copy {
  max-width: var(--hero-home-copy-max);
  gap: 0.65rem;
}

.hero-steam--home .hero-home-badges {
  margin-bottom: 0.125rem;
}

.hero-steam--home .hero-home-badges--mobile-top {
  display: none;
}

.hero-steam--home .hero-inset-badge {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.38rem 0.72rem;
}

/* Desktop: badges “Steam Keys” / “Entrega imediata” — sem contorno nem slide */
@media (min-width: 1024px) {
  .hero-steam--home .hero-home-badges--copy .hero-inset-badge,
  .hero-steam--home .hero-home-badges--copy .hero-inset-badge--muted {
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .hero-steam--home .hero-home-badges--copy .hero-inset-badge::after {
    content: none;
    display: none;
  }
}

@media (min-width: 1024px) and (hover: hover) {
  .hero-steam--home .hero-home-badges--copy .hero-inset-badge:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
  }

  .hero-steam--home .hero-home-badges--copy .hero-inset-badge:hover::after {
    opacity: 0;
    transform: none;
  }

  .hero-steam--home .hero-home-badges--copy .hero-inset-badge:hover svg {
    transform: none;
    filter: none;
  }
}

.hero-steam--home .hero-home-title {
  margin: 0;
  max-width: var(--hero-home-copy-max);
  font-size: clamp(1.75rem, 4.2vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  min-height: 2.4em;
}

.hero-typewriter {
  display: inline;
  white-space: pre-wrap;
  word-break: break-word;
}

.hero-typewriter__caret {
  display: inline-block;
  width: 0.08em;
  height: 0.95em;
  margin-left: 0.08em;
  background: #8ec5ff;
  vertical-align: -0.12em;
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(142, 197, 255, 0.65);
  animation: heroTypewriterCaret 0.95s steps(1, end) infinite;
}

@keyframes heroTypewriterCaret {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.hero-steam--home .hero-home-desc {
  margin: 0;
  width: 100%;
  max-width: var(--hero-home-copy-max);
  padding: 0 !important;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(228, 228, 231, 0.92) !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ——— Barra de confiança: ajuste de posição (edite só estas variáveis) ———
   --hero-trust-shift-x   → + puxa pra direita · − puxa pra esquerda
   --hero-trust-shift-y   → + desce · − sobe
   --hero-trust-pad-left  → recuo interno à esquerda
   --hero-trust-pad-right → recuo interno à direita
   --hero-trust-gap       → espaço entre as 3 colunas
   --hero-trust-col-1/2/3 → largura relativa de cada bloco (1 = padrão)
*/
.hero-steam--home .hero-home-trust {
  --hero-trust-shift-x: -1rem;
  --hero-trust-shift-y: 0rem;
  --hero-trust-pad-left: 0rem;
  --hero-trust-pad-right: 0rem;
  --hero-trust-gap: 0rem;
  --hero-trust-col-1: 1;
  --hero-trust-col-2: 1;
  --hero-trust-col-3: 1.08;
  max-width: var(--hero-home-copy-max);
  width: 100%;
  /* margin-left (not transform) on purpose: the platform's hero load-in animation
     drives this element's `transform` inline, which was clobbering a transform-based
     shift here and causing it to visibly jump into place once that animation ended. */
  margin-left: var(--hero-trust-shift-x);
  transform: translateY(var(--hero-trust-shift-y));
  padding-left: var(--hero-trust-pad-left);
  padding-right: var(--hero-trust-pad-right);
}

/* Barra de confiança — linhas sup/inf; fade leve só à esquerda (direita legível) */
.hero-trust-bar {
  --hero-trust-fade-left: 5%;
  --hero-trust-fade-right: 0%;
  --hero-trust-line: rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--hero-trust-gap, 0);
  width: 100%;
  border: none;
  background-color: transparent;
  background-image:
    linear-gradient(
      to right,
      transparent 0%,
      var(--hero-trust-line) 6%,
      var(--hero-trust-line) 98%,
      transparent 100%
    ),
    linear-gradient(
      to right,
      transparent 0%,
      var(--hero-trust-line) 6%,
      var(--hero-trust-line) 98%,
      transparent 100%
    );
  background-size: 100% 1px;
  background-position: top center, bottom center;
  background-repeat: no-repeat;
  box-shadow: none;
  outline: none;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 var(--hero-trust-fade-left),
    #000 calc(100% - var(--hero-trust-fade-right)),
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 var(--hero-trust-fade-left),
    #000 calc(100% - var(--hero-trust-fade-right)),
    #000 100%
  );
}

.hero-trust-bar__item,
.hero-trust-bar__divider {
  position: relative;
}

.hero-trust-bar__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 0.5rem;
  min-width: 0;
}

.hero-trust-bar__item--feedbacks {
  flex: var(--hero-trust-col-1, 1);
}

.hero-trust-bar__item--clients {
  flex: var(--hero-trust-col-2, 1);
}

.hero-trust-bar__item--orders {
  flex: var(--hero-trust-col-3, 1);
  padding-right: 0.15rem;
}

.hero-trust-bar__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-trust-bar__icon {
  width: 0.9rem;
  height: 0.9rem;
  color: #8ec5ff;
  fill: #8ec5ff;
  stroke: #8ec5ff;
  stroke-width: 1.5;
}

.hero-trust-bar__icon path:nth-child(2) {
  stroke: rgb(var(--background));
  stroke-width: 2.5;
  fill: none;
}

.hero-trust-bar__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
}

.hero-trust-bar__value {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  color: #fafafa;
  white-space: nowrap;
}

.hero-trust-bar__value strong {
  font-weight: 700;
  color: inherit;
}

.hero-trust-bar__label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  color: rgba(161, 161, 170, 0.95);
  white-space: nowrap;
}

.hero-trust-bar__item--orders .hero-trust-bar__text {
  align-items: flex-start;
}

.hero-trust-bar__divider {
  display: none;
}

.hero-steam--home .hero-home-actions {
  max-width: var(--hero-home-copy-max);
  padding-top: 0.15rem;
}

@media (min-width: 640px) {
  .hero-steam--home .hero-home-actions,
  .hero-solicit .hero-solicit-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    align-items: stretch;
  }

  .hero-steam--home .hero-home-actions .hero-secondary-btn,
  .hero-solicit .hero-solicit-actions .hero-secondary-btn {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center;
    text-align: center;
  }
}

.hero-steam--home .hero-home-btn-ghost,
.hero-solicit .hero-solicit-btn-ghost {
  min-height: 2.65rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-steam--home .hero-home-btn-primary,
.hero-solicit .hero-solicit-btn-primary {
  min-height: 2.65rem;
  padding-left: 1rem;
  padding-right: 1.1rem;
  font-size: 0.8125rem;
  justify-content: center;
  text-align: center;
}

.hero-steam--home .hero-home-btn-primary[href='/solicitacoes'],
.hero-solicit .hero-solicit-btn-primary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(15, 23, 42, 0.12),
    0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-steam--home .hero-home-btn-primary span {
  text-wrap: balance;
}

.hero-steam--home .hero-home-contact {
  margin-top: 0.15rem;
}

.hero-steam--home .hero-home-games {
  min-height: var(--hero-cards-stage-h);
  padding-top: 0.25rem;
}

.hero-steam--home .hero-home-prelabel {
  margin-top: 0;
  padding-right: 0.15rem;
}

/* ——— Hero card stack (leque) ——— */
.hero-cards-wrap {
  width: 100%;
  max-width: var(--hero-cards-wrap-w);
}

.hero-cards-stage {
  position: relative;
  height: var(--hero-cards-stage-h);
  width: 100%;
}

.hero-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.45s var(--hero-card-ease),
    box-shadow 0.45s ease,
    opacity 0.5s ease;
  will-change: transform;
  cursor: pointer;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--hero-card-ease);
}

@media (hover: hover) {
  .hero-card:hover img {
    transform: scale(1.08);
  }
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, transparent 60%);
  pointer-events: none;
}

.hero-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-card-badge {
  display: inline-flex;
  width: fit-content;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #8ec5ff;
  color: #020617;
  border-radius: 4px;
  padding: 2px 7px;
  margin-bottom: 2px;
}

.hero-card-name {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.25;
}

.hero-card-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin-top: 2px;
}

.hero-card-price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.2;
}

.hero-card-price--site {
  font-size: 0.95rem;
  font-weight: 800;
  color: #86efac;
}

.hero-card-price--steam {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(161, 161, 170, 0.88);
  text-decoration: line-through;
  text-decoration-color: rgba(248, 113, 113, 0.55);
}

.hero-card-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  background: rgba(8, 28, 56, 0.75);
  border: 1px solid rgba(142, 197, 255, 0.45);
  border-radius: 9999px;
  padding: 3px 9px;
  color: #8ec5ff;
  width: fit-content;
  margin-top: 4px;
  pointer-events: auto;
}

.hero-card--center {
  width: 310px;
  height: 455px;
  border-radius: 22px;
  z-index: 5;
  transform: translate(-50%, -50%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 80px rgba(142, 197, 255, 0.15);
}

@media (hover: hover) {
  .hero-card--center:hover {
    transform: translate(-50%, calc(-50% - 12px)) scale(1.04);
    box-shadow:
      0 36px 80px rgba(0, 0, 0, 0.65),
      0 0 0 1px rgba(255, 255, 255, 0.13),
      0 0 100px rgba(142, 197, 255, 0.28);
  }
}

.hero-card--center .hero-card-name {
  font-size: 0.82rem;
}

.hero-card--left {
  width: 255px;
  height: 375px;
  border-radius: 18px;
  opacity: 0.7;
  z-index: 2;
  transform: translate(calc(-50% - 168px), -50%) rotate(-8deg) scale(0.93);
}

.hero-card--left .hero-card-price--site,
.hero-card--right .hero-card-price--site {
  font-size: 0.82rem;
}

.hero-card--left .hero-card-price--steam,
.hero-card--right .hero-card-price--steam {
  font-size: 0.65rem;
}

.hero-card--left .hero-card-type,
.hero-card--right .hero-card-type {
  font-size: 0.56rem;
  padding: 2px 7px;
  margin-top: 3px;
}

.hero-card--right {
  width: 255px;
  height: 375px;
  border-radius: 18px;
  opacity: 0.7;
  z-index: 2;
  transform: translate(calc(-50% + 168px), -50%) rotate(8deg) scale(0.93);
}

@media (hover: hover) {
  .hero-card--left:hover {
    transform: translate(calc(-50% - 252px), calc(-50% - 14px)) rotate(-15deg) scale(0.93);
    opacity: 0.95;
  }

  .hero-card--right:hover {
    transform: translate(calc(-50% + 252px), calc(-50% - 14px)) rotate(15deg) scale(0.93);
    opacity: 0.95;
  }
}

@media (min-width: 1024px) {
  .hero-steam--home .hero-home-copy {
    gap: 0.75rem;
  }

  .hero-steam--home .hero-home-title {
    font-size: clamp(2rem, 2.35vw, 2.625rem);
  }
}

@media (min-width: 1280px) {
  .hero-steam--home .hero-home-grid {
    gap: 2.5rem;
  }
}

.hero-mini-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.62rem;
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #d4d4d8;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(142, 197, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.22s ease;
}

.hero-mini-pill > * {
  position: relative;
  z-index: 1;
}

.hero-mini-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(142, 197, 255, 0.22) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-130%);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.2s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .hero-mini-pill:hover {
    border-color: rgba(142, 197, 255, 0.55);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(0, 0, 0, 0.35),
      0 0 22px -2px rgba(142, 197, 255, 0.28);
    transform: translateY(-1px);
  }

  .hero-mini-pill:hover::after {
    opacity: 1;
    transform: translateX(130%);
  }

  .hero-mini-pill:hover svg {
    transform: scale(1.12);
    filter: drop-shadow(0 0 8px rgba(142, 197, 255, 0.55));
  }
}

.hero-mini-pill svg {
  flex-shrink: 0;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.hero-secondary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e4e4e7;
  text-decoration: none;
  background: rgba(24, 24, 27, 0.92);
  border: 1px solid rgba(142, 197, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 8px 28px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.22s ease, box-shadow 0.25s ease;
}

.hero-secondary-btn > * {
  position: relative;
  z-index: 1;
}

.hero-secondary-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 38%,
    rgba(142, 197, 255, 0.18) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-130%);
  opacity: 0;
  transition:
    transform 0.65s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.2s ease;
  pointer-events: none;
}

.hero-secondary-btn:hover:not([href='/feedbacks']):not([href='/solicitacoes']):not(.hero-solicit-btn-primary):not(.hero-solicit-btn-ghost) {
  border-color: rgba(142, 197, 255, 0.5);
  background: rgba(var(--muted-solid), 0.95);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 24px -4px rgba(142, 197, 255, 0.22);
}

.hero-secondary-btn[href="/solicitacoes"],
.hero-secondary-btn.hero-solicit-btn-primary {
  background: #8ec5ff;
  border-color: transparent;
  color: #020617;
  transform-origin: center;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.5, 0.64, 1),
    background 0.25s ease,
    box-shadow 0.3s ease,
    border-color 0.25s ease,
    filter 0.3s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -1px 0 rgba(15, 23, 42, 0.12),
    0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Home — Avaliações e Solicite: gradiente + glow + shimmer (ícone simples, sem glass) */
.hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks'],
.hero-steam--home .hero-home-btn-ghost.hero-secondary-btn--white.hero-secondary-btn[href='/feedbacks'] {
  background: linear-gradient(135deg, #e4e4e7 0%, #ffffff 50%, #e4e4e7 100%) !important;
  border-color: transparent !important;
  color: #09090b !important;
  transform-origin: center;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.5, 0.64, 1),
    box-shadow 0.3s ease,
    filter 0.3s ease,
    background 0.3s ease,
    border-color 0.25s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(9, 9, 11, 0.1),
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(255, 255, 255, 0.32) !important;
}

.hero-steam--home .hero-home-btn-primary.hero-secondary-btn[href='/solicitacoes'] {
  background: linear-gradient(135deg, #8ec5ff 0%, #b8dcff 50%, #8ec5ff 100%) !important;
  border-color: transparent !important;
  color: #020617 !important;
  transform-origin: center;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.5, 0.64, 1),
    box-shadow 0.3s ease,
    filter 0.3s ease,
    background 0.3s ease,
    border-color 0.25s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(15, 23, 42, 0.14),
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 0 18px rgba(142, 197, 255, 0.3) !important;
}

.hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks'] svg,
.hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks'] i,
.hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks'] .lucide,
.hero-steam--home .hero-home-btn-ghost.hero-secondary-btn--white.hero-secondary-btn[href='/feedbacks'] svg,
.hero-steam--home .hero-home-btn-ghost.hero-secondary-btn--white.hero-secondary-btn[href='/feedbacks'] i,
.hero-steam--home .hero-home-btn-ghost.hero-secondary-btn--white.hero-secondary-btn[href='/feedbacks'] .lucide {
  color: #09090b !important;
}

.hero-secondary-btn.hero-solicit-btn-primary::after,
.hero-secondary-btn.hero-solicit-btn-ghost::after {
  display: none !important;
}

.hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks']::after,
.hero-steam--home .hero-home-btn-primary.hero-secondary-btn[href='/solicitacoes']::after {
  display: block !important;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 62%,
    transparent 100%
  );
}

/* Outras páginas — ghost sem shimmer extra */
.hero-solicit .hero-solicit-btn-ghost.hero-secondary-btn {
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.55, 0.64, 1),
    background 0.25s ease,
    box-shadow 0.3s ease,
    border-color 0.25s ease;
}

.hero-secondary-btn[href="/solicitacoes"] svg,
.hero-secondary-btn[href="/solicitacoes"] i,
.hero-secondary-btn[href="/solicitacoes"] .lucide,
.hero-secondary-btn.hero-solicit-btn-primary svg,
.hero-secondary-btn.hero-solicit-btn-primary i,
.hero-secondary-btn.hero-solicit-btn-primary .lucide {
  color: #020617;
}

@media (hover: hover) {
  .hero-secondary-btn:hover:not([href='/feedbacks']):not([href='/solicitacoes']):not(.hero-solicit-btn-primary):not(.hero-solicit-btn-ghost)::after {
    opacity: 1;
    transform: translateX(130%);
  }

  .hero-secondary-btn:hover:not([href='/feedbacks']):not([href='/solicitacoes']):not(.hero-solicit-btn-primary):not(.hero-solicit-btn-ghost) svg {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(142, 197, 255, 0.42));
  }

  .hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks']:hover,
  .hero-secondary-btn[href='/feedbacks']:hover:not(.hero-home-btn-ghost),
  .hero-solicit .hero-solicit-btn-ghost.hero-secondary-btn--white:hover {
    transform: scale(1.025) translateY(-2px);
    filter: brightness(1.03);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      inset 0 -1px 0 rgba(9, 9, 11, 0.12),
      0 12px 34px rgba(0, 0, 0, 0.42),
      0 0 28px rgba(255, 255, 255, 0.78),
      0 0 60px rgba(255, 255, 255, 0.32) !important;
  }

  .hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks']:hover::after {
    opacity: 1;
    transform: translateX(130%);
  }

  .hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks']:hover svg,
  .hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks']:hover i,
  .hero-steam--home .hero-home-btn-ghost.hero-secondary-btn[href='/feedbacks']:hover .lucide,
  .hero-secondary-btn[href='/feedbacks']:hover:not(.hero-home-btn-ghost) svg,
  .hero-secondary-btn[href='/feedbacks']:hover:not(.hero-home-btn-ghost) i,
  .hero-solicit .hero-solicit-btn-ghost.hero-secondary-btn--white:hover svg,
  .hero-solicit .hero-solicit-btn-ghost.hero-secondary-btn--white:hover i,
  .hero-solicit .hero-solicit-btn-ghost.hero-secondary-btn--white:hover .lucide {
    transform: scale(1.12) rotate(-6deg);
    filter: none;
    color: #09090b;
  }

  .hero-steam--home .hero-home-btn-primary.hero-secondary-btn[href='/solicitacoes']:hover,
  .hero-secondary-btn[href='/solicitacoes']:hover:not(.hero-home-btn-primary),
  .hero-solicit .hero-solicit-btn-primary:hover {
    transform: scale(1.025) translateY(-2px);
    filter: brightness(1.03);
    color: #020617 !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      inset 0 -1px 0 rgba(15, 23, 42, 0.14),
      0 12px 34px rgba(0, 0, 0, 0.42),
      0 0 28px rgba(142, 197, 255, 0.62),
      0 0 60px rgba(142, 197, 255, 0.3) !important;
  }

  .hero-steam--home .hero-home-btn-primary.hero-secondary-btn[href='/solicitacoes']:hover::after {
    opacity: 1;
    transform: translateX(130%);
  }

  .hero-steam--home .hero-home-btn-primary.hero-secondary-btn[href='/solicitacoes']:hover svg,
  .hero-steam--home .hero-home-btn-primary.hero-secondary-btn[href='/solicitacoes']:hover i,
  .hero-steam--home .hero-home-btn-primary.hero-secondary-btn[href='/solicitacoes']:hover .lucide,
  .hero-secondary-btn[href='/solicitacoes']:hover:not(.hero-home-btn-primary) svg,
  .hero-secondary-btn[href='/solicitacoes']:hover:not(.hero-home-btn-primary) i,
  .hero-solicit .hero-solicit-btn-primary:hover svg,
  .hero-solicit .hero-solicit-btn-primary:hover i,
  .hero-solicit .hero-solicit-btn-primary:hover .lucide {
    transform: scale(1.12) rotate(-6deg);
    filter: none;
    color: #020617;
  }
}

.hero-secondary-btn[href='/feedbacks']:active,
.hero-secondary-btn[href='/solicitacoes']:active,
.hero-steam--home .hero-home-actions .hero-secondary-btn:active,
.hero-solicit .hero-solicit-actions .hero-secondary-btn:active,
.hero-solicit .hero-solicit-btn-ghost:active,
.hero-solicit .hero-solicit-btn-primary:active {
  transform: scale(0.965) translateY(0) !important;
  transition-duration: 0.1s;
  transition-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

@media (hover: hover) {
  .hero-secondary-btn[href='/feedbacks']:hover:active,
  .hero-steam--home .hero-home-actions .hero-secondary-btn:hover:active,
  .hero-solicit .hero-solicit-actions .hero-secondary-btn:hover:active,
  .hero-secondary-btn[href='/solicitacoes']:hover:active,
  .hero-solicit .hero-solicit-btn-ghost.hero-secondary-btn--white:hover:active,
  .hero-solicit .hero-solicit-btn-primary:hover:active {
    transform: scale(0.965) translateY(0) !important;
  }
}

.hero-secondary-btn svg {
  flex-shrink: 0;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.hero-secondary-btn--wide {
  flex: 1 1 220px;
  justify-content: flex-start;
  text-align: left;
}

.hero-game-fan {
  position: relative;
  height: 380px;
  width: 100%;
  max-width: 520px;
}

.hero-game-card--fan {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  background: rgba(17, 17, 20, 0.96);
  border: 1px solid rgba(63, 63, 70, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.38s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    z-index 0s;
}

.hero-game-card--fan:hover {
  border-color: rgba(142, 197, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 56px rgba(0, 0, 0, 0.6),
    0 0 32px rgba(142, 197, 255, 0.12);
  z-index: 40;
}

.hero-game-card--fan-left {
  position: absolute;
  left: 2%;
  bottom: 0;
  width: 148px;
  /* translate3d no inÃ­cio: mesmo visual, composiÃ§Ã£o GPU estÃ¡vel com o degradÃª */
  transform: translate3d(0, 0, 0) rotate(-9deg) translate3d(0, 6px, 0) scale(0.93);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 12;
}

.hero-game-card--fan-center {
  position: absolute;
  /* Centro sem translateX no transform (evita qualquer drift horizontal na animaÃ§Ã£o) */
  left: calc(50% - 86px);
  bottom: 0;
  width: 172px;
  box-sizing: border-box;
  transform: translate3d(0, -18px, 0) scale(1.08);
  transform-origin: 50% 100%;
  z-index: 22;
}

.hero-game-card--fan-right {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 148px;
  transform: translate3d(0, 0, 0) rotate(9deg) translate3d(0, 6px, 0) scale(0.93);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 12;
}

/* Fan cards: undo generic .hero-game-card:hover translateY so layout stays stable */
.hero-game-card--fan-left:hover {
  transform: translate3d(0, 0, 0) rotate(-9deg) translate3d(0, 6px, 0) scale(0.93);
}

.hero-game-card--fan-right:hover {
  transform: translate3d(0, 0, 0) rotate(9deg) translate3d(0, 6px, 0) scale(0.93);
}

/* Destaque: sÃ³ eixo Y (translate3d(0, â¦, 0)); mesmo scale â trajetÃ³ria 100% vertical */
.hero-game-card--fan-center:hover {
  transform: translate3d(0, 6px, 0) scale(1.08);
}

.hero-game-spotlight {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #020617;
  background: linear-gradient(180deg, #d4ebff 0%, #8ec5ff 55%, #6eb0ea 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 6px 18px rgba(142, 197, 255, 0.35);
  pointer-events: none;
}

.hero-game-cover {
  position: relative;
  aspect-ratio: 600 / 900;
  overflow: hidden;
}

.hero-game-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, transparent 42%);
  pointer-events: none;
}

/* Laterais do leque: pseudo + transform no pai costuma ânadarâ; degradÃª em <div> irmÃ£ da img fica colado ao box da capa. */
.hero-game-cover--fan-wing::after {
  content: none;
}

.hero-game-cover--fan-wing {
  /* Mesmo layer visual da capa; sem translateZ aqui (evita aninhamento estranho com rotate do card). */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-game-cover-vignette {
  position: absolute;
  /* overscan de 1px: some o corte subpixel na borda durante rotate */
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  width: auto;
  height: auto;
  z-index: 1;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* Mais stops = menos banding (que parece tremor leve em motion) */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.84) 0%,
    rgba(0, 0, 0, 0.5) 18%,
    rgba(0, 0, 0, 0.18) 32%,
    transparent 44%
  );
}

.hero-game-meta--fan {
  padding: 0.55rem 0.65rem 0.7rem;
}

@media (max-width: 1023px) {
  .hero-steam--home .hero-home-copy {
    max-width: 100%;
    gap: 0.5rem;
  }

  .hero-steam--home .hero-home-title,
  .hero-steam--home .hero-home-desc,
  .hero-steam--home .hero-home-trust,
  .hero-steam--home .hero-home-actions {
    max-width: 100%;
  }

  .hero-trust-bar__item {
    padding: 0.62rem 0.28rem;
    gap: 0.38rem;
  }

  .hero-steam--home .hero-home-trust {
    --hero-trust-shift-x: 0rem;
    --hero-trust-pad-left: 0rem;
    --hero-trust-pad-right: 0rem;
    --hero-trust-col-3: 1.12;
  }

  .hero-trust-bar__item--orders {
    padding-right: 0.1rem;
    justify-content: flex-end;
  }

  .hero-trust-bar__value {
    font-size: 0.75rem;
  }

  .hero-trust-bar__label {
    font-size: 0.5rem;
    letter-spacing: 0.06em;
  }

  .hero-trust-bar__item--orders .hero-trust-bar__label {
    letter-spacing: 0.05em;
  }

  .hero-trust-bar__icon-wrap {
    width: 1.5rem;
    height: 1.5rem;
  }

  .hero-trust-bar__icon {
    width: 0.8rem;
    height: 0.8rem;
  }

  /* Mobile: badges ocultos */
  .hero-steam--home .hero-home-badges--copy,
  .hero-steam--home .hero-home-badges--mobile-top {
    display: none;
  }

  .hero-steam--home .hero-home-title,
  .hero-steam--home .hero-home-desc {
    display: none;
  }

  /* Mobile: cards acima do conteúdo + layout compacto
     (--hero-home-mobile-shift-y definida em .home-page-hero-store, core-cards.css) */
  .hero-steam--home .hero-home-grid {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    padding: 0;
    transform: translateY(var(--hero-home-mobile-shift-y, 0rem));
  }

  .hero-steam--home {
    overflow: visible;
    --hero-cards-stage-h: 480px;
    --hero-prelabel-space: 1.75rem;
  }

  .hero-steam--home .hero-steam-shell--home {
    min-height: 0;
  }

  .hero-steam--home .hero-home-games {
    order: -1;
    width: 100%;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 0;
    --hero-fan-mobile-scale: min(1, calc((100vw - 2rem) / 36rem));
  }

  .hero-steam--home .hero-home-prelabel {
    margin-bottom: 0.35rem !important;
  }

  .hero-steam--home .hero-home-mobile-search {
    width: 100%;
    margin: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero-steam--home .hero-home-mobile-search.is-open {
    margin-bottom: 0.5rem;
  }

  .hero-steam--home .hero-home-copy {
    order: 0;
    position: relative;
    z-index: 2;
    isolation: isolate;
    padding-top: 0;
    margin-top: 0;
  }

  .hero-steam--home .hero-home-actions {
    padding-top: 0;
  }

  .hero-cards-wrap {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    height: auto;
    overflow: visible;
    margin-bottom: 0;
  }

  .hero-cards-stage {
    width: 36rem;
    max-width: none;
    flex-shrink: 0;
    transform: scale(var(--hero-fan-mobile-scale));
    transform-origin: top center;
    margin-inline: auto;
    margin-bottom: calc(-1 * var(--hero-cards-stage-h) * (1 - var(--hero-fan-mobile-scale)));
    will-change: transform;
  }

  .hero-card--center {
    width: 310px;
    height: 455px;
    transform: translate(-50%, -50%);
  }

  .hero-card--left,
  .hero-card--right {
    width: 255px;
    height: 375px;
    opacity: 0.7;
    pointer-events: auto;
  }

  .hero-card--left {
    transform: translate(calc(-50% - 125px), -50%) rotate(-8deg) scale(0.93);
  }

  .hero-card--right {
    transform: translate(calc(-50% + 125px), -50%) rotate(8deg) scale(0.93);
  }

  .hero-card--left:hover {
    transform: translate(calc(-50% - 160px), calc(-50% - 14px)) rotate(-15deg) scale(0.93);
    opacity: 0.95;
  }

  .hero-card--right:hover {
    transform: translate(calc(-50% + 160px), calc(-50% - 14px)) rotate(15deg) scale(0.93);
    opacity: 0.95;
  }

  .hero-card--center:hover {
    transform: translate(-50%, calc(-50% - 12px)) scale(1.04);
  }

  .hero-game-fan {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* stretch: mesma altura de linha; tÃ­tulos com mesma âcaixaâ (abaixo) evitam desnÃ­vel */
    align-items: stretch;
    justify-content: stretch;
    gap: 0.75rem;
    height: auto;
    min-height: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: 0.35rem;
  }

  .hero-game-card--fan,
  .hero-game-card--fan-left,
  .hero-game-card--fan-center,
  .hero-game-card--fan-right {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0;
    height: 100%;
    align-self: stretch;
  }

  .hero-game-card--fan-center {
    order: 0;
  }

  /* Mesma altura de rodapÃ© que o card de referÃªncia (2 linhas Ã line-height 1.25) */
  .hero-game-fan .hero-game-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
    min-height: 2.5em;
  }

  .hero-steam-games {
    align-items: stretch !important;
  }
}

@media (max-width: 640px) {
  .hero-steam-shell > .relative {
    padding: 1rem !important;
    gap: 1rem !important;
  }

  .hero-game-fan {
    gap: 0.65rem;
    padding-bottom: 0.25rem;
  }

  .hero-game-card--fan,
  .hero-game-card--fan-left,
  .hero-game-card--fan-center,
  .hero-game-card--fan-right {
    width: 100% !important;
  }

  .hero-game-meta--fan {
    padding: 0.5rem 0.55rem 0.6rem;
  }

  .hero-game-fan .hero-game-title {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .hero-card img {
    transition-duration: 0.01ms !important;
  }

  .hero-typewriter__caret {
    animation: none !important;
    opacity: 0 !important;
  }
}

.hero-inset-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e4e4e7;
  background: rgba(24, 24, 27, 0.78);
  border: 1px solid rgba(142, 197, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 6px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.22s ease;
}

.hero-inset-badge > * {
  position: relative;
  z-index: 1;
}

.hero-inset-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(142, 197, 255, 0.2) 50%,
    transparent 58%,
    transparent 100%
  );
  transform: translateX(-130%);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.2s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .hero-inset-badge:hover {
    border-color: rgba(142, 197, 255, 0.65);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(0, 0, 0, 0.35),
      0 6px 24px rgba(0, 0, 0, 0.35),
      0 0 26px -2px rgba(142, 197, 255, 0.3);
    transform: translateY(-1px);
  }

  .hero-inset-badge:hover::after {
    opacity: 1;
    transform: translateX(130%);
  }

  .hero-inset-badge:hover svg {
    transform: scale(1.1) rotate(-6deg);
    filter: drop-shadow(0 0 10px rgba(142, 197, 255, 0.5));
  }
}

.hero-inset-badge svg {
  flex-shrink: 0;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.hero-inset-badge--muted {
  border-color: rgba(142, 197, 255, 0.35);
  background: rgba(24, 24, 27, 0.78);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-inset-msg {
  padding: 0.85rem 1rem 0.85rem 0.65rem;
  border-radius: 0.875rem;
  background: rgba(12, 12, 13, 0.55);
  border: 1px solid rgba(142, 197, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-inset-msg--flat {
  padding: 0.95rem 1.05rem;
  width: 100%;
}

.hero-inset-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(142, 197, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -2px 4px rgba(0, 0, 0, 0.45);
}

.hero-inset-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-inset-cta--primary {
  color: #020617;
  background: linear-gradient(180deg, #b8dfff 0%, var(--hero-accent) 45%, #6eb6ec 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(15, 23, 42, 0.18),
    0 10px 36px rgba(142, 197, 255, 0.22);
}

.hero-inset-cta--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(15, 23, 42, 0.15),
    0 14px 44px rgba(142, 197, 255, 0.28);
}

.hero-inset-cta--ghost {
  color: #e4e4e7;
  background: rgba(24, 24, 27, 0.72);
  border: 1px solid rgba(142, 197, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
}

.hero-inset-cta--ghost:hover {
  border-color: rgba(142, 197, 255, 0.45);
  background: rgba(var(--muted-solid), 0.85);
}

.hero-inset-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(63, 63, 70, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.875rem;
  text-decoration: none;
  color: inherit;
  background: rgba(24, 24, 27, 0.85);
  border: 1px solid rgba(63, 63, 70, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-game-card:hover {
  border-color: rgba(142, 197, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(142, 197, 255, 0.12),
    0 18px 48px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.hero-game-media {
  position: relative;
  aspect-ratio: 460 / 215;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.45);
}

.hero-game-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  pointer-events: none;
}

.hero-game-meta {
  padding: 0.65rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-game-tag {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-accent);
  padding: 0.2em 0.5em;
  border-radius: 0.25rem;
  border: 1px solid rgba(142, 197, 255, 0.42); /* #8ec5ff, contorno leve */
}

.hero-game-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fafafa;
  line-height: 1.25;
}

@media (max-width: 1023px) {
  .hero-trust-bar {
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }

  .hero-steam--home::before {
    mask-image: none !important;
    -webkit-mask-image: none !important;
    inset: -6% -4% 42% -4%;
    opacity: 0.26;
    background-size: 40px 40px;
  }

  .hero-steam--home::after {
    bottom: 38%;
    background:
      radial-gradient(ellipse 60% 42% at 50% 32%, rgba(142, 197, 255, 0.08) 0%, transparent 58%),
      radial-gradient(ellipse 45% 38% at 88% 28%, rgba(142, 197, 255, 0.04) 0%, transparent 50%);
  }
}

/* Barra de confiança — evita sobreposição entre colunas no celular */
@media (max-width: 640px) {
  .hero-steam--home .hero-home-trust {
    --hero-trust-gap: 0.3rem;
    --hero-trust-col-1: 1;
    --hero-trust-col-2: 1;
    --hero-trust-col-3: 1;
  }

  .hero-trust-bar__item {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    padding-left: 0.1rem;
    padding-right: 0.1rem;
  }

  .hero-trust-bar__text {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-trust-bar__item--clients .hero-trust-bar__label,
  .hero-trust-bar__item--orders .hero-trust-bar__label {
    white-space: normal;
    line-height: 1.12;
    letter-spacing: 0.04em;
    max-width: 100%;
  }
}

@media (max-width: 1023px) {
  .hero-steam--home .hero-home-actions,
  .hero-solicit .hero-solicit-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    align-items: stretch;
  }

  .hero-steam--home .hero-home-actions .hero-secondary-btn,
  .hero-solicit .hero-solicit-actions .hero-secondary-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 2.35rem;
    padding: 0.48rem 0.72rem;
    border-radius: 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
    line-height: 1.1;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  .hero-steam--home .hero-home-actions .hero-secondary-btn i,
  .hero-steam--home .hero-home-actions .hero-secondary-btn svg,
  .hero-steam--home .hero-home-actions .hero-secondary-btn .lucide,
  .hero-solicit .hero-solicit-actions .hero-secondary-btn i,
  .hero-solicit .hero-solicit-actions .hero-secondary-btn svg,
  .hero-solicit .hero-solicit-actions .hero-secondary-btn .lucide {
    width: 0.85rem;
    height: 0.85rem;
  }
}

.hero-secondary-btn--white {
  background: #ffffff !important;
  color: #020617 !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15) !important;
}
.hero-secondary-btn--white svg,
.hero-secondary-btn--white i,
.hero-secondary-btn--white .lucide {
  color: #020617 !important;
}
@media (hover: hover) {
  .hero-secondary-btn--white:hover:not([href='/feedbacks']):not(.hero-solicit-btn-ghost) {
    background: #f4f4f5 !important;
    border-color: #f4f4f5 !important;
    transform: translateY(-1px) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Home hero — cascata de entrada (desktop ≥768px)
   ═══════════════════════════════════════════════════════════════
   Mesmo padrão visual da /pontos (fade + subida escalonada), mas em
   CSS puro em vez da classe .visible via JS: a animação parte já do
   primeiro quadro de render, então o elemento sai de opacity:0 quase
   de imediato — em vez de ficar invisível até o main.js (defer)
   executar. É isso que mantém o LCP praticamente intacto.

   As capas (.hero-cards-wrap) são o maior elemento do hero, logo o
   candidato a LCP: entram sem delay. Só o texto cascateia.

   Mobile (≤767px) não recebe nada — carregamento seco (core-mobile-perf.css).
   ═══════════════════════════════════════════════════════════════ */
@keyframes hero-home-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sem `to`: o navegador sintetiza o endpoint a partir do estilo computado do
   elemento (transform natural), então isto sobe sem fixar transform nenhum. */
@keyframes hero-home-slide {
  from {
    transform: translate3d(0, 16px, 0);
  }
}

/* Idem, só que em opacity — ver o comentário nas capas do leque abaixo. */
@keyframes hero-card-in {
  from {
    opacity: 0;
  }
}

@media (min-width: 768px) {
  /* fill-mode `backwards` (e não `forwards`/`both`): segura o opacity:0 durante
     o delay, mas NÃO trava o estado final. Animação vence declaração normal no
     cascade — com `both`, o `to { transform: none }` ficaria fixo pra sempre e
     mataria os :hover/:active com transform destes filhos (ex.: .hero-pontos-btn,
     core-pontos.css). Como o fim da animação já é o estado natural (opacity:1 /
     transform:none), o visual é idêntico. */
  .hero-steam--home .hero-home-prelabel,
  .hero-steam--home .hero-home-copy > * {
    animation: hero-home-rise 0.42s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  /* O leque sobe como bloco, sem opacity: assim a capa central (maior imagem do
     hero, logo o candidato a LCP) nunca é apagada pelo fade do wrap. */
  .hero-steam--home .hero-cards-wrap {
    animation: hero-home-slide 0.42s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  /* Cada capa entra em cascata — só em opacity. O leque é montado inteiramente
     em transform (translate + rotate + scale, por capa e por breakpoint) e as
     capas laterais ficam em opacity:0.7, então um keyframe com
     `to { opacity:1; transform:none }` destruiria o leque e clarearia as
     laterais. Sem `to`, o endpoint sintetizado é o estilo computado de cada
     capa — leque, 0.7 e :hover preservados. */
  .hero-steam--home .hero-card {
    animation: hero-card-in 0.5s ease backwards;
  }

  /* Ordem cronológica: esquerda → meio → direita.
     Passo curto (0.1s) de propósito: a capa central é a maior imagem do hero
     (fetchpriority=high), logo o candidato a LCP — e como ela entra em 2º, fica
     em opacity:0 até o próprio delay, atrasando o LCP nesse mesmo tanto. Não há
     como ter essa ordem sem pagar isso, então o passo fica no mínimo perceptível
     (~100ms) em vez dos 0.12/0.2s de uma cascata mais folgada. */
  .hero-steam--home .hero-card--left {
    animation-delay: 0s;
  }

  .hero-steam--home .hero-card--center {
    animation-delay: 0.1s;
  }

  .hero-steam--home .hero-card--right {
    animation-delay: 0.2s;
  }

  .hero-steam--home .hero-home-prelabel {
    animation-delay: 0.06s;
  }

  .hero-steam--home .hero-home-copy > :nth-child(1) { animation-delay: 0.04s; }
  .hero-steam--home .hero-home-copy > :nth-child(2) { animation-delay: 0.1s; }
  .hero-steam--home .hero-home-copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero-steam--home .hero-home-copy > :nth-child(4) { animation-delay: 0.22s; }
  .hero-steam--home .hero-home-copy > :nth-child(5) { animation-delay: 0.28s; }
  .hero-steam--home .hero-home-copy > :nth-child(6) { animation-delay: 0.34s; }
  .hero-steam--home .hero-home-copy > :nth-child(7) { animation-delay: 0.4s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-steam--home .hero-cards-wrap,
  .hero-steam--home .hero-card,
  .hero-steam--home .hero-home-prelabel,
  .hero-steam--home .hero-home-copy > * {
    animation: none;
  }
}