/* theme.css — estilos do tema (carregado ANTES do Tailwind, para as classes
   utilitárias como "hidden" sempre terem a palavra final, como era no CDN) */
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);
  }
}


#cart-drawer[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

body.cart-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

#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: 96%;
  }
  to {
      opacity: 1;
      scale: 100%;
  }
}

@keyframes dialog-out {
  from {
      opacity: 1;
      scale: 100%;
  }
  to {
      opacity: 0;
      scale: 96%;
  }
}

.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;
}

.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%)
}

.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%;
  }
}

.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;
}

.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;
}

.animate-float {
  animation: floatRandom 15s ease-in-out infinite;
}

@keyframes floatRandom {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-6px, -10px) rotate(-1deg);
  }
  40% {
    transform: translate(4px, -5px) rotate(1deg);
  }
  60% {
    transform: translate(-4px, -12px) rotate(-1.5deg);
  }
  80% {
    transform: translate(3px, -7px) rotate(1deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.gradient-text {
  background: linear-gradient(
    45deg,
    hsl(var(--primary)),
    hsl(var(--primary) / 0.8),
    hsl(var(--primary) / 0.6),
    hsl(var(--primary) / 0.9),
    hsl(var(--primary)),
    hsl(var(--primary) / 0.7),
    hsl(var(--primary) / 0.5),
    hsl(var(--primary) / 0.8)
  );
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease-in-out infinite;
}


.glass {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

.glass::after {
  content: "";
  transition: all 850ms cubic-bezier(.19,1,.22,1);
  background-color: white;
  opacity: .2;
  width: 50px;
  height: 200px;
  position: absolute;
  left: -85px;
  top: -80px;
  z-index: 1;
  transform: rotate(30deg);
  filter: blur(2px);
}

.glass:hover::after {
  left: 130%;
}

.glass-secondary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
}

.glass-secondary::after {
  content: "";
  transition: all 850ms cubic-bezier(.19,1,.22,1);
  background: linear-gradient(to right, transparent, hsl(var(--secondary) / 0.15), transparent);
  width: 100%;
  height: 200%;
  position: absolute;
  left: -150%;
  top: -50%;
  z-index: 1;
  transform: rotate(30deg);
  filter: blur(10px);
}

.glass-secondary:hover::after {
  left: 150%;
}

.faq-item .faq-content {
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:not([open]) .faq-content {
  height: 0;
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: '';
}


/* =========================================================
   FUNDO GLOBAL (CSS puro)
   camadas: aurora roxo/azul · grade · piso em perspectiva · estrelas · ruído · vinheta
   ========================================================= */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.site-bg__aurora {
  position: absolute;
  border-radius: 9999px;
  filter: blur(110px);
  will-change: transform;
}
.site-bg__aurora--a {
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  left: -18vw; top: -30vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0) 65%);
  animation: bgDriftA 26s ease-in-out infinite alternate;
}
.site-bg__aurora--b {
  width: 55vw; height: 55vw; max-width: 820px; max-height: 820px;
  right: -16vw; top: -22vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), rgba(59, 130, 246, 0) 65%);
  animation: bgDriftB 32s ease-in-out infinite alternate;
}
.site-bg__aurora--c {
  width: 70vw; height: 40vw; max-width: 1100px;
  left: 15vw; bottom: -26vw;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.32), rgba(99, 102, 241, 0) 65%);
  animation: bgDriftC 38s ease-in-out infinite alternate;
}
@keyframes bgDriftA { to { transform: translate3d(8vw, 6vh, 0) scale(1.12); } }
@keyframes bgDriftB { to { transform: translate3d(-7vw, 8vh, 0) scale(1.08); } }
@keyframes bgDriftC { to { transform: translate3d(-6vw, -4vh, 0) scale(1.1); } }

/* grade fina no topo, some no meio da tela */
.site-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* piso em perspectiva no rodapé da tela, andando devagar */
.site-bg__floor {
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -10%;
  height: 55vh;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.28) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 85%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 85%);
  opacity: 0.6;
  animation: bgFloor 6s linear infinite;
}
@keyframes bgFloor { to { background-position: 0 64px, 0 0; } }

