/* شاشة التحميل */
/* إجبار إخفاء وإظهار السبلاش */
.splash-screen.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.splash-screen {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.splash-screen {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

    .splash-screen.active {
        opacity: 1;
        pointer-events: all;
    }

.splash-bid-value {
    font-weight: 700;
    font-size: 1.05rem;
    color: #facc15;
    letter-spacing: 0.03em;
    transition: transform .18s ease, color .18s ease;
}

    .splash-bid-value.splash-bid-pulse {
        transform: scale(1.08);
        color: #fbbf24;
    }

.splash-inner {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.splash-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(250,204,21,.6));
}


@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 10px #ffba08);
    }

    50% {
        filter: drop-shadow(0 0 35px #ffcc4d);
    }

    100% {
        filter: drop-shadow(0 0 10px #ffba08);
    }
}

/* السعر */
.auction-price {
    margin-top: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #ffd34d;
    text-shadow: 0 0 12px rgba(255,230,150,0.6);
    animation: pulsePrice 1.4s infinite ease-in-out;
}

@keyframes pulsePrice {
    0% {
        transform: scale(1);
        opacity: .7;
    }

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

    100% {
        transform: scale(1);
        opacity: .8;
    }
}

/* عداد التحميل */
.auction-loader {
    margin-top: 10px;
    font-size: 23px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px #ffae00;
}

/* دخول المحتوى */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* مؤثر الإخفاء */
.page-hide {
    opacity: 0;
    transition: opacity .4s ease;
}
/* ====== مؤثرات إضافية على الشعار ====== */

/* تكبير / تصغير لطيف مستمر */
.splash-logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 1.2rem;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.12), transparent 60%);
    box-shadow: 0 0 80px rgba(250, 204, 21, 0.35), 0 0 0 2px rgba(250, 204, 21, 0.35);
    animation: logoPulse 2.2s ease-in-out infinite;
}

    /* طبقة موجة خارجية (wave) */
    .splash-logo-wrapper::before {
        content: "";
        position: absolute;
        inset: -18px;
        border-radius: inherit;
        border: 2px solid rgba(250, 204, 21, 0.3);
        opacity: 0;
        transform: scale(0.7);
        animation: logoWave 2.6s ease-out infinite;
    }

    /* اهتزاز سريع يشبه حركة المطرقة عند بدء التحميل */
    .splash-logo-wrapper.logo-hit {
        animation: logoHit 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) 1, logoPulse 2.2s ease-in-out infinite 0.4s;
    }

/* نبض */
@keyframes logoPulse {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* موجة دائرية */
@keyframes logoWave {
    0% {
        opacity: 0.0;
        transform: scale(0.7);
    }

    30% {
        opacity: 0.45;
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

/* اهتزاز المطرقة / المزاد */
@keyframes logoHit {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    20% {
        transform: translateY(2px) rotate(-4deg);
    }

    40% {
        transform: translateY(-3px) rotate(4deg);
    }

    60% {
        transform: translateY(1px) rotate(-2deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}
