#reward-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    display: none; /* Empezar oculto para aplicar el retraso */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: Arial, sans-serif;
    padding: 20px;
    box-sizing: border-box;
}

#reward-box {
    position: relative; 
    text-align: center;
    background: #f4f4f4;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    max-width: 480px;
    width: 100%;
    transition: all 0.3s ease;
}

#reward-logo {
    max-width: 100px;
    margin-bottom: 20px;
}

#reward-box h2 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
}

#reward-btn {
    background: #000;
    color: #fff;
    padding: 15px 25px;
    border: none;
    font-weight: bold;
    font-size: 15px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#reward-info {
    margin-top: 20px;
    font-size: 13px;
    font-style: italic;
    color: #555;
}

#reward-toast {
    display: none;
    margin-top: 20px;
    font-size: 14px;
    color: green;
    font-weight: bold;
}

#reward-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
}

#reward-skip-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    text-decoration: underline;
    transition: all 0.3s ease;
}

/* Media query responsive (sin cambios) */
@media (max-width: 400px) {
    #reward-box {
        padding: 25px 15px;
    }
    #reward-box h2 {
        font-size: 16px;
    }
    #reward-btn {
        font-size: 14px;
        padding: 14px 20px;
    }
    #reward-skip-btn {
        top: 5px;
        right: 10px;
    }
    #reward-info {
        font-size: 12px;
    }
}