/* poeira estelar */
.site-bg__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(196, 181, 253, 0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 64%, rgba(147, 197, 253, 0.5), transparent 60%),
    radial-gradient(1px 1px at 86% 48%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1px 1px at 22% 82%, rgba(196, 181, 253, 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 30%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1px 1px at 94% 86%, rgba(147, 197, 253, 0.45), transparent 60%);
  background-size: 420px 420px;
  opacity: 0.7;
  animation: bgTwinkle 7s ease-in-out infinite alternate;
}
@keyframes bgTwinkle { from { opacity: 0.35; } to { opacity: 0.8; } }

.site-bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.site-bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.85) 100%);
}

@media (max-width: 640px) {
  .site-bg__aurora { filter: blur(70px); }
  .site-bg__floor { height: 40vh; opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg *, .site-bg *::before { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   BASE COMPARTILHADA
   ========================================================= */
body .text-primary { color: rgb(var(--primary-text)); }
body .text-secondary { color: rgb(var(--secondary-text)); }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; border-radius: .75rem;
  background: #7C3AED; color: #fff; font-weight: 600; font-size: .875rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.text-gradient {
  background: linear-gradient(90deg, #C4B5FD 0%, #A855F7 35%, #60A5FA 70%, #C4B5FD 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift { 50% { background-position: 100% 50%; } }

/* superfície padrão (cards, painéis) */
.surface {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(8, 8, 14, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

/* borda com gradiente roxo→azul */
.surface-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.65), rgba(59, 130, 246, 0.15) 40%, rgba(59, 130, 246, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  border-radius: .9rem;
  color: #C4B5FD;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(59, 130, 246, 0.18));
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.7);
}

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 2rem; padding: 0 .85rem;
  border-radius: 9999px;
  font-size: .8125rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(59, 130, 246, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.section-title {
  font-family: 'Sora', 'Geist', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.section-lead { color: rgba(255, 255, 255, 0.66); margin-top: .6rem; max-width: 56ch; }

.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.6), rgba(59, 130, 246, 0.6), transparent);
}

/* links de navegação do header */
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: .4rem;
  height: 2.5rem; padding: 0 .9rem;
  border-radius: 9999px;
  font-size: .875rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.66);
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-link[aria-current="page"] { color: #fff; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #A855F7, #3B82F6);
}

/* FAQ nativo */
details > summary::-webkit-details-marker { display: none; }
details > summary { list-style: none; }

/* conteúdo vindo do painel (descrições, posts) */
.centralcart-content > * + * { margin-top: .8em; }
.centralcart-content ul { list-style: disc; padding-left: 1.25rem; }
.centralcart-content ol { list-style: decimal; padding-left: 1.25rem; }
.centralcart-content li + li { margin-top: .3em; }
.centralcart-content li::marker { color: #A78BFA; }
.centralcart-content a { color: #93C5FD; text-decoration: underline; text-underline-offset: 3px; }
.centralcart-content h1, .centralcart-content h2, .centralcart-content h3 { font-weight: 700; font-size: 1.15rem; margin-top: 1.3em; color: #fff; }
.centralcart-content strong { color: #fff; }
.centralcart-content img { border-radius: .9rem; max-width: 100%; height: auto; }
.centralcart-content iframe { aspect-ratio: 16 / 9; width: 100%; height: auto; border-radius: .9rem; }

/* passos numerados (sequência real) */
.step-num {
  font-family: 'Sora', 'Geist', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1;
  background: linear-gradient(180deg, #C4B5FD, #3B82F6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* card de produto */
.product-card { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(124, 58, 237, 0.75); }
}

.reveal-fade-up { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0s); }
.reveal-fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-fade-up { opacity: 1 !important; transform: none !important; }
  .text-gradient { animation: none; }
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

.faq-content { overflow: hidden; transition: height .3s ease; }

/* esmaece as laterais dos carrosséis sem criar blocos pretos sobre o fundo */
.fb-fade {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.fb-fade--soft {
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.6) 10%, rgba(0,0,0,.6) 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.6) 10%, rgba(0,0,0,.6) 90%, transparent);
}

/* =========================================================
   FAIXA DE AVISOS (carrossel)
   ========================================================= */
.announce {
  position: relative;
  z-index: 50;
  color: #fff;
  background:
    radial-gradient(60% 140% at 50% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(90deg, #5B21B6 0%, #7C3AED 35%, #6366F1 65%, #2563EB 100%);
  background-size: 100% 100%, 200% 100%;
  animation: announceShift 12s ease-in-out infinite alternate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@keyframes announceShift { to { background-position: 0 0, 100% 0; } }

.announce__inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  height: 2.5rem;
}
.announce__track {
  position: relative;
  flex: 1;
  height: 100%;
  overflow: hidden;
}
.announce__msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0 .5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .005em;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}
.announce__msg span { overflow: hidden; text-overflow: ellipsis; }
.announce__msg.is-active { opacity: 1; transform: none; pointer-events: auto; }
.announce__msg.is-leaving { opacity: 0; transform: translateY(-100%); }
.announce__msg.from-left:not(.is-active) { transform: translateY(-100%); }
a.announce__msg:hover span { text-decoration: underline; text-underline-offset: 3px; }
.announce__hl {
  font-weight: 800;
  padding: .1rem .45rem;
  border-radius: .45rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.announce__nav {
  flex-shrink: 0;
  width: 1.75rem; height: 1.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color .2s;
}
.announce__nav:hover { background: rgba(0, 0, 0, 0.35); color: #fff; }
.announce__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: rgba(255, 255, 255, 0.08);
}
.announce__progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), #fff);
}
@media (max-width: 640px) {
  .announce__msg { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .announce { animation: none; }
  .announce__msg { transition: opacity .2s; transform: none !important; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(3, 3, 8, 0.86);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.9), 0 10px 40px -30px rgba(124, 58, 237, 0.7);
}
.site-header__line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.55) 25%, rgba(59, 130, 246, 0.55) 75%, transparent);
  opacity: .8;
}

.brand__logo { position: relative; display: inline-flex; }
.brand__logo::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45), transparent 70%);
  filter: blur(8px);
  opacity: .8;
  transition: opacity .3s;
}
.brand:hover .brand__logo::before { opacity: 1; }

