﻿#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.85);

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;

    transition: opacity 0.5s ease;
    opacity: 1;
}

    #loadingOverlay.hide {
        opacity: 0;
    }

    #loadingOverlay img {
        /*width: 250px;*/
        animation: float 2s infinite ease-in-out;
    }

.circulo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden; /* 👈 corta o excesso */
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
    mask-image: radial-gradient(circle, white 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, white 60%, transparent 100%);
}

    .circulo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


.loading-text {
    margin-top: 20px;
    font-size: 20px;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 20px #6f0e0e, 0 0 10px #ff0000, 0 0 20px #000000;
    animation: pulseText 1.5s infinite;
}

@keyframes pulseText {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

#mago {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 0 15px red);
    border-radius: 50%;
    object-fit: cover;
    padding: 10px;
    background: radial-gradient(circle, rgba(255,0,0,0.4), rgba(0,0,0,0));
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.6);
}
