input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

@keyframes fade-in {
  from {
      background-color: rgba(0, 0, 0, 0);
  }
  to {
      background-color: rgba(0, 0, 0, 0.8);
  }
}

@keyframes fade-out {
  from {
      background-color: rgba(0, 0, 0, 0.8);
  }
  to {
      background-color: rgba(0, 0, 0, 0);
  }
}

@keyframes slide-in {
  from {
      transform: translateX(500px);
  }
  to {
      transform: translateX(0px);
  }
}

@keyframes slide-out {
  from {
      transform: translateX(0px);
  }
  to {
      transform: translateX(500px);
  }
}

body.cart-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

#cart-drawer[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

#cart-drawer[data-state="closed"] {
  animation: fade-out 0.4s forwards;
}

#cart-drawer[data-state="open"] > div {
  animation: slide-in 0.4s forwards;
}

#cart-drawer[data-state="closed"] > div {
  animation: slide-out 0.4s forwards;
}

.dialog[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

.dialog[data-state="closed"] {
  animation: fade-out 0.4s forwards;
}

.dialog[data-state="open"] > div {
  animation: dialog-in 0.2s forwards;
}

.dialog[data-state="closed"] > div {
  animation: dialog-out 0.2s forwards;
}

@keyframes dialog-in {
  from {
      opacity: 0;
      scale: 50%;
  }
  to {
      opacity: 1;
      scale: 100%;
  }
}

@keyframes dialog-out {
  from {
      opacity: 1;
      scale: 100%;
  }
  to {
      opacity: 0;
      scale: 50%;
  }
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.centralcart-content iframe {
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
}

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  max-width: 100%;
}

main {
  overflow-x: clip;
}

.grid-background {
  background-image: linear-gradient(to right,hsla(0,0%,100%,.03) 1px,transparent 1px),linear-gradient(to bottom,hsla(0,0%,100%,.03) 1px,transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 85% at 40% 30%, #000 0%, #fff0 110%)
}

/* ══════════════════════════════════════════════════════════
   Banner principal da home, de ponta a ponta.

   Igual ao da Prism Games: começa no topo da página e o menu, que é
   translúcido, fica por cima da arte (48px do py-12 da página + 96px
   do header). A base some no fundo com um degradê. No celular a arte
   é baixinha e o menu cobriria metade dela, então lá só encosta nele.
   ══════════════════════════════════════════════════════════ */
.hero-full {
  position: relative;
  width: 100%;
  margin-top: -144px;
  line-height: 0;
}

.hero-full img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  object-position: center;
}

.hero-full::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 24%;
  background: linear-gradient(to bottom, transparent, rgb(var(--background)));
  pointer-events: none;
}

.hero-full-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-full { margin-top: -32px; }
  .hero-full img { max-height: none; }
  .hero-full::after { height: 32%; }
}

.pack-hero-banner {
  display: grid;
  grid-template: 1fr / 1fr;
  min-height: 280px;
  isolation: isolate;
  overflow: hidden;
  background-color: rgb(5, 10, 18);
}

.pack-hero-slides,
.pack-hero-overlay,
.pack-hero-content {
  grid-area: 1 / 1;
}

.pack-hero-slides {
  position: relative;
  min-height: inherit;
  overflow: hidden;
}

.pack-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  pointer-events: none;
  user-select: none;
  will-change: opacity, transform;
  filter: saturate(0.75) brightness(0.55);
}

.pack-hero-bg--active {
  opacity: 1;
  animation: pack-hero-kenburns 5s ease-out forwards;
}

@keyframes pack-hero-kenburns {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.08);
  }
}

.pack-hero-overlay {
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(5, 10, 18, 0.94) 0%,
    rgba(5, 12, 20, 0.82) 28%,
    rgba(5, 14, 22, 0.55) 48%,
    rgba(0, 20, 24, 0.25) 68%,
    rgba(0, 30, 28, 0.08) 100%
  );
}

