/* reward.css - أنماط تدفق المكافآت */
.reward-step {
    display: none;
}

.reward-step.active {
    display: block;
}

/* الخلفية */
#reward-flow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.close-reward-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.verification-box {
    border-radius: 12px;
    overflow: hidden;
    background: #007bff;
    border: 4px solid #0056b3;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    max-width: 500px;
    margin: 0 auto;
}

.success-box {
    border-radius: 12px;
    overflow: hidden;
    background: #1a472a;
    border: 4px solid #2d5e3e;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.success-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Video Popup */
.video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
}

.video-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 15px;
    border-radius: 12px;
    z-index: 10001;
    width: 90%;
    max-width: 800px;
}

.close-video-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.error-message {
    color: #ff4d4f;
    background-color: rgba(255, 77, 79, 0.1);
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.player-info-table {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    border: 1px solid rgba(255,255,255,0.1);
}