/*
Theme Name: MVStack
Theme URI: https://example.com/mvstack
Description: A lightweight Kadence child theme with an animated Vanta.NET homepage background.
Author: MVStack
Version: 1.0.0
Template: kadence
Text Domain: mvstack
*/

/* Homepage background fallback and Vanta canvas layer */
body.home {
    background-color: #010f18;
}

#mvstack-vanta-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Keep the Kadence page content above the animated background.
   Keep content containers transparent if you want the animation visible through them. */
body.home #inner-wrap,
body.home #wrapper {
    position: relative;
    z-index: 1;
}

/* Respect reduced-motion preferences: the static background remains visible. */
@media (prefers-reduced-motion: reduce) {
    #mvstack-vanta-bg {
        display: none;
    }
}