.pack-hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  min-height: 280px;
}

@media (min-width: 768px) {
  .pack-hero-banner,
  .pack-hero-content {
    min-height: 340px;
  }
}

.pack-cta-btn {
  background: hsl(var(--primary));
  color: #0c1820;
  box-shadow: 0 2px 12px hsl(var(--primary) / 0.2);
}
.pack-cta-btn:hover {
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.25);
}

.custom-bg-mask {
	mask-image: linear-gradient(hsl(var(--background)), rgba(0, 0, 0, 0.3), rgb(0, 0, 0, 0));
}

@keyframes loading {
  0% {
      left: -50%;
  }

  to {
      left: 100%;
  }
}

/* Top announcement bar */
.top-announce-bar {
  overflow: hidden;
  background: linear-gradient(
    90deg,
    hsl(var(--primary) / 0.92) 0%,
    hsl(var(--primary)) 40%,
    hsl(var(--primary)) 100%
  );
  border-bottom: 1px solid hsl(var(--primary) / 0.3);
}

.top-announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  width: 100%;
}

@media (min-width: 640px) {
  .top-announce-inner {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }
}

.top-announce-icon {
  color: #fff;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.top-announce-text {
  margin: 0;
  color: #fff;
  font-family: 'Kanit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) {
  .top-announce-text {
    font-size: 1rem;
    font-weight: 700;
  }
}

.top-announce-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.45rem 1rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-family: 'Kanit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 9999px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.top-announce-cta:hover {
  background: rgba(0, 0, 0, 0.88);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* ══════════════════════════════════════════════════════════
   Navbar — no estilo da Prism Games

   Pílula escura de 72px: menu lateral e busca à esquerda, logo no
   centro, atalhos e botões redondos à direita, carrinho na cor
   principal. Altura do header: 16 + 72 + 8 = 96px — é isso que o
   banner da home (.hero-full) sobe por baixo dele.
   ══════════════════════════════════════════════════════════ */
.site-header {
  padding: 1rem 0 0.5rem;
}

.navbar-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 72px;
  padding: 0 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgb(var(--background) / 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.75);
}

@media (min-width: 640px) {
  .navbar-pill { padding: 0 1rem; }
}

/* Filete de luz na borda de cima da pílula */
.navbar-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.22) 40%, transparent 68%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.navbar-menu-btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  color: rgb(var(--foreground) / 0.8);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-menu-btn:hover {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
}

.navbar-search {
  border: 1px solid hsl(var(--primary) / 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: rgb(var(--foreground));
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.navbar-search:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: hsl(var(--primary) / 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.navbar-logo {
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.navbar-logo:hover {
  transform: scale(1.14) rotate(-6deg);
  filter: drop-shadow(0 0 12px hsl(var(--primary) / 0.65));
}

.navbar-brand-name {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
  white-space: nowrap;
}

/* "Montar meu pack" / "Categorias": texto com sublinhado que corre */
.navbar-shortcut {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  transition: color 0.2s ease;
}

.navbar-shortcut::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.5rem;
  height: 2px;
  border-radius: 9999px;
  background: hsl(var(--primary));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.navbar-shortcut:hover { color: hsl(var(--primary)); }
.navbar-shortcut:hover::after { transform: scaleX(1); }

/* Botões redondos escuros: idioma, suporte, Entrar */
.btn-nav-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

.btn-nav-dark:hover {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 10px 24px -10px hsl(var(--primary) / 0.55), 0 0 0 3px hsl(var(--primary) / 0.08);
  transform: translateY(-2px);
}

.btn-nav-dark:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 3px 12px -6px hsl(var(--primary) / 0.45);
  transition-duration: 0.08s;
}

.navbar-cart-circle {
  box-shadow: 0 8px 22px -8px hsl(var(--primary) / 0.75);
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

.navbar-cart-circle:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px hsl(var(--primary) / 0.95);
}

.navbar-cart-circle:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 4px 12px -6px hsl(var(--primary) / 0.8);
  transition-duration: 0.08s;
}

/* ── Menu lateral (☰) ─────────────────────────────────────── */
.side-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}

.side-menu[data-state="open"] {
  visibility: visible;
  transition-delay: 0s;
}

.side-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.side-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  overflow-y: auto;
  padding: 1.25rem;
  background: rgb(var(--background));
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.side-menu[data-state="open"] .side-menu-backdrop { opacity: 1; }
.side-menu[data-state="open"] .side-menu-panel { transform: none; }

.side-menu-label {
  margin: 0 0 0.5rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--muted-foreground));
}

