/**
 * ExpoXR Matrix Background Effect
 * Version: 2.0.0
 * 
 * Complete rewrite with theme colors and brand words
 * 
 * Features:
 * - Falling matrix-style characters
 * - Smooth theme color transitions
 * - Brand words interspersed with random characters
 * - Responsive canvas sizing
 */

#matrix_bg {
    position: relative;
    overflow: hidden;
}

/* Canvas fills the entire container */
#matrix_bg canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Content stays above canvas */
#matrix_bg > *:not(canvas) {
    position: relative;
    z-index: 1;
}

/* Optional overlay for better text visibility */
#matrix_bg.with-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
}

/* Mobile optimization */
@media (max-width: 768px) {
    #matrix_bg canvas {
        opacity: 0.8;
    }
}