.header-search {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  transition: border-color .2s, background-color .2s;
}
.header-search:hover { border-color: rgba(255, 255, 255, 0.2) !important; }
.header-search:focus { background: rgba(255, 255, 255, 0.07) !important; }
.header-kbd {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  min-width: 1.5rem; height: 1.5rem; padding: 0 .35rem;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 .75rem/1 'Geist', ui-sans-serif, system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.55);
  border-radius: .45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.header-search:focus ~ .header-kbd { opacity: 0; }

.nav-link--menu[aria-expanded="true"],
.nav-link.is-current { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link__chev { transition: transform .2s; opacity: .7; }
.nav-link--menu[aria-expanded="true"] .nav-link__chev { transform: rotate(180deg); }

.affiliate-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  height: 2.25rem; padding: 0 1rem;
  border-radius: 9999px;
  font-size: .8125rem; font-weight: 600;
  color: #E9D5FF;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(59, 130, 246, 0.16));
  border: 1px solid rgba(168, 85, 247, 0.35);
  transition: border-color .2s, box-shadow .2s;
}
.affiliate-pill:hover { border-color: rgba(168, 85, 247, 0.7); box-shadow: 0 8px 26px -10px rgba(124, 58, 237, 0.8); }

/* =========================================================
   MEGA MENU DE CATEGORIAS
   ========================================================= */