.side-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.75rem;
  text-align: left;
  font-weight: 500;
  color: rgb(var(--muted-foreground));
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.side-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateX(3px);
}

.side-menu-item--outline {
  margin-top: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  color: rgb(var(--foreground));
}

.side-menu-item--outline:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: none;
}

.side-menu-ico {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
}

.side-menu-favs {
  margin: 0.25rem 0 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
}

.side-menu-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.side-menu-lang:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

@media (prefers-reduced-motion: reduce) {
  .side-menu,
  .side-menu-backdrop,
  .side-menu-panel,
  .side-menu-item,
  .btn-nav-dark,
  .navbar-cart-circle,
  .navbar-logo { transition: none; }
}

/* ══════════════════════════════════════════════════════════
   Card de produto — hover

   Antes: brilho ciano em volta + um clarão branco varrendo o
   card. Agora o card só cresce um pouco, com sombra neutra de
   profundidade — sem brilho nenhum.

   O crescer vai na classe .card-cresce em vez de .package
   porque os cards de "produtos parecidos" (na busca) usam
   hover:scale-[98%], que encolhe. Separando as duas classes,
   uma não briga com a outra.
   ══════════════════════════════════════════════════════════ */

.package,
.category-card {
  position: relative;
  min-width: 0;
}

.card-cresce,
.category-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card-cresce:hover,
.category-card:hover {
  transform: scale(1.035);
  box-shadow: 0 10px 30px rgb(0 0 0 / .5);
  z-index: 2;
}

/* ── Bloco de texto do card ──────────────────────────────
   Tamanhos medidos no card de referência (266px de largura):
   nome 15px, riscado 13px, preço 24px, "à vista" 11px.      */

.card-nome {
  min-height: 2.7em;         /* alinha o divisor entre nomes de 1 e 2 linhas */
  margin: 0;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.card-divisor {
  height: 1px;
  margin: 10px 0 12px;
  background: rgb(255 255 255 / .1);
}

.card-desconto {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: hsl(var(--primary) / .16);
  color: hsl(var(--primary));
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.card-preco {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
}

.card-pix {
  margin: 3px 0 0;
  font-size: 11px;
  color: rgb(var(--muted-foreground));
}

/* Botão do carrinho: círculo cheio na cor do tema.
   O ícone usa a cor de fundo do site para garantir contraste
   sobre o ciano, em vez de branco sobre claro. */
.card-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: rgb(var(--background));
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.card-btn:hover {
  filter: brightness(1.12);
  transform: scale(1.06);
}

.card-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .card-nome  { font-size: .9375rem; }
  .card-preco { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .card-btn { transition: none; }
  .card-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card-cresce,
  .category-card {
    transition: box-shadow .22s ease, border-color .22s ease;
  }

  .card-cresce:hover,
  .category-card:hover {
    transform: none;
  }
}

/* Top donators shine */
.top-donators-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
  transition: left 0.5s ease-in;
}

.top-donators-pill:hover::after {
  left: 120%;
  transition: left 0.6s ease-out;
}

.detail-dash {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 50%, hsl(var(--foreground) / 0) 0%);
  background-position: center bottom;
  background-size: 16px;
  background-repeat: repeat-x;
  width: 100%;
  height: 1px;
}

