@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Montserrat:wght@400;500;800&display=swap');

#app-splash {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #f7f5fc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

/* Abstract background shapes and waves */
.bg-shape-top-left {
    position: absolute; top: -15vw; left: -10vw; width: 40vw; height: 40vw;
    border-radius: 50%; background: #f0eaf8; z-index: -1;
}
.bg-shape-top-right {
    position: absolute; top: -10vw; right: -15vw; width: 40vw; height: 40vw;
    border-radius: 50%; background: #f0eaf8; z-index: -1;
}
.wave-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 35vh;
    /* Pure CSS SVG wave matching your purple layers */
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23c4a4f4" fill-opacity="0.4" d="M0,160L48,170.7C96,181,192,203,288,202.7C384,203,480,181,576,149.3C672,117,768,75,864,80C960,85,1056,139,1152,165.3C1248,192,1344,192,1392,192L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path><path fill="%23a77cf0" fill-opacity="0.8" d="M0,256L60,245.3C120,235,240,213,360,213.3C480,213,600,235,720,240C840,245,960,235,1080,208C1200,181,1320,139,1380,117.3L1440,96L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover; z-index: -1;
}

/* Dot Matrices */
.dots {
    position: absolute; width: 120px; height: 60px;
    background-image: radial-gradient(#b6a3d9 2px, transparent 2px);
    background-size: 20px 20px; opacity: 0.6; z-index: -1;
}
.dots.top-right { top: 8%; right: 10%; }
.dots.mid-left { top: 55%; left: 5%; }

/* Main Content Styling */
.splash-content { text-align: center; z-index: 1; margin-top: -8vh; }

.logo-circle {
    width: 100px; height: 100px; background: white;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    margin: 0 auto 15px auto; box-shadow: 0 10px 25px rgba(167, 124, 240, 0.25);
}
/* Set the width to match the Z icon proportions */
.logo-circle img { width: 55%; height: auto; }

.brand-title {
    font-weight: 800; font-size: 2.8rem; color: #21153d;
    letter-spacing: 3px; margin: 0;
}

.brand-tagline-cursive {
    font-family: 'Caveat', cursive; font-size: 1.6rem; margin: -5px 0 15px 0;
    /* Orange to green gradient matching the image */
    background: linear-gradient(90deg, #f39c12 0%, #27ae60 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.brand-tagline-caps {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 4px;
    color: #5d517a; margin: 0;
}

.separator { width: 50px; height: 1.5px; background: #cbb4f1; margin: 25px auto; }

/* Gradient Loader Spinner */
.loader-spinner {
    width: 35px; height: 35px; border-radius: 50%; margin: 0 auto 10px auto;
    border: 4px solid transparent;
    border-top-color: #8c52ff; border-left-color: #c4a4f4;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}
.loading-text { font-size: 0.65rem; font-weight: 500; letter-spacing: 3px; color: #82759e; }

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Footer */
.splash-footer { position: absolute; bottom: 25px; text-align: center; z-index: 1; width: 100%; }
.splash-footer p { margin: 6px 0; font-size: 0.75rem; color: #695c86; }
.footer-logo {
    font-weight: 800; background: #21153d; color: white;
    padding: 2px 8px; border-radius: 12px; font-size: 0.65rem; letter-spacing: 1px;
}
.copyright { font-size: 0.65rem !important; color: #a49ab5 !important; }