/* ── AURORA MESH BACKGROUND ─────────────────────── */
.portodev-has-aurora {
    position: relative; /* Ensure container is relative for absolute positioning */
    overflow: hidden; /* Contain the aurora */
}

.aurora {
    position: absolute; /* Default to absolute, controlled by settings */
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    animation: aurora-drift 16s ease-in-out infinite alternate;
}

.aurora-blob:nth-child(1) {
    top: -20%;
    left: -10%;
    animation-duration: 14s;
}

.aurora-blob:nth-child(2) {
    top: 20%;
    right: -15%;
    animation-duration: 18s;
    animation-delay: -6s;
}

.aurora-blob:nth-child(3) {
    bottom: -10%;
    left: 30%;
    animation-duration: 20s;
    animation-delay: -3s;
}

@keyframes aurora-drift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(6vw, -4vh) scale(1.08);
    }
    66% {
        transform: translate(-4vw, 5vh) scale(0.95);
    }
    100% {
        transform: translate(3vw, 2vh) scale(1.05);
    }
}

/* Noise overlay */
.noise {
    position: absolute; /* Default to absolute, matches aurora */
    inset: 0;
    z-index: 1;
    opacity: 0.045;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* Ensure content sits above aurora */
.elementor-element > .elementor-widget-container,
.elementor-element > .elementor-container,
.elementor-section > .elementor-container {
    position: relative;
    z-index: 2;
}
