/**
 * Futuristic Background - Styles
 */

.futuristic-bg-widget {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.elementor-widget-futuristic_bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-widget-futuristic_bg > .elementor-widget-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.futuristic-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.has-futuristic-bg {
    position: relative !important;
    overflow: hidden;
}

.has-futuristic-bg > *:not(.futuristic-bg-widget):not(.elementor-widget-futuristic_bg) {
    position: relative;
    z-index: 1;
}

/* Editor Notice */
.futuristic-editor-notice {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.9), rgba(255, 0, 255, 0.9));
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

body:not(.elementor-editor-active) .futuristic-editor-notice {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .futuristic-bg-widget {
        display: none;
    }
}
