/* CSS fallback for mobile when Three.js is disabled */
.cathedral-fallback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(13, 13, 13, 1) 0%,
        rgba(26, 26, 26, 1) 40%,
        rgba(13, 13, 13, 1) 100%);
    display: none;
}

.cathedral-fallback::before,
.cathedral-fallback::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(197, 164, 78, 0.4);
    border-radius: 50%;
    box-shadow:
        20px 30px 0 rgba(197, 164, 78, 0.3),
        60px 80px 0 rgba(197, 164, 78, 0.2),
        100px 20px 0 rgba(197, 164, 78, 0.35),
        140px 120px 0 rgba(197, 164, 78, 0.25),
        180px 60px 0 rgba(197, 164, 78, 0.3),
        220px 100px 0 rgba(197, 164, 78, 0.2),
        260px 40px 0 rgba(197, 164, 78, 0.35),
        300px 140px 0 rgba(197, 164, 78, 0.25),
        340px 70px 0 rgba(197, 164, 78, 0.3),
        30px 160px 0 rgba(197, 164, 78, 0.2);
    animation: particle-drift 20s linear infinite;
}

.cathedral-fallback::after {
    animation-delay: -10s;
    animation-duration: 25s;
}

@keyframes particle-drift {
    0% { transform: translateY(0) translateX(0); opacity: 0.6; }
    50% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0.6; }
}

/* Show fallback and hide canvas on mobile */
@media (max-width: 479px) {
    .cathedral-fallback {
        display: block;
    }
    #three-canvas {
        display: none;
    }
}