.cat-menu {
  position: absolute;
  left: 1rem; right: 1rem;
  top: calc(100% + .35rem);
  z-index: 60;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.cat-menu.is-open { opacity: 1; transform: none; }
@media (min-width: 1024px) {
  .cat-menu { left: auto; right: 1.5rem; width: min(900px, calc(100% - 3rem)); }
}
.cat-menu__panel {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 10, 18, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(124, 58, 237, 0.08);
}
.cat-menu__head {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem .75rem .5rem .5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}
.cat-menu__tabs { display: flex; gap: .25rem; overflow-x: auto; flex: 1; min-width: 0; }
.cat-menu__tab {
  position: relative;
  display: inline-flex; align-items: center; gap: .45rem;
  height: 2.5rem; padding: 0 1rem;
  border-radius: .75rem;
  white-space: nowrap;
  font-size: .875rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: color .2s, background-color .2s;
}
.cat-menu__tab:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.cat-menu__tab[aria-selected="true"] { color: #fff; background: rgba(124, 58, 237, 0.16); }
.cat-menu__tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -.5rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #A855F7, #3B82F6);
}
.cat-menu__search {
  display: flex;
  align-items: center; gap: .5rem;
  width: 15rem; height: 2.5rem; padding: 0 .85rem;
  border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}
.cat-menu__search:focus-within { border-color: rgba(168, 85, 247, 0.6); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2); }
.cat-menu__head { flex-wrap: wrap; }
@media (max-width: 639px) { .cat-menu__search { width: 100%; order: -1; } .cat-menu__tabs { width: 100%; } }

.cat-menu__body { max-height: min(60vh, 440px); overflow-y: auto; padding: .75rem; }
.cat-menu__grid { display: grid; grid-template-columns: 1fr; gap: .25rem; }
@media (min-width: 640px) { .cat-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cat-menu__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cat-menu__item {
  display: flex; align-items: center; gap: .85rem;
  padding: .6rem .7rem;
  border-radius: .9rem;
  border: 1px solid transparent;
  transition: background-color .15s, border-color .15s;
}
.cat-menu__item:hover, .cat-menu__item:focus-visible {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(168, 85, 247, 0.25);
}
.cat-menu__item--main { background: rgba(124, 58, 237, 0.08); border-color: rgba(168, 85, 247, 0.2); }
.cat-menu__icon {
  width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  border-radius: .75rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}
.cat-menu__icon--empty {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #E9D5FF;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(59, 130, 246, 0.25));
}
.cat-menu__arrow { margin-left: auto; flex-shrink: 0; color: rgba(255, 255, 255, 0.25); transition: transform .15s, color .15s; }
.cat-menu__item:hover .cat-menu__arrow { color: #C4B5FD; transform: translateX(2px); }
.cat-menu__empty { padding: 2rem 1rem; text-align: center; font-size: .875rem; color: rgba(255, 255, 255, 0.55); }
.cat-menu__foot { padding: .75rem; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.cat-menu__all {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.75rem; border-radius: .9rem;
  font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color .2s, border-color .2s;
}
.cat-menu__all:hover { background: rgba(124, 58, 237, 0.15); border-color: rgba(168, 85, 247, 0.4); }

.custom-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.35); border-radius: 9999px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }


/* grupos do menu de categorias */
.cat-menu__group + .cat-menu__group { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.cat-menu__title-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.cat-menu__title {
  display: flex; align-items: center; gap: .45rem;
  padding: 0 .7rem .55rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #C4B5FD;
}
.cat-menu__see {
  display: inline-flex; align-items: center; gap: .15rem;
  margin: 0 .4rem .55rem 0; padding: .2rem .55rem; border-radius: 9999px;
  font-size: .75rem; font-weight: 600; color: rgba(255, 255, 255, 0.55);
  transition: color .15s, background-color .15s;
}
.cat-menu__see:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

/* logo Frost Loot */
.logo-float { filter: drop-shadow(0 0 22px rgba(147, 197, 253, 0.5)); animation: logoFloat 6s ease-in-out infinite; }
@keyframes logoFloat { 50% { transform: translateY(-6px); } }
.footer-watermark {
  position: absolute; right: -4rem; bottom: 0; /* antes era -3rem e empurrava a página para baixo */
  width: 22rem; max-width: 60vw; opacity: .05; pointer-events: none; user-select: none;
  filter: grayscale(.2);
}
@media (max-width: 640px) { .footer-watermark { right: -5rem; bottom: 4rem; width: 16rem; } }
@media (prefers-reduced-motion: reduce) { .logo-float { animation: none; } }
footer { overflow-x: clip; }
