/* Importação de fontes do Google Fonts: Inclui as fontes Kanit, PT Sans e Roboto para uso no projeto */
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Estilização global: Remove margens, preenchimentos, define fontes padrão e remove destaques */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit", sans-serif;
    text-decoration: none !important;
    list-style: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight: none;
}

/* Remove o destaque azul completamente */
* {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    -webkit-tap-highlight: none;
}

/* Remove contorno em elementos focados ou ativos */
*:focus,
*:active {
    outline: none !important;
}

/* Oculta a barra de rolagem no WebKit: Define a largura da barra de rolagem como 0 para navegadores baseados em WebKit */
::-webkit-scrollbar {
    width: 0;
}

/* Estilização do body com gradiente de fundo galáctico */
body {
    background: radial-gradient(circle at center,
            #0d1b2a 0%,
            #1e2f4a 30%,
            #101d3a 70%,
            #000000 100%);
    font-family: "PT Sans", sans-serif;
    overflow: hidden !important;
}

/* Canvas para fundo galáctico, fixo no fundo */
canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Barra de navegação fixa no topo */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

hr {
    /* Reseta a aparência padrão */
    border: 0;
    height: 1.5px;

    /* Cria a transparência nas extremidades (Fade Out) */
    background-image: linear-gradient(to right,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0));

    /* Espaçamento */
    margin: 15px 10px;

    /* Profundidade: Sombra sutil interna e externa */
    box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3);

    /* Garante que o HR não ocupe toda a largura se estiver dentro de um dropdown */
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Variante para modo escuro (opcional, caso seu site seja dark) */
@media (prefers-color-scheme: dark) {
    hr {
        background-image: linear-gradient(to right,
                rgba(255, 255, 255, 0),
                rgba(255, 255, 255, 0.3),
                rgba(255, 255, 255, 0));
        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    }
}

/* Botão BoxLogo com transição suave */
.BoxLogo {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.2s;
}

.BoxLogo .logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Container BoxUser com fundo translúcido */
.BoxUser {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 10px;
    margin: 10px 10px 0 0;
}

/* Estilos gerais para os ícones da barra de navegação */
.BoxUser i.fas.fa-user,
.BoxUser i.fas.fa-compass,
.BoxUser i.fas.fa-coffee,
.BoxUser i.fas.fa-moon,
.BoxUser i.fas.fa-book,
.BoxUser i.fas.fa-sync-alt {
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    margin-right: 5px;
}

/* Estilos de hover para os ícones padrão */
.BoxUser i.fas.fa-user:hover,
.BoxUser i.fas.fa-compass:hover,
.BoxUser i.fas.fa-coffee:hover,
.BoxUser i.fas.fa-moon:hover,
.BoxUser i.fas.fa-book:hover,
.BoxUser i.fas.fa-sync-alt:hover {
    color: #cccccc;
}

/* Estilos específicos para o ícone de usuário logado */
.logged-in-icon {
    color: #7daaf1;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    margin-right: 5px;
}

/* Efeito de sombra de texto no hover para o ícone de usuário logado */
.logged-in-icon:hover {
    text-shadow: 0 0 5px #7daaf1, 0 0 10px #7daaf1, 0 0 20px #7daaf1;
}

/* Tooltips para elementos com atributo data-tooltip */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 5px rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 10;
    font-family: "Kanit", sans-serif;
    display: none;
}

[data-tooltip]:hover::after {
    display: flex;
}