/* Sidebar categories */
.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: hsl(var(--primary));
  border-radius: 0.25rem;
}

.cat-dropdown {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
}

.cat-dropdown:not(.hidden) {
  animation: slideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

#mobile-categories-dropdown:not(.hidden) {
  animation: slideInMobile 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInMobile {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-subcategories:not(.hidden) {
  animation: slideInSub 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInSub {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Sidebar categories */


/* Galeria de miniaturas mais compacta */
#image-gallery {
  gap: 0.25rem !important;
  padding: 0.5rem !important;
  display: flex !important;
}

#image-gallery .gallery-thumb {
  flex: 1 1 auto !important;
  min-width: 100px !important;
  max-width: 150px !important;
  height: 75px !important;
}

/* ========================================
   GALERIA DE PRODUTOS
   ======================================== */

.gallery-thumb {
  transition: all 0.3s ease;
  position: relative;
}

.gallery-thumb:hover {
  transform: scale(1.05);
  border-color: var(--primary) !important;
}

.gallery-thumb.active {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px var(--primary-foreground);
}

#package-gallery-viewer {
  position: relative;
}

#package-gallery-viewer button {
  transition: all 0.2s ease;
}

#package-gallery-viewer:hover button {
  opacity: 1 !important;
}

#package-video-container iframe {
  border: none;
  display: block;
}

/* Scrollbar customizada para galeria */
#image-gallery::-webkit-scrollbar {
  height: 6px;
}

#image-gallery::-webkit-scrollbar-track {
  background: transparent;
}

#image-gallery::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

#image-gallery::-webkit-scrollbar-thumb:hover {
  background: var(--primary-foreground);
}

/* Requisitos do sistema - Estilo colapsável.
   O fundo e a borda são os mesmos dos outros cards (.pkg-card). Este
   seletor é por ID, então vencia a regra do .pkg-card e o card ficava
   mais transparente que os vizinhos. */
#system-requirements-section {
  background: rgba(12, 14, 20, 0.9);
  border-color: rgba(255, 255, 255, 0.09) !important;
}

#requirements-toggle {
  cursor: pointer;
  user-select: none;
  padding: 1rem 1.5rem !important; /* Padding menor */
}

#requirements-toggle:hover {
  background: rgba(225, 6, 6, 0.05); /* Cyan hover */
}

#requirements-chevron {
  transition: transform 0.3s ease;
}

#requirements-toggle[aria-expanded="true"] #requirements-chevron {
  transform: rotate(180deg);
}

/* Animação ao expandir */
#requirements-content-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

#requirements-content-wrapper:not(.hidden) {
  max-height: 1000px;
  opacity: 1;
}

#system-requirements-content {
  padding: 1rem 1.5rem 1.5rem !important; /* Padding menor */
}

#system-requirements-content i {
  flex-shrink: 0;
  color: var(--primary);
}

#system-requirements-content p {
  line-height: 1.5; /* Mais compacto */
  font-size: 0.875rem; /* Texto menor */
}

#system-requirements-content h5 {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem; /* Título menor */
  margin-bottom: 0.75rem !important; /* Menos espaço */
}

/* Itens dos requisitos mais compactos */
#system-requirements-content .flex.items-start {
  padding: 0.5rem 0 !important; /* Menos padding vertical */
}

/* Ícone do header menor */
#requirements-toggle .w-10.h-10 {
  width: 2rem !important;
  height: 2rem !important;
}

#requirements-toggle h4 {
  font-size: 1rem !important; /* Título menor */
}

/* Animação suave para transições */
#package-image,
#package-video-container {
  transition: opacity 0.3s ease;
}

/* Barra de progresso CYAN */
#gallery-progress-bar {
  background: #e10606 !important; /* Cyan */
  transition: width 0.1s linear;
}

/* Ícones cyan nos requisitos */
#system-requirements-section .text-cyan-500,
#requirements-toggle .text-cyan-500 {
  color: #e10606 !important; /* Cyan */
}

