@keyframes anim {
  0% {
    transform:translateY(-202px)
  }
  33%,
  to {
    transform:translateY(202px)
  }
}

.hero-bg-wrapper {
  pointer-events: none;
  position: absolute;
  width: 100%;
  overflow: hidden;
  height: 287px;
  top: 0;
}

.hero-bg {
  left: calc(50vw - 624px);
  pointer-events: none;
  position: absolute;
  top: 50px;
  width: 1248px;
  overflow: hidden;
}

.bg-top {
  background-image: url('https://cdn.centralcart.com.br/public/assets/templates/KOPY/bg-top.png');
  height: 202px;
  margin-bottom: 85px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
}

.bg-mask {
  mask-image: url('https://cdn.centralcart.com.br/public/assets/templates/KOPY/bg-mask.png');

  transition: 1s cubic-bezier(.6,.6,0,1) opacity;

  left: 0;
  -webkit-mask-size: cover;
  mask-size: cover;
  top: 0;
  width: 100%;

  z-index: 9;

  mask-repeat: no-repeat;
  height: 100%;
  position: absolute;
}

.bg-mask > div {
  animation: anim 6s infinite cubic-bezier(.35,.35,.3,.7);
  background: linear-gradient(180deg, hsl(var(--primary) / 0.5) 0%, hsl(var(--primary)) 100%, hsl(var(--primary)) 100%, hsl(var(--primary) / 0.5) 0%);
  height: 200px;
  position: relative;
  top: 0;
  z-index: 88888;
  width: 100%;
}

.hero-lights {
  background: 
    radial-gradient(27.12% 31.25% at 50% 0%, hsl(var(--primary) / 0.22), transparent),
    radial-gradient(28.64% 15.23% at 50% 64.17%, hsl(var(--primary) / 0.14), transparent);
  content: "";
  height: 1327px;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 50%; /* Centraliza horizontalmente */
  transform: translateX(-50%); /* Ajusta o ponto de ancoragem para o centro */
  width: 1640px; /* Mantém o tamanho fixo */
}

