/* Background styles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    z-index: -2;
}

/* Particle effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 255, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 0, 0.08) 0%, transparent 100%);
    z-index: -1;
    opacity: 0.8;
}

/* Grid lines */
.grid-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(0, 255, 0, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 255, 0, 0.1) 1px, transparent 1px);
}

/* Energy particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: rgba(0, 255, 0, 0.7);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    animation: particleAnimation var(--particle-duration) linear infinite;
}

@keyframes particleAnimation {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: var(--particle-opacity);
    }
    90% {
        opacity: var(--particle-opacity);
    }
    100% {
        opacity: 0;
        transform: translateY(calc(-1 * var(--particle-distance))) scale(0.5);
    }
}
