body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #303030;
    overflow-x: hidden;
    width: 100%;
}

p {
    font-family:  'Inter';
}


/* header */
/* Header */
.cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
}

.logo img {
    height: 60px;
    width: auto;
    margin-right: 10px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Botão hamburguer */
.hamburguer {
    width: 45px;
    height: 45px;
    background: #791dcf;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.hamburguer span {
    width: 30px;
    height: 5px;
    background: #fff;
    border-radius: 2px;
}

/* Overlay escuro */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 1500;
}

/* Botão hamburguer */
.hamburguer {
    width: 45px;
    height: 45px;
    background: #791dcf;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition:  transform 0.3s ease;
}

.hamburguer span {
    width: 30px;
    height: 5px;
    background: #fff;
    border-radius: 2px;
}

/* Efeito de girar */
.hamburguer:hover {
     transform: scale(1.1);
}

/* Overlay escuro */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 1500;
}


/* Menu Flutuante */
.menu-flutuante {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 25px;
    width: 200px;
    display: none;
    flex-direction: column;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
    padding-bottom: 35px;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-flutuante ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.menu-flutuante ul li {
    margin: 15px 0;
}

.menu-flutuante ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    color: #222;
    transition: color 0.3s;
}

.menu-flutuante ul li a:hover {
    color: #791dcf;
}

.redes-sociais {
    display: flex;
    gap: 35px;
    margin-top: 7px;
}

.redes-sociais a {
    font-size: 29px;
    color: #791dcf;
    transition: transform 0.3s, color 0.3s;
}

.redes-sociais a:hover {
    transform: scale(1.2);
}

.menu-flutuante .fechar {
    background: none;
    border: none;
    position: absolute;
    top: 20px;      /* distância do topo */
    right: 20px;  
    cursor: pointer;
    color: #303030;
    padding: 0;
}

.menu-flutuante .fechar .material-icons-round {
    font-size: 31px;
}

.menu-flutuante .fechar:hover {
    color: #791dcf;
    transform: scale(1.1);
}

.menu-flutuante.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}


/* Botão Entrar */
.botao-entrar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    background-color: #ffffff;
    color: #313131;
    border: 2px solid #c8c8c8;
    border-bottom: 5px solid #c8c8c8;
    text-decoration: none;
    border-radius: 10px;
    font-size: 19px;
    font-weight: bold;
    transition:  transform 0.3s ease;
}

.botao-entrar:hover {
    transform: scale(1.1); 
}

.botao-entrar img {
    width: 14px;
    height: auto;
}

.icone-menu img {
    width: 45px;
    height: auto;
    cursor: pointer;
}

.container {
    display: flex;
    justify-content: space-between;
    padding: 0 70px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;

}

.left {
    position: relative;
    width: 55%;
    padding: 20px 0;
}

.left img.bee {
    position: absolute;
    top: 5px;   
    left: 360px;
    width: 100px;
    height: auto;
    z-index: -5; 
    pointer-events: none;
}

.left img.cloud {
    position: absolute;
    left: 555px;   /* define a posição fixa dentro da seção, ajuste esse valor conforme o ponto desejado */
    bottom: 67px;
    width: 90px; 
    height: auto;
    z-index: -1;   /* opcional: fica atrás dos elementos */
    object-fit: contain;
    pointer-events: none;
}

.left h2 {
    font-size: 50px;
    color: #333;
    margin-bottom: 15px;
    white-space: nowrap;
    max-width: 700px; 
}

.left p {
    font-size: 20px;
    color: #555;
    line-height: 1.5;
}

.right {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center; /* joga a imagem para a direita */
}

.right img.child {
    max-width: 90%;
    height: auto;
    object-fit: contain;
}

.secao-jogos {
    position: relative;
    overflow: hidden;
    color: #fff;
    margin-top: 60px;
    padding-bottom: 70px;
    overflow-x: hidden;
}

.secao-jogos .fundo-jogos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Mantém o título à esquerda */
.secao-jogos h2 {
    position: relative;
    top: 30px;
    left: 70px;
    font-size: 40px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
    margin: 0;
    z-index: 1;
    color: #031146;
}

.container-geral-jogos {
    overflow: hidden; /* Garante que os boxes "escondidos" não vazem */
    width: 100%; /* Ocupa a largura total */
    padding: 0 50px; /* Adiciona padding para as setas não ficarem grudadas nas bordas */
    box-sizing: border-box; /* Garante que o padding não aumente a largura total */
}

/* Centraliza os boxes no meio da tela */
.container-boxes {
    position: relative;
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    z-index: 1;
    flex-wrap: wrap;
}

.box-jogar {
    height: 350px; 
    width: 330px;  
    background-color: #031146;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;  
}

.box-jogar img {
    width: 95%;
    height: 85%;
    object-fit: cover; 
    border-radius: 10px;
     margin-top: -33px;
}

.box-bloqueado img {
    width: 100%;
    height: 109%;
    margin-bottom: -30px;
}

