body {
    /* Cria o espaço acima do rodapé fixo */
    padding-bottom: 80px; 
}

/* Ajuste fino no container de conteúdo para garantir o distanciamento */
#conteudoSite {
    margin-bottom: 40px;
}

.copyright {
    /* Mantemos o seu rodapé, mas garantimos que ele não " sufoque" o conteúdo */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding-top: 20px; /* Aumenta o respiro interno do rodapé */
}

/* O Trono da Ayla */
.ayla-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
}

/* O Orbe Central - Obsidian & Emerald */
.ayla-orb {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, #39FF14 0%, transparent 70%);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.4), 
                inset 0 0 30px rgba(57, 255, 20, 0.2);
    position: relative;
    border: 1px solid rgba(57, 255, 20, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Estado: Pensando (Rotação suave) */
.ayla-orb.thinking {
    animation: rotate-ayla 2s linear infinite, pulse-ayla 1.5s infinite ease-in-out;
    background: radial-gradient(circle, #39FF14 30%, transparent 70%);
}

/* Estado: Ouvindo (Mudança para Cyan/Neon) */
.ayla-orb.listening {
    background: radial-gradient(circle, #00f2ff 0%, transparent 70%);
    box-shadow: 0 0 60px rgba(0, 242, 255, 0.6);
    transform: scale(1.1);
}

@keyframes pulse-ayla {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 60px rgba(57, 255, 20, 0.6); }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes rotate-ayla {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Transcrições em tempo real (Estilo Vidro) */
.ayla-caption {
    font-size: 0.9rem;
    color: var(--neon-green);
    text-align: center;
    max-width: 80%;
    min-height: 1.2em;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
    font-weight: 300;
}

/* Container do Rodapé */
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6); /* Branco translúcido por padrão */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    border-top: 1px solid rgba(0, 255, 136, 0.05);
}

/* Efeito ao passar o mouse no container todo */
.copyright:hover {
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Evolução do Link (ID original aproveitado) */
.copyright a {
    color: #ffffff; /* Inicia branco */
    text-decoration: none;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* O "Pulo do Gato": Efeito Hover de Branco para Verde Neon */
.copyright a:hover {
    color: #00ff88; /* Verde TopLex */
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.8), 
                 0 0 30px rgba(0, 255, 136, 0.4);
    background: rgba(0, 255, 136, 0.05);
}

/* Pequena animação de pulsação no ano (opcional) */
#currentYear {
    font-weight: bold;
    transition: color 0.3s;
}

.copyright:hover #currentYear {
    color: #00ff88;
}


/* Espaço com efeito nevoa Começa acima do rodapé */
.copyright::before {
    content: "";
    position: absolute;
    top: -50px; /* Começa acima do rodapé */
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(0, 255, 136, 0.05));
    pointer-events: none;
}








/* Área das mensagens com scroll invisível */
.chat-viewport {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px;
    scrollbar-width: none; /* Firefox */
}
.chat-viewport::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* Estilo da Bolha da Ayla */
.bolha-ayla {
    align-self: flex-start;
    max-width: 85%;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px 15px 15px 2px;
    padding: 12px;
    color: #e0e0e0;
    font-size: 0.9em;
    position: relative;
    backdrop-filter: blur(5px);
    animation: surgimentoBolha 0.3s ease-out;
}

/* Container de botões dentro da bolha (Copiar/Baixar/Compartilhar) */
.bolha-acoes {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 5px;
}

.btn-mini {
    background: none;
    border: none;
    color: #00ff88;
    font-size: 0.7rem;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}
.btn-mini:hover { opacity: 1; }

@keyframes surgimentoBolha {
    from { opacity: 0; transform: translateY(10px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}




/* Prende o conteinar das conversas escritas no chat*/

#chatTexto::-webkit-scrollbar {
    width: 4px;
}
#chatTexto::-webkit-scrollbar-thumb {
    background: #39FF14;
    border-radius: 10px;
}
