/* --- Loading Overlay Styles --- */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.loader-pulse {
    width: 60px;
    height: 60px;
    position: relative;
}

.loader-pulse::before,
.loader-pulse::after {
    content: '';
    position: absolute;
    border: 3px solid #00FFFF;
    opacity: 0;
    border-radius: 50%;
    animation: pulse 1.5s cubic-bezier(0.2, 0, 0.8, 1) infinite;
}

.loader-pulse::after {
    animation-delay: 0.5s;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.loader-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.word {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.1rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .word { font-size: 1.5rem; line-height: 1.5rem; }
}

@media (min-width: 768px) {
    .word { font-size: 1.75rem; line-height: 1.75rem; }
}

.lotus-svg {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 0.75rem;
}

@media (min-width: 640px) {
    .lotus-svg { width: 3rem; height: 3rem; margin: 0 1rem; }
}
@media (min-width: 768px) {
    .lotus-svg { width: 3.5rem; height: 3.5rem; margin: 0 1.25rem; }
}

.lotus-path {
    fill: none;
    stroke: #00FFFF;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-lotus 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.lotus-path:nth-child(1) { animation-delay: 0.0s; }
.lotus-path:nth-child(2) { animation-delay: 0.1s; }
.lotus-path:nth-child(3) { animation-delay: 0.2s; }
.lotus-path:nth-child(4) { animation-delay: 0.3s; }
.lotus-path:nth-child(5) { animation-delay: 0.4s; }

@keyframes draw-lotus {
    0%, 100% { stroke-dashoffset: 200; opacity: 0; }
    10% { opacity: 1; }
    70% { stroke-dashoffset: 0; opacity: 1; }
}
