/* Estilos do Banner */
.banner-container {
    width: 100%;
    height: 150px; /* Altura maior */
    background: #6E72E6; /* Cor inicial */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-text {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-text span {
    position: absolute;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    animation: textAppear 6s infinite;
}

.banner-text span:nth-child(1) {
    animation-delay: 0s;
}
.banner-text span:nth-child(2) {
    animation-delay: 2s;
}
.banner-text span:nth-child(3) {
    animation-delay: 4s;
}

@keyframes textAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
    }
    40% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Mudança de cor de fundo */
@keyframes changeBackground {
    0% {
        background: #5990F7;
    }
    20% {
        background: #4A4FA3;
    }
    40% {
        background: #BB59F7;
    }
    60% {
        background: #8E44AD;
    }
    80% {
        background: #EB5900;
    }
    100% {
        background: #5990F7;
    }
}

.banner-container {
    animation: changeBackground 12s infinite;
}

@media (max-width: 768px) {
    .banner-container {
        height: 120px;
    }
    .banner-text span {
        font-size: 1.2rem;
    }
}

/* Estilo do indicador de usuários online */
.online-users {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
    z-index: 10;
}

.online-users span {
    position: relative;
    z-index: 1;
}

/* Animação de pulsação */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .online-users {
        font-size: 0.8rem;
        padding: 6px 12px;
        top: 5px;
        right: 5px;
    }
}

/* Estilo do texto de cadastro recente */
.recent-signup {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    animation: floatUp 3s ease-out forwards;
    opacity: 0;
    z-index: 10;
}

.recent-signup span {
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Estilo específico para o balão de cadastros recentes */
.recent-signup-gold span {
    background: gold; /* Fundo gold */
    color: black; /* Texto preto */
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Animação de subir e desaparecer */
@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .recent-signup {
        font-size: 0.8rem;
        bottom: 5px;
        left: 5px;
    }
}