/* Botão de recarregar com animação de rotação */
.reloadButton {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.reloadButton i.fa-refresh {
    font-size: 24px;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.reloadButton i.fa-refresh:hover {
    color: #cccccc;
    transform: rotate(360deg);
}

/* Estrelas animadas com brilho pulsante */
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    animation: twinkle 3.5s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {
    0% {
        opacity: 0.4;
        transform: scale(0.6);
        box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
    }

    100% {
        opacity: 0.9;
        transform: scale(1.1);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    }
}

/* Barra de navegação superior com ícones alinhados horizontalmente */
.top-nav {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: transparent;
}

/* Contêiner para agrupar ícones de navegação (voltar e home) */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Espaçamento entre os ícones */
}

/* Estilização dos ícones de navegação (voltar e home) */
.home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* Efeito de hover para os ícones de navegação */
.home-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Estilização específica para o ícone de home */
.home-icon i.fa-home {
    font-size: 1.2rem;
    /* Tamanho ajustado para consistência com o ícone de voltar */
    color: #ffffff;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Efeito de hover para o ícone de home */
.home-icon i.fa-home:hover {
    color: #7daaf1;
    text-shadow: 0 0 5px #7daaf1, 0 0 10px #7daaf1;
}

/* Estilização do ícone de voltar */
.home-icon i.fa-arrow-left {
    font-size: 1.2rem;
    /* Tamanho ajustado para consistência */
    color: #ffffff;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Efeito de hover para o ícone de voltar */
.home-icon i.fa-arrow-left:hover {
    color: #7daaf1;
    text-shadow: 0 0 5px #7daaf1, 0 0 10px #7daaf1;
}

/* Estilização do main e section para conteúdo */
main {
    margin-top: 60px;
    padding: 20px;
    height: 100vh;
    overflow: hidden;
}

section {
    height: 100vh;
    position: relative;
    overflow-y: auto;
    padding-bottom: 120px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

/* ContainerApresentação */
.containerApresentacao {
    width: 50%;
    background: transparent;
    margin: 0 auto 120px;
    margin-top: 100px;
    color: #ffffff;
    z-index: 10;

}

.containerApresentacao p {
    margin-top: 20px;
    font-family: "PT Sans", sans-serif;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: justify;
    font-style: italic;
}

.BoxApresentacao {
    display: flex;
    align-items: center;
    background: url('../Img/logo.png') no-repeat center center;
    background-size: contain;
}

.BoxApresentacao img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: -10px;
}

/* Container de resposta com fundo semi-transparente */
.containerResposta {
    width: 50%;
    background: rgba(30, 47, 74, 0.8);
    /* Semi-transparent background */
    backdrop-filter: blur(1px);
    border-radius: 10px;
    font-family: "PT Sans", sans-serif;
    padding: 20px;
    color: #ffffff;
    /* Fallback for browsers without background-clip support */
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0 auto 120px;
    margin-top: 100px;
    z-index: 10;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .containerResposta {
        background: linear-gradient(45deg, #0066ff, #00f0ff, #34f8ff);
        /* Neon gradient: pink, cyan, lime */
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.5), 0 0 10px rgba(0, 174, 255, 0.5);
        /* Neon glow effect */
    }
}

/* Container Matrix para exibição de conteúdo Markdown */
.containerMatrix {
    width: 50%;
    background: transparent;
    border-radius: 10px;
    font-family: "PT Sans", sans-serif;
    padding: 20px;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0 auto 120px;
    z-index: 10;
    position: relative;
}

.containerMatrix .secao {
    margin-bottom: 20px;
}

.containerMatrix h2 {
    font-family: "PT Sans", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.containerMatrix h3 {
    font-weight: bold;
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
    margin: 10px 0;
}

.containerMatrix p {
    color: #e0e0e0;
    font-family: "PT Sans", sans-serif;
    margin: 10px 0;
}

.containerMatrix ul {
    list-style: disc;
    margin: 10px 0 10px 20px;
}

.containerMatrix li {
    color: #e0e0e0;
    font-family: "PT Sans", sans-serif;
    margin-bottom: 5px;
}

.containerMatrix strong {
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
    font-weight: 500;
}

.containerMatrix .pergunta {
    font-weight: bold;
    margin: 0;
}

.containerMatrix .resposta {
    color: #e0e0e0;
    margin: 0;
}

.containerMatrix .carregando {
    color: #5b82c2;
    font-style: italic;
    font-size: 1.1em;
    text-align: center;
    margin: 0;
}

.containerMatrix .erro {
    color: #ff6666;
    text-align: center;
    margin: 0;
}

/* Botões de ação no containerMatrix */
.containerMatrix .action-buttons {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    justify-content: flex-end;
}

.containerMatrix .action-button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.containerMatrix .action-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.containerMatrix .action-button i {
    color: #ffffff;
    font-size: 18px;
}

.containerMatrix .action-button[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 0.5rem 0.75rem;
    color: white;
    font-size: 0.875rem;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    display: none;
    z-index: 10;
}

.containerMatrix .action-button[data-tooltip]:hover::after {
    display: block;
}

/* Container de pergunta fixo na parte inferior */
.ContainerPergunta {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    min-width: 280px;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 5px rgba(255, 255, 255, 0.15);
}

.ContainerPergunta input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.2em;
    padding: 0.5rem 0.75rem;
}

.ContainerPergunta input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.ContainerPergunta button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: min(2.5rem, 10vw);
    height: min(2.5rem, 10vw);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.ContainerPergunta button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ContainerPergunta button i {
    color: #ffffff;
    font-size: min(1.2rem, 5vw);
}

/* Janela de histórico lateral */
.historico {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    padding: 80px 20px 20px;
    z-index: 120;
    transition: transform 0.3s ease-in-out;
    color: #ffffff;
    touch-action: none;
    margin-top: 70px;
    border-radius: 0 10px 0 0;
}

.lista-pesquisas {
    list-style: none;
    margin-top: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.lista-pesquisas li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
}

.lista-pesquisas li div {
    display: flex;
    flex-direction: column;
}

.lista-pesquisas li span:first-child {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.lista-pesquisas li span:nth-child(2) {
    color: #ffffff;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lista-pesquisas li span:last-child {
    font-size: 1rem;
    color: #5b82c2;
    transition: color 0.2s ease;
}

.lista-pesquisas li span:last-child:hover {
    color: #7daaf1;
}

/* Estilização do ícone de fechar do histórico no lado direito */
.historico .close-historico {
    position: absolute;
    top: 20px;
    /* Distância do topo */
    right: 20px;
    /* Posiciona no lado direito */
    font-size: 1.5rem;
    /* Tamanho do ícone */
    color: #ffffff;
    /* Cor branca, consistente com o tema */
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.2s ease;
    /* Transições suaves para cor, sombra e escala */
}

.historico .close-historico:hover {
    color: #7daaf1;
    /* Cor azul clara no hover, consistente com o tema */
    text-shadow: 0 0 5px #7daaf1, 0 0 10px #7daaf1;
    /* Efeito de brilho neon no hover */
    transform: scale(1.1);
    /* Leve aumento no hover */
}

.historico .close-historico[data-tooltip]::after {
    content: attr(data-tooltip);
    /* Exibe o texto do tooltip */
    position: absolute;
    top: 100%;
    /* Posiciona abaixo do ícone */
    left: 50%;
    transform: translateX(-50%);
    /* Centraliza horizontalmente */
    background: rgba(20, 20, 30, 0.9);
    /* Fundo escuro com transparência */
    backdrop-filter: blur(5px);
    /* Efeito de desfoque */
    border-radius: 1rem;
    /* Bordas arredondadas */
    padding: 0.5rem 0.75rem;
    /* Espaçamento interno */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Borda sutil */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 5px rgba(255, 255, 255, 0.15);
    /* Sombras externa e interna */
    color: white;
    /* Cor do texto */
    font-size: 0.875rem;
    /* Tamanho da fonte */
    white-space: nowrap;
    /* Evita quebra de linha */
    z-index: 10;
    /* Acima de outros elementos */
    font-family: "Kanit", sans-serif;
    /* Fonte consistente com o projeto */
    display: none;
    /* Inicia oculto */
}

/* LINK */

/* Estilo base: elegante, sutil, com toque místico */
.link {
    color: #b19cd9;              /* Roxo suave shakta, cor da Shakti */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s ease;
    position: relative;
    padding-bottom: 2px;
}

/* Efeito hover: onda sutil como água, brilho dourado */
.link:hover {
    color: #ffd700;              /* Ouro divino, como Meru */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Linha inferior animada (efeito onda/fluxo da Shakti) */
.link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #b19cd9, #ffd700, #b19cd9);
    transition: width 0.5s ease;
}

.link:hover::after {
    width: 100%;
}

/* Efeito de brilho interno ao clicar/foco (para acessibilidade e misticismo) */
.link:focus,
.link:active {
    outline: none;
    box-shadow: 0 0 15px rgba(177, 156, 217, 0.7);
}

/* Para mobile/touch: efeito mais forte */
@media (hover: none) {
    .link:active {
        color: #ffd700;
        transform: scale(1.05);
    }
}

/* Alertas com animação de surgimento */
.alerta,
.alertaConfirm {
    width: 90%;
    max-width: 600px;
    min-width: 280px;
    position: fixed;
    flex-direction: column;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 1);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 20px;
    color: #ffffff;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    text-align: center;
    line-height: 1.5;
    z-index: 200;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 5px rgba(255, 255, 255, 0.15);
    animation: surgir 0.3s ease-out forwards;
}

.alertaConfirmBtn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.9rem, 2vw, 1rem);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.alertaBtn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
    border: none;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.9rem, 2vw, 1rem);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    margin: auto;
}

