.apple-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.apple-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.apple-spinner {
    width: 68px;
    height: 68px;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: appleSpin 0.8s cubic-bezier(0.68, -0.35, 0.265, 1.35) infinite;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.apple-spinner-text {
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.2px;
}

@keyframes appleSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .apple-spinner {
        width: 56px;
        height: 56px;
        border-width: 3.5px;
    }
    .apple-spinner-text {
        font-size: 0.8rem;
        margin-top: 16px;
    }
}