/* custom.css */

/* ===== Premium HC preloader ===== */
.preload.preload_hc {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 40%, rgba(197, 139, 38, 0.13), transparent 34%),
        radial-gradient(circle at 50% 80%, rgba(120, 50, 12, 0.14), transparent 38%),
        #070604;
}

.preload_hc::before,
.preload_hc::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(210, 166, 75, 0.12);
    transform: rotate(45deg);
    animation: preload_hc_rotate 9s linear infinite;
}

.preload_hc::after {
    width: 300px;
    height: 300px;
    border-color: rgba(255, 218, 124, 0.09);
    animation-direction: reverse;
    animation-duration: 12s;
}

.preload_hc__box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 280px;
    padding: 34px 42px 30px;
    border: 1px solid rgba(214, 168, 81, 0.24);
    background: linear-gradient(180deg, rgba(18, 14, 10, 0.78), rgba(6, 5, 4, 0.72));
    box-shadow:
        0 24px 70px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(5px);
}

.preload_hc__logo {
    width: 128px;
    height: auto;
    display: block;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 22px rgba(255, 170, 45, 0.28));
}

.preload_hc__title {
    font-family: "Cormorant SC", serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #f5deb0;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(214, 168, 81, 0.28);
}

.preload_hc__subtitle {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.22em;
    color: rgba(214, 194, 150, 0.72);
    text-transform: uppercase;
}

.preload_hc__progress-wrap {
    position: relative;
    width: 210px;
    height: 3px;
    margin-top: 22px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
}

.preload_hc__progress {
    position: absolute !important;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #8b5b18, #f2c96b, #fff0a8);
    box-shadow: 0 0 14px rgba(242, 201, 107, 0.45);
}

.preload_hc__decor {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.preload_hc__decor span {
    width: 8px;
    height: 8px;
    border: 1px solid rgba(214, 168, 81, 0.75);
    transform: rotate(45deg);
    background: rgba(214, 168, 81, 0.10);
    animation: preload_hc_pulse 1.6s ease-in-out infinite;
}

.preload_hc__decor span:nth-child(2) {
    animation-delay: .18s;
}

.preload_hc__decor span:nth-child(3) {
    animation-delay: .36s;
}

@keyframes preload_hc_rotate {
    from {
        transform: rotate(45deg);
    }

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

@keyframes preload_hc_pulse {
    0%, 100% {
        opacity: .45;
        box-shadow: none;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(242, 201, 107, .45);
    }
}

@media (max-width: 575px) {
    .preload_hc__box {
        min-width: 230px;
        padding: 28px 30px 26px;
    }

    .preload_hc__logo {
        width: 108px;
    }

    .preload_hc__title {
        font-size: 20px;
    }

    .preload_hc__progress-wrap {
        width: 180px;
    }
}