#system-requirements-section .bg-cyan-500\/20 {
  background-color: rgba(225, 6, 6, 0.2) !important;
}

#system-requirements-content i {
  color: #e10606 !important; /* Cyan para todos os ícones dentro dos requisitos */
}

/* Cards arredondados */
.rounded-2xl {
  border-radius: 1rem !important;
}

/* Arte de fundo do produto.

   É uma faixa no TOPO da página, não um fundo fixo: ela ocupa a primeira
   tela e vai embora junto com a rolagem, como em qualquer capa de jogo.
   A máscara derruba o fim da imagem, então ela não termina num corte
   reto — dissolve no fundo do site. */
#package-background {
  position: absolute;
  top: -9rem;          /* sobe atrás da navbar e da faixa do topo */
  left: 0;
  right: 0;
  height: calc(9rem + 85vh);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease;
  -webkit-mask-image: linear-gradient(
    rgb(0 0 0) 0%,
    rgb(0 0 0) min(78%, 100% - 5rem),
    rgb(0 0 0 / 0.35) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    rgb(0 0 0) 0%,
    rgb(0 0 0) min(78%, 100% - 5rem),
    rgb(0 0 0 / 0.35) 92%,
    transparent 100%
  );
}

/* Véu que escurece de baixo para cima: em cima a arte aparece quase
   limpa, embaixo ela já virou o fundo do site. */
#package-background > div {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(var(--background) / 0.72) 0%,
    rgb(var(--background) / 0.42) 10%,
    rgb(9 11 18 / 0.28) 22%,
    rgb(10 13 22 / 0.16) 38%,
    rgb(11 15 24 / 0.08) 55%,
    rgb(14 18 30 / 0.04) 72%,
    transparent 100%
  );
}

.package-wrapper {
  position: relative;
  z-index: 1;
}

/* Cards da página de produto.
   Antes usavam backdrop-blur, que borrava a arte atrás deles. Agora são
   escuros e opacos: o texto fica legível e o fundo aparece nítido em volta. */
.package-wrapper .pkg-card {
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
}

/* Responsivo */
@media (max-width: 768px) {
  .gallery-thumb {
    min-width: 70px !important;
    height: 50px !important;
  }
  
  #gallery-prev,
  #gallery-next {
    opacity: 1 !important;
  }
  
  #system-requirements-content {
    grid-template-columns: 1fr;
  }
}

/* Preço do produto - Fonte mais grossa */
#package-price {
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════════════════════
   Destaques

   Cinco cards com o numeral gigante atrás de cada um. O número é
   decorativo: fica no aria-hidden e a ordem já é dada pelo DOM.
   ══════════════════════════════════════════════════════════ */

.destaques {
  padding-block: 56px 8px;
  text-align: center;
}

.destaques-titulo {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

.destaques-sub {
  margin: 8px 0 0;
  font-size: .875rem;
  color: rgb(var(--muted-foreground));
}

.destaques-sub strong { color: hsl(var(--primary)); font-weight: 700; }

.destaques-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px 16px;
  margin-top: 64px;
  text-align: left;
}

@media (min-width: 640px) { .destaques-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .destaques-lista { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px; }
}

/* O card ocupa ~72% da coluna e fica à direita; a faixa que sobra à
   esquerda é onde o numeral aparece. Sem isso o número ficaria todo
   escondido atrás do card. */
.destaque-item {
  position: relative;
  display: flex;
  justify-content: flex-end;
  container-type: inline-size;   /* deixa o numeral medir a coluna */
}

.destaque-numero {
  position: absolute;
  left: -16%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  /* Amarrado à largura da coluna, não à da janela: com vw o numeral
     encolhia junto com o container e ficava bem menor que o do site de
     referência, onde ele ocupa quase toda a altura do card. */
  font-size: clamp(8rem, 33vw, 16rem);   /* reserva p/ quem não tem cqw */
  font-size: 140cqw;
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.07em;
  /* Cinza sólido, não branco translúcido — translúcido some no fundo.
     #474754 dá contraste 2.04 contra o fundo: lê como número, mas continua
     sendo pano de fundo. O #2f2f38 anterior ficava em 1.41 e sumia. */
  color: #474754;
  transition: color .22s ease;
  pointer-events: none;
  user-select: none;
}

