/* قرعة الأرقام */
.large-number-circle {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5), 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 3rem;
    min-width: clamp(150px, 30vw, 300px);
    margin: 0 auto;
    transition: width 0.3s ease, height 0.3s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.large-number-circle span {
    font-size: clamp(3rem, 15vw, 12rem);
    font-weight: bold;
    color: #0f172a;
    text-shadow: 0 3px 10px rgba(15, 23, 42, 0.6);
    line-height: 1;
}

.number-tooltip {
    position: fixed;
    background: rgba(15, 23, 42, 0.98) !important;
    color: white !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    font-weight: bold !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    pointer-events: auto !important;
    transform: translate(-50%, -10px) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s !important;
    white-space: nowrap !important;
}

.number-tooltip.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
}

.number-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
}

.return-number-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.2s;
}

.return-number-btn:hover {
    background: #dc2626;
}

.number-badge-wrapper {
    position: relative;
    display: inline-block;
    margin: 2px;
}

.number-animation {
    animation: numberSlot 0.08s linear infinite;
    opacity: 0.9;
    filter: blur(2px);
}

@keyframes numberSlot {
    0% { transform: translateY(-20px) scale(0.9); opacity: 0; }
    50% { transform: translateY(0) scale(1.05); opacity: 1; }
    100% { transform: translateY(20px) scale(0.9); opacity: 0; }
}