.box-jogar .iniciar-texto {
    position: absolute;
    bottom: 5px;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    opacity: 1;
}

.box-jogar:hover {
    border-bottom: 5px solid #e2e7ec;
    transform: scale(1.05);
}

.box-bloqueado {
    position: relative;
    box-shadow: 0 15px 0px #a6d7f19c; 
    background: rgb(97, 97, 97);
    transition: all 0.3s ease;
    overflow: hidden;
    transform-origin: center;
}

/* Efeito de hover suave */
.box-bloqueado:hover {
    transform: scale(1.05);
}

.box-bloqueado img {
    filter: blur(6px); 
    opacity: 0.7;    
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.box-bloqueado .icone-cadeado {
    position: absolute;
    width: 80px;
    height: auto;
    filter: none;
    opacity: 1;
}

.box-bloqueado {
    height: 310px; 
    width: 330px;  
    margin-top: -40px;
}

/* Barra de progresso */
.barra-progresso {
    position: relative; /* Use relative ou remova a propriedade position */
    margin: 50px auto 0 auto; /* Centraliza a barra e adiciona margem superior */
    width: 89%;
    height: 20px;
    background: #c2e1ee;
    border-radius: 10px;
    z-index: 2;
    overflow: visible;
    pointer-events: none;
}

.barra-progresso .preenchimento {
    width: 33%; /* Exemplo: 1 jogo desbloqueado de 3 */
    height: 100%;
    background: #031146 ;
    border-radius: 10px;
    transition: width 0.5s ease;
    animation: progresso 2s ease-in-out forwards;
}

.pegada {
    position: absolute;
    top: -25px;
    left: 33%;
    width: 70px;
    height: auto;
    z-index: 5;
    pointer-events: none;
}

/* Animação suave da barra ao carregar */
@keyframes progresso {
  from { width: 0; }
  to { width: 33%; }
}


.rodape {
    background: linear-gradient(90deg, #6C2BD9, #9414b8);
    color: #fff;
    padding: 30px 20px;
    display: flex;
    justify-content: space-around;
    font-size: 18px;
    flex-wrap: wrap; /* Permite que fique responsivo */
}

.rodape a {
    color: #fff;
    display: block;
    margin: 5px 0;
    text-decoration: none;
    
   
}
.logo-rodape {
    display: flex;
    align-items: center;
}
.logo-rodape img {
    height: 200px;
    width: auto;
    margin-right: 10px;
}

.rodape a {
    line-height: 2.2;
    font-weight: bold;
}

.redes-rodape a {
    display: flex;
    align-items: center;
    font-weight: bold;
    gap: 7px;
   
}

.redes-rodape img {
    width: 20px;
    height: auto;
}

.links-rodape a {
    color: #fff;
    display: block;
    margin: 8px 0;      
    text-decoration: none;
    flex-direction: column; /* Alinha links verticalmente */
   
}

.redes-rodape img {
    width: 20px;
    height: auto;
}

/* ====== Ajuste para telas grandes ====== */
@media (min-width: 1400px) {
 
.barra-progresso {
    width: 81%;
}
}

/* ====== Ajuste da imagem da criança em telas grandes ====== */
@media (min-width: 1400px) {
  .right img.child {
    max-width: 80%;
  }
}

@media (min-width: 1800px) {
  .right img.child {
    max-width: 75%;
  }
}


/* Tablets (até 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 20px 40px;
  }

  .left, .right {
    width: 100%;
    text-align: center;
  }

  .left img.bee {
    display: none;
  }

  .left img.cloud {
    display: none;
  }

  .left h2 {
    font-size: 38px;
    white-space: normal;
  }

  .left p {
    font-size: 18px;
  }

  .secao-jogos h2 {
    
    font-size: 30px;
    text-align: center;
    left: 0;
  }

}

/* Celulares grandes (até 768px) */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .left img.bee {
    display: none;
  }

  .left h2 {
    font-size: 40px;
  }

  .left p {
    font-size: 18px;
  }

  .right img.child {
    width: 80%;
  }

  .secao-jogos h2 {
    left: 0;
    font-size: 30px;
    text-align: center;
  }

  .barra-progresso {
    width: 85%;
  }
}

/* Esconde redes do rodapé em telas pequenas */
@media (max-width: 768px) {
    
    .rodape {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .redes-rodape {
        text-align: center;
    }

    .logo-rodape img {
        height: 150px;
    }

    .redes-rodape {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .redes-rodape a {
        justify-content: center;
    }
}

/* ===== Cabeçalho responsivo ===== */
@media (max-width: 600px) {
    .logo img {
        height: 45px; /* logo menor */
    }

    .botao-entrar {
        padding: 6px 10px;  /* diminui o tamanho do botão */
        font-size: 16px;    /* diminui o texto */
    }

    .hamburguer {
        width: 35px;  /* menor */
        height: 35px;
    }

    .hamburguer span {
        width: 25px;
        height: 4px;
    }
}

