@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

/* Retirar após a conclusão */
* {
  box-sizing: border-box;
}

@keyframes scroll{
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

@keyframes fade-in {

  to {
    scale: 1;
    opacity: 1;
  }
}

@keyframes fadeAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes quique {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Cria uma animação contínua que movimenta o fundo de um lado para o outro */
@keyframes vaiVem {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes giro {
  from {
    translate: 0;
  }

  to {
    translate: -100%;
  }
}

/* Animação de digitação para o simbolo "|" */

#typewriter::after {
  content: "|";
  animation: piscar 1s step-end infinite;
}

/* Esconde o cursor quando a digitação termina (opcional) */
#typewriter:hover::after {
  display: none;
}

@keyframes piscar {
  50% {
    opacity: 0;
  }
}

html {
  font-family: Outfit;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100vw;
}

body {
  animation-timing-function: ease-in-out;
  background-image: linear-gradient(90deg, rgb(26, 24, 71), rgb(72, 72, 187));
  /* Cria um fundo degradê azulado */
  background-size: 150% 150%;
  /* Aumenta o fundo para que a animação tenha espaço para "correr" */
  margin: 0;
  /* Remove as margens padrão do navegador */
  min-height: 100vh;
  animation: vaiVem 15s ease infinite;
  /* Aplica a animação 15s de duração em loop */
  animation-fill-mode: alternate;
  /* Faz a animação ir e voltar suavemente */



}

button {
  font-weight: 700;
  cursor: pointer;
  color: #f1f0f0;

}





.container>div:nth-child(3n) {
  /* Afeta o Footer */
  background-color: #ff760cc9;
}

/* Estiliza os filhos diretos do .container (.header, .content, .footer) */
.container>div {
  color: #000000;
  /* Define a cor do texto para preto */
}

/* Estiliza o cabeçalho principal */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  /* Coloca os itens internos lado a lado */
  justify-content: space-between;
  /* Espalha os itens (logo na esquerda, menu no centro, botões na direita) */
  align-items: center;
  /* Centraliza os itens verticalmente */
  padding: 1rem 5%;
  background-color: rgba(26, 24, 71, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* Adiciona respiro interno: 1rem em cima/embaixo, 5% nas laterais */
  /* Cria um efeito de desfoque no fundo (estilo "vidro") */
  /* margin-bottom: 2rem; */
  /* Cria um espaço abaixo do cabeçalho */

  transition: top 0.3s;
}

.nav-icon {
  display: flex;
  color: #f1f0f0;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.nav-logo {
  width: 35px;
  padding: 0;
  margin: 0;
}

.header button {
  color: #f1f0f0;
  border-radius: 4px;
  padding: 6px;
  border: 2px solid #f1f0f0;
  background-color: transparent;

  transition: 0.3s ease;
}

.header button:hover {
  color: rgb(26, 24, 71);
  background-color: #f1f0f0;
}

/* Estilizando o botão/texto de Pesquisar */
.nav-search {
  color: #f1f0f0;
  font-weight: 600;
  font-size: clamp(12px, 1rem, 18px);
  cursor: pointer;
  transition: 0.3s ease;
}

.nav-search:hover {
  color: rgb(100, 100, 250);
  transform: scale(1.05);
}


.nav-subscription-btn a {
  text-decoration: none;
}

.nav-menu ul {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-menu a {
  /* Ajusta o tamanho da fonte dos links dentro da lista do menu.*/
  font-size: clamp(12px, 1rem, 18px);
  color: #f1f0f0;
  text-decoration: none;
  transition: .5s ease;
}

.nav-menu a:hover {
  border-bottom: 2px solid #f1f0f0;

}

.nav-sign-btn {
  border-radius: 4px;
}

/* Banner */



.banner-container {
  display: flex;

  height: 80vh;
  margin: 0 38vw 0 16vw;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

}

.banner-icon {
  display: flex;
  color: #f1f0f0;
  align-self: flex-start;
  align-items: center;
  font-weight: 800;
}

.banner-title {
  flex-wrap: nowrap;
  font-size: clamp( 1.5rem, 8vw, 3.5rem);

  /* Ajusta o tamanho da fonte do título do banner de forma responsiva. */
  color: #f1f0f0;
}

.banner-subscription-btn {
  margin-top: 20px;
  padding: 10px 20px;
  color: rgb(26, 24, 71);
  background-color: #f1f0f0;
  border: none;
  border-radius: 4px;
  transition: 0.3s ease;
}

.banner-subscription-btn:hover{
  color: #f1f0f0;
  background-color: rgb(26, 24, 71);
  border: 2px solid  #f1f0f0; 
}

/* .banner-subscription-btn:hover{
} */

/* Content */

.content {
  margin: 0 20px;
  padding-top: 100px;
}

/* Catálogo */


.carousel {
  display: flex;
  max-width: 600px;
  margin: 50px auto;
  max-width: 100vw;
  justify-content: center;
}

.carousel[data-animated=true]{
  /* border: 5px solid lime ; */
  overflow: hidden;
  -webkit-mask: linear-gradient(
  90deg, 
  transparent,
  white 20%,
  white 80%,
  transparent
  );
  mask: linear-gradient(
  90deg, 
  transparent,
  white 20%,
  white 80%,
  transparent)
}

.carousel[data-animated=true] .catalog{
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll 40s linear infinite;
}

.test{
  background-color: red;
}

.catalog-title{
  text-align: center;
  color: #f1f0f0;
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.catalog {
  display: flex;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 20px;
  max-width: 100%;
  padding: 10px;
  /* align-items: center;
  justify-content: center;
  gap: 1em;
  animation: giro 15s infinite linear;
  padding-right: 1em; */
  justify-content: space-between;

}

.catalog-card {
  flex: 0 0 8em;
  padding: 1em;
  font-size: 1.5rem;
  background-color: transparent;
  border-radius: 8px;
  text-align: center;
  align-content: center;
  transition: 0.3s ease;
  list-style-type: none;
}



@media (prefers-reduced-motion: no-preference){
#carousel-animation {
  scale: .8; opacity: 0;
  animation: fade-in linear forwards ;
  animation-timeline: view();
  animation-range: entry;
  
  }
}

.catalog-card:hover {
  transform: translateY(-10px);
  z-index: 0;
}

.card-image {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.card-tag {
  padding: 8px 0px 0px;
}



.catalog-card img {
  width: 200px;
  height: 250px;
  margin-top: 20px;
}

.catalog-card h4 {
  font-size: clamp(14px, 0.5vw, 24px);
  width: 70px;
  border-radius: 4px;
  padding: 8px;
  background-color: rgb(100, 100, 250);
  color: #f1f0f0;
}

#jogo{
  background-color: red;
}

.catalog-card h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #f1f0f0;
  font-weight: 800;
}

.catalog-card p {
  font-size: clamp(16px, 0.5vw, 16px);
  margin-block-start: 0em;
  margin-block-end: 0em;
  color: rgb(100, 100, 250);
  filter: brightness(2);
  padding-bottom: 10px;
}

.controls {
  z-index: 1;
  display: flex;
  width: 98%;
  position: absolute;
  justify-content: space-between;
  align-self: center;
  box-sizing: border-box;

}

.controls button {
  width: 40px;
  background-color: rgb(26, 24, 71);
}

/* Beneficios */

.benefits-title {
  color: #f1f0f0;
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.seta {
  display: inline-block;
  color: #f1f0f0;
  animation-name: quique;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: both;
}

.benefits-head {
  animation-name: fadeAnimation;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-direction: normal;
  animation-fill-mode: both;
  /* animation-delay: s; */
}

.benefits-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.benefit-card:hover {
  transform: translateY(-10px);
  z-index: 0;
}

.benefits-container {
  text-align: center;
}



.plans-section {
  text-align: center;
  justify-content: center;
}

#catalogID {
  justify-content: center;
  text-align: center;
}

/* beneficios */


.benefit-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 20px;
  width: 250px;
  color: rgb(2, 0, 0);
  transition: 0.3s ease;
  box-shadow: 0px 4px rgba(0, 0, 0, 0.3);
}

