/* ============================================================
   particles.css — ambient background layers
   The particle canvas and grid sit behind the content; the
   content itself renders directly on the page background
   (no frosted "panel") for a cleaner, modern look.
   ============================================================ */

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

/* Content always above the ambient layers */
.main-header,
.main-content,
.main-footer {
    position: relative;
    z-index: 1;
}

/* Subtle blueprint grid, fading out towards the bottom */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 48px 48px;
    pointer-events: none;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
}
