html, body {
    margin: 0;
    height: 100%;
    background: #EED484; /* SAME as splash background */
}

app-root {
    display: block;
    min-height: 100%;
    background: #EED484;
}

/* Splash screen container */
#splash-screen {
    position: fixed;
    inset: 0;
    background: #EED484; /* background color */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

#splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Logo */
.splash-logo {
    width: 120px;   /* adjust as needed */
    height: auto;
}

/* Dots loader */
.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    background: black;
    border-radius: 50%;
    animation: pulse 1.2s infinite ease-in-out;
    transform-origin: center;
}

/* delay each dot for sequential effect */
.dots span:nth-child(1) {
    animation-delay: 0s;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* pulse animation: shrink and grow */
@keyframes pulse {
    0%, 80%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    40% {
        transform: scale(0.5);
        opacity: 1;
    }
}