/* particles.css */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Ensure content stays above particles */
.main-header,
.main-content,
.main-footer {
    position: relative;
    z-index: 1;
}

/* Adjust background for better readability */
.main-content {
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    margin: 2rem auto;
    padding: 2rem;
}

.dashboard-card {
    background: rgba(21, 21, 43, 0.8);
    backdrop-filter: blur(10px);
}

/* Special effects for cyber theme */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

/* Pulsing effect for important elements */
@keyframes cyber-pulse {
    0% { box-shadow: 0 0 5px rgba(0, 102, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 102, 255, 0.8); }
    100% { box-shadow: 0 0 5px rgba(0, 102, 255, 0.5); }
}

.cyber-pulse {
    animation: cyber-pulse 2s infinite;
}