.benefit-card h3{
  color: #f1f0f0;
}

.benefit-card p{
  color: #d1d1e0;
}

@media (prefers-reduced-motion: no-preference){
#benefits-animation {
  scale: .8; opacity: 0;
  animation: fade-in linear forwards ;
  animation-timeline: view();
  animation-range: entry;

  }
}
/* #btn-right{
  align-self: flex-end;
} */

/* Planos */

.plans-section {
    text-align: center;
    color: #f1f0f0;
    padding: 40px 20px;
}

.plans-title h2 {
    font-size: clamp(5rem, 2vw, 3.5rem);
    margin-bottom: 10px;
}

.plans-title h3 {
    font-weight: 300;
    color: #00000000;
    margin-bottom: 30px;
}

.plan-toggle {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(176, 79, 79, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

.plan-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.plans-container {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto;
    justify-content: center;
    gap: 25px;
    max-width: 1100px;
}

#plans-animation{
  scale: .8; opacity: 0;
  animation: fade-in linear forwards ;
  animation-timeline: view();
  animation-range: entry;
}

.plans-card {
    width: 320px;
    padding: 30px;
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.8), rgba(15, 15, 25, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: white;
    text-align: left;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plans-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.plans-card .plans-title {
    font-size: 1.5rem;
    margin: 0 0 5px 0;
}

.plans-card .plans-description {
    color: #a0a0b5;
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 40px;
}

.plans-card h2 {
    font-size: 2.2rem;
    margin: 10px 0 25px 0;
    font-weight: 800;
}

.plans-card button {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, rgb(0, 0, 0), rgb(0, 0, 0));
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.plans-card button:hover {
    filter: brightness(1.2);
}

.plans-resources ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.plans-resources li {
    color: #d1d1e0;
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.plans-resources li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgb(100, 100, 250);
    font-weight: bold;
}

 .economia {
  font-weight: 600;
  color: greenyellow;
  text-shadow: 0 0 15px greenyellow ;
}

/* Footer */

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: #ffffff;
    font-size: 0.9rem;
    padding: 60px 0;
} 

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer p {
    margin: 5px 0;
    text-align: center;
}