/* --- Animação de Fundo (Gradiente Dinâmico) --- */
html,
body {
    background-color: #0a0a0a;
    margin: 0;
    padding: 0;
}

.animated-hero-bg {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #151100 100%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    position: relative;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

/* --- Partículas (Hexágonos Flutuantes) --- */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 215, 0, 0.15);
    /* Dourado transparente */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    /* Formato de Hexágono */
    animation: float 20s infinite linear;
    backdrop-filter: blur(1px);
}

@keyframes float {
    0% {
        transform: translateY(110vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-10vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

/* --- Utilitários --- */
.glass-nav {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(30, 30, 30, 0.8);
    transform: translateY(-5px);
}

/* --- Sidebar --- */
#sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    /* Hidden by default */
    width: 300px;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 215, 0, 0.1);
    z-index: 100;
    transition: right 0.3s ease-in-out;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

#sidebar.open {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: all;
}