.circuit-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* Elementos de circuito animados */
.circuit-element {
    position: absolute;
    background-color: var(--secondary-color);
    opacity: 0.1;
    z-index: -1;
}

.circuit-line {
    height: 2px;
    width: 100px;
    animation: pulse 3s infinite alternate;
}

.circuit-dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    animation: glow 2s infinite alternate;
}

.circuit-hex {
    height: 20px;
    width: 20px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: rotate 10s linear infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.05;
    }
    100% {
        opacity: 0.2;
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
        opacity: 0.1;
    }
    100% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
        opacity: 0.3;
    }
}

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

/* Efeito de brilho para elementos dourados */
.gold-glow {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Efeito de código binário */
.binary-code {
    position: absolute;
    font-family: monospace;
    font-size: 12px;
    color: var(--secondary-color);
    opacity: 0.1;
    user-select: none;
    z-index: -1;
}

/* Responsividade para o background */
@media (max-width: 768px) {
    .circuit-background {
        background-size: 200%;
    }
}