.footer-bg {
  z-index: 1;
  height: 300px;
  background-color: hsl(var(--primary) / 0.2);
  -webkit-mask-image: url('https://cdn.centralcart.com.br/public/assets/templates/KOPY/footer-bg.png'); 
  mask-image: url('https://cdn.centralcart.com.br/public/assets/templates/KOPY/footer-bg.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  position: relative;
}

.custom-bg-mask {
  mask-image: linear-gradient(hsl(var(--background)), rgba(0, 0, 0, 0.3), rgb(0, 0, 0, 0));
}

.category-loader {
  transition: opacity .5s ease-out, transform .5s ease-out;
  opacity: 0;
  transform: translateY(20px);
}

.category-loader.visible {
  opacity: 1;
  transform: translateY(0);
}

.mingcute--loading-line {
  display: inline-block;
  width: 24px;
  height: 24px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='mingcuteLoadingLine0' x1='50%25' x2='50%25' y1='5.271%25' y2='91.793%25'%3E%3Cstop offset='0%25' stop-color='%23000'/%3E%3Cstop offset='100%25' stop-color='%23000' stop-opacity='0.55'/%3E%3C/linearGradient%3E%3ClinearGradient id='mingcuteLoadingLine1' x1='50%25' x2='50%25' y1='8.877%25' y2='90.415%25'%3E%3Cstop offset='0%25' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='100%25' stop-color='%23000' stop-opacity='0.55'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none'%3E%3Cpath d='m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='url(%23mingcuteLoadingLine0)' d='M8.886.006a1 1 0 0 1 .22 1.988A8.001 8.001 0 0 0 10 17.944v2c-5.523 0-10-4.476-10-10C0 4.838 3.848.566 8.886.007Z' transform='translate(2 2.055)'/%3E%3Cpath fill='url(%23mingcuteLoadingLine1)' d='M14.322 1.985a1 1 0 0 1 1.392-.248A9.99 9.99 0 0 1 20 9.945c0 5.523-4.477 10-10 10v-2a8 8 0 0 0 4.57-14.567a1 1 0 0 1-.248-1.393' transform='translate(2 2.055)'/%3E%3C/g%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}



   /* Container principal */
    .categorias-populares {
      font-family: 'Segoe UI', Roboto, sans-serif;
      color: #ddd;
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1rem;
    }
    
    /* Título principal */
    .categorias-titulo {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 2rem;
      color: #fff;
      position: relative;
      padding-bottom: 0.5rem;
    }
    
    .categorias-titulo::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100px;
      height: 3px;
      background: linear-gradient(90deg, rgb(var(--primary)), transparent);
    }
    
    /* Subtítulos das seções */
    .subcategoria-titulo {
      font-size: 1.3rem;
      font-weight: 600;
      margin: 2rem 0 1rem;
      color: #fff;
      display: flex;
      align-items: center;
    }
    
    /* Container das categorias */
    .categorias-container {
      display: flex;
      margin-bottom: 1.5rem;
    }
    
    /* Lista de categorias */
    .categorias-lista {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 1.5rem;
      width: 100%;
    }
    
    /* Itens da categoria */
    .categoria-item {
      position: relative;
      text-decoration: none;
      overflow: hidden;
      color: #ddd;
      background-color: #1a1a1a;
      border-radius: var(--radius);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border: 1px solid #333;
      height: 220px;
    }
    
    .categoria-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
      border-color: rgb(var(--primary));
    }
    
    /* Imagem da categoria */
    .categoria-item img {
      width: 100%;
      height: 140px;
      object-fit: cover;
      border-bottom: 2px solid #333;
      transition: transform 0.5s ease;
    }
    
    .categoria-item:hover img {
      transform: scale(1.05);
    }
    
    /* Texto da categoria */
    .categoria-item p {
      margin: 0;
      padding: 0.8rem;
      font-size: 0.9rem;
      font-weight: bold;
      text-align: center;
      width: 100%;
      background: #1a1a1a;
      z-index: 2;
    }
    
    /* Efeito de brilho */
    .categoria-item::before {
      content: '';
      position: absolute;
      top: -20%;
      left: -50%;
      width: 80px;
      height: 130%;
      background-color: rgba(255, 255, 255, 0.089);
      rotate: 20deg;
      filter: blur(10px);
      z-index: 1;
      animation: effects 3s ease infinite;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .categoria-item:hover::before {
      opacity: 1;
    }
    
    /* Botão "Ver mais" */
    .ver-mais {
      display: inline-block;
      margin-top: 0.5rem;
      color: rgb(var(--primary));
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      padding: 0.3rem 0;
    }
    
    .ver-mais:hover {
      color: #fff;
      text-decoration: underline;
    }
    
    /* Animação do brilho */
    @keyframes effects {
      0% {
        left: -50%;
      }
      100% {
        left: 150%;
      }
    }



/* neve */
#snowCanvas {
    pointer-events: none;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}
/* Fim neve */

  #top {
    display: flex;
    align-items: center;
    gap: 8px; /* Espaço entre a melancia e o texto */
  }

  #icon {
    font-size: 24px;
  }

  #typ {
    margin: 0;
    font-size: 18px;
     font-weight: bold;
  }

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Reflexo animado passando suavemente */
.image-card::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -100%;
  width: 80px;
  height: 140%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(20deg);
  filter: blur(20px);
  animation: glow-reflection 3s linear infinite;
  z-index: 1;
  pointer-events: none;
}

/* Efeito glow ao passar o mouse */
.image-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px 5px rgba(0, 200, 255, 0.6);
}

/* Animação contínua do reflexo (sem travar no final) */
@keyframes glow-reflection {
  0% {
    left: -100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    left: 100%;
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.image-product {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* Reflexo animado passando suavemente */
.image-product::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -100%;
  width: 80px;
  height: 140%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(20deg);
  filter: blur(20px);
  animation: glow-reflection 3s linear infinite;
  z-index: 1;
  pointer-events: none;
}

/* Animação contínua do reflexo (sem travar no final) */
@keyframes glow-reflection {
  0% {
    left: -100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    left: 100%;
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
























.gamepass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 16px;
  background-color: #22c55e; /* verde */
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease;
}

.gamepass-button:hover {
  background-color: #16a34a; /* verde escuro no hover */
}