/* Reset Global */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

/* Fundo com Particles.js */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #24292e;
}

/* Conteúdo Centralizado */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 500px; /* Aumentado */
}

/* Ajustes de Títulos e Parágrafos */
h1 {
    font-size: 36px; /* Aumentado */
    font-weight: bold;
}

p {
    font-size: 18px; /* Aumentado */
    margin-top: 8px;
}

/* Estilização da Imagem de Perfil */
.profile-image {
    width: 180px; /* Aumentado */
    height: 180px;
    border-radius: 50%;
    margin-bottom: 20px;
}

/* Links de Redes Sociais */
.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 28px; /* Aumentado */
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
}

/* Botão de Compartilhamento */
.share-container {
    display: flex;
    justify-content: center;
    margin-top: 30px; /* Aumentado o espaçamento */
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px; /* Aumentado */
    background-color: #ffffff;
    color: #000000;
    border-radius: 30px;
    border: 2px solid #ddd;
    font-size: 18px; /* Aumentado */
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
}

.share-button:hover {
    background-color: #000000;
    color: #ffffff;
    transform: scale(1.1);
}

/* Página de Erro */
.error-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.error-content h1 {
    font-size: 100px; /* Aumentado */
    margin: 0;
    padding: 0;
}

.error-content p {
    font-size: 24px; /* Aumentado */
}

/* Botão de Retorno */
.back-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px; /* Aumentado */
    background-color: #ffffff;
    color: #000000;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.back-button:hover {
    background-color: #000000;
    color: #ffffff;
    transform: scale(1.1);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .content {
        top: 55%;
        width: 95%;
        max-width: 400px;
    }

    .profile-image {
        width: 160px;
        height: 160px;
    }

    h1 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }

    .social-links a {
        font-size: 26px;
    }

    .share-button {
        font-size: 16px;
        padding: 12px 20px;
    }

    .error-content h1 {
        font-size: 80px;
    }

    .error-content p {
        font-size: 20px;
    }
}

.toast-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 16px;
    z-index: 9999;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

/* Estilo do Popup */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-box {
    background: white;
    color: black;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.5s ease-in-out;
}

.popup-box h2 {
    margin: 0;
    font-size: 22px;
    color: #333;
}

.popup-box p {
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.5;
}

.popup-box button {
    background-color: #000000;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.popup-box button:hover {
    background-color: #333;
}

/* Animação de aparição */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
