.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s, visibility 0.3s;
}

.loader-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
}

.mascot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #111;
    font-weight: bold;
    font-size: 18px;
}

.spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-top: 6px solid #fcda51;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-sizing: border-box;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.speech-bubble {
    position: absolute;
    top: -70px;
    right: -100px;
    background-color: white;
    border-radius: 20px;
    padding: 15px;
    width: 160px;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.2));
    z-index: 1;
}

.speech-bubble:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
}

.fact {
    color: #111;
    font-size: 14px;
    margin: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fact.active {
    opacity: 1;
}