:root {
    --primary-red: #e60e0f;
    --text-color: #FFFFFF;
}

body {
    background-color: var(--primary-red);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 1s ease-in-out;
}

/* Animação de background para fade de cor */
@keyframes fadeColor {
    0% { background-color: #e60e0f; }
    50% { background-color: #c90c0d; }
    100% { background-color: #e60e0f; }
}

body {
    animation: fadeColor 10s infinite ease-in-out;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 10px;
    width: 100%;
    z-index: 10;
    background: var(--primary-red);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    max-width: 600px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Elemento para o traço separador centralizado */
.navbar-left {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.navbar-logo {
    height: 30px;
    opacity: 1;
    transition: transform 0.3s ease;
    margin-right: 15px;
}

.navbar-logo-link:hover .navbar-logo {
    transform: scale(1.1);
}

.separator {
    width: 60px;
    height: 2px;
    background-color: var(--text-color);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    margin-left: 20px;
    padding: 8px 15px;
    border: none;
    transition: all 0.3s ease;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Efeito de glass no hover dos botões */
.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    transform: scale(1.05);
}

/* Conteúdo principal */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.center-logo {
    max-width: 400px;
    width: 80%;
    animation: bounceAndGlow 4s infinite ease-in-out;
}

/* Nova e aprimorada animação para a logo central (bounce + suave rotação) */
@keyframes bounceAndGlow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 1px #FFF);
    }
    25% {
        transform: translateY(-5px) rotate(-1deg);
        filter: drop-shadow(0 0 3px #FFF);
    }
    50% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 1px #FFF);
    }
    75% {
        transform: translateY(-5px) rotate(1deg);
        filter: drop-shadow(0 0 3px #FFF);
    }
}

/* Footer */
.footer {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/* Nova animação para o texto do rodapé (subir e descer) */
#footer-text {
    animation: float 4s infinite, glow-text 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes glow-text {
    0% { text-shadow: 0 0 1px #FFF; }
    50% { text-shadow: 0 0 4px #FFF; }
    100% { text-shadow: 0 0 1px #FFF; }
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .navbar {
        border-radius: 10px;
        margin: 10px;
    }

    .navbar .container {
        flex-direction: column;
    }

    .navbar-left {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .navbar-logo {
        margin-right: 0;
    }

    .separator {
        display: none;
    }

    .nav-links {
        margin-left: 0;
        display: flex;
        justify-content: space-around;
        width: 100%;
    }

    .nav-links a {
        display: inline-block;
        margin: 0 5px;
        font-size: 12px;
        padding: 5px 10px;
    }

    .main-content {
        padding-top: 20px;
    }
    
    .center-logo {
        max-width: 250px;
    }
}