.alertaBtn:hover,
.alertaConfirmBtn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.alertaBtn {
    width: 60%;
    max-width: 300px;
    margin-top: 20px;
}

.alertaConfirm {
    width: 40%;
}

.alertaConfirm .buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
}

.alertaConfirmBtn {
    width: 30%;
    max-width: 150px;
    margin: 5px auto;
}

/* Box Compartilhar: Dropdown de opções de compartilhamento, centralizado no body */
.BoxCompartilhar {
    width: clamp(180px, 90%, 220px);
    position: fixed;
    /* Fixo em relação à janela do navegador */
    top: 80px;
    /* Posição logo abaixo da barra de navegação */
    left: 50%;
    /* Centraliza horizontalmente */
    transform: translateX(-50%);
    /* Ajusta para o centro */
    background: rgba(20, 20, 30, 1);
    /* Fundo escuro */
    backdrop-filter: blur(5px);
    /* Efeito de desfoque */
    border-radius: 0.75rem;
    /* Bordas arredondadas */
    padding: 12px;
    /* Espaçamento interno */
    color: #ffffff;
    /* Texto branco */
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    /* Tamanho de fonte responsivo */
    line-height: 1.5;
    /* Altura da linha para legibilidade */
    z-index: 1001;
    /* Acima de outros elementos */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Borda sutil */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        /* Sombra externa */
        inset 0 0 5px rgba(255, 255, 255, 0.15);
    /* Sombra interna */
    animation: surgir 0.3s ease-out forwards, float 2s ease-in-out infinite;
    /* Animações de surgimento e flutuação */
    pointer-events: auto;
    /* Garante interatividade */
    overflow: hidden;
    /* Evita problemas de renderização */
}