/* O numeral acende junto com o card. No site de referência isso NÃO é
   fixo no primeiro: comparando dois prints do mesmo site, num deles o "1"
   está cinza como os outros e nenhum card tem borda — é o mouse que liga
   os dois de uma vez. */
.destaque-item:hover .destaque-numero,
.destaque-item:focus-within .destaque-numero {
  color: hsl(var(--primary));
}

.destaque-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 78%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .08);
  border-radius: 14px;
  background: #1a1a1a;
  box-shadow: 0 10px 30px rgb(0 0 0 / .5);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

/* No mobile vira uma fileira que rola de lado, como no site de
   referência — os 5 destaques ficam numa linha só em vez de esticar
   a página em duas colunas. O numeral gigante não cabe nessa largura
   (invadia o card vizinho e vazava para fora da tela), então vira um
   número de canto dentro do próprio card. */
@media (max-width: 1023px) {
  .destaques-lista {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* sangra até as bordas: o card seguinte aparece cortado e mostra
       que dá para arrastar, em vez de parecer que a lista acabou */
    margin-inline: -1rem;
    padding-inline: 1rem;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .destaques-lista::-webkit-scrollbar { display: none; }

  .destaque-item {
    flex: 0 0 auto;
    width: 172px;
    scroll-snap-align: start;
    justify-content: center;
  }

  .destaque-card { width: 100%; }

  .destaque-numero {
    left: 10px;
    top: 8px;
    transform: none;
    z-index: 2;
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: -.04em;
    color: #fff;
    opacity: .92;
    text-shadow: 0 2px 10px rgb(0 0 0 / .75);
  }

  .destaque-item:hover .destaque-numero,
  .destaque-item:focus-within .destaque-numero {
    color: hsl(var(--primary));
  }
}

.destaque-card:hover,
.destaque-card:focus-visible {
  transform: translateY(-4px);
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 1px hsl(var(--primary) / .5),
              0 14px 44px hsl(var(--primary) / .22),
              0 16px 40px rgb(0 0 0 / .6);
}

.destaque-off {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 5px 10px;
  border-bottom-right-radius: 10px;
  background: hsl(var(--primary));
  color: lch(from hsl(var(--primary)) calc((49.44 - l) * infinity) 0 0);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.destaque-capa {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.destaque-corpo {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
}

.destaque-nome {
  margin: 0 0 8px;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.destaque-de {
  margin: 0;
  font-size: .75rem;
  text-decoration: line-through;
  color: rgb(var(--muted-foreground));
}

.destaque-por {
  margin: 2px 0 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: hsl(var(--primary));
}

.destaque-rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.destaque-chave {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: rgb(var(--muted-foreground));
}

.destaque-chave svg { width: 12px; height: 12px; flex-shrink: 0; }

.destaque-steam {
  display: flex;
  color: rgb(255 255 255 / .55);
}

.destaque-steam svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  .destaque-card { transition: none; }
  .destaque-card:hover { transform: none; }
}

/* ══════════════════════════════════════════════════════════
   Seção de categoria — cabeçalho e paginação

   Título à esquerda com "Ver tudo" à direita, e "Ver mais" no rodapé
   revelando de 10 em 10. Antes cada categoria despejava o catálogo
   inteiro de uma vez.
   ══════════════════════════════════════════════════════════ */

.cat-cabecalho {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .cat-cabecalho { margin-bottom: 1.5rem; }
}

.cat-titulo {
  margin: 0;
  min-width: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
}

@media (min-width: 640px) {
  .cat-titulo { font-size: 1.25rem; }
}

.cat-ver-tudo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: lch(from hsl(var(--primary)) calc((49.44 - l) * infinity) 0 0);
  font-size: .8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
}

.cat-ver-tudo svg { width: 15px; height: 15px; }

.cat-ver-tudo:hover {
  filter: brightness(1.1);
  transform: translateX(2px);
}

.cat-mais-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.cat-ver-mais {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 22px;
  border: 1px solid hsl(var(--primary) / .4);
  border-radius: 999px;
  background: hsl(var(--primary) / .12);
  color: hsl(var(--primary));
  font-size: .8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.cat-ver-mais svg { width: 15px; height: 15px; }

.cat-ver-mais:hover {
  background: hsl(var(--primary) / .2);
  border-color: hsl(var(--primary) / .7);
}

.cat-ver-tudo:focus-visible,
.cat-ver-mais:focus-visible {
  outline: 2px solid hsl(var(--primary) / .7);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .cat-ver-tudo, .cat-ver-mais { transition: none; }
  .cat-ver-tudo:hover { transform: none; }
}

/* ══════════════════════════════════════════════════════════
   Botão flutuante do Discord

   Roxo oficial da marca (#5865F2) em vez do gradiente ciano,
   que se confundia com o botão de suporte do próprio tema.

   Tudo declarado aqui de propósito, sem utilitárias do Tailwind:
   as classes do CDN são geradas em tempo de execução e chegavam
   depois no cascade, deixando o botão sem fundo e com a altura
   antiga. Uma classe só, sem disputa.
   ══════════════════════════════════════════════════════════ */

.discord-float {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #5865f2;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgb(88 101 242 / .45), 0 0 0 1px rgb(255 255 255 / .08);
  transition: background-color .3s, box-shadow .3s, transform .3s;
}

.discord-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.discord-float:hover {
  background: #6c78f5;
  transform: scale(1.05);
  box-shadow: 0 10px 36px rgb(88 101 242 / .65), 0 0 0 1px rgb(255 255 255 / .16);
}

.discord-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .discord-float {
    transition: none;
  }

  .discord-float:hover {
    transform: none;
  }
}

/* ══════════════════════════════════════════════════════════
   Home — "Escolha sua categoria"
   Substitui a antiga grade de "Categorias populares".
   No desktop os 3 cards viram uma pilha em leque; abaixo de
   1024px eles voltam a ser uma fileira normal de 3 colunas.
   ══════════════════════════════════════════════════════════ */

.escolha-cat {
  --escolha-ease: cubic-bezier(.2, .7, .3, 1);
}

/* ── Coluna de texto ─────────────────────────────────────── */

.escolha-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgb(var(--muted-foreground));
}

.escolha-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  flex-shrink: 0;
  background: hsl(var(--primary));
}

