/* ===================================================================
 * # PREMIUM PRELOADER
 * ------------------------------------------------------------------- */
.ss-preloader,
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #151515;
    z-index: 999999;
    /* Boosted z-index */
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ensure old styles don't break layout */
    padding: 0;
    margin: 0;
}

.ss-preloader__content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
}

.ss-preloader__words {
    font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 6rem;
    /* Increased from 2.5rem */
    color: #ffffff;
    opacity: 0;
    /* JS will handle visibility */
    display: inline-block;
}

.ss-preloader__curve {
    position: absolute;
    bottom: -1px;
    /* Overlap slightly to avoid gaps */
    left: 0;
    width: 100%;
    height: 50vh;
    /* Ensure enough height for the curve */
    transform: translateY(100%);
    /* Position below the main block */
    z-index: 1;
    pointer-events: none;
}

.ss-preloader__curve svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    /* CRITICAL: Allow curve to extend if needed */
}

.curve-path {
    fill: #151515;
}

/* Prevent scroll when preloader is active */
body.ss-loading {
    overflow: hidden;
}