.BoxCompartilhar div {
    padding: 10px 12px;
    /* Espaçamento interno dos itens */
    cursor: pointer;
    /* Indica que é clicável */
    display: flex;
    /* Alinhamento flexível */
    align-items: center;
    /* Centraliza verticalmente */
    gap: 10px;
    /* Espaço entre ícone e texto */
    font-family: "PT Sans", sans-serif;
    /* Fonte consistente */
    transition: background 0.2s ease, transform 0.2s, box-shadow 0.2s;
    /* Transições suaves */
}

.BoxCompartilhar div:hover {
    background: rgba(255, 255, 255, 0.2);
    /* Fundo claro no hover */
    transform: scale(1.02);
    /* Leve aumento no hover */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    /* Sombra no hover */
}

/* Animação de surgimento */
@keyframes surgir {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Animação de flutuação */
@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.BoxCompartilhar i {
    margin-right: 10px;
    /* Espaço à direita do ícone */
    font-size: 18px;
    /* Tamanho do ícone */
    width: 20px;
    /* Largura fixa para alinhamento */
    text-align: center;
    /* Centraliza o ícone */
}

/* Estilização do contêiner da bússola */
.BoxBussola {
    width: 100%;
    padding: 20px 0;
    font-family: "PT Sans", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    z-index: 10;
}

/* Contêiner interno da bússola */
.BoxBussola .compass-container {
    position: relative;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Imagem da bússola */
.BoxBussola .compass-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.1s ease;
}

/* Estilização do botão de recalibração da bússola */
.calibrate-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    width: 60%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calibrate-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.calibrate-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 5px rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.2rem;
    white-space: nowrap;
    z-index: 10;
    font-family: "Kanit", sans-serif;
    display: none;
}

.calibrate-btn[data-tooltip]:hover::after {
    display: flex;
}

/* Estilização do texto descritivo da bússola */
.BoxBussolaTxt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    color: #ffffff;
}

/* Estilização da descrição da bússola */
.description {
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
    margin-top: 20px;
    color: #ffffff;
}

/* Estilização do texto de instrução da bússola */
.BussolaTxt {
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 20px;
    color: #ff6666;
}

/* Formulário de astrologia */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(20, 20, 30, 0.9);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.15);
}

.form-container h2 {
    text-align: center;
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input[type="date"],
.form-group input[type="time"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    color: #ffffff;
    cursor: text;
}

.form-group input[type="date"]::-webkit-date-and-time-value,
.form-group input[type="time"]::-webkit-date-and-time-value {
    color: #ffffff;
}

.form-group input[type="date"]::-webkit-datetime-edit-text,
.form-group input[type="date"]::-webkit-datetime-edit-month-field,
.form-group input[type="date"]::-webkit-datetime-edit-day-field,
.form-group input[type="date"]::-webkit-datetime-edit-year-field,
.form-group input[type="time"]::-webkit-datetime-edit-hour-field,
.form-group input[type="time"]::-webkit-datetime-edit-minute-field,
.form-group input[type="time"]::-webkit-datetime-edit-second-field {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus {
    outline: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 10px 0 0 20px;
}

.form-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
}

.form-group input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #7daaf1;
    border-radius: 50%;
}