.escolha-titulo {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
}

.escolha-sub {
  margin-top: 16px;
  max-width: 42ch;
  font-size: .875rem;
  line-height: 1.65;
  color: rgb(var(--muted-foreground));
}

/* ── Botão "Ver Categorias" ──────────────────────────────── */

/* Mesmos tokens do botão "Categorias" da barra de busca, só que
   maior por estar num bloco de destaque. */
.escolha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  height: 48px;
  padding-inline: 24px;
  border: 1px solid rgb(var(--foreground) / .10);
  border-radius: .75rem;
  background: rgb(var(--foreground) / .05);
  font-size: .875rem;
  font-weight: 600;
  color: rgb(var(--foreground));
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
}

.escolha-btn:hover {
  background: rgb(var(--foreground) / .10);
  border-color: rgb(var(--foreground) / .20);
}

.escolha-btn:focus-visible {
  outline: 2px solid hsl(var(--primary) / .6);
  outline-offset: 2px;
}

@media (max-width: 639px) {
  .escolha-btn {
    width: 100%;
  }
}

/* ── Cards ───────────────────────────────────────────────── */

.escolha-palco {
  display: flex;
  align-items: center;
  justify-content: center;
}

.escolha-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.escolha-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgb(255 255 255 / .07);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgb(0 0 0 / .5);
  transition: transform .3s var(--escolha-ease), opacity .3s var(--escolha-ease);
}

