#page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: transparent;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    background: rgba(10, 8, 8, 0.35);
}

#page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-stage {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    animation: loader-rotate 1.8s linear infinite !important;
}

.loader-ring circle {
    fill: none;
    stroke: #c81e2c;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 70 250;
    opacity: 0.9;
}

.loader-ring.ring-inner {
    animation-duration: 2.6s !important;
    animation-direction: reverse !important;
    inset: 16px;
}

.loader-ring.ring-inner circle {
    stroke: #1a1a1a;
    stroke-width: 1.2;
    stroke-dasharray: 24 190;
    opacity: 0.35;
}

@keyframes loader-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loader-crest {
    width: 76px;
    height: auto;
    animation: loader-breathe 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(200, 30, 44, 0.25));
}

@keyframes loader-breathe {

    0%,
    100% {
        opacity: 0.75;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.loader-bottom-logo {
    display: block;
    max-width: 160px;
    height: auto;
    margin: 0;
}