/* ============================================
   LEANFLY - 3D Background
   Optimized & Professional
   ============================================ */

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

#network-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(10, 10, 10, 0.92) 0%, rgba(18, 18, 18, 0.96) 100%);
    pointer-events: none;
}

.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(218, 65, 65, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(218, 65, 65, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218, 65, 65, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: -2;
    animation: orbFloat 20s ease-in-out infinite;
}

.glow-orb.orb-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
}

.glow-orb.orb-2 {
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.6;
    }
}

.geo-shape {
    position: absolute;
    border: 1px solid rgba(218, 65, 65, 0.15);
    animation: geoFloat 30s ease-in-out infinite;
    pointer-events: none;
}

.geo-shape::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(218, 65, 65, 0.4);
    border-radius: 50%;
}

.geo-shape.shape-1 {
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.geo-shape.shape-2 {
    top: 60%;
    left: 5%;
    width: 150px;
    height: 150px;
    animation-delay: -15s;
}

@keyframes geoFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}