.escolha-card--esq  { order: 1; }
.escolha-card--meio { order: 2; }
.escolha-card--dir  { order: 3; }

.escolha-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s var(--escolha-ease);
  will-change: transform;
}

.escolha-card:hover .escolha-card-img {
  transform: scale(1.05);
}

.escolha-card-veu {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / .78) 0%, rgb(0 0 0 / .25) 42%, transparent 68%);
}

.escolha-card-veu--forte {
  background: linear-gradient(to top, rgb(0 0 0 / .88) 0%, rgb(0 0 0 / .35) 48%, transparent 72%);
}

.escolha-card-info {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
  pointer-events: none;
}

.escolha-card-selo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .7);
}

/* Estrela cheia na cor do tema, no lugar do antigo tracinho.
   O ícone do lucide é só contorno — o fill é o que deixa sólida. */
.escolha-selo-estrela {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: hsl(var(--primary));
  fill: hsl(var(--primary));
}

.escolha-card-nome {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
  text-shadow: 0 2px 12px rgb(0 0 0 / .6);
}

.escolha-card-nome--forte {
  font-size: 18px;
  margin-bottom: 10px;
}

.escolha-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid hsl(var(--primary) / .35);
  border-radius: 999px;
  background: hsl(var(--primary) / .16);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}


/* ── Fileira no mobile ───────────────────────────────────── */

/* Em 3 colunas cada card fica com ~108px de largura. Com os tamanhos
   do desktop o texto do card central passava de 174px de altura dentro
   de um card de 144px e vazava para fora. Aqui o conteúdo encolhe para
   caber, e o selo/pill saem — no toque o card inteiro já é o link. */
@media (max-width: 1023px) {
  .escolha-card-info {
    padding: 10px;
  }

  .escolha-card-nome {
    font-size: 11px;
  }

  .escolha-card-nome--forte {
    font-size: 12px;
    margin-bottom: 0;
  }

  .escolha-card-pill {
    display: none;
  }

  .escolha-card-selo {
    margin-bottom: 5px;
    font-size: 8px;
    letter-spacing: .12em;
  }
}

/* ── Leque no desktop ────────────────────────────────────── */

@media (min-width: 1024px) {
  .escolha-cards {
    display: block;
    position: relative;
    height: 460px;
  }

  .escolha-card {
    position: absolute;
    top: 50%;
    left: 50%;
    aspect-ratio: auto;
  }

  .escolha-card--esq,
  .escolha-card--dir {
    width: 232px;
    height: 320px;
    z-index: 2;
    opacity: .72;
    border-radius: 18px;
  }

  .escolha-card--esq {
    transform: translate(calc(-50% - 152px), -50%) rotate(-8deg) scale(.94);
  }

  .escolha-card--dir {
    transform: translate(calc(-50% + 152px), -50%) rotate(8deg) scale(.94);
  }

  .escolha-card--esq:hover {
    transform: translate(calc(-50% - 172px), calc(-50% - 10px)) rotate(-8deg) scale(.94);
    opacity: 1;
  }

  .escolha-card--dir:hover {
    transform: translate(calc(-50% + 172px), calc(-50% - 10px)) rotate(8deg) scale(.94);
    opacity: 1;
  }

  .escolha-card--meio {
    width: 286px;
    height: 392px;
    z-index: 5;
    border-radius: 22px;
    box-shadow: 0 22px 50px rgb(0 0 0 / .65);
    transform: translate(-50%, -50%);
  }

  .escolha-card--meio:hover {
    transform: translate(-50%, calc(-50% - 8px)) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .escolha-card,
  .escolha-card-img,
  .escolha-btn {
    transition: none;
  }
}