.form-group input[type="radio"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.form-group .radio-container {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.form-group .radio-container label {
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

.form-container button {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.form-container button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.BoxRadio {
    margin: 50px 0;
}

/* Estilização do contêiner BoxLogin */
.BoxLogin {
    padding: 20px;
}

.BoxLogin p {
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
}

.BoxLogin p a {
    color: #7daaf1;
    text-decoration: none;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.BoxLogin p a:hover {
    color: #7daaf1;
    text-shadow: 0 0 5px #7daaf1, 0 0 10px #7daaf1, 0 0 20px #7daaf1;
    text-decoration: none;
}

/* Cadeado */
.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input i {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #7daaf1;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.password-input i:hover {
    text-shadow: 0 0 5px #7daaf1, 0 0 10px #7daaf1, 0 0 20px #7daaf1;
}

/* Separador */
.separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator span {
    margin-top: 30px;
    font-family: "PT Sans", sans-serif;
}

/* Estilização do contêiner BoxLoginGoogle */
.BoxLoginGoogle {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.BoxLoginGoogle img {
    width: 24px;
    height: 24px;
}

.BoxLoginGoogle a {
    color: #7daaf1;
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.BoxLoginGoogle a:hover {
    color: #7daaf1;
    text-shadow: 0 0 5px #7daaf1, 0 0 10px #7daaf1, 0 0 20px #7daaf1;
    text-decoration: none;
}

/* Menu de sugestões do Google Places Autocomplete */
.pac-container {
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.pac-item {
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pac-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pac-item-query {
    color: #ffffff;
    font-weight: bold;
}

.pac-matched {
    color: #7daaf1;
}

/* Ícone de voltar */
.top-nav {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.home-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Estilização do contêiner BoxHoroscopo para exibição dos resultados do mapa astral */
.BoxHoroscopo {
    max-width: 600px;
    margin: 80px auto 40px;
    padding: 20px;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 5px rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
    text-align: left;
    z-index: 10;
}

.BoxHoroscopo h3 {
    font-family: "Kanit", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    cursor: default;
}

.BoxHoroscopo p {
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 10px 0;
    cursor: default;
}

.BoxHoroscopo strong {
    font-family: "PT Sans", sans-serif;
    color: #ffffff;
    font-weight: 700;
    margin-right: 5px;
    cursor: default;
}

.BoxHoroscopo p:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: background 0.3s ease;
}

.BoxHoroscopo .erro {
    color: #ff6666;
    font-size: 1.2rem;
    text-align: center;
    font-style: italic;
}

.BoxHoroscopo button {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    margin-top: 30px;
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.BoxHoroscopo button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Box Imagem */
.BoxImg {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.BoxImg img.tattwa {
    width: 60%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.BoxImg img.tattwa:hover {
    transform: scale(1.1);
}

.BoxImg p {
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* Estilização do contêiner BoxBtn para o botão de ação */
.BoxBtn {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.BoxBtn button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    padding: 12px 24px;
    color: #ffffff;
    font-family: "Kanit", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.BoxBtn button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Box Imagem Signo*/
.BoxImgSigno {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.BoxImgSigno img.signo {
    width: 60%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.BoxImgSigno img.signo:hover {
    transform: scale(1.1);
}

/* Estilização do contêiner de dropdowns */
.dropdown-container {
    max-width: 600px;
    width: 100%;
    top: 60px;
    margin: 20px auto;
    margin-bottom: 80px;
    padding: 20px;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 5px rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: "PT Sans", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Espaçamento entre os dropdowns */
    position: relative;
    z-index: 10;
}

/* Estilização do título do dropdown */
.dropdown-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    font-family: "Kanit", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.dropdown-title:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.dropdown-title i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.dropdown-title.active i {
    transform: rotate(180deg);
}

/* Estilização da lista de opções */
.dropdown-content {
    max-height: 0;
    /* Começa com altura zero para animação */
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 5px;
    overflow-y: auto;
    /* Adiciona rolagem vertical se necessário */
    position: relative;
    z-index: 11;
    /* Garante que o conteúdo do dropdown fique acima */
    scrollbar-width: thin;
    /* Estiliza a barra de rolagem para Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
    /* Cor da barra de rolagem */
    opacity: 0;
    /* Começa invisível para animação */
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
}

/* Estado ativo do dropdown com animação */
.dropdown-content.active {
    max-height: 300px;
    /* Altura máxima para o conteúdo, ajustável */
    padding: 10px 15px;
    /* Restaura o padding quando ativo */
    opacity: 1;
    /* Torna visível */
}

/* Estilização da barra de rolagem para navegadores baseados em WebKit */
.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: #e0e0e0;
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #7daaf1;
    transform: translateX(5px);
}

/* Estilização do texto explicativo da Biblioteca, seguindo o padrão do style.css */
.biblioteca-text {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 5px rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-align: center;
    font-family: "PT Sans", sans-serif;
    animation: surgir 0.3s ease-out forwards;
}

.biblioteca-text h2 {
    font-family: "Kanit", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #ffffff;
}

.biblioteca-text p {
    font-family: "PT Sans", sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Estilização do destaque dos mantras */
.mantra-highlight {
    background-color: #f8e1e9;
    border-left: 4px solid #d81b60;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-style: italic;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Estilização do botão de microfone */
#micButton {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: min(2.5rem, 10vw);
    height: min(2.5rem, 10vw);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    color: #ffffff;
}

#micButton i.fa-microphone {
    font-size: min(1.2rem, 5vw);
    color: #ffffff;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

#micButton:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

#micButton:hover i.fa-microphone {
    color: #7daaf1;
    text-shadow: 0 0 5px #7daaf1, 0 0 10px #7daaf1;
}

/* Estilo para o estado ativo do botão de microfone */
#micButton.active {
    background: rgba(125, 170, 241, 0.3);
    /* Cor de fundo mais clara quando ativo */
    color: #7daaf1;
    box-shadow: 0 0 15px rgba(125, 170, 241, 0.5);
}

#micButton.active i.fa-microphone {
    color: #7daaf1;
    text-shadow: 0 0 5px #7daaf1, 0 0 10px #7daaf1, 0 0 20px #7daaf1;
}

/* Animação sonar para o estado ativo */
#micButton.active::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(125, 170, 241, 0.3);
    animation: sonar 1.5s ease-out infinite;
    z-index: -1;
}

/* Definição da animação sonar */
@keyframes sonar {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Tooltip para o botão de microfone */
#micButton[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1),
        inset 0 0 5px rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.875rem;
    white-space: nowrap;
    z-index: 10;
    font-family: "Kanit", sans-serif;
    display: none;
}

#micButton[data-tooltip]:hover::after {
    display: flex;
}


/* ============================================= */
/* MATRIKA.CSS - Estilos para as 50 Mães do Som  */
/* ============================================= */

/* Grid responsivo para os cards */
.matrika-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

/* Card base - com animação de entrada */
.matrika-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

/* Animação de entrada suave */
.matrika-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ============================================= */
/* HOVER: Expansão elegante com sombra dourada   */
/* ============================================= */
.matrika-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 60px rgba(159, 122, 234, 0.3),
        0 0 30px rgba(255, 215, 0, 0.4);
    border-color: #ffd700;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Letra devanágari com gradiente */
.matrika-letter {
    font-family: 'Devanagari', Georgia, serif;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff6b6b, #9f7aea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nome da Deusa */
.matrika-deity {
    font-weight: bold;
    color: #ffd700;
    text-align: center;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* Informações detalhadas */
.matrika-info {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.matrika-info strong {
    color: #fff;
}

/* Símbolo do chakra */
.chakra-symbol {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    text-align: center;
    line-height: 1.2em;
    border-radius: 50%;
    margin-right: 0.3em;
    font-size: 0.8em;
    color: white;
}

/* Seu estilo base para o contêiner (manter igual) */
.PayPal {
    display: flex;
    justify-content: center;
    margin: 30px 0 20px 0;
    /* Espaçamento vertical */
    padding: 0;
    gap: 10px;
}

/* 💰 Estilização Premium do Botão de Doação do PayPal com Gradiente e Sombras */
.paypal-button {
    /* Gradiente Espelhado: cria um efeito de luz no centro e escurece para as bordas */
    background: linear-gradient(to bottom,
            #00457C 0%,
            /* Azul escuro (borda) */
            #0070BA 25%,
            /* Azul PayPal padrão */
            #0090D9 50%,
            /* Azul mais claro/brilhante (centro "reflexo") */
            #0070BA 75%,
            /* Azul PayPal padrão */
            #00457C 100%
            /* Azul escuro (borda) */
        );
    color: #FFFFFF;
    /* Texto branco */
    border: solid 2px #003087;
    /* Borda azul escuro */
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 1.1em;
    /* Ajustei um pouco para 1.1em */
    font-weight: 800;
    /* Mais negrito (800) */
    letter-spacing: 1px;
    /* Espaçamento entre letras sutilmente maior */

    /* === NOVIDADE: Sombra Sutil no Texto para Profundidade === */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    /* Sombra preta sutil e macia */

    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
    /* Sombra da caixa mais pronunciada */

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Efeito Hover/Foco: Aprimorado */
.paypal-button:hover,
.paypal-button:focus {
    /* Gradiente sutilmente mais claro/brilhante no hover */
    background: linear-gradient(to bottom,
            #005599 0%,
            #0080CC 25%,
            #00A0E0 50%,
            #0080CC 75%,
            #005599 100%);
    transform: translateY(-4px);
    /* Efeito de 'levantar' um pouco mais */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    /* Sombra de caixa ainda mais intensa e espalhada */
    outline: none;
}

/* Estilização elegante do Ícone */
.paypal-button .fab.fa-paypal {
    font-size: 1.4em;
    margin-right: 10px;
    color: #FFC439;
    /* Cor amarela do PayPal para o ícone */

    /* Mantive o text-shadow sutil ao ícone para consistência */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    /* Levemente mais escuro */
}


/* Animações */
@keyframes surgir {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%);
    }
}

@keyframes surgirMatrix {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries para responsividade - Telas de até 800px */
@media (max-width: 800px) {

    /* Ajusta containers para telas menores */
    .containerResposta,
    .containerMatrix {
        width: 80%;
        font-size: 1.2rem;
    }

    .containerApresentacao {
        width: 80%;
    }

    /* Ajusta o contêiner da bússola */
    .BoxBussola {
        max-width: 90%;
        margin: 60px auto 30px;
        padding: 15px;
        min-height: 350px;
    }

    .BoxBussola .compass-container {
        width: 350px;
        height: 350px;
    }

    .BoxBussolaTxt {
        width: 100%;
        padding: 20px;
    }

    /* Ajusta o botão de recalibração */
    .calibrate-btn {
        width: 70%;
        max-width: 250px;
        padding: 10px 20px;
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    }
}

/* Media queries para responsividade - Telas de até 768px */
@media (max-width: 768px) {

    /* Ajusta containers e alertas */
    .containerResposta,
    .containerMatrix {
        width: 80%;
        font-size: 1.2rem;
    }

    .containerApresentacao {
        width: 80%;
    }

    .alerta,
    .alertaConfirm {
        width: 50%;
        padding: 15px;
    }

    .alertaBtn,
    .alertaConfirmBtn {
        width: 70%;
        height: 45px;
    }

    .alertaConfirm .buttons {
        flex-direction: column;
        gap: 8px;
    }

    .alertaConfirmBtn {
        width: 80%;
        max-width: 200px;
    }

    /* Ajusta o contêiner BoxHoroscopo */
    .BoxHoroscopo {
        max-width: 90%;
        margin: 60px auto 30px;
        padding: 15px;
    }

    .BoxHoroscopo h3 {
        font-size: 1.5rem;
    }

    .BoxHoroscopo p {
        font-size: 1rem;
    }

    /* Ajusta o contêiner da biblioteca */
    .biblioteca-text {
        max-width: 90%;
        padding: 15px;
    }

    .biblioteca-text h2 {
        font-size: 1.5rem;
    }

    .biblioteca-text p {
        font-size: 1rem;
    }

    /* Ajusta o contêiner dropdown */
    .dropdown-container {
        max-width: 90%;
        padding: 15px;
        gap: 12px;
        /* Espaçamento reduzido em telas menores */
    }

    .dropdown-title {
        font-size: 1.3rem;
        padding: 12px;
    }

    .dropdown-title i {
        font-size: 1rem;
    }

    .dropdown-content.active {
        max-height: 250px;
        /* Altura reduzida em telas menores */
    }

    .dropdown-content a {
        font-size: 1rem;
        padding: 8px;
    }
}

/* Media queries para responsividade - Telas de até 600px */
@media (max-width: 600px) {

    /* Ajusta layout geral */
    main {
        padding: 10px;
    }

    .containerResposta,
    .containerMatrix {
        width: 95%;
        font-size: 1.2rem;
    }

    .containerMatrix h2 {
        font-size: 1.5rem;
    }

    .containerMatrix h3,
    .containerMatrix p,
    .containerMatrix li {
        font-size: 1.2rem;
    }

    .ContainerPergunta input {
        font-size: 1.2rem;
        padding: 0.4rem 0.6rem;
    }

    .ContainerPergunta button {
        width: min(2rem, 12vw);
        height: min(2rem, 12vw);
    }

    .ContainerPergunta button i {
        font-size: min(1rem, 6vw);
    }

    .containerApresentacao {
        width: 90%;
    }

    .alerta,
    .alertaConfirm {
        width: 90%;
        padding: 12px;
        top: 80px;
        flex-direction: column;
    }

    /* Ajusta o contêiner da bússola */
    .BoxBussola {
        max-width: 95%;
        margin: 50px auto;
        padding: 10px;
        min-height: 300px;
    }

    .BoxBussola .compass-container {
        width: 300px;
        height: 300px;
    }

    .BoxBussolaTxt {
        width: 100%;
        padding: 20px 10px;
        text-align: justify;
    }

    /* Ajusta o botão de recalibração */
    .calibrate-btn {
        width: 80%;
        max-width: 300px;
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .BoxCompartilhar {
        width: clamp(140px, 100%, 200px);
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    #micButton {
        width: min(2rem, 12vw);
        height: min(2rem, 12vw);
    }

    #micButton i.fa-microphone {
        font-size: min(1rem, 6vw);
    }

    #micButton[data-tooltip]::after {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Media queries para responsividade - Telas de até 480px */
@media (max-width: 480px) {

    .containerResposta {

        /* Fallback for browsers without background-clip support */
        font-size: 1.5rem;
    }

    /* Ajusta layout para telas pequenas */
    .alerta,
    .alertaConfirm {
        width: 90%;
        padding: 12px;
        top: 80px;
    }

    .alertaBtn,
    .alertaConfirmBtn {
        width: 80%;
        height: 40px;
    }

    .alertaConfirm .buttons {
        gap: 6px;
    }

    .alertaConfirmBtn {
        width: 90%;
        max-width: 180px;
    }

    /* Ajusta o contêiner BoxHoroscopo */
    .BoxHoroscopo {
        max-width: 95%;
        margin: 50px auto 20px;
        padding: 10px;
    }

    .BoxHoroscopo h3 {
        font-size: 1.3rem;
    }

    .BoxHoroscopo p {
        line-height: 1.5;
    }

    /* Ajusta o contêiner da biblioteca */
    .biblioteca-text {
        max-width: 95%;
        padding: 10px;
    }

    .biblioteca-text h2 {
        font-size: 1.3rem;
    }

    .biblioteca-text p {
        font-size: 0.9rem;
    }

    /* Ajusta o contêiner dropdown */
    .dropdown-container {
        max-width: 95%;
        padding: 10px;
        gap: 10px;
        /* Espaçamento ainda menor para telas pequenas */
    }

    .dropdown-title {
        font-size: 1.1rem;
        padding: 10px;
    }

    .dropdown-title i {
        font-size: 0.9rem;
    }

    .dropdown-content.active {
        max-height: 200px;
        /* Altura ainda menor para telas pequenas */
    }

    .dropdown-content a {
        font-size: 1rem;
        padding: 6px;
    }

    /* Ajusta o contêiner da bússola */
    .BoxBussola {
        max-width: 100%;
        margin: 50px auto;
        padding-bottom: 20px;
    }

    .BoxBussola .compass-container {
        width: 300px;
        height: 300px;
    }

    .BoxBussolaTxt {
        width: 100%;
        padding: 20px 10px;
        text-align: justify;
    }

    /* Ajusta o botão de recalibração */
    .calibrate-btn {
        width: 90%;
        max-width: 300px;
        padding: 8px 12px;
        font-size: 1.2rem;
    }

    .form-group .radio-container {
        gap: 15px;
    }

    .form-group .radio-container label {
        font-size: 0.9rem;
    }

    .BoxImg img.tattwa {
        width: 80%;
    }

    .BoxCompartilhar {
        width: clamp(130px, 100%, 200px);
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

}