/* ========================================
   Auction Badge Styles - Frontend Video Overlay
   ======================================== */

/* Base Auction Badge */
.auction-badge {
    position: absolute;
    top: 20px;
    right: 70px;
    border-radius: 25px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 223, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Auction Badge Text */
.auction-badge-text {
    color: #ffdf00;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
    margin-left: 8px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

/* Live Auction (جاري) */
.auction-badge-live {
    background: linear-gradient(135deg, #1a1a1a 0%, #0b0b0b 100%);
    border: 2px solid rgba(255, 223, 0, 0.4);
}

.auction-badge-live:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 223, 0, 0.3);
    border-color: #ffdf00;
}

/* Ended Auction (منتهي) */
.auction-badge-ended {
    background: linear-gradient(135deg, #1a1a1a 0%, #0b0b0b 100%);
    border: 2px solid rgba(255, 223, 0, 0.4);
}

.auction-badge-ended:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 223, 0, 0.3);
    border-color: #ffdf00;
}

/* Upcoming Auction (قادم) */
.auction-badge-upcoming {
    background: linear-gradient(135deg, #1a1a1a 0%, #0b0b0b 100%);
    border: 2px solid rgba(255, 223, 0, 0.4);
}

.auction-badge-upcoming:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 223, 0, 0.3);
    border-color: #ffdf00;
}

/* Active state */
.auction-badge:active {
    transform: scale(0.98);
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 1024px) {
    .auction-badge {
        padding: 9px 18px;
        top: 18px;
        right: 65px;
    }

    .auction-badge-text {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .auction-badge {
        padding: 8px 16px;
        top: 15px;
        right: 60px;
        border-radius: 20px;
    }

    .auction-badge-text {
        font-size: 12px;
        margin-left: 6px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .auction-badge {
        padding: 7px 14px;
        top: 12px;
        right: 55px;
        border-radius: 18px;
    }

    .auction-badge-text {
        font-size: 11px;
        margin-left: 5px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .auction-badge {
        padding: 6px 12px;
        top: 10px;
        right: 50px;
        border-radius: 15px;
    }

    .auction-badge-text {
        font-size: 10px;
        margin-left: 4px;
    }
}

/* Animation for badge appearance */
@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auction-badge {
    animation: badgeFadeIn 0.4s ease-